The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.GroupTheory.Exponent

135 declarations. Mathlib docs · Source

Exponent of a group

This file defines the exponent of a group, or more generally a monoid. For a group G it is defined to be the minimal n≥1 such that g ^ n = 1 for all g ∈ G. For a finite group G, it is equal to the lowest common multiple of the order of all elements of the group G.

Main definitions

  • Monoid.ExponentExists is a predicate on a monoid G saying that there is some positive n such that g ^ n = 1 for all g ∈ G.
  • Monoid.exponent defines the exponent of a monoid G as the minimal positive n such that g ^ n = 1 for all g ∈ G, by convention it is 0 if no such n exists.
  • AddMonoid.ExponentExists the additive version of Monoid.ExponentExists.
  • AddMonoid.exponent the additive version of Monoid.exponent.

Main results

  • Monoid.lcm_order_eq_exponent: For a finite left cancel monoid G, the exponent is equal to the Finset.lcm of the order of its elements.
  • Monoid.exponent_eq_iSup_orderOf('): For a commutative cancel monoid, the exponent is equal to ⨆ g : G, orderOf g (or zero if it has any order-zero elements).
  • Monoid.exponent_pi and Monoid.exponent_prod: The exponent of a finite product of monoids is the least common multiple (Finset.lcm and lcm, respectively) of the exponents of the constituent monoids.
  • MonoidHom.exponent_dvd: If f : M₁ →⋆ M₂ is surjective, then the exponent of M₂ divides the exponent of M₁.

TODO

  • Refactor the characteristic of a ring to be the exponent of its underlying additive group.

Properties of monoids with exponent two

def Monoid.ExponentExists E3 #

(G : Type u) → [Monoid G] → Prop

A predicate on a monoid saying that there is a positive integer n such that g ^ n = 1 for all g.

def AddMonoid.ExponentExists E3 #

(G : Type u) → [AddMonoid G] → Prop

A predicate on an additive monoid saying that there is a positive integer n such that n • g = 0 for all g.

def Monoid.exponent E3 #

(G : Type u) → [Monoid G] → ℕ

The exponent of a group is the smallest positive integer n such that g ^ n = 1 for all g ∈ G if it exists, otherwise it is zero by convention.

def AddMonoid.exponent E3 #

(G : Type u) → [AddMonoid G] → ℕ

The exponent of an additive group is the smallest positive integer n such that n • g = 0 for all g ∈ G if it exists, otherwise it is zero by convention.

theorem AddMonoid.exponent_additive E0 #

∀ {G : Type u} [inst : Monoid G], AddMonoid.exponent (Additive G) = Monoid.exponent G

theorem Monoid.exponent_multiplicative E0 #

∀ {G : Type u_1} [inst : AddMonoid G], Monoid.exponent (Multiplicative G) = AddMonoid.exponent G

theorem MulOpposite.exponent E0 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent Gᵐᵒᵖ = Monoid.exponent G

theorem AddOpposite.exponent E0 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent Gᵃᵒᵖ = AddMonoid.exponent G

theorem AddMonoid.ExponentExists.isOfFinAddOrder E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.ExponentExists G → ∀ {g : G}, IsOfFinAddOrder g

theorem Monoid.ExponentExists.isOfFinOrder E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.ExponentExists G → ∀ {g : G}, IsOfFinOrder g

theorem Monoid.ExponentExists.orderOf_pos E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.ExponentExists G → ∀ (g : G), 0 < orderOf g

theorem AddMonoid.ExponentExists.addOrderOf_pos E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.ExponentExists G → ∀ (g : G), 0 < addOrderOf g

theorem AddMonoid.exponent_ne_zero E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G ≠ 0 ↔ AddMonoid.ExponentExists G

theorem Monoid.exponent_ne_zero E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G ≠ 0 ↔ Monoid.ExponentExists G

theorem Monoid.ExponentExists.exponent_ne_zero E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.ExponentExists G → Monoid.exponent G ≠ 0

Alias of the reverse direction of Monoid.exponent_ne_zero.

theorem AddMonoid.ExponentExists.exponent_ne_zero E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.ExponentExists G → AddMonoid.exponent G ≠ 0

Alias of the reverse direction of AddMonoid.exponent_ne_zero.

theorem AddMonoid.exponent_pos E1 #

∀ {G : Type u} [inst : AddMonoid G], 0 < AddMonoid.exponent G ↔ AddMonoid.ExponentExists G

theorem Monoid.exponent_pos E1 #

∀ {G : Type u} [inst : Monoid G], 0 < Monoid.exponent G ↔ Monoid.ExponentExists G

theorem Monoid.ExponentExists.exponent_pos E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.ExponentExists G → 0 < Monoid.exponent G

Alias of the reverse direction of Monoid.exponent_pos.

theorem AddMonoid.ExponentExists.exponent_pos E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.ExponentExists G → 0 < AddMonoid.exponent G

Alias of the reverse direction of AddMonoid.exponent_pos.

theorem Monoid.exponent_eq_zero_iff E0 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G = 0 ↔ ¬Monoid.ExponentExists G

theorem AddMonoid.exponent_eq_zero_iff E0 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G = 0 ↔ ¬AddMonoid.ExponentExists G

theorem AddMonoid.exponent_eq_zero_addOrder_zero E1 #

∀ {G : Type u} [inst : AddMonoid G] {g : G}, addOrderOf g = 0 → AddMonoid.exponent G = 0

theorem Monoid.exponent_eq_zero_of_order_zero E1 #

∀ {G : Type u} [inst : Monoid G] {g : G}, orderOf g = 0 → Monoid.exponent G = 0

theorem AddMonoid.exponent_eq_sInf E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G = sInf {d | 0 < d ∧ ∀ (x : G), d • x = 0}

theorem Monoid.exponent_eq_sInf E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G = sInf {d | 0 < d ∧ ∀ (x : G), x ^ d = 1}

theorem Monoid.exponent_eq_zero_iff_forall E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G = 0 ↔ ∀ n > 0, ∃ g, g ^ n ≠ 1

The exponent is zero iff for all nonzero n, one can find a g such that g ^ n ≠ 1.

theorem AddMonoid.exponent_eq_zero_iff_forall E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G = 0 ↔ ∀ n > 0, ∃ g, n • g ≠ 0

The exponent is zero iff for all nonzero n, one can find a g such that n • g ≠ 0.

theorem AddMonoid.exponent_nsmul_eq_zero E1 #

∀ {G : Type u} [inst : AddMonoid G] (g : G), AddMonoid.exponent G • g = 0

theorem Monoid.pow_exponent_eq_one E1 #

∀ {G : Type u} [inst : Monoid G] (g : G), g ^ Monoid.exponent G = 1

theorem Monoid.pow_eq_mod_exponent E1 #

∀ {G : Type u} [inst : Monoid G] {n : ℕ} (g : G), g ^ n = g ^ (n % Monoid.exponent G)

theorem AddMonoid.nsmul_eq_mod_exponent E1 #

∀ {G : Type u} [inst : AddMonoid G] {n : ℕ} (g : G), n • g = (n % AddMonoid.exponent G) • g

theorem AddMonoid.exponent_pos_of_exists E1 #

∀ {G : Type u} [inst : AddMonoid G] (n : ℕ), 0 < n → (∀ (g : G), n • g = 0) → 0 < AddMonoid.exponent G

theorem Monoid.exponent_pos_of_exists E1 #

∀ {G : Type u} [inst : Monoid G] (n : ℕ), 0 < n → (∀ (g : G), g ^ n = 1) → 0 < Monoid.exponent G

theorem AddMonoid.exponent_min' E1 #

∀ {G : Type u} [inst : AddMonoid G] (n : ℕ), 0 < n → (∀ (g : G), n • g = 0) → AddMonoid.exponent G ≤ n

theorem Monoid.exponent_min' E1 #

∀ {G : Type u} [inst : Monoid G] (n : ℕ), 0 < n → (∀ (g : G), g ^ n = 1) → Monoid.exponent G ≤ n

theorem AddMonoid.exponent_min E1 #

∀ {G : Type u} [inst : AddMonoid G] (m : ℕ), 0 < m → m < AddMonoid.exponent G → ∃ g, m • g ≠ 0

theorem Monoid.exponent_min E1 #

∀ {G : Type u} [inst : Monoid G] (m : ℕ), 0 < m → m < Monoid.exponent G → ∃ g, g ^ m ≠ 1

theorem Monoid.exp_eq_one_iff E0 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G = 1 ↔ Subsingleton G

theorem AddMonoid.exp_eq_one_iff E0 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G = 1 ↔ Subsingleton G

theorem Monoid.exp_eq_one_of_subsingleton E0 #

∀ {G : Type u} [inst : Monoid G] [hs : Subsingleton G], Monoid.exponent G = 1

theorem AddMonoid.exp_eq_one_of_subsingleton E0 #

∀ {G : Type u} [inst : AddMonoid G] [hs : Subsingleton G], AddMonoid.exponent G = 1

theorem Monoid.order_dvd_exponent E1 #

∀ {G : Type u} [inst : Monoid G] (g : G), orderOf g ∣ Monoid.exponent G

theorem AddMonoid.addOrder_dvd_exponent E1 #

∀ {G : Type u} [inst : AddMonoid G] (g : G), addOrderOf g ∣ AddMonoid.exponent G

theorem AddMonoid.addOrderOf_le_exponent E1 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.ExponentExists G → ∀ (g : G), addOrderOf g ≤ AddMonoid.exponent G

theorem Monoid.orderOf_le_exponent E1 #

∀ {G : Type u} [inst : Monoid G], Monoid.ExponentExists G → ∀ (g : G), orderOf g ≤ Monoid.exponent G

theorem Monoid.exponent_dvd_iff_forall_pow_eq_one E1 #

∀ {G : Type u} [inst : Monoid G] {n : ℕ}, Monoid.exponent G ∣ n ↔ ∀ (g : G), g ^ n = 1

theorem AddMonoid.exponent_dvd_iff_forall_nsmul_eq_zero E1 #

∀ {G : Type u} [inst : AddMonoid G] {n : ℕ}, AddMonoid.exponent G ∣ n ↔ ∀ (g : G), n • g = 0

theorem Monoid.exponent_dvd_of_forall_pow_eq_one E1 #

∀ {G : Type u} [inst : Monoid G] {n : ℕ}, (∀ (g : G), g ^ n = 1) → Monoid.exponent G ∣ n

Alias of the reverse direction of Monoid.exponent_dvd_iff_forall_pow_eq_one.

theorem AddMonoid.exponent_dvd_of_forall_nsmul_eq_zero E1 #

∀ {G : Type u} [inst : AddMonoid G] {n : ℕ}, (∀ (g : G), n • g = 0) → AddMonoid.exponent G ∣ n

Alias of the reverse direction of AddMonoid.exponent_dvd_iff_forall_nsmul_eq_zero.

theorem Monoid.exponent_dvd E1 #

∀ {G : Type u} [inst : Monoid G] {n : ℕ}, Monoid.exponent G ∣ n ↔ ∀ (g : G), orderOf g ∣ n

theorem AddMonoid.exponent_dvd E1 #

∀ {G : Type u} [inst : AddMonoid G] {n : ℕ}, AddMonoid.exponent G ∣ n ↔ ∀ (g : G), addOrderOf g ∣ n

theorem Monoid.lcm_orderOf_dvd_exponent E1 #

∀ (G : Type u) [inst : Monoid G] [inst_1 : Fintype G], Finset.univ.lcm orderOf ∣ Monoid.exponent G

theorem AddMonoid.lcm_addOrderOf_dvd_exponent E1 #

∀ (G : Type u) [inst : AddMonoid G] [inst_1 : Fintype G], Finset.univ.lcm addOrderOf ∣ AddMonoid.exponent G

theorem Nat.Prime.exists_orderOf_eq_pow_factorization_exponent E1 #

∀ (G : Type u) [inst : Monoid G] {p : ℕ}, Nat.Prime p → ∃ g, orderOf g = p ^ (Monoid.exponent G).factorization p

theorem Nat.Prime.exists_addOrderOf_eq_pow_padic_val_nat_add_exponent E1 #

∀ (G : Type u) [inst : AddMonoid G] {p : ℕ},
  Nat.Prime p → ∃ g, addOrderOf g = p ^ (AddMonoid.exponent G).factorization p

theorem Commute.orderOf_mul_pow_eq_lcm E1 #

∀ {G : Type u} [inst : Monoid G] {x y : G},
  Commute x y →
    orderOf x ≠ 0 →
      orderOf y ≠ 0 →
        orderOf
            (x ^ (orderOf x / (orderOf x).factorizationLCMLeft (orderOf y)) *
              y ^ (orderOf y / (orderOf x).factorizationLCMRight (orderOf y))) =
          (orderOf x).lcm (orderOf y)

If two commuting elements x and y of a monoid have order n and m, there is an element of order lcm n m. The result actually gives an explicit (computable) element, written as the product of a power of x and a power of y. See also the result below if you don't need the explicit formula.

theorem AddCommute.addOrderOf_add_nsmul_eq_lcm E1 #

∀ {G : Type u} [inst : AddMonoid G] {x y : G},
  AddCommute x y →
    addOrderOf x ≠ 0 →
      addOrderOf y ≠ 0 →
        addOrderOf
            ((addOrderOf x / (addOrderOf x).factorizationLCMLeft (addOrderOf y)) • x +
              (addOrderOf y / (addOrderOf x).factorizationLCMRight (addOrderOf y)) • y) =
          (addOrderOf x).lcm (addOrderOf y)

If two commuting elements x and y of an additive monoid have order n and m, there is an element of order lcm n m. The result actually gives an explicit (computable) element, written as the sum of a multiple of x and a multiple of y. See also the result below if you don't need the explicit formula.

theorem Commute.exists_orderOf_eq_lcm E1 #

∀ (G : Type u) [inst : Monoid G] {x y : G},
  Commute x y → ∃ z ∈ Submonoid.closure {x, y}, orderOf z = (orderOf x).lcm (orderOf y)

If two commuting elements x and y of a monoid have order n and m, then there is an element of order lcm n m that lies in the subgroup generated by x and y.

theorem AddCommute.exists_addOrderOf_eq_lcm E1 #

∀ (G : Type u) [inst : AddMonoid G] {x y : G},
  AddCommute x y → ∃ z ∈ AddSubmonoid.closure {x, y}, addOrderOf z = (addOrderOf x).lcm (addOrderOf y)

If two commuting elements x and y of an additive monoid have order n and m, then there is an element of order lcm n m that lies in the additive subgroup generated by x and y.

theorem Monoid.exponent_eq_prime_iff E0 #

∀ {G : Type u_1} [inst : Monoid G] [Nontrivial G] {p : ℕ},
  Nat.Prime p → (Monoid.exponent G = p ↔ ∀ (g : G), g ≠ 1 → orderOf g = p)

A nontrivial monoid has prime exponent p if and only if every non-identity element has order p.

theorem AddMonoid.exponent_eq_prime_iff E0 #

∀ {G : Type u_1} [inst : AddMonoid G] [Nontrivial G] {p : ℕ},
  Nat.Prime p → (AddMonoid.exponent G = p ↔ ∀ (g : G), g ≠ 0 → addOrderOf g = p)

A nontrivial additive monoid has prime exponent p if and only if every non-identity element has order p.

theorem Monoid.exponent_ne_zero_iff_range_orderOf_finite E1 #

∀ {G : Type u} [inst : Monoid G], (∀ (g : G), 0 < orderOf g) → (Monoid.exponent G ≠ 0 ↔ (Set.range orderOf).Finite)

theorem AddMonoid.exponent_ne_zero_iff_range_addOrderOf_finite E1 #

∀ {G : Type u} [inst : AddMonoid G],
  (∀ (g : G), 0 < addOrderOf g) → (AddMonoid.exponent G ≠ 0 ↔ (Set.range addOrderOf).Finite)

theorem AddMonoid.exponent_eq_zero_iff_range_addOrderOf_infinite E1 #

∀ {G : Type u} [inst : AddMonoid G],
  (∀ (g : G), 0 < addOrderOf g) → (AddMonoid.exponent G = 0 ↔ (Set.range addOrderOf).Infinite)

theorem Monoid.exponent_eq_zero_iff_range_orderOf_infinite E1 #

∀ {G : Type u} [inst : Monoid G], (∀ (g : G), 0 < orderOf g) → (Monoid.exponent G = 0 ↔ (Set.range orderOf).Infinite)

theorem Monoid.lcm_orderOf_eq_exponent E1 #

∀ {G : Type u} [inst : Monoid G] [inst_1 : Fintype G], Finset.univ.lcm orderOf = Monoid.exponent G

theorem AddMonoid.lcm_addOrderOf_eq_exponent E1 #

∀ {G : Type u} [inst : AddMonoid G] [inst_1 : Fintype G], Finset.univ.lcm addOrderOf = AddMonoid.exponent G

theorem Monoid.exponent_dvd_of_monoidHom E1 #

∀ {G : Type u} [inst : Monoid G] {H : Type u_1} [inst_1 : Monoid H] (e : G →* H),
  Function.Injective ⇑e → Monoid.exponent G ∣ Monoid.exponent H

If there exists an injective, multiplication-preserving map from G to H, then the exponent of G divides the exponent of H.

theorem AddMonoid.exponent_dvd_of_addMonoidHom E1 #

∀ {G : Type u} [inst : AddMonoid G] {H : Type u_1} [inst_1 : AddMonoid H] (e : G →+ H),
  Function.Injective ⇑e → AddMonoid.exponent G ∣ AddMonoid.exponent H

If there exists an injective, addition-preserving map from G to H, then the exponent of G divides the exponent of H.

theorem Monoid.exponent_submonoid_dvd E1 #

∀ {G : Type u} [inst : Monoid G] (H : Submonoid G), Monoid.exponent ↥H ∣ Monoid.exponent G

The exponent of a submonoid H ≤ G divides the exponent of G.

theorem AddMonoid.exponent_addSubmonoid_dvd E1 #

∀ {G : Type u} [inst : AddMonoid G] (H : AddSubmonoid G), AddMonoid.exponent ↥H ∣ AddMonoid.exponent G

The exponent of an additive submonoid H ≤ G divides the exponent of G.

theorem Monoid.exponent_eq_of_mulEquiv E1 #

∀ {G : Type u} [inst : Monoid G] {H : Type u_1} [inst_1 : Monoid H] (e : G ≃* H), Monoid.exponent G = Monoid.exponent H

If there exists a multiplication-preserving equivalence between G and H, then the exponent of G is equal to the exponent of H.

theorem AddMonoid.exponent_eq_of_addEquiv E1 #

∀ {G : Type u} [inst : AddMonoid G] {H : Type u_1} [inst_1 : AddMonoid H] (e : G ≃+ H),
  AddMonoid.exponent G = AddMonoid.exponent H

If there exists an addition-preserving equivalence between G and H, then the exponent of G is equal to the exponent of H.

theorem AddSubmonoid.exponent_top E0 #

∀ (G : Type u) [inst : AddMonoid G], AddMonoid.exponent ↥⊤ = AddMonoid.exponent G

theorem Submonoid.exponent_top E0 #

∀ (G : Type u) [inst : Monoid G], Monoid.exponent ↥⊤ = Monoid.exponent G

theorem Submonoid.pow_exponent_eq_one E1 #

∀ {G : Type u} [inst : Monoid G] {S : Submonoid G} {g : G}, g ∈ S → g ^ Monoid.exponent ↥S = 1

theorem AddSubmonoid.nsmul_exponent_eq_zero E1 #

∀ {G : Type u} [inst : AddMonoid G] {S : AddSubmonoid G} {g : G}, g ∈ S → AddMonoid.exponent ↥S • g = 0

theorem AddMonoid.ExponentExists.of_finite E1 #

∀ {G : Type u} [inst : AddLeftCancelMonoid G] [Finite G], AddMonoid.ExponentExists G

theorem Monoid.ExponentExists.of_finite E1 #

∀ {G : Type u} [inst : LeftCancelMonoid G] [Finite G], Monoid.ExponentExists G

theorem AddMonoid.exponent_ne_zero_of_finite E1 #

∀ {G : Type u} [inst : AddLeftCancelMonoid G] [Finite G], AddMonoid.exponent G ≠ 0

theorem Monoid.exponent_ne_zero_of_finite E1 #

∀ {G : Type u} [inst : LeftCancelMonoid G] [Finite G], Monoid.exponent G ≠ 0

theorem Monoid.one_lt_exponent E1 #

∀ {G : Type u} [inst : LeftCancelMonoid G] [Finite G] [Nontrivial G], 1 < Monoid.exponent G

theorem AddMonoid.one_lt_exponent E1 #

∀ {G : Type u} [inst : AddLeftCancelMonoid G] [Finite G] [Nontrivial G], 1 < AddMonoid.exponent G

instance Monoid.neZero_exponent_of_finite E0 #

∀ {G : Type u} [inst : LeftCancelMonoid G] [Finite G], NeZero (Monoid.exponent G)

instance AddMonoid.neZero_exponent_of_finite E0 #

∀ {G : Type u} [inst : AddLeftCancelMonoid G] [Finite G], NeZero (AddMonoid.exponent G)

theorem Monoid.exists_orderOf_eq_exponent E1 #

∀ {G : Type u} [inst : CommMonoid G], Monoid.ExponentExists G → ∃ g, orderOf g = Monoid.exponent G

theorem AddMonoid.exists_addOrderOf_eq_exponent E1 #

∀ {G : Type u} [inst : AddCommMonoid G], AddMonoid.ExponentExists G → ∃ g, addOrderOf g = AddMonoid.exponent G

theorem AddMonoid.exponent_eq_iSup_addOrderOf E1 #

∀ {G : Type u} [inst : AddCommMonoid G], (∀ (g : G), 0 < addOrderOf g) → AddMonoid.exponent G = ⨆ g, addOrderOf g

theorem Monoid.exponent_eq_iSup_orderOf E1 #

∀ {G : Type u} [inst : CommMonoid G], (∀ (g : G), 0 < orderOf g) → Monoid.exponent G = ⨆ g, orderOf g

theorem AddMonoid.exponent_eq_iSup_addOrderOf' E1 #

∀ {G : Type u} [inst : AddCommMonoid G], AddMonoid.exponent G = if ∃ g, addOrderOf g = 0 then 0 else ⨆ g, addOrderOf g

theorem Monoid.exponent_eq_iSup_orderOf' E1 #

∀ {G : Type u} [inst : CommMonoid G], Monoid.exponent G = if ∃ g, orderOf g = 0 then 0 else ⨆ g, orderOf g

theorem AddMonoid.exponent_eq_max'_addOrderOf E1 #

∀ {G : Type u} [inst : AddCancelCommMonoid G] [inst_1 : Fintype G],
  AddMonoid.exponent G = (Finset.image addOrderOf Finset.univ).max' ⋯

theorem Monoid.exponent_eq_max'_orderOf E1 #

∀ {G : Type u} [inst : CancelCommMonoid G] [inst_1 : Fintype G],
  Monoid.exponent G = (Finset.image orderOf Finset.univ).max' ⋯

theorem AddGroup.exponent_dvd_card E1 #

∀ {G : Type u} [inst : AddGroup G] [inst_1 : Fintype G], AddMonoid.exponent G ∣ Fintype.card G

theorem Group.exponent_dvd_card E1 #

∀ {G : Type u} [inst : Group G] [inst_1 : Fintype G], Monoid.exponent G ∣ Fintype.card G

theorem AddGroup.exponent_dvd_nat_card E1 #

∀ {G : Type u} [inst : AddGroup G], AddMonoid.exponent G ∣ Nat.card G

theorem Group.exponent_dvd_nat_card E1 #

∀ {G : Type u} [inst : Group G], Monoid.exponent G ∣ Nat.card G

theorem Subgroup.exponent_toSubmonoid E1 #

∀ {G : Type u} [inst : Group G] (H : Subgroup G), Monoid.exponent ↥H.toSubmonoid = Monoid.exponent ↥H

theorem AddSubgroup.exponent_toAddSubmonoid E1 #

∀ {G : Type u} [inst : AddGroup G] (H : AddSubgroup G), AddMonoid.exponent ↥H.toAddSubmonoid = AddMonoid.exponent ↥H

theorem Subgroup.exponent_top E0 #

∀ {G : Type u} [inst : Group G], Monoid.exponent ↥⊤ = Monoid.exponent G

theorem AddSubgroup.exponent_top E0 #

∀ {G : Type u} [inst : AddGroup G], AddMonoid.exponent ↥⊤ = AddMonoid.exponent G

theorem AddSubgroup.nsmul_exponent_eq_zero E1 #

∀ {G : Type u} [inst : AddGroup G] {H : AddSubgroup G} {g : G}, g ∈ H → AddMonoid.exponent ↥H • g = 0

theorem Subgroup.pow_exponent_eq_one E1 #

∀ {G : Type u} [inst : Group G] {H : Subgroup G} {g : G}, g ∈ H → g ^ Monoid.exponent ↥H = 1

theorem AddGroup.exponent_dvd_iff_forall_zsmul_eq_zero E1 #

∀ {G : Type u} [inst : AddGroup G] {n : ℤ}, ↑(AddMonoid.exponent G) ∣ n ↔ ∀ (g : G), n • g = 0

theorem Group.exponent_dvd_iff_forall_zpow_eq_one E1 #

∀ {G : Type u} [inst : Group G] {n : ℤ}, ↑(Monoid.exponent G) ∣ n ↔ ∀ (g : G), g ^ n = 1

theorem Group.exponent_dvd_sub_iff_zpow_eq_zpow E1 #

∀ {G : Type u} [inst : Group G] {n m : ℤ}, ↑(Monoid.exponent G) ∣ n - m ↔ ∀ (g : G), g ^ n = g ^ m

theorem AddGroup.exponent_dvd_sub_iff_zsmul_eq_zsmul E1 #

∀ {G : Type u} [inst : AddGroup G] {n m : ℤ}, ↑(AddMonoid.exponent G) ∣ n - m ↔ ∀ (g : G), n • g = m • g

theorem AddMonoid.exponent_pi_eq_zero E1 #

∀ {ι : Type u_1} {M : ι → Type u_2} [inst : (i : ι) → AddMonoid (M i)] {j : ι},
  AddMonoid.exponent (M j) = 0 → AddMonoid.exponent ((i : ι) → M i) = 0

theorem Monoid.exponent_pi_eq_zero E1 #

∀ {ι : Type u_1} {M : ι → Type u_2} [inst : (i : ι) → Monoid (M i)] {j : ι},
  Monoid.exponent (M j) = 0 → Monoid.exponent ((i : ι) → M i) = 0

theorem MonoidHom.exponent_dvd E3 #

∀ {F : Type u_1} {M₁ : Type u_2} {M₂ : Type u_3} [inst : Monoid M₁] [inst_1 : Monoid M₂] [inst_2 : FunLike F M₁ M₂]
  [MonoidHomClass F M₁ M₂] {f : F}, Function.Surjective ⇑f → Monoid.exponent M₂ ∣ Monoid.exponent M₁

If f : M₁ →⋆ M₂ is surjective, then the exponent of M₂ divides the exponent of M₁.

theorem AddMonoidHom.exponent_dvd E1 #

∀ {F : Type u_1} {M₁ : Type u_2} {M₂ : Type u_3} [inst : AddMonoid M₁] [inst_1 : AddMonoid M₂]
  [inst_2 : FunLike F M₁ M₂] [AddMonoidHomClass F M₁ M₂] {f : F},
  Function.Surjective ⇑f → AddMonoid.exponent M₂ ∣ AddMonoid.exponent M₁

If f : M₁ →+ M₂ is surjective, then the exponent of M₂ divides the exponent of M₁.

theorem Monoid.exponent_pi E3 #

∀ {ι : Type u_1} [inst : Fintype ι] {M : ι → Type u_2} [inst_1 : (i : ι) → Monoid (M i)],
  Monoid.exponent ((i : ι) → M i) = Finset.univ.lcm fun x ↦ Monoid.exponent (M x)

The exponent of finite product of monoids is the Finset.lcm of the exponents of the constituent monoids.

theorem AddMonoid.exponent_pi E1 #

∀ {ι : Type u_1} [inst : Fintype ι] {M : ι → Type u_2} [inst_1 : (i : ι) → AddMonoid (M i)],
  AddMonoid.exponent ((i : ι) → M i) = Finset.univ.lcm fun x ↦ AddMonoid.exponent (M x)

The exponent of finite product of additive monoids is the Finset.lcm of the exponents of the constituent additive monoids.

theorem Monoid.exponent_prod E3 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} [inst : Monoid M₁] [inst_1 : Monoid M₂],
  Monoid.exponent (M₁ × M₂) = lcm (Monoid.exponent M₁) (Monoid.exponent M₂)

The exponent of product of two monoids is the lcm of the exponents of the individual monoids.

theorem AddMonoid.exponent_prod E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} [inst : AddMonoid M₁] [inst_1 : AddMonoid M₂],
  AddMonoid.exponent (M₁ × M₂) = lcm (AddMonoid.exponent M₁) (AddMonoid.exponent M₂)

The exponent of product of two additive monoids is the lcm of the exponents of the individual additive monoids.

theorem addOrderOf_eq_two_iff E0 #

∀ {G : Type u} [inst : AddMonoid G], AddMonoid.exponent G = 2 → ∀ {x : G}, addOrderOf x = 2 ↔ x ≠ 0

theorem orderOf_eq_two_iff E0 #

∀ {G : Type u} [inst : Monoid G], Monoid.exponent G = 2 → ∀ {x : G}, orderOf x = 2 ↔ x ≠ 1

theorem AddCommute.of_addOrderOf_dvd_two E1 #

∀ {G : Type u} [inst : AddMonoid G] [IsCancelAdd G], (∀ (g : G), addOrderOf g ∣ 2) → ∀ (a b : G), AddCommute a b

theorem Commute.of_orderOf_dvd_two E1 #

∀ {G : Type u} [inst : Monoid G] [IsCancelMul G], (∀ (g : G), orderOf g ∣ 2) → ∀ (a b : G), Commute a b

theorem mul_comm_of_exponent_two E1 #

∀ {G : Type u} [inst : Monoid G] [IsCancelMul G], Monoid.exponent G = 2 → ∀ (a b : G), a * b = b * a

In a cancellative monoid of exponent two, all elements commute.

theorem add_comm_of_exponent_two E1 #

∀ {G : Type u} [inst : AddMonoid G] [IsCancelAdd G], AddMonoid.exponent G = 2 → ∀ (a b : G), a + b = b + a

In a cancellative additive monoid of exponent two, all elements commute.

abbrev commMonoidOfExponentTwo E1 #

{G : Type u} → [inst : Monoid G] → [IsCancelMul G] → Monoid.exponent G = 2 → CommMonoid G

Any cancellative monoid of exponent two is abelian.

abbrev addCommMonoidOfExponentTwo E1 #

{G : Type u} → [inst : AddMonoid G] → [IsCancelAdd G] → AddMonoid.exponent G = 2 → AddCommMonoid G

Any additive group of exponent two is abelian.

theorem Group.exponent_quotient_dvd E1 #

∀ {G : Type u} [inst : Group G] (H : Subgroup G) [inst_1 : H.Normal], Monoid.exponent (G ⧸ H) ∣ Monoid.exponent G

If H is a normal subgroup of G, then the exponent of G ⧸ H divides the exponent of G.

theorem AddGroup.exponent_quotient_dvd E1 #

∀ {G : Type u} [inst : AddGroup G] (H : AddSubgroup G) [inst_1 : H.Normal],
  AddMonoid.exponent (G ⧸ H) ∣ AddMonoid.exponent G

If H is a normal additive subgroup of G, then the exponent of G ⧸ H divides the exponent of G.

theorem inv_eq_self_of_exponent_two E1 #

∀ {G : Type u} [inst : Group G], Monoid.exponent G = 2 → ∀ (x : G), x⁻¹ = x

In a group of exponent two, every element is its own inverse.

theorem neg_eq_self_of_exponent_two E1 #

∀ {G : Type u} [inst : AddGroup G], AddMonoid.exponent G = 2 → ∀ (x : G), -x = x

In an additive group of exponent two, every element is its own negation.

theorem inv_eq_self_of_orderOf_eq_two E1 #

∀ {G : Type u} [inst : Group G] {x : G}, orderOf x = 2 → x⁻¹ = x

If an element in a group has order two, then it is its own inverse.

theorem neg_eq_self_of_addOrderOf_eq_two E1 #

∀ {G : Type u} [inst : AddGroup G] {x : G}, addOrderOf x = 2 → -x = x

If an element in an additive group has order two, then it is its own negation.

theorem mul_notMem_of_orderOf_eq_two E1 #

∀ {G : Type u} [inst : Group G] {x y : G}, orderOf x = 2 → orderOf y = 2 → x ≠ y → x * y ∉ {x, y, 1}

theorem add_notMem_of_addOrderOf_eq_two E1 #

∀ {G : Type u} [inst : AddGroup G] {x y : G}, addOrderOf x = 2 → addOrderOf y = 2 → x ≠ y → x + y ∉ {x, y, 0}

theorem mul_notMem_of_exponent_two E1 #

∀ {G : Type u} [inst : Group G], Monoid.exponent G = 2 → ∀ {x y : G}, x ≠ 1 → y ≠ 1 → x ≠ y → x * y ∉ {x, y, 1}

theorem add_notMem_of_exponent_two E1 #

∀ {G : Type u} [inst : AddGroup G], AddMonoid.exponent G = 2 → ∀ {x y : G}, x ≠ 0 → y ≠ 0 → x ≠ y → x + y ∉ {x, y, 0}

theorem ringChar_eq_addMonoidExponent E1 #

∀ (R : Type u_1) [inst : NonAssocSemiring R], ringChar R = AddMonoid.exponent R