Fin is a group #
This file contains the additive and multiplicative monoid instances on Fin n
.
See note [foundational algebra order theory].
Instances #
Equations
Equations
Equations
- Fin.addCommMonoid n = let __spread.0 := Fin.addCommSemigroup n; AddCommMonoid.mk ⋯
Equations
- Fin.instAddMonoidWithOne n = let __spread.0 := inferInstanceAs (AddCommMonoid (Fin n)); AddMonoidWithOne.mk ⋯ ⋯
Equations
- Fin.addCommGroup n = let __spread.0 := Fin.addCommMonoid n; let __spread.1 := Fin.neg n; AddCommGroup.mk ⋯
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- ⋯ = ⋯
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- Fin.instAddLeftCancelSemigroup n = let __src := Fin.addCommSemigroup n; let __src_1 := ⋯; AddLeftCancelSemigroup.mk ⋯
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- Fin.instAddRightCancelSemigroup n = let __src := Fin.addCommSemigroup n; let __src_1 := ⋯; AddRightCancelSemigroup.mk ⋯