(** * Cyclic groups *) (** 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). Definition cyclic_in (n : nat) : abgroup_Z $-> cyclic n := grp_quotient_map.n: nat
x, y: abgroup_Zab_mul y (cyclic_in n x) = cyclic_in n (y * x)%intn: nat
x, y: abgroup_Zab_mul y (cyclic_in n x) = cyclic_in n (y * x)%intapply ap, abgroup_Z_ab_mul. Defined.n: nat
x, y: abgroup_Zcyclic_in n (ab_mul y x) = cyclic_in n (y * x)%int