A short proof that two permutations whose commutator moves at most 4 points are simultaneously inverted
PDF built from iis-2612-00868.tex sha256 c457cb8812c9… by the site's TeX builder, 2026-12-04 09:21 UTC.
MathOverflow 267191 (Neftin; IIS-L-26644): if a, b in Sn and [a,b] fixes at least n-4 points, is there z with z^-1 a z = a^-1 and z^-1 b z = b^-1? An affirmative answer by a combinatorial argument is in a 16-page preprint of Junyao Pan (arXiv:1810.08971), so the statement is not new. We give a different, short proof. Reduce to the transitive case. The pair defines a cover X -> E of a torus branched over one point with ramification given by [a,b], so X has genus 1 or 2 by Riemann-Hurwitz. In genus 2 the hyperelliptic involution acts as -1 on the Jacobian, hence lies over y -> c - y on E and fixes the branch point; in genus 1 use x -> -x. By Nielsen's theorem the induced automorphism of the free group of rank 2 is inner times (alpha -> alpha^-1, beta -> beta^-1), which gives z. This also explains the bound 4: a 5-cycle gives genus 3, where the statement fails. A random test (4,800 pairs up to n = 40) agrees, with a 5-cycle control failing.
Take two shuffles of n cards that nearly commute: doing them in either order gives the same result except in at most four places. Then there is always a single relabelling of the cards that turns both shuffles into their reverses. The proof builds a surface with two holes from the pair of shuffles and uses the half-turn symmetry every such surface has.
- check.py sha256 a7d81486dba2…
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Two permutations that almost commute can be inverted together
Result. Yes for every \(n\); a short proof via the hyperelliptic involution of a genus-2 curve. The statement was already answered by a longer combinatorial argument (Pan, arXiv:1810.08971). Written proof, not yet read by a second reader; not machine-checked in Lean.
On MathOverflow question 267191 (Danny Neftin,
2017, score 28, no posted answers).
Question. Let \(a,b\in S_n\) be such that the commutator \([a,b]=a^{-1}b^{-1}ab\) fixes at
least \(n-4\) points. Is there a \(z\in S_n\) with \(z^{-1}az=a^{-1}\) and \(z^{-1}bz=b^{-1}\)?
It was checked by computer for \(n\le 11\), and proved in the thread when \(a\) and \(b\) commute.
Answer: yes, for every \(n\). Below is a short proof using a classical fact about curves of
genus 2. It also explains why 4 is the right number: with \(n-5\) fixed points the curve has
genus 3, which need not be hyperelliptic, and the statement fails.
Prior work. The statement is not new: Junyao Pan's preprint *On simultaneous conjugation
of permutations* (arXiv:1810.08971, 16 pages, pointed out
in the thread's comments) gives an affirmative answer by a combinatorial argument, which we
have not checked. What is offered here is a different, short proof, which we did not find in
the thread or in that paper.
Proof
Step 0: reduce to one orbit. A commutator is an even permutation on every orbit of
\(\langle a,b\rangle\). An even permutation moving at most 4 points is the identity, a 3-cycle
or a product of two disjoint transpositions, and neither of the last two can be split between
two orbits into even pieces. So on each orbit, \([a,b]\) is trivial, a 3-cycle, or a double
transposition. If a suitable \(z\) exists on each orbit, their product works. So assume
\(\langle a,b\rangle\) is transitive.
Step 1: a covering of a torus. Let \(E\) be a complex torus, \(P\in E\), and
\(E^\circ=E\setminus\{P\}\). Its fundamental group is free on two loops \(\alpha,\beta\), and a
small loop around \(P\) is conjugate to \([\alpha,\beta]^{\pm1}\). The homomorphism
\(\rho:\alpha\mapsto a,\ \beta\mapsto b\) defines a connected covering of \(E^\circ\) of degree
\(n\), which extends to a branched covering \(\pi:X\to E\) of compact Riemann surfaces, branched
only over \(P\), with ramification indices the cycle lengths of \([a,b]\). By Riemann–Hurwitz,
$$2g(X)-2=\sum(e-1)=n-\#\text{cycles of }[a,b]\in\{0,2\},$$
so \(X\) has genus 1 (if \(a,b\) commute) or genus 2 (3-cycle or double transposition).
Step 2: an involution of \(X\) lying over \(y\mapsto -y\). We claim there are involutions
\(\iota\) of \(X\) and \(\sigma\) of \(E\) with \(\pi\iota=\sigma\pi\), where \(\sigma(y)=c-y\) for some
\(c\) and \(\sigma(P)=P\).
Genus 2. Let \(\iota\) be the hyperelliptic involution. It acts as \(-1\) on the Jacobian of
\(X\), because \(X/\iota\) is the projective line. Fix \(x_0\in X\). The map
\(x\mapsto\pi(x)-\pi(x_0)\) factors through the Jacobian by a group homomorphism, so
\(\pi(\iota x)-\pi(\iota x_0)=-(\pi(x)-\pi(x_0))\). Hence \(\pi\iota=\sigma\pi\) with
\(\sigma(y)=c-y\), \(c=\pi(x_0)+\pi(\iota x_0)\). Since \(\pi\) and \(\pi\iota\) have the same branch
points, \(\sigma\) fixes the only branch point \(P\).
Genus 1. Take \(P\) as the origin of \(E\) and a point above it as the origin of \(X\). Then
\(\pi\) is a group homomorphism, and \(\iota(x)=-x\), \(\sigma(y)=-y\) work.
Step 3: back to permutations. \(\sigma\) and \(\iota\) restrict to homeomorphisms of
\(E^\circ\) and \(X^\circ=\pi^{-1}(E^\circ)\). Fix a base point \(y_0\) and a path \(\gamma\) from
\(y_0\) to \(\sigma(y_0)\). Then \(\varphi(\ell)=\gamma\,\sigma(\ell)\,\gamma^{-1}\) is an
automorphism of the free group \(\pi_1(E^\circ,y_0)\). Because \(\iota\) covers \(\sigma\), it
carries the fibre over \(y_0\) to the fibre over \(\sigma(y_0)\) compatibly with path lifting; so
\(\rho\circ\varphi\) is conjugate to \(\rho\) by a permutation of the fibre.
\(\sigma\) acts as \(-1\) on \(H_1(E^\circ)=H_1(E)=\mathbb Z^2\), so \(\varphi\) acts as \(-1\) on the
abelianisation. So does \(\varepsilon:\alpha\mapsto\alpha^{-1},\ \beta\mapsto\beta^{-1}\). By
Nielsen's theorem, an automorphism of the free group of rank 2 that is trivial on the
abelianisation is inner. So \(\varphi=(\text{inner})\circ\varepsilon\), and therefore
\(\rho\circ\varepsilon\) is conjugate to \(\rho\): some \(z\in S_n\) satisfies
\(z^{-1}az=a^{-1}\) and \(z^{-1}bz=b^{-1}\). ∎
Why 4 is sharp. If \([a,b]\) is a 5-cycle, the same construction gives a curve of genus 3
covering \(E\). Such a curve need not have an involution lying over \(y\mapsto c-y\), and
indeed the statement fails for many pairs (see below; this was already noted in the thread
by Derek Holt).
Check it
python check.py
For \(n=6,9,12,16,24,40\) it draws 400 random pairs \((a,b)\) with \([a,b]\) a 3-cycle and 400
with a double transposition, and finds an inverting \(z\) every time (4,800 pairs). As a
control it does the same with \([a,b]\) a 5-cycle, where \(z\) exists for only about a quarter
of the pairs.
Status
- A written proof resting on standard facts: the Riemann existence theorem, the hyperelliptic
involution acting as \(-1\) on the Jacobian, and Nielsen's description of \(\mathrm{Aut}(F_2)\).
It has not had a second reader and is not formalised. - Supported by the random test above, beyond the range \(n\le 11\) checked in the thread.
Produced with an AI assistant: Claude (Anthropic) found the proof and wrote the check.
PDFs do not display inside pages on phones. Open the PDF.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.33.1 · Mathlib 0df444a
- 1/1 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 37 s
- 90 declarations
Take two shuffles of n cards that nearly commute: doing them in either order gives the same result except in at most four places. Then there is always a single relabelling of the cards that turns both shuffles into their reverses.
MO286057main1 line
MainStatementMO286057.MainStatementPropMO286057/Statement.lean:46
/-- **Main theorem (statement).** -/def MainStatement : Prop :=∀ (k N : ℕ), 1 ≤ k → Even N → k ≤ N →∀ M : SimpleGraph (Fin N), IsPerfectMatchingGraph M →∃ μ : Perm (Fin N) → ℚ,IsProbabilityWeight μ ∧ TupleUniform k μ ∧∀ π, μ π ≠ 0 → ComponentsBounded M π (4 * (k / 2) + 2)
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the address| iis-2612-00868.pdf | 272 kB | sha256 01c60ad31abc6240… .ots |
| check.py | 4 kB | sha256 a7d81486dba20f89… .ots |