Examples.Classical.Groups¶
Worked examples of groups¶
This is the Examples.Classical.Groups module of the Agda Universal Algebra Library.
Index of the worked group examples under Examples/Classical/Groups/. This
module opens each submodule it imports (open import, without public), so that
the family type-checks from a single entry point, and it deliberately does not
re-export their contents. The finite examples each introduce a local operation
_Ā·_ and their own characteristic lemmas, which are meaningful only within their
own module, so there is nothing to gain (and names to clash) from re-exporting
them through a barrel.
CyclicGroupandAbelianGrouppresent(ā¤, +, 0, -)ā the infinite cyclic group ā as a group and as an abelian group.CyclicGroup3is the cyclic groupā¤/3ā¤, built from a Cayley table.CyclicGroup6is the cyclic groupā¤/6ā¤, checked to be the direct productā¤/2⤠à ā¤/3ā¤with the theory of direct decompositions.KleinFourGroupis the Klein four-groupVā.SymmetricGroup3is the symmetric groupSā, the smallest non-abelian group.- Examples.Classical.Groups.AlternatingGroup5 is the alternating group
Aā, the smallest nonabelian simple group, certified simple by finite computation from its generated companion Examples.Classical.Groups.AlternatingGroup5.Tables. This barrel does not import it. The two modules take several seconds each to check, longer than any other module of the library, and a barrel leaves out such slow modules so that importing it stays cheap.make checkstill checks both, and either can be imported directly.
{-# OPTIONS --without-K --exact-split --safe #-} module Examples.Classical.Groups where open import Examples.Classical.Groups.AbelianGroup open import Examples.Classical.Groups.CyclicGroup open import Examples.Classical.Groups.CyclicGroup3 open import Examples.Classical.Groups.CyclicGroup6 open import Examples.Classical.Groups.KleinFourGroup open import Examples.Classical.Groups.SymmetricGroup3