Skip to content

Commit

Permalink
Merge pull request #2050 from ndcroos/new_version_cyclic_group
Browse files Browse the repository at this point in the history
Added definition for cyclic' to AbGroups/Cyclic.v
  • Loading branch information
Alizter authored Aug 6, 2024
2 parents 6e70545 + db5f035 commit cdc0aaa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions theories/Algebra/AbGroups/Cyclic.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Definition Z1 := FreeGroup Unit.
Definition Z1_gen : Z1 := freegroup_in tt. (* The generator *)

(** The recursion principle of [Z1] and its computation rule. *)
Definition Z1_rec {G : Group@{u}} (g : G) : Z1 $-> G
Definition Z1_rec {G : Group} (g : G) : Z1 $-> G
:= FreeGroup_rec Unit G (unit_name g).

Definition Z1_rec_beta {G : Group} (g : G) : Z1_rec g Z1_gen = g
Expand Down Expand Up @@ -76,5 +76,11 @@ Definition Z1_to_Z `{Funext} : ab_Z1 $-> abgroup_Z
(** * Finite cyclic groups *)

(** The [n]-th cyclic group is the cokernel of [Z1_mul_nat n]. *)
Definition cyclic@{u v | u < v} `{Funext} (n : nat) : AbGroup@{u}
:= ab_cokernel@{u v} (Z1_mul_nat n).
Definition cyclic `{Funext} (n : nat) : AbGroup
:= ab_cokernel (Z1_mul_nat n).

(** ** Alternative definition of cyclic group *)

(** The [n]-th cyclic group is the cokernel of [ab_mul n]. *)
Definition cyclic' (n : nat) : AbGroup
:= ab_cokernel (ab_mul (A:=abgroup_Z) n).

0 comments on commit cdc0aaa

Please sign in to comment.