one conjugacy class for two groups (a new case, in lean)

December 1, 2026


introduction

A collaboration with Claude Opus 5.5 to address a new problem from Left to Solve along with verified lean code.

The question is MathOverflow 423065 (2022, unanswered):

Given two non-isomorphic finite groups $A$ and $B$, is there always a finite group $G$ with exactly one conjugacy class of subgroups isomorphic to $A$, and exactly one conjugacy class of subgroups isomorphic to $B$?

Call such a $G$ a witness for the pair $(A, B)$. Before we started, the site had already split the problem in two. When $\gcd(\lvert A \rvert, \lvert B \rvert) = 1$, the group $G = A \times B$ works: a subgroup of $A \times B$ of order $\lvert A \rvert$ must sit inside $A \times 1$. The open half is the case where the orders share a prime factor. We proved a new case of that half.

the result

Theorem. Let $p$ be a prime, let $\lvert A \rvert = p$, and let $B$ be a nontrivial elementary abelian $p$-group (abelian, with $b^p = 1$ for every $b$), say $\lvert B \rvert = p^n$. Then the affine group

\[G = \mathbb{F}_{p^n} \rtimes \mathbb{F}_{p^n}^{\times}, \qquad (v, u)\cdot(w, u') = (v + u w,\; u u'),\]

is a witness for $(A, B)$. The same holds with $A$ and $B$ swapped.

For example, for $A = C_2$ and $B = C_2 \times C_2$ this gives $\mathbb{F}_4 \rtimes \mathbb{F}_4^\times \cong A_4$: its three involutions are conjugate, and its Klein four-group is unique.

the proof

Write $F = \mathbb{F}_{p^n}$ and $T = {(v, 1)}$ for the subgroup of translations, which is isomorphic to $(F, +)$.

Step 1: every $p$-subgroup lies in $T$. The map $(v, u) \mapsto u$ is a homomorphism $G \to F^\times$ with kernel $T$. If $K \le G$ has order $p^m$, then every $k \in K$ satisfies $k^{p^m} = 1$, so its image $u$ satisfies both $u^{p^m} = 1$ and $u^{p^n - 1} = 1$ (Lagrange in $F^\times$). Since $\gcd(p^m, p^n - 1) = 1$, we get $u = 1$, so $k \in T$.

Step 2: the copy of $B$ is unique. $T \cong (F, +)$ is an $n$-dimensional vector space over $\mathbb{F}_p$, and so is $B$ (written additively, an elementary abelian $p$-group is an $\mathbb{F}_p$-vector space). Vector spaces of the same dimension are isomorphic, so $T \cong B$. Any subgroup isomorphic to $B$ has order $p^n$, lies in $T$ by step 1, and therefore equals $T$.

Step 3: the copies of $A$ are all conjugate. A subgroup of order $p$ lies in $T$ by step 1, so it is $\mathbb{F}_p v = {(kv, 1)}$ for some $v \neq 0$. Conjugating by the element $(0, v)$, that is, multiplication by the unit $v$, sends $(1, 1)$ to $(v, 1)$. So it carries $\mathbb{F}_p \cdot 1$ onto $\mathbb{F}_p v$. Every subgroup of order $p$ is therefore conjugate to $\mathbb{F}_p \cdot 1$. $\blacksquare$

a note on other cases

Other cases were checked through a computer search run by Claude Opus 5.5 in GAP. For group orders up to 255 we check which isomorphism types of subgroups form one conjugacy class. Only two groups out of the pairs of non-coprime types of order at most 8 had no witnesses:

However, these both have witnesses among larger groups (the unitary group $\mathrm{PSU}(3,3)$ of order 6048 and the Suzuki group $\mathrm{Sz}(8)$ of order 29120 respectively). In $\mathrm{Sz}(8)$, every involution of a Sylow 2-subgroup is central, so the Sylow subgroup contains exactly one $C_2^3$, its center. We note that the orders 128 and 192 were not checked fully due to computational cost but this does not have bearing on the primary result. We also note that if $G$ has an abelian Sylow 2-subgroup $P$, then by Burnside’s argument any two subgroups of $P$ that are conjugate in $G$ are already conjugate in $N_G(P)$. Since $P \le C_G(P)$, the group acting here is $N_G(P)/C_G(P)$, which has odd order, so all of its orbits have odd size. But a non-cyclic abelian 2-group always has an even number of cyclic subgroups of order 8. So no witness for $(C_8, C_4 \times C_2)$ has an abelian Sylow 2-subgroup.

the lean code

On the site, the new case appears as a reduction of the open step: main proves our case outright and leaves two hypotheses for the rest. $H_1$ is the remaining case where $A$ and $B$ are $p$-groups for the same prime. $H_2$ is the case where they aren’t. Here is the statement and how the cases fit together:

def H1 : Prop :=
  ∀ (A B : Type) [Group A] [Group B] [Finite A] [Finite B], IsEmpty (A ≃* B) →
    ∀ p : ℕ, p.Prime → IsPGroup p A → IsPGroup p B → 1 < Nat.card A → 1 < Nat.card B →
    ¬ (Nat.card A = p ∧ (∀ x y : B, x * y = y * x) ∧ ∀ x : B, x ^ p = 1) →
    ¬ (Nat.card B = p ∧ (∀ x y : A, x * y = y * x) ∧ ∀ x : A, x ^ p = 1) →
      ∃ (G : Type) (_ : Group G) (_ : Finite G),
        OMA.S_mo_423065.UniqueClass G A ∧ OMA.S_mo_423065.UniqueClass G B

def H2 : Prop :=
  ∀ (A B : Type) [Group A] [Group B] [Finite A] [Finite B], IsEmpty (A ≃* B) →
    ¬ Nat.Coprime (Nat.card A) (Nat.card B) →
    (¬ ∃ p : ℕ, p.Prime ∧ IsPGroup p A ∧ IsPGroup p B) →
      ∃ (G : Type) (_ : Group G) (_ : Finite G),
        OMA.S_mo_423065.UniqueClass G A ∧ OMA.S_mo_423065.UniqueClass G B

theorem main : H1 → H2 → OMA.R_mo_423065_R1.H2 := by
  intro h1 h2 A B _ _ _ _ hAB hcop
  have hA1 : 1 < Nat.card A := one_lt_card_of_not_coprime hcop
  have hB1 : 1 < Nat.card B :=
    one_lt_card_of_not_coprime (fun h => hcop (Nat.Coprime.symm h))
  by_cases hpp : ∃ p : ℕ, p.Prime ∧ IsPGroup p A ∧ IsPGroup p B
  · obtain ⟨p, hp, hpA, hpB⟩ := hpp
    by_cases c1 : Nat.card A = p ∧ (∀ x y : B, x * y = y * x) ∧ ∀ x : B, x ^ p = 1
    · exact prime_elemAb A B p hp c1.1 c1.2.1 c1.2.2 hB1
    by_cases c2 : Nat.card B = p ∧ (∀ x y : A, x * y = y * x) ∧ ∀ x : A, x ^ p = 1
    · obtain ⟨G, iG, fG, hb, ha⟩ := prime_elemAb B A p hp c2.1 c2.2.1 c2.2.2 hA1
      exact ⟨G, iG, fG, ha, hb⟩
    · exact h1 A B hAB p hp hpA hpB hA1 hB1 c1 c2
  · exact h2 A B hAB hcop hpp

The real work is in prime_elemAb. Step 1 of the proof becomes this lemma: a subgroup of $p$-power order sits in the range of inl, which is the translation subgroup of the semidirect product:

lemma le_range_inl (hn : n ≠ 0)
    (φ : (GaloisField p n)ˣ →* MulAut (Multiplicative (GaloisField p n)))
    (K : Subgroup (Multiplicative (GaloisField p n) ⋊[φ] (GaloisField p n)ˣ))
    (m : ℕ) (hK : Nat.card K = p ^ m) :
    K ≤ (inl : Multiplicative (GaloisField p n) →*
      Multiplicative (GaloisField p n) ⋊[φ] (GaloisField p n)ˣ).range := by
  intro k hk
  rw [range_inl_eq_ker_rightHom, MonoidHom.mem_ker]
  have h1 : k ^ (p ^ m) = 1 := by
    have := orderOf_dvd_natCard (⟨k, hk⟩ : K)
    rw [hK] at this
    have h := orderOf_dvd_iff_pow_eq_one.mp this
    simpa using congrArg Subtype.val h
  have h2 : (rightHom k) ^ (p ^ n - 1) = 1 := by
    have h := pow_card_eq_one' (G := (GaloisField p n)ˣ) (x := rightHom k)
    rwa [Nat.card_units, GaloisField.card p n hn] at h
  have hcop : Nat.Coprime (p ^ m) (p ^ n - 1) :=
    Nat.Coprime.pow_left m (coprime_prime_pow_sub_one hp.out hn)
  have h3 : (rightHom k) ^ (p ^ m) = 1 := by rw [← map_pow, h1, map_one]
  have := pow_gcd_eq_one.mpr ⟨h3, h2⟩
  rwa [hcop, pow_one] at this

The full file is about 240 lines. It passes the site’s lint and checker against Lean 4.33.1 and the site’s pinned Mathlib, using only the standard axioms (propext, Classical.choice, Quot.sound). It is submitted to the site as a pull request.

remaining work and remarks

One case open to explore is $A$ and $B$ both cyclic: the cyclic group of order $\operatorname{lcm}(\lvert A \rvert, \lvert B \rvert)$ is a witness, because a cyclic group has exactly one subgroup of each order. Another possible avenue is $A = C_p$ with $B = (C_{p^k})^n$. There, the units of a Galois ring might play the role that $\mathbb{F}_{p^n}^\times$ plays here.

references

  1. D. Sebald, “Finite group with exactly one class each of two given groups,” MathOverflow 423065 (2022).
  2. The problem on Left to Solve: mo-423065.
  3. M. Suzuki, “On a class of doubly transitive groups,” Annals of Mathematics 75 (1962), 105–145.
  4. The GAP Group, GAP: Groups, Algorithms, and Programming, version 4.12, with the SmallGroups library of H. U. Besche, B. Eick and E. A. O’Brien.
  5. Semidirect products in Mathlib: Mathlib/GroupTheory/SemidirectProduct.lean.

Page design by Ankit Sultana