Classical.Small.Structures.CommutativeMonoid¶
Level-fixed Commutative Monoid¶
This is the Classical.Small.Structures.CommutativeMonoid module of the Agda Universal Algebra Library.
Specializes Classical.Structures.CommutativeMonoid to the 0โโ0โ case, mirroring the veneers of
Magma, Semigroup, Monoid, etc.
CommutativeMonoid : Type (suc 0โ) CommutativeMonoid = Polymorphic.CommutativeMonoid 0โ 0โ eqsToCommutativeMonoid : (A : Type 0โ) (_ยท_ : A โ A โ A) (e : A) โ (โ a b c โ (a ยท b) ยท c โก a ยท (b ยท c)) โ (โ a โ e ยท a โก a) โ (โ a โ a ยท e โก a) โ (โ a b โ a ยท b โก b ยท a) โ CommutativeMonoid eqsToCommutativeMonoid = Polymorphic.eqsToCommutativeMonoid