Commit 2024-02-06 15:01 ebb7343e
View on Github →chore: Make sure WithOne
doesn't import rings (#10275)
Reorder the WithOne
material.
Algebra.Group.WithOne.Defs
was hiding aRing
import! I credit Johan and Mario for https://github.com/leanprover-community/mathlib/pull/2707.WithBot
is not needed to defineWithOne.unone
. It's simpler to redefine it by hand. In the future, we might want to have anOption
version (but not sure how much that's worth, since it would basically beOption.get
again).