\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\usepackage{booktabs,array,adjustbox}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage{fvextra}
\usepackage[colorlinks=true,linkcolor={blue!50!black},urlcolor={blue!50!black},citecolor={blue!50!black}]{hyperref}
\usepackage{xurl}
\setlength{\emergencystretch}{3em}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}\setlength{\parskip}{0.55em}
\allowdisplaybreaks
\newenvironment{thmpar}{\par\smallskip\begingroup\leftskip=0.9em\rightskip=0pt}{\par\endgroup\smallskip}
\providecommand{\R}{\mathbb{R}}\providecommand{\N}{\mathbb{N}}\providecommand{\Z}{\mathbb{Z}}\providecommand{\Q}{\mathbb{Q}}\providecommand{\C}{\mathbb{C}}
\providecommand{\mathscr}{\mathcal}\providecommand{\bm}{\boldsymbol}\providecommand{\Bbb}{\mathbb}
\providecommand{\alpha}{\mathrm{alpha}}
\providecommand{\beta}{\mathrm{beta}}
\providecommand{\circ}{\mathrm{circ}}
\providecommand{\ell}{\mathrm{ell}}
\providecommand{\gamma}{\mathrm{gamma}}
\providecommand{\in}{\mathrm{in}}
\providecommand{\iota}{\mathrm{iota}}
\providecommand{\langle}{\mathrm{langle}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\mapsto}{\mathrm{mapsto}}
\providecommand{\pi}{\mathrm{pi}}
\providecommand{\pm}{\mathrm{pm}}
\providecommand{\rangle}{\mathrm{rangle}}
\providecommand{\rho}{\mathrm{rho}}
\providecommand{\setminus}{\mathrm{setminus}}
\providecommand{\sigma}{\mathrm{sigma}}
\providecommand{\sum}{\mathrm{sum}}
\providecommand{\to}{\mathrm{to}}
\providecommand{\varepsilon}{\mathrm{varepsilon}}
\providecommand{\varphi}{\mathrm{varphi}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2612.00868 \textperiodcentered{} \href{https://isitsolved.com/journal/0d38bbae19bc}{isitsolved.com/journal/0d38bbae19bc}\\ Timestamped in Bitcoin block 978,729, transaction \href{https://mempool.space/tx/4e0d1472adba2b6f210b8f4fd43a0828a8452842cadb1d4fa7344de919d3a5bb}{\texttt{4e0d1472adba2b6f\ldots{}19d3a5bb}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={A short proof that two permutations whose commutator moves at most 4 points are simultaneously inverted},pdfauthor={Dev Singh}}
\title{\bfseries A short proof that two permutations whose commutator moves at most 4 points are simultaneously inverted}
\author{Dev Singh}
\date{2026-12-04 \\ \small iis:2612.00868}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
MathOverflow 267191 (Neftin; IIS-L-26644): if a, b in S\_n and [a,b] fixes at least n-4 points, is there z with z\textasciicircum{}-1 a z = a\textasciicircum{}-1 and z\textasciicircum{}-1 b z = b\textasciicircum{}-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\textasciicircum{}-1, beta -> beta\textasciicircum{}-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.
\end{abstract}


\section*{Two permutations that almost commute can be inverted together}

\textbf{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, \href{https://arxiv.org/abs/1810.08971}{arXiv:1810.08971}). Written proof, not yet read by a second reader; not machine-checked in Lean.

On \href{https://mathoverflow.net/questions/267191}{MathOverflow question 267191} (Danny Neftin,
2017, score 28, no posted answers).

\begin{thmpar}\textbf{Question.} Let \(a,\allowbreak b\in S_n\) be such that the commutator \([a,\allowbreak 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.\end{thmpar}

\textbf{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.

\textbf{Prior work.} The statement is not new: Junyao Pan's preprint *On simultaneous conjugation
of permutations* (\href{https://arxiv.org/abs/1810.08971}{\href{https://arxiv.org/abs/1810.08971}{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.

\section*{Proof}

\textbf{Step 0: reduce to one orbit.} A commutator is an even permutation on every orbit of
\(\langle a,\allowbreak 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,\allowbreak 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,\allowbreak b\rangle\) is transitive.

\textbf{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,\allowbreak \beta\), and a
small loop around \(P\) is conjugate to \([\alpha,\allowbreak \beta]^{\pm1}\). The homomorphism
\(\rho:\alpha\mapsto a,\allowbreak \ \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,\allowbreak 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,\allowbreak b\) commute) or genus 2 (3-cycle or double transposition).

\textbf{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\).

\emph{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\).

\emph{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.

\textbf{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\,\allowbreak \sigma(\ell)\,\allowbreak \gamma^{-1}\) is an
automorphism of the free group \(\pi_1(E^\circ,\allowbreak 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},\allowbreak \ \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}\). \ensuremath{\blacksquare}

\textbf{Why 4 is sharp.} If \([a,\allowbreak 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).

\section*{Check it}

    python check.py

For \(n=6,\allowbreak 9,\allowbreak 12,\allowbreak 16,\allowbreak 24,\allowbreak 40\) it draws 400 random pairs \((a,\allowbreak b)\) with \([a,\allowbreak 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,\allowbreak b]\) a 5-cycle, where \(z\) exists for only about a quarter
of the pairs.

\section*{Status}

\begin{itemize}
  \item 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.
  \item Supported by the random test above, beyond the range \(n\le 11\) checked in the thread.
\end{itemize}

Produced with an AI assistant: Claude (Anthropic) found the proof and wrote the check.

\section*{Sources}
\begin{enumerate}\small
  \item MathOverflow 267191. \url{https://mathoverflow.net/questions/267191}
  \item Pan, On simultaneous conjugation of permutations. \url{https://arxiv.org/abs/1810.08971}
  \item Repository. \url{https://github.com/DevSingh05/math/tree/main/mo-267191}
\end{enumerate}
\end{document}
