The 5/8 theorem #
If G is a nonabelian group, then its Mathlib commuting probability is at most 5/8.
For infinite groups this is immediate because commProb is defined to be 0; the substantive
finite case is the theorem of Gustafson, What is the probability that two group elements
commute? (Amer. Math. Monthly 80, 1973), and the bound is attained (e.g. by the quaternion
group of order 8).
The proof is the classical counting argument:
- If
Gis nonabelian thenG ⧸ Z(G)is not cyclic, so the index of the center is not1or a prime; hence|Z(G)| / |G| ≤ 1/4. - For
g ∉ Z(G)the centralizer ofgis a proper subgroup, so|C(g)| / |G| ≤ 1/2. - Summing
|C(g)|overg ∈ Gcounts the commuting pairs, and splitting the sum overZ(G)and its complement givescommProb G ≤ z + (1 - z) / 2 ≤ 1/2 + (1/4)/2 = 5/8, wherez = |Z(G)| / |G|.
Main results #
FiveEighths.commProb_le_five_eighths: the commuting probability of a nonabelian group is at most5/8.FiveEighths.centralFraction_le_quarter: the center of a finite nonabelian group contains at most a quarter of its elements.FiveEighths.centralizerFraction_le_half: the centralizer of a noncentral element contains at most half of the elements.
All declarations live in the FiveEighths namespace.
The fraction of elements of a finite group G that lie in its center.
Equations
- FiveEighths.centralFraction G = ↑(Nat.card ↥(Subgroup.center G)) / ↑(Nat.card G)
Instances For
The fraction of elements of a finite group that commute with a given element g.
Equations
- FiveEighths.centralizerFraction g = ↑(Nat.card ↥(Subgroup.centralizer {g})) / ↑(Nat.card G)
Instances For
If G is nonabelian then G ⧸ Z(G) is not cyclic, so the index of the center cannot be
prime.
The center of a finite nonabelian group has index at least 4: the index is nonzero by
finiteness, is not 1 by noncommutativity, and is not 2 or 3 because those are prime.
The center of a finite nonabelian group contains at most a quarter of its elements.
The centralizer of a noncentral element is a proper subgroup, so its index is at
least 2.
The centralizer of a noncentral element contains at most half of the elements.
The cardinality of a type, as a rational number (zero if the type is infinite).
Equations
- FiveEighths.typeQCard G = ↑(Nat.card G)
Instances For
The cardinality of a set, as a rational number (zero if the set is infinite).
Equations
- FiveEighths.setQCard s = ↑s.ncard
Instances For
The 5/8 theorem: the commuting probability of a nonabelian group is at most 5/8. For
infinite groups, this follows from Mathlib's convention that commProb is 0; the finite case is
Gustafson's theorem.