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.CommutingProbability

24 declarations. Mathlib docs · Source

def commProb E1 #

(M : Type u_1) → [Mul M] → ℚ

The commuting probability of a finite type with a multiplication operation.

theorem commProb_def E0 #

∀ (M : Type u_1) [inst : Mul M], commProb M = ↑(Nat.card { p // Commute p.1 p.2 }) / ↑(Nat.card M) ^ 2

theorem commProb_prod E1 #

∀ (M : Type u_1) [inst : Mul M] (M' : Type u_2) [inst_1 : Mul M'], commProb (M × M') = commProb M * commProb M'

theorem commProb_pi E1 #

∀ {α : Type u_2} (i : α → Type u_3) [inst : Fintype α] [inst_1 : (a : α) → Mul (i a)],
  commProb ((a : α) → i a) = ∏ a, commProb (i a)

theorem commProb_function E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Fintype α] [inst_1 : Mul β], commProb (α → β) = commProb β ^ Fintype.card α

theorem commProb_eq_zero_of_infinite E0 #

∀ (M : Type u_1) [inst : Mul M] [Infinite M], commProb M = 0

theorem commProb_pos E1 #

∀ (M : Type u_1) [inst : Mul M] [Finite M] [h : Nonempty M], 0 < commProb M

theorem commProb_le_one E1 #

∀ (M : Type u_1) [inst : Mul M] [Finite M], commProb M ≤ 1

theorem commProb_eq_one_iff E0 #

∀ {M : Type u_1} [inst : Mul M] [Finite M] [h : Nonempty M], commProb M = 1 ↔ IsMulCommutative M

theorem commProb_eq_one E1 #

∀ {M : Type u_1} [inst : Mul M] [Finite M] [Nonempty M] [IsMulCommutative M], commProb M = 1

theorem commProb_def' E1 #

∀ (G : Type u_2) [inst : Group G], commProb G = ↑(Nat.card (ConjClasses G)) / ↑(Nat.card G)

theorem Subgroup.commProb_subgroup_le E1 #

∀ {G : Type u_2} [inst : Group G] [Finite G] (H : Subgroup G), commProb ↥H ≤ commProb G * ↑H.index ^ 2

theorem Subgroup.commProb_quotient_le E1 #

∀ {G : Type u_2} [inst : Group G] [Finite G] (H : Subgroup G) [inst_2 : H.Normal],
  commProb (G ⧸ H) ≤ commProb G * ↑(Nat.card ↥H)

theorem inv_card_commutator_le_commProb E1 #

∀ (G : Type u_2) [inst : Group G] [Finite G], (↑(Nat.card ↥(commutator G)))⁻¹ ≤ commProb G

theorem DihedralGroup.commProb_odd E1 #

∀ {n : ℕ}, Odd n → commProb (DihedralGroup n) = (↑n + 3) / (4 * ↑n)

def DihedralGroup.reciprocalFactors E1 #

ℕ → List ℕ

A list of Dihedral groups whose product will have commuting probability 1 / n.

theorem DihedralGroup.reciprocalFactors_zero E0 #

DihedralGroup.reciprocalFactors 0 = [0]

theorem DihedralGroup.reciprocalFactors_one E0 #

DihedralGroup.reciprocalFactors 1 = []

theorem DihedralGroup.reciprocalFactors_even E1 #

∀ {n : ℕ}, n ≠ 0 → Even n → DihedralGroup.reciprocalFactors n = 3 :: DihedralGroup.reciprocalFactors (n / 2)

theorem DihedralGroup.reciprocalFactors_odd E1 #

∀ {n : ℕ}, n ≠ 1 → Odd n → DihedralGroup.reciprocalFactors n = n % 4 * n :: DihedralGroup.reciprocalFactors (n / 4 + 1)

abbrev DihedralGroup.Product E1 #

List ℕ → Type

A finite product of Dihedral groups.

theorem DihedralGroup.commProb_nil E1 #

commProb (DihedralGroup.Product []) = 1

theorem DihedralGroup.commProb_cons E1 #

∀ (n : ℕ) (l : List ℕ),
  commProb (DihedralGroup.Product (n :: l)) = commProb (DihedralGroup n) * commProb (DihedralGroup.Product l)

theorem DihedralGroup.commProb_reciprocal E1 #

∀ (n : ℕ), commProb (DihedralGroup.Product (DihedralGroup.reciprocalFactors n)) = 1 / ↑n

Construction of a group with commuting probability 1 / n.