The naturals form a linear ordered monoid #
This file contains the linear ordered monoid instance on the natural numbers.
See note [foundational algebra order theory].
Instances #
Equations
- One or more equations did not get rendered due to their size.
Equations
- Nat.instLinearOrderedCommMonoid = let __spread.0 := Nat.instLinearOrder; LinearOrderedCommMonoid.mk ⋯ LinearOrder.decidableLE LinearOrder.decidableEq LinearOrder.decidableLT ⋯ ⋯ ⋯
Equations
- One or more equations did not get rendered due to their size.
Extra instances to short-circuit type class resolution #
These also prevent non-computable instances being used to construct these instances non-computably.