Classical.Theories.CommutativeMonoid¶
The equational theory of commutative monoids¶
This is the Classical.Theories.CommutativeMonoid module of the Agda Universal Algebra Library.
Adds commutativity to the monoid theory over the same Sig-Monoid signature.
data Eq-CommutativeMonoid : Type where assoc idˡ idʳ comm : Eq-CommutativeMonoid Th-CommutativeMonoid : Eq-CommutativeMonoid → Term (Fin 3) × Term (Fin 3) Th-CommutativeMonoid assoc = Associative ∙-Op refl 0F 1F 2F Th-CommutativeMonoid idˡ = LeftIdentity ∙-Op ε-Op refl refl 0F Th-CommutativeMonoid idʳ = RightIdentity ∙-Op ε-Op refl refl 0F Th-CommutativeMonoid comm = Commutative ∙-Op refl 0F 1F