Fin is a group #
This file contains the additive and multiplicative monoid instances on Fin n
.
See note [foundational algebra order theory].
Instances #
Equations
- Fin.addCommSemigroup n = { toAdd := Fin.instAdd, add_assoc := ⋯, add_comm := ⋯ }
Equations
- Fin.instAddCommSemigroup n = { toAdd := Fin.instAdd, add_assoc := ⋯, add_comm := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Fin.instAddMonoidWithOne n = { natCast := fun (i : ℕ) => Fin.ofNat' n i, toAddMonoid := AddCommMonoid.toAddMonoid, toOne := One.ofOfNat1, natCast_zero := ⋯, natCast_succ := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- Fin.instInvolutiveNeg n = { toNeg := Fin.neg n, neg_neg := ⋯ }
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- Fin.instAddLeftCancelSemigroup n = { toAddSemigroup := AddCommSemigroup.toAddSemigroup, add_left_cancel := ⋯ }
Note this is more general than Fin.addCommGroup
as it applies (vacuously) to Fin 0
too.
Equations
- Fin.instAddRightCancelSemigroup n = { toAddSemigroup := AddCommSemigroup.toAddSemigroup, add_right_cancel := ⋯ }