Basic instances for the natural numbers #
This file contains:
- Algebraic instances on the natural numbers
- Basic lemmas about natural numbers that require more imports than available in
Data.Nat.Defs
.
Instances #
Equations
Extra instances to short-circuit type class resolution and ensure computability
Equations
- Nat.addCommSemigroup = inferInstance
Equations
- Nat.cancelCommMonoidWithZero = let __src := inferInstance; CancelCommMonoidWithZero.mk