Mathlib.Data.ZMod.QuotientGroup
30 declarations. Mathlib docs · Source
ZMod n and quotient groups / rings
This file relates ZMod n to the quotient group ℤ / AddSubgroup.zmultiples (n : ℤ).
Main definitions
ZMod.quotientZMultiplesNatEquivZModandZMod.quotientZMultiplesEquivZMod:ZMod nis the group quotient ofℤbyn ℤ := AddSubgroup.zmultiples (n), (wheren : ℕandn : ℤrespectively)ZMod.lift n fis the map fromZMod ninduced byf : ℤ →+ Athat mapsnto0.
Tags
zmod, quotient group
def Int.quotientZMultiplesNatEquivZMod E1 #
(n : ℕ) → ℤ ⧸ AddSubgroup.zmultiples ↑n ≃+ ZMod n
ℤ modulo multiples of n : ℕ is ZMod n.
def Int.quotientZMultiplesEquivZMod E1 #
(a : ℤ) → ℤ ⧸ AddSubgroup.zmultiples a ≃+ ZMod a.natAbs
ℤ modulo multiples of a : ℤ is ZMod a.natAbs.
theorem Int.index_zmultiples E0 #
∀ (a : ℤ), (AddSubgroup.zmultiples a).index = a.natAbs
theorem Int.relIndex_zmultiples_mul E1 #
∀ (a b : ℕ), (AddSubgroup.zmultiples ↑a).relIndex (AddSubgroup.zmultiples ↑b) * a.gcd b = a
The relative index of zmultiples a in zmultiples b (as subgroups of ℤ, a b : ℕ),
multiplied by gcd a b, is a.
def AddAction.zmultiplesQuotientStabilizerEquiv E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : AddGroup α] →
(a : α) →
[inst_1 : AddAction α β] →
(b : β) →
↥(AddSubgroup.zmultiples a) ⧸ AddAction.stabilizer (↥(AddSubgroup.zmultiples a)) b ≃+
ZMod (Function.minimalPeriod (fun x ↦ a +ᵥ x) b)
The quotient (ℤ ∙ a) ⧸ (stabilizer b) is cyclic of order minimalPeriod (a +ᵥ ·) b.
theorem AddAction.zmultiplesQuotientStabilizerEquiv_symm_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddGroup α] (a : α) [inst_1 : AddAction α β] (b : β)
(n : ZMod (Function.minimalPeriod (fun x ↦ a +ᵥ x) b)),
(AddAction.zmultiplesQuotientStabilizerEquiv a b).symm n = n.cast • ↑⟨a, ⋯⟩
def MulAction.zpowersQuotientStabilizerEquiv E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : Group α] →
(a : α) →
[inst_1 : MulAction α β] →
(b : β) →
↥(Subgroup.zpowers a) ⧸ MulAction.stabilizer (↥(Subgroup.zpowers a)) b ≃*
Multiplicative (ZMod (Function.minimalPeriod (fun x ↦ a • x) b))
The quotient (a ^ ℤ) ⧸ (stabilizer b) is cyclic of order minimalPeriod ((•) a) b.
theorem MulAction.zpowersQuotientStabilizerEquiv_symm_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Group α] (a : α) [inst_1 : MulAction α β] (b : β)
(n : ZMod (Function.minimalPeriod (fun x ↦ a • x) b)),
(MulAction.zpowersQuotientStabilizerEquiv a b).symm n = ↑⟨a, ⋯⟩ ^ n.cast
def MulAction.orbitZPowersEquiv E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : Group α] →
(a : α) →
[inst_1 : MulAction α β] →
(b : β) → ↑(MulAction.orbit (↥(Subgroup.zpowers a)) b) ≃ ZMod (Function.minimalPeriod (fun x ↦ a • x) b)
The orbit (a ^ ℤ) • b is a cycle of order minimalPeriod ((•) a) b.
def AddAction.orbitZMultiplesEquiv E1 #
{α : Type u_4} →
{β : Type u_5} →
[inst : AddGroup α] →
(a : α) →
[inst_1 : AddAction α β] →
(b : β) →
↑(AddAction.orbit (↥(AddSubgroup.zmultiples a)) b) ≃ ZMod (Function.minimalPeriod (fun x ↦ a +ᵥ x) b)
The orbit (ℤ • a) +ᵥ b is a cycle of order minimalPeriod (a +ᵥ ·) b.
theorem AddAction.orbitZMultiplesEquiv_symm_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddGroup α] (a : α) [inst_1 : AddAction α β] (b : β)
(k : ZMod (Function.minimalPeriod (fun x ↦ a +ᵥ x) b)),
(AddAction.orbitZMultiplesEquiv a b).symm k = k.cast • ⟨a, ⋯⟩ +ᵥ ⟨b, ⋯⟩
theorem MulAction.orbitZPowersEquiv_symm_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Group α] (a : α) [inst_1 : MulAction α β] (b : β)
(k : ZMod (Function.minimalPeriod (fun x ↦ a • x) b)),
(MulAction.orbitZPowersEquiv a b).symm k = ⟨a, ⋯⟩ ^ k.cast • ⟨b, ⋯⟩
theorem AddAction.orbitZMultiplesEquiv_symm_apply' E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddGroup α] (a : α) [inst_1 : AddAction α β] (b : β) (k : ℤ),
(AddAction.orbitZMultiplesEquiv a b).symm ↑k = k • ⟨a, ⋯⟩ +ᵥ ⟨b, ⋯⟩
theorem MulAction.orbitZPowersEquiv_symm_apply' E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Group α] (a : α) [inst_1 : MulAction α β] (b : β) (k : ℤ),
(MulAction.orbitZPowersEquiv a b).symm ↑k = ⟨a, ⋯⟩ ^ k • ⟨b, ⋯⟩
theorem AddAction.minimalPeriod_eq_card E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddGroup α] (a : α) [inst_1 : AddAction α β] (b : β)
[inst_2 : Fintype ↑(AddAction.orbit (↥(AddSubgroup.zmultiples a)) b)],
Function.minimalPeriod (fun x ↦ a +ᵥ x) b = Fintype.card ↑(AddAction.orbit (↥(AddSubgroup.zmultiples a)) b)
theorem MulAction.minimalPeriod_eq_card E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Group α] (a : α) [inst_1 : MulAction α β] (b : β)
[inst_2 : Fintype ↑(MulAction.orbit (↥(Subgroup.zpowers a)) b)],
Function.minimalPeriod (fun x ↦ a • x) b = Fintype.card ↑(MulAction.orbit (↥(Subgroup.zpowers a)) b)
instance AddAction.minimalPeriod_pos E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : AddGroup α] (a : α) [inst_1 : AddAction α β] (b : β)
[Finite ↑(AddAction.orbit (↥(AddSubgroup.zmultiples a)) b)], NeZero (Function.minimalPeriod (fun x ↦ a +ᵥ x) b)
instance MulAction.minimalPeriod_pos E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Group α] (a : α) [inst_1 : MulAction α β] (b : β)
[Finite ↑(MulAction.orbit (↥(Subgroup.zpowers a)) b)], NeZero (Function.minimalPeriod (fun x ↦ a • x) b)
theorem Nat.card_zpowers E0 #
∀ {α : Type u_2} [inst : Group α] (a : α), Nat.card ↥(Subgroup.zpowers a) = orderOf a
See also Fintype.card_zpowers.
theorem Nat.card_zmultiples E0 #
∀ {α : Type u_2} [inst : AddGroup α] (a : α), Nat.card ↥(AddSubgroup.zmultiples a) = addOrderOf a
See also Fintype.card_zmultiples.
theorem finite_zpowers E0 #
∀ {α : Type u_2} [inst : Group α] {a : α}, Finite ↥(Subgroup.zpowers a) ↔ IsOfFinOrder a
theorem finite_zmultiples E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a : α}, Finite ↥(AddSubgroup.zmultiples a) ↔ IsOfFinAddOrder a
theorem infinite_zpowers E0 #
∀ {α : Type u_2} [inst : Group α] {a : α}, Infinite ↥(Subgroup.zpowers a) ↔ ¬IsOfFinOrder a
theorem infinite_zmultiples E0 #
∀ {α : Type u_2} [inst : AddGroup α] {a : α}, Infinite ↥(AddSubgroup.zmultiples a) ↔ ¬IsOfFinAddOrder a
theorem IsOfFinOrder.finite_zpowers E1 #
∀ {α : Type u_2} [inst : Group α] {a : α}, IsOfFinOrder a → Finite ↥(Subgroup.zpowers a)
Alias of the reverse direction of finite_zpowers.
theorem IsOfFinAddOrder.finite_zmultiples E1 #
∀ {α : Type u_2} [inst : AddGroup α] {a : α}, IsOfFinAddOrder a → Finite ↥(AddSubgroup.zmultiples a)
Alias of the reverse direction of finite_zmultiples.
def Subgroup.quotientEquivSigmaZMod E1 #
{G : Type u_2} →
[inst : Group G] →
(H : Subgroup G) →
(g : G) →
G ⧸ H ≃
(q : MulAction.orbitRel.Quotient (↥(Subgroup.zpowers g)) (G ⧸ H)) ×
ZMod (Function.minimalPeriod (fun x ↦ g • x) (Quotient.out q))
Partition G ⧸ H into orbits of the action of g : G.
theorem Subgroup.quotientEquivSigmaZMod_symm_apply E0 #
∀ {G : Type u_2} [inst : Group G] (H : Subgroup G) (g : G)
(q : MulAction.orbitRel.Quotient (↥(Subgroup.zpowers g)) (G ⧸ H))
(k : ZMod (Function.minimalPeriod (fun x ↦ g • x) (Quotient.out q))),
(H.quotientEquivSigmaZMod g).symm ⟨q, k⟩ = g ^ k.cast • Quotient.out q
theorem Subgroup.quotientEquivSigmaZMod_apply E0 #
∀ {G : Type u_2} [inst : Group G] (H : Subgroup G) (g : G)
(q : MulAction.orbitRel.Quotient (↥(Subgroup.zpowers g)) (G ⧸ H)) (k : ℤ),
(H.quotientEquivSigmaZMod g) (g ^ k • Quotient.out q) = ⟨q, ↑k⟩
theorem Subgroup.index_eq_sum_minimalPeriod E1 #
∀ {G : Type u_2} [inst : Group G] (H : Subgroup G) (g : G) [Finite (G ⧸ H)]
[inst_2 : Fintype (Quotient (MulAction.orbitRel (↥(Subgroup.zpowers g)) (G ⧸ H)))],
H.index = ∑ q, Function.minimalPeriod (fun x ↦ g • x) q.out
The sum of minimal periods over all orbits equals the index [G:H].