Documentation

Mathlib.Data.ZMod.Quotient

ZMod n and quotient groups / rings #

This file relates ZMod n to the quotient group ℤ / AddSubgroup.zmultiples (n : ℤ) and to the quotient ring ℤ ⧸ Ideal.span {(n : ℤ)}.

Main definitions #

Tags #

zmod, quotient group, quotient ring, ideal quotient

modulo multiples of n : ℕ is ZMod n.

Equations
  • One or more equations did not get rendered due to their size.
def ZMod.prodEquivPi {ι : Type u_3} [Fintype ι] (a : ι) (coprime : Pairwise fun (i j : ι) => Nat.Coprime (a i) (a j)) :
ZMod (Finset.prod Finset.univ fun (i : ι) => a i) ≃+* ((i : ι) → ZMod (a i))

The Chinese remainder theorem, elementary version for ZMod. See also Mathlib.Data.ZMod.Basic for versions involving only two numbers.

Equations
  • One or more equations did not get rendered due to their size.
noncomputable def AddAction.zmultiplesQuotientStabilizerEquiv {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) :

The quotient (ℤ ∙ a) ⧸ (stabilizer b) is cyclic of order minimalPeriod (a +ᵥ ·) b.

Equations
  • One or more equations did not get rendered due to their size.
theorem AddAction.zmultiplesQuotientStabilizerEquiv_symm_apply {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) (n : ZMod (Function.minimalPeriod (fun (x : β) => a +ᵥ x) b)) :
(AddEquiv.symm (AddAction.zmultiplesQuotientStabilizerEquiv a b)) n = ZMod.cast n { val := a, property := }
noncomputable def MulAction.zpowersQuotientStabilizerEquiv {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) :

The quotient (a ^ ℤ) ⧸ (stabilizer b) is cyclic of order minimalPeriod ((•) a) b.

Equations
theorem MulAction.zpowersQuotientStabilizerEquiv_symm_apply {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) (n : ZMod (Function.minimalPeriod (fun (x : β) => a x) b)) :
(MulEquiv.symm (MulAction.zpowersQuotientStabilizerEquiv a b)) n = { val := a, property := } ^ ZMod.cast n
noncomputable def MulAction.orbitZPowersEquiv {α : Type u_3} {β : Type u_4} [Group α] (a : α) [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.

Equations
noncomputable def AddAction.orbitZMultiplesEquiv {α : Type u_5} {β : Type u_6} [AddGroup α] (a : α) [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.

Equations
theorem AddAction.orbitZMultiplesEquiv_symm_apply {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) (k : ZMod (Function.minimalPeriod (fun (x : β) => a +ᵥ x) b)) :
(AddAction.orbitZMultiplesEquiv a b).symm k = ZMod.cast k { val := a, property := } +ᵥ { val := b, property := }
theorem MulAction.orbitZPowersEquiv_symm_apply {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) (k : ZMod (Function.minimalPeriod (fun (x : β) => a x) b)) :
(MulAction.orbitZPowersEquiv a b).symm k = { val := a, property := } ^ ZMod.cast k { val := b, property := }
@[deprecated AddAction.orbitZMultiplesEquiv_symm_apply]
theorem AddAction.orbit_zmultiples_equiv_symm_apply {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) (k : ZMod (Function.minimalPeriod (fun (x : β) => a +ᵥ x) b)) :
(AddAction.orbitZMultiplesEquiv a b).symm k = ZMod.cast k { val := a, property := } +ᵥ { val := b, property := }

Alias of AddAction.orbitZMultiplesEquiv_symm_apply.

theorem MulAction.orbitZPowersEquiv_symm_apply' {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) (k : ) :
(MulAction.orbitZPowersEquiv a b).symm k = { val := a, property := } ^ k { val := b, property := }
theorem AddAction.orbitZMultiplesEquiv_symm_apply' {α : Type u_5} {β : Type u_6} [AddGroup α] (a : α) [AddAction α β] (b : β) (k : ) :
(AddAction.orbitZMultiplesEquiv a b).symm k = k { val := a, property := } +ᵥ { val := b, property := }
theorem AddAction.minimalPeriod_eq_card {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) [Fintype (AddAction.orbit ((AddSubgroup.zmultiples a)) b)] :
theorem MulAction.minimalPeriod_eq_card {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) [Fintype (MulAction.orbit ((Subgroup.zpowers a)) b)] :
instance AddAction.minimalPeriod_pos {α : Type u_3} {β : Type u_4} [AddGroup α] (a : α) [AddAction α β] (b : β) [Finite (AddAction.orbit ((AddSubgroup.zmultiples a)) b)] :
NeZero (Function.minimalPeriod (fun (x : β) => a +ᵥ x) b)
Equations
  • =
instance MulAction.minimalPeriod_pos {α : Type u_3} {β : Type u_4} [Group α] (a : α) [MulAction α β] (b : β) [Finite (MulAction.orbit ((Subgroup.zpowers a)) b)] :
NeZero (Function.minimalPeriod (fun (x : β) => a x) b)
Equations
  • =
@[simp]
theorem Nat.card_zpowers {α : Type u_3} [Group α] (a : α) :

See also Fintype.card_zpowers.

@[simp]
@[simp]
theorem finite_zpowers {α : Type u_3} [Group α] {a : α} :
@[simp]
theorem infinite_zpowers {α : Type u_3} [Group α] {a : α} :
theorem IsOfFinOrder.finite_zpowers {α : Type u_3} [Group α] {a : α} :

Alias of the reverse direction of finite_zpowers.