Classical.Small.Structures.Monoid¶
Level-fixed Monoid¶
This is the Classical.Small.Structures.Monoid module of the Agda Universal Algebra Library.
Specializes Classical.Structures.Monoid to the common case where the universe
level of both the carrier and the equivalence is 0โ (i.e., Set-valued carriers with
propositional or set-truncated equivalence), mirroring the analogous veneers for
Magma, Semigroup, etc.
Monoid : Type (suc 0โ) Monoid = Polymorphic.Monoid 0โ 0โ eqsToMonoid : (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) โ Monoid eqsToMonoid A = Polymorphic.eqsToMonoid {A = A}