Commuting Probability #
This file introduces the commuting probability of finite groups.
Main definitions #
commProb: The commuting probability of a finite type with a multiplication operation.
TODO #
- Neumann's theorem.
The commuting probability of a finite type with a multiplication operation.
Instances For
theorem
commProb_function
{ฮฑ : Type u_2}
{ฮฒ : Type u_3}
[Fintype ฮฑ]
[Mul ฮฒ]
:
commProb (ฮฑ โ ฮฒ) = commProb ฮฒ ^ Fintype.card ฮฑ
@[simp]
theorem
commProb_eq_one_iff
{M : Type u_1}
[Mul M]
[Finite M]
[h : Nonempty M]
:
commProb M = 1 โ Std.Commutative fun (x1 x2 : M) => x1 * x2
theorem
commProb_def'
(G : Type u_2)
[Group G]
:
commProb G = โ(Nat.card (ConjClasses G)) / โ(Nat.card G)
theorem
DihedralGroup.commProb_odd
{n : โ}
(hn : Odd n)
:
commProb (DihedralGroup n) = (โn + 3) / (4 * โn)
@[irreducible]
A list of Dihedral groups whose product will have commuting probability 1 / n.
Instances For
@[simp]
theorem
DihedralGroup.reciprocalFactors_even
{n : โ}
(h0 : n โ 0)
(h2 : Even n)
:
reciprocalFactors n = 3 :: reciprocalFactors (n / 2)
theorem
DihedralGroup.reciprocalFactors_odd
{n : โ}
(h1 : n โ 1)
(h2 : Odd n)
:
reciprocalFactors n = n % 4 * n :: reciprocalFactors (n / 4 + 1)
@[reducible, inline]
A finite product of Dihedral groups.
Instances For
@[irreducible]
theorem
DihedralGroup.commProb_reciprocal
(n : โ)
:
commProb (Product (reciprocalFactors n)) = 1 / โn
Construction of a group with commuting probability 1 / n.