64c3814
==== TABLE OF CONTENTS ====
Deterministic-quasipolynomial-time-mean-payoff-games//01-introduction.tex
Deterministic-quasipolynomial-time-mean-payoff-games//02-boxes.tex
Deterministic-quasipolynomial-time-mean-payoff-games//03-translations.tex
Deterministic-quasipolynomial-time-mean-payoff-games//04-algorithm.tex
Deterministic-quasipolynomial-time-mean-payoff-games//05-correctness.tex
Deterministic-quasipolynomial-time-mean-payoff-games//06-complexity.tex
Deterministic-quasipolynomial-time-mean-payoff-games//07-values-and-strategies.tex
Deterministic-quasipolynomial-time-mean-payoff-games//08-energy-credits.tex
Deterministic-quasipolynomial-time-mean-payoff-games//09-tropical.tex
Deterministic-quasipolynomial-time-mean-payoff-games//main.tex
Deterministic-quasipolynomial-time-mean-payoff-games//preamble.tex
Deterministic-quasipolynomial-time-mean-payoff-games//recursion.tex
Deterministic-quasipolynomial-time-mean-payoff-games//references.bib
===========================

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//01-introduction.tex ====
\section{Introduction}
\label{sec:introduction}

In a mean-payoff game, two players choose edges of a finite graph and
compete over the long-run average weight of the resulting infinite
walk. The objective is numerical, but the question of who can enforce
a nonnegative average is a finite decision problem. A central
algorithmic issue is the representation of the weights: a procedure
polynomial in their absolute values may take exponential time in the
length of the input. We give a deterministic algorithm whose running
time is quasipolynomial in that binary length and which determines
all winning starting vertices together.

\subsection{The problem and the main theorem}

Let $G=(V,E)$ be a finite directed graph with
$V=\{1,\ldots,n\}$ and $n\ge1$. Each vertex has at least one
outgoing edge and belongs to exactly one of
$V_{\mathrm{Max}}$ and $V_{\mathrm{Min}}$. The edge weights
$w:E\to\Z$ are arbitrary signed binary integers. Self-loops and
parallel edges are allowed; parallel edges are separate entries of
the explicit edge list. At a vertex its owner chooses the next edge.
Both players' strategies may depend on the entire finite history.
For an infinite play $\pi=(e_0,e_1,\ldots)$, write
\[
 \MP_w(\pi)=\liminf_{T\to\infty}\frac1T
                         \sum_{t=0}^{T-1}w(e_t).
\]
We count the complete input length $L$ in a fixed conventional binary
encoding of the graph, endpoints, ownership, and weights. For a start
$v$ and strategies $\sigma,\tau$, denote their induced play by
$\pi_{v,\sigma,\tau}$.

\begin{theorem}\label{thm:main}
A uniform deterministic algorithm returns exactly the set
\[
 U=\bigl\{v\in V:\exists\text{ Max strategy }\sigma\ 
       \forall\text{ Min strategies }\tau,
       \ \MP_w(\pi_{v,\sigma,\tau})\ge0\bigr\}
\]
for every game specified above. For an absolute constant $C>0$, the
complete computation uses at most
\[
                      2^{C(\log_2(L+2))^2}
\]
bit operations in a standard model polynomially equivalent to a
uniform deterministic Turing machine. The bound includes
preprocessing, exact arithmetic, recursion, and output of the entire
set $U$.
\end{theorem}

A positional strategy chooses its outgoing edge using only the current
vertex. Section~\ref{sec:full-solution} derives the exact rational
value at every starting vertex and globally optimal positional
strategies for both players, within the same quasipolynomial bit bound.
Section~\ref{sec:energy-credits} decides whether a prescribed initial
credit can keep every finite accumulated weight nonnegative in a
one-resource energy game, and computes minimum winning credits. Section~\ref{sec:tropical}
applies classical reductions to tropical feasibility and fixed-corank
tropical-rank tests. A polynomial bound for the complete binary input
would be a further improvement.

\subsection{Earlier algorithms and binary weights}

Ehrenfeucht and Mycielski proved the existence of positional optimal
strategies for mean-payoff games~\cite{EhrenfeuchtMycielski1979}.
Positional determinacy places the threshold problem in
$\mathrm{NP}\cap\mathrm{coNP}$. Zwick and Paterson developed
pseudopolynomial algorithms and complexity reductions
\cite{ZwickPaterson1996}. Such bounds
can be polynomial in the number of vertices and the largest absolute
weight while remaining exponential in the binary encoding length.
This distinction is central to Theorem~\ref{thm:main}.

The energy formulation asks whether a finite initial credit can keep
all finite accumulated weights nonnegative. Brim, Chaloupka, Doyen,
Gentilini, and Raskin developed bounded integer progress measures and
monotone lifting, with an $O(|E|nW_0)$ threshold and winning-region
bound when $W_0$ bounds the absolute weights
\cite[Theorem~8]{BrimEtAl2011}.
Dorfman, Kaplan, and Zwick developed a deterministic exponential-time
approach based on accelerated potential updates and scaling; Austin
and Dell'Erba corrected its update procedure
\cite{DorfmanKaplanZwick2019,AustinDellErba2023}. Kozachinskiy
gives a polyhedral interpretation and a weight-independent
$n^{O(1)}2^{n/2}$ arithmetic bound for energy winners
\cite{Kozachinskiy2021}.

Strategy-improvement algorithms provide another important comparison.
Bj\"orklund and Vorobyov proved an expected
$2^{O(\sqrt{n\log n})}$ arithmetic bound for the threshold partition
on graphs without parallel edges
\cite[Theorem~7.1]{BjorklundVorobyov2007}, following work with
Sandberg~\cite{BjorklundSandbergVorobyov2004}.
Recent analyses concern Random-Action-Removal~\cite{Zwick2026} and
Switch-All and Random-Edge for energy games
\cite{DorfmanKaplanZwick2026}. Iteration counts and arithmetic bounds
must be distinguished from bit bounds: strategy evaluation and the
sizes of intermediate numbers contribute to the latter.

Parity games use an extremal priority occurring infinitely often to
determine the winner. They reduce in polynomial time to mean-payoff
threshold games using weights of exponential magnitude but polynomial
binary length~\cite[Section~3]{Jurdzinski1998}. Calude, Jain,
Khoussainov, Li, and Stephan gave
a quasipolynomial algorithm for parity games
\cite{CaludeJainKhoussainovLiStephan2022}. The reduction goes from
parity to mean payoff, so this result does not by itself give a
quasipolynomial algorithm for arbitrary binary-weight mean-payoff games.
Daviaud, Jurdzi\'nski, and Lazi\'c combined succinct parity progress
measures with energy bounds in a pseudo-quasipolynomial algorithm for
mean-payoff parity games~\cite{DaviaudJurdzinskiLazic2018}; that
bound still contains a numerical weight parameter. Smoothed polynomial
results for independent Gaussian perturbations of payoffs on ergodic
game graphs concern a different input model~\cite{LoffSkomra2024}.

\subsection{How the proof works}

An integer potential assigns a number to each vertex. First replace
$w(e)$ by $\widehat w(e)=(n+1)w(e)+1$, which makes every simple
cycle sum nonzero while separating negative original sums from
nonnegative ones. For $z\in\Z^V$, let $F_i(z)$ be the maximum
of $\widehat w(e)+z_j$ over edges $e:i\to j$ at a Max vertex,
and the minimum at a Min vertex. For integer vectors $A\le u$,
the box $[A,u]$ consists of all integer vectors between them,
coordinatewise. In this box,
a subsolution is a vector $x\in[A,u]$ satisfying $x_i\le F_i(x)$
wherever $x_i>A_i$; a supersolution is a vector $y\in[A,u]$
satisfying $y_i\ge F_i(y)$ wherever $y_iA_i\}$ has $a$-mass at most one; it requires a positive
label at coordinates near the upper boundary. A Min witness is the
dual supersolution with support $\{i:y_iA_i$. A \emph{supersolution} is a full vector $y\in[A,u]$
satisfying $y_i\ge F_i(y)$ wherever $y_i2nW$, the two bands are disjoint and exhaust $V$.

Every high coordinate is above the lower boundary. At a high Max
vertex choose one outgoing edge satisfying
\begin{equation}
                         h_i\le\widehat w(e)+h_j;
 \label{eq:high-edge}
\end{equation}
such an edge exists by the subsolution inequality. At a high Min
vertex every outgoing edge satisfies this inequality. Each of these
permitted edges has
\[
                  h_j\ge D_0-(n+1)W>nW,
\]
so its head is high by the partition just proved. Fixing the Max
choices and extending them arbitrarily outside the high band gives
a positional strategy keeping all consistent plays from high
vertices in that band.

On a simple cycle of permitted edges,
Equation~\eqref{eq:high-edge} telescopes to a nonnegative transformed
sum. Its original sum is therefore nonnegative. Let
$W_0=\max_e|w(e)|$. Delete simple cycles successively from any
finite play prefix until fewer than $n$ edges remain. The removed
cycles have nonnegative original sums, and the remaining walk has
weight at least $-(n-1)W_0$. Hence every prefix of every consistent
play has at least that weight. Dividing by its length and taking a
lower limit proves Max's assertion.

For the other band, every low coordinate is below the upper boundary.
At a low Min vertex fix an edge attaining the minimum in $F_i(h)$,
and at a low Max vertex permit all outgoing edges. The supersolution
inequality gives
\begin{equation}
                         h_i\ge\widehat w(e)+h_j
 \label{eq:low-edge}
\end{equation}
for each permitted edge. Its head satisfies
$h_j\le(n+1)W0}^V.
 \label{eq:recursive-input}
\end{equation}
Its box is $[A,u]$ with $u=A+D$, and its claim margin is
$P=D/32$. For $S\subseteq V$ let
$a(S)=\sum_{i\in S}a_i$ and $b(S)=\sum_{i\in S}b_i$.
The positive rational vectors $a,b$ are called \emph{masses}.

\begin{definition}[Witnesses and their claims]
\label{def:witnesses}
A \emph{Max witness} for $(A,D,a,b)$ is a subsolution
$x\in[A,u]$ with support $S_x=\{i:x_i>A_i\}$ and
$a(S_x)\le1$. It \emph{claims} each $i$ with $x_i\ge u_i-P$.
A \emph{Min witness} is a supersolution $y\in[A,u]$ with support
$S_y=\{i:y_iD/2.
 \label{eq:outside-gap}
\end{equation}
The untruncated term in Equation~\eqref{eq:max-translation} is
\[
                   k_i+r/2-g_i^x(k).
\]
It lies below or at the new upper boundary. Taking its maximum with
the lower boundary puts $x'$ inside the new box, with
support exactly where $g_i^x(k)D/2$.
Now the translated term before clipping is
\[
                   k_i-r/2+g_i^y(k).
\]
It is above or at the lower boundary, and taking its minimum with
the upper boundary leaves support exactly at gaps $1$ for all $i\in V$, return $+$ where $b_i>1$ and
return $-$ at the remaining vertices.

\item\label{step:width-base}\textbf{Width base case.}
If $D<4096$, compute the box solution $z$ by $\Basic$.
Return $+$ at $i$ if $z_i>A_i+D/2$, and $-$ otherwise.

\item\label{step:down}\textbf{Downward pass.}
Use $c,M,q,p$ from Equation~\eqref{eq:pivot-parameters} and
initialize $k=c$. Repeatedly make a centered width-$q$ call with
masses $(a,\frac43 b)$ and, from its labels, set simultaneously
\[
 k_i^{\mathrm{new}}=
 \begin{cases}
   \max\{c_i-M,k_i-p\},&\text{if the label at }i\text{ is }-,\\
   k_i,&\text{if the label at }i\text{ is }+.
 \end{cases}
\]
Replace $k$ by $k^{\mathrm{new}}$. Stop when the update leaves
$k$ unchanged, denote this last pivot by $k^{\downarrow}$, and
record
\[
                       I_- =\{i:k_i^{\downarrow}c_i+P\}.
\]

\item\label{step:provisional}\textbf{Provisional labels and new masses.}
Make one centered width-$D/2$ call at $k^f$ with masses $(a,b)$.
For its returned vector $\lambda^0\in\{+,-\}^V$, define
\begin{equation}
 (\bar a_i,\bar b_i)=
 \begin{cases}
  (\frac45 a_i,\frac85 b_i),&\lambda_i^0=+,\\[1mm]
  (\frac85 a_i,\frac45 b_i),&\lambda_i^0=-.
 \end{cases}
 \label{eq:reweighting}
\end{equation}

\item\label{step:continuation}\textbf{Continuation and overrides.}
Call $\Label(A,D,\bar a,\bar b)$. In that child's output put
$-$ on $I_-$ and $+$ on $I_+\setminus I_-$, leaving every
other label unchanged. Return the resulting vector.
\end{enumerate}
\end{procedure}

Each pass includes a final child call whose update changes no
coordinate. Correctness will use that call's guarantee together with
the stationary update. The two passes run in the stated order;
within one update every coordinate uses the same returned label vector
and the same old pivot.

\subsection{Integral nested boxes and bounded passes}

The next facts depend only on the mechanics of the procedure, not on
the meaning of the returned labels.

\begin{lemma}
\label{lem:well-formed}
Every recursive child is a valid input of the form
Equation~\eqref{eq:recursive-input}, and its box is contained in
its parent's box. In a nonbase call the pivot satisfies
\[
 \begin{aligned}
 c-M\le k\le c&\qquad\text{during the downward pass},\\
 c-M\le k\le c+M&\qquad\text{during the upward pass}.
 \end{aligned}
\]
If child calls terminate, each pass makes at most $1024n+1$ calls.
\end{lemma}

\begin{proof}
In the recursive case, $D\ge4096$ is dyadic, so all parameters
in Equation~\eqref{eq:pivot-parameters}, both child half-widths,
and every pivot coordinate are integral. The child widths $D/128$
and $D/2$ are positive powers of two. The update caps imply the
stated pivot bounds. A centered child has width $r\le D/2$,
and its endpoints satisfy
\[
 c-M-r/2\ge A+D/8\ge A,
 \qquad c+M+r/2\le A+7D/8\le A+D.
\]
The continuation has the unchanged parent box. All mass multipliers
preserve positivity and rationality.

The pivot lies on the grid of spacing $p$ through $c$, since
$M/p=512$ is integral and both caps belong to that grid. In a
changing update at least one coordinate moves by at least $p$.
Each pass is coordinatewise monotone over a range of at most $2M$,
so a coordinate moves at most $2M/p=1024$ times. At most $1024n$
updates can change the pivot. One further child call certifies the
unchanged update at which the pass stops.
\end{proof}

\subsection{A rank that decreases for every child}

For positive masses define
\begin{equation}
 \mu(a,b)=\min_{i\in V}a_i b_i,
 \qquad \rho=\frac{32}{25},
 \qquad
 B(\mu)=
 \begin{cases}
  0,&\mu>1,\\
  1+\lfloor\log_{\rho}(1/\mu)\rfloor,&0<\mu\le1.
 \end{cases}
 \label{eq:budget}
\end{equation}
The integer $B$ measures how many guaranteed increases of the
minimum mass product can precede the mass base case. It is used for
analysis only; the executable procedure does not evaluate logarithms.

\begin{lemma}[Well-founded recursion]
\label{lem:termination}
The procedure terminates on every input in
Equation~\eqref{eq:recursive-input}. Writing $D=2^d$, every
child of a nonbase call has smaller rank
\[
                            R=d+B(\mu(a,b)).
\]
The provisional child in Step~5 is the only child that preserves $B$.
Every other child decreases $B$ by at least one.
\end{lemma}

\begin{proof}
If $\mu>1$, the mass base case applies. Otherwise multiplying
$\mu$ by a factor at least $\rho$ decreases $B$ by at least
one: either the new value exceeds one, or its logarithm in
Equation~\eqref{eq:budget} falls by at least one before rounding
down.

In either pivot pass, each product $a_i b_i$ is multiplied by
$4/3\ge\rho$. In the continuation, each product is multiplied by
$(4/5)(8/5)=\rho$, independent of the provisional label. Thus
these children decrease $B$ and do not increase $d$. The
provisional child keeps the masses and halves the width, decreasing
$d$ by one. Every child has strictly smaller nonnegative rank $R$.

Induction on $R$ now proves termination. Base cases require only
finite arithmetic and, in the width case, the finite iteration of
Lemma~\ref{lem:accepted-box}. At a nonbase node, every child
terminates by induction. Lemma~\ref{lem:well-formed} then bounds
the two passes; the remaining two children and local operations are
finite as well. This reasoning makes no correctness assumption about
a label.
\end{proof}

The distinction between width reduction and budget reduction is shown
in Figure~\ref{fig:recursion}. It permits induction for correctness
and a sharper count than a general branching bound: only one child
can preserve the mass budget, irrespective of the width.

\begin{figure}[htbp]
 \centering
 \input{figures/recursion}
 \caption{Children of a nonbase call. The two passes together produce
 at most $2(1024n+1)$ narrow children, each decreasing $B$.
 The provisional child preserves $B$ and halves the width; the
 continuation preserves the box and decreases $B$. Edges show the
 recursion tree, not the execution order.}
 \label{fig:recursion}
\end{figure}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//04-algorithm.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//05-correctness.tex ====
\section{Why the labels satisfy every witness}
\label{sec:correctness}

Termination supplies a well-founded order for the correctness proof.
At a nonbase call, assume that all children satisfy the simultaneous
labelling guarantee. We will show first that the marks $I_-$ and
$I_+$ can safely receive their prescribed labels. We will then show
that every witness with a remaining claim survives the mass change.
These two statements allow the continuation to finish the call.

In the next three lemmas, fix a nonbase input $(A,D,a,b)$ and assume
Theorem~\ref{thm:labelling} for all its children. Witnesses, supports,
and claims without a prime refer to this parent input. Peaks and gaps
are those of Equations~\eqref{eq:max-gaps}--\eqref{eq:min-gaps}.

\subsection{Protection during motion and mass at stopping}

\begin{lemma}[The downward pass]
\label{lem:down}
For every relevant Max witness $x$, its peak $s_x(k)$ is constant
throughout Step~3 and at most $D/2$. In particular, no Max witness
claims an index in $I_-$. For every Min witness $y$ that has a claim
outside $I_-$,
\begin{equation}
             b\bigl(\{i:g_i^y(k^{\downarrow})3/4.
 \label{eq:down-heavy}
\end{equation}
\end{lemma}

\begin{proof}
Fix $x$ and consider one downward update from pivot $k$. Its
width-$q$ translation is a witness for the child, since that child
keeps Max masses $a$. By Lemma~\ref{lem:translation}, every
coordinate of gap at most $q/32=p$ is a Max claim of the translated
witness. The child's guarantee labels these coordinates $+$, and
they do not move. In particular at least one gap-zero coordinate
continues to attain the old peak.

At every other coordinate, the downward movement $\delta_i$ lies
in $[0,p]$. For its gap $g_i^x(k)>p$,
\[
 x_i-k_i^{\mathrm{new}}
           =s_x(k)-g_i^x(k)+\delta_iD/2-M.
 \label{eq:down-uncapped}
\end{equation}
A coordinate at the lower cap would have
$k_i^{\downarrow}-y_i\le D/2-M$, since $y_i\ge A_i$.
Every maximizer of $k_i^{\downarrow}-y_i$ is therefore strictly
above its cap.

Suppose the mass in Equation~\eqref{eq:down-heavy} were at most
$3/4$. The width-$q$ Min translation has exactly that support, so
it would have support mass at most one for the last child's masses
$\frac43 b$. Its gap-zero maximizers would all have to receive
$-$. At least one of those coordinates would then move down by a
positive amount, because it is above the cap and $p>0$. This
contradicts the final unchanged update. Equality at $3/4$ also
leads to this contradiction, proving the strict mass bound.
\end{proof}

The downward marks are now safe, but the pivot will still move upward.
The next lemma both protects the other type of claim and shows why the
first mass certificate survives that later movement.

\begin{lemma}[The upward pass]
\label{lem:up}
For every relevant Min witness $y$, its peak $s_y(k)$ is constant
throughout Step~4 and at most $D/2$. Thus no Min witness claims an
index in $I_+$. At the final pivot,
\begin{align}
 b\bigl(\{i:g_i^y(k^f)3/4
   &&\text{if }y\text{ has a claim outside }I_-;
   \label{eq:final-min-heavy}\\
 a\bigl(\{i:g_i^x(k^f)3/4
   &&\text{if }x\text{ has a claim outside }I_+.
   \label{eq:final-max-heavy}
\end{align}
\end{lemma}

\begin{proof}
In every upward child the Min masses are unchanged. Translate a fixed
relevant Min witness $y$ to that width-$q$ box. All gaps at most
$p$ become Min claims, so those coordinates are labelled $-$ and
stay fixed. Every other coordinate has gap greater than $p$ and
moves upward by at most $p$. Its new deviation $k_i^{\mathrm{new}}-y_i$
is therefore strictly below the old peak. A gap-zero coordinate does
not move, proving exact peak preservation. At the start,
$k^{\downarrow}\le c$ and $y\ge A$ imply $s_y\le D/2$.
A Min claim at $i$ consequently gives
\[
                    k_i^f\le y_i+D/2\le c_i+P,
\]
so it is outside $I_+$.

Each coordinate $k_i$ is nondecreasing during this pass while $s_y$
is fixed. It follows that
\begin{equation}
                  g_i^y(k^f)\le g_i^y(k^{\downarrow}).
 \label{eq:min-gap-persistence}
\end{equation}
The set of Min gaps $D/2-M.
\]
At an upper-capped coordinate, the inequalities
$k_i^f=c_i+M$ and $x_i\le A_i+D$ would give a deviation at
most $D/2-M$. Thus every maximizer lies strictly below the upper
cap. If the $a$-mass of the gaps $3/4$. By Lemma~\ref{lem:translation}, $N_x\subseteq S_x$;
its coordinates are claims of the width-$r$ translation, which
qualifies for the unchanged masses $a$. Correctness of that child
therefore implies $N_x\subseteq Q_+$. Reweighting the original
support gives
\begin{align*}
 \bar a(S_x)
   &=\frac85 a(S_x)-\frac45 a(S_x\cap Q_+)\\
   &<\frac85\cdot1-\frac45\cdot\frac34=1.
\end{align*}
The continuation has the same box and operator, so the subsolution
inequalities are unchanged. The displayed support bound is all that
is needed to keep $x$ a witness.

For Min set $N_y=\{i:g_i^y(k^f)3/4$. Hence
\[
 \bar b(S_y)=\frac85 b(S_y)-\frac45 b(S_y\cap Q_-)
                         <\frac85-\frac45\cdot\frac34=1.
\]
The supersolution inequalities still hold in the unchanged box,
so $y$ also survives.
\end{proof}

\subsection{Completing the simultaneous induction}

\begin{proof}[Proof of Theorem~\ref{thm:labelling}]
Use induction on $R=d+B(\mu)$ from
Lemma~\ref{lem:termination}, which has already established
termination. We prove that a single returned vector meets every
parent obligation.

In the mass base case, $a_i b_i>1$ at every vertex. If $b_i>1$,
no Min witness can contain $i$ in its support, and hence no Min
witness can claim it; returning $+$ is permitted. If $b_i\le1$,
then $a_i>1$, so no Max witness can claim that vertex; returning
$-$ is permitted. This proves all simultaneous obligations in
Step~1.

In the width base case, comparison with the computed box solution
$z$ gives $x\le z\le y$ for every Max witness $x$ and Min
witness $y$. At a Max claim,
\[
                   z_i\ge A_i+D-P>A_i+D/2,
\]
and Step~2 returns $+$. At a Min claim,
$z_i\le A_i+P1$
uses integer cross-multiplication, and testing $b_i>1$ or applying a
constant multiplier also uses numbers of polynomial length. All mass
arithmetic is exact.

The proof quantities $B$ and $\mu$, and the peaks, gaps, supports,
and witness vectors, need not be stored or computed. The algorithm
uses neither a logarithm evaluation for its rank nor an oracle for
the existence of a witness. The procedure evaluates $F$ only inside
$\Basic$, by explicit max/min scans of the edge list.

\subsection{Local cost and uniform implementation}

Each call has polynomial nonrecursive work. The mass and width tests
are finite scans with the arithmetic just bounded. If the width base
case applies, $D<4096$, and the imported iteration bound gives
\[
                            1+nD\le1+4095n
\]
evaluations, including the final stability test. Every evaluation
scans the $m$ explicit edges, adds their transformed weights, takes
the relevant extrema, and clips at $n$ endpoints. It acts on integers
of polynomial length. The midpoint comparison is implemented as
$2z_i>2A_i+D$, which also handles $D=1$.

In a nonbase call, the constants defining the pivot are obtained by
exact divisions by powers of two. Each pass has $O(n+1)$ iterations
apart from its children's work. A scan of the $n$ coordinates performs
one simultaneous update and tests whether it changed anything.
Preparing child inputs and receiving their labels, forming $I_-$
and $I_+$, reweighting, and applying the final overrides likewise
use polynomially many operations on polynomial-length integers.
Schoolbook arithmetic suffices throughout.

A depth-first implementation runs children sequentially and retains
one record per active call. The record holds the parent masses,
endpoints, pivot, labels, and current loop position. There are at most
$H+1$ active records, each of polynomial size. Stack management is
therefore included in the same polynomial local bound. Preprocessing
the transformed weights, finding the least power of two in
Equation~\eqref{eq:initial-width}, and creating masses $1/n$ take
polynomial time. Reading the input and producing the $n$ final labels
also do so.

Multiply this polynomial per-call cost by the call count bounded in
Equation~\eqref{eq:quasipoly-calls}, and include preprocessing and
output. For an absolute constant $C>0$, the complete bound is
\begin{equation}
                            2^{C(\log_2(L+2))^2}.
 \label{eq:final-bit-bound}
\end{equation}
The constants in the procedure are fixed independently of the game,
and every arithmetic and control operation has been specified. This
gives a uniform deterministic bit algorithm.

\begin{proof}[Proof of Theorem~\ref{thm:main}]
Compute Equation~\eqref{eq:main-call}, run $\Label$, and output
the positively labelled vertices. Theorem~\ref{thm:labelling}
guarantees the labels required by every witness. In the initial box,
the box solution is a witness of both types, and the argument after
Equation~\eqref{eq:main-call} identifies all its required labels
with the bands of Proposition~\ref{prop:game-reduction}. The
positive band is exactly the zero-threshold winning set, including
against every history-dependent opponent. Equation~\eqref{eq:final-bit-bound}
bounds the entire computation. Signed binary weights, self-loops,
and separately listed parallel edges are all covered by the
construction and accounting above.
\end{proof}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//06-complexity.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//07-values-and-strategies.tex ====
\section{Exact values and optimal positional strategies}
\label{sec:full-solution}

We now use the winning-set algorithm to recover the numerical values
and strategies of the game. For the input model of
Theorem~\ref{thm:main}, write
\[
 \operatorname{val}_w(v)
 =\sup_\sigma\inf_\tau \MP_w(\pi_{v,\sigma,\tau}),
\]
where the strategies may depend on the full finite history.

\begin{corollary}[Full game solution]\label{cor:full-solution}
A uniform deterministic algorithm returns the exact value
$\operatorname{val}_w(v)$ as a reduced rational for every $v\in V$
and one positional strategy $\sigma^\star$ for Max and one positional
strategy $\tau^\star$ for Min such that, simultaneously for every
$v\in V$ and every pair of history-dependent strategies $\sigma,\tau$,
\[
 \MP_w(\pi_{v,\sigma^\star,\tau})\ge\operatorname{val}_w(v),
 \qquad
 \MP_w(\pi_{v,\sigma,\tau^\star})\le\operatorname{val}_w(v).
\]
The complete computation takes
$2^{O((\log_2(L+2))^2)}$ bit operations.
\end{corollary}

\begin{proof}
\noindent\textbf{Positional values.}\enspace
The uniform form of Ehrenfeucht--Mycielski positional determinacy
\cite{EhrenfeuchtMycielski1979}, stated explicitly in
\cite[Theorem~1 and the following paragraph]{BrimEtAl2011}, provides
one positional strategy for each player attaining the value from all
vertices at once, against arbitrary history-dependent opponents.
The latter source uses an edge relation without parallel entries.
For our convention, replace each explicit edge $e:u\to v$ by
$u\to x_e\to v$ through a fresh vertex with a single outgoing edge,
with weights $2w(e)$ and $0$. Keep ownership at the original vertices;
the owner of $x_e$ is immaterial. The resulting graph has no parallel
edges or loops. Expanded histories retain the identity of every
original edge. Their averages at even prefixes equal the original
averages, and the odd-prefix discrepancy tends to zero. Thus payoffs
and the uniform positional guarantees transfer back to our graph,
including loops and parallel entries.

Set $W_{\mathrm{in}}=\max_{e\in E}|w(e)|$. Fix both uniform optimal
positional strategies. From any vertex the resulting play eventually
repeats a simple directed cycle of at most $n$ edges in the original
graph, and its mean is the value at that vertex. Consequently every
value has a reduced representation $a/b$ with
\[
 1\le b\le n,\qquad |a|\le bW_{\mathrm{in}},
 \qquad -W_{\mathrm{in}}\le a/b\le W_{\mathrm{in}}.
\]
The same bounds hold after restricting outgoing choices, provided at
least one outgoing edge remains at every vertex.

\par\medskip\noindent\textbf{Threshold queries and exact reconstruction.}\enspace
We use the classical reduction from values to threshold queries
\cite[Section~5.2]{BrimEtAl2011}, keeping track of binary lengths.
For integers $p$ and $q>0$, replace each weight by
$w_{p/q}(e)=qw(e)-p$. For every infinite play,
\[
 \MP_{w_{p/q}}(\pi)=q\MP_w(\pi)-p.
\]
Positional attainment therefore makes the winning set returned by
Theorem~\ref{thm:main} exactly
$\{v:\operatorname{val}_w(v)\ge p/q\}$.

Choose
$K=1+\lceil\log_2(2(W_{\mathrm{in}}+1)n^2)\rceil$, computable from
integer bit lengths. For each vertex, start with the closed interval
$[-W_{\mathrm{in}},W_{\mathrm{in}}]$ and make $K$ bisections. Query
its midpoint and move the lower endpoint to the midpoint if the
vertex belongs to the returned set; otherwise move the upper endpoint.
The final interval contains its value and has width
$2W_{\mathrm{in}}2^{-K}<1/n^2$. Distinct reduced rationals with
positive denominators at most $n$ differ by at least $1/n^2$.
To reconstruct the value from an interval $[\ell,h]$, for each
$1\le b\le n$ test the integer $a=\lceil b\ell\rceil$ for
$a/b\le h$, reduce the retained fractions, and remove repetitions.
Since $b(h-\ell)<1$, this tests every possible numerator.
The value bound above guarantees exactly one resulting rational.
Call this value-vector procedure $\mathsf{Values}(H)$ for any
restricted game $H$; the original $n,W_{\mathrm{in}},K$ remain valid
for all such calls.

\par\medskip\noindent\textbf{Separate strategy self-reductions.}\enspace
An edge joining vertices of the same value need not be optimal.
For example, let a Max vertex $u$ have a zero-weight self-loop and a
zero-weight edge to a vertex $v$ whose only edge is a self-loop of
weight $1$. Both vertices have value $1$, but staying at $u$ yields
payoff $0$. We therefore test restrictions of the current game and
preserve its entire value vector.

First compute $\mathbf v=\mathsf{Values}(G)$. For Max, start from a
fresh copy $H=G$ and process the Max vertices in any fixed order.
At a vertex $u$, form a trial $H_e$ for each outgoing edge $e$ by
keeping only $e$ at $u$. Keep a trial for which
$\mathsf{Values}(H_e)=\mathbf v$, and continue from that trial.
Such an edge always exists. Indeed, take the edge chosen at $u$ by a
globally optimal positional Max strategy of the current $H$.
Restricting Max's choices cannot increase any value, while that
strategy remains available and secures the current entire value
vector, so no value decreases either. This proves the invariant
$\mathsf{Values}(H)=\mathbf v$.

At the end, Max has one allowed edge at every owned vertex, whereas
all of Min's original choices remain. The resulting single Max
strategy therefore secures $\mathbf v$ from every vertex against
every Min strategy. To recover Min's strategy, start again from a
fresh copy of the original $G$, not from the Max-restricted game.
At each Min vertex keep an outgoing edge whose trial preserves
$\mathbf v$. A globally optimal positional Min strategy of the
current game supplies such an edge: restricting Min cannot decrease
values, and that strategy prevents any increase. The final Min
strategy is optimal against every original Max strategy. Thus the two
separately recovered strategies have the simultaneous guarantees in
the statement.

\par\medskip\noindent\textbf{Call and bit bounds.}\enspace
Put $m=|E|$. At a vertex, at most its original outdegree many trials
are tested, so the two self-reductions together use at most $m$ trial
value-vector computations. Including the original computation, there
are at most
\begin{equation}
 Q=nK(1+m)
 \label{eq:threshold-call-bound}
\end{equation}
threshold calls. Every midpoint has denominator dividing $2^K$ and
a numerator of $O(\log(W_{\mathrm{in}}+1)+K)$ bits. Each transformed
weight has the same order of bit length. Since
$K=O(L+\log(n+1))$, the full encoding length of every queried game
is $O(L+mK)$, polynomial in $L+1$. Reconstruction, reduced-rational
comparison, and copying restricted edge lists also have polynomial
bit cost. The explicit encoding bounds $n,m$ polynomially in $L+1$,
so $Q$ is polynomial. Applying Theorem~\ref{thm:main} to these
polynomial-length games and multiplying by $Q$ gives
$2^{O((\log_2(L+2))^2)}$ bit operations, including the polynomial-size
value and strategy output.
\end{proof}

The preceding reduction also applies to the companion algorithm.
Here the additional issue is that threshold queries depend on earlier
answers, so the winning-set error must be controlled at each query.

\begin{corollary}[Randomized full game solution]
\label{cor:randomized-full-solution}
For the game model of Theorem~\ref{thm:main}, a uniform randomized
algorithm returns all exact values and both globally optimal positional
strategies specified in Corollary~\ref{cor:full-solution} with
probability at least $7/8$ for the entire output. Its running time is
$2^{O((\log_2(L+2))^2)}$ bit operations on every random tape.
\end{corollary}

\begin{proof}
The companion's Theorem~1.1 \cite{OpenAI2026Randomized} returns the
whole winning set correctly with probability at least $7/8$ and has
the quasipolynomial bit bound on every tape. Use the reduction above,
whose number of threshold queries is bounded by the polynomial $Q$
in Equation~\eqref{eq:threshold-call-bound}. For each query, take
$r=2\lceil\log_2(8Q)\rceil+1$ independent fresh runs and use the
coordinatewise majority of their winning sets. Conditional on the
previous history, the current query is fixed. The amplified set is
correct whenever more than half of the runs return the whole correct
set, and its conditional failure probability is at most
\[
 \sum_{j=\lceil r/2\rceil}^{r}\binom rj(1/8)^j
 \le 2^r(1/8)^{r/2}=2^{-r/2}<\frac1{8Q}.
\]
A first-error union bound over the adaptive queries makes every
threshold answer correct with probability at least $7/8$. On this
event the preceding deterministic argument gives all exact values and
both globally optimal strategies. On other tapes, if reconstruction
does not yield a unique rational or no value-preserving trial is
found, the reduction stops with zero at every value coordinate and
the first listed outgoing edge at every owned vertex.
All loops have the stated caps even then. Since $r=O(\log(L+2))$ and
all queried encodings retain their polynomial bound on every tape,
the total bit bound remains quasipolynomial on every tape, including
random-bit generation. This transfer uses only the winning-set
interface.
\end{proof}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//07-values-and-strategies.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//08-energy-credits.tex ====
\section{Fixed- and minimum-credit energy games}
\label{sec:energy-credits}

The preceding algorithms also compute the initial credits needed in
one-resource energy games. Retain the game model of
Theorem~\ref{thm:main}. For a start $v\in V$ and an integer credit
$c\ge0$, call
$(v,c)$ \emph{energy-winning} if Max has a strategy such that, against
every history-dependent Min strategy, the induced play satisfies
\begin{equation}
 c+\sum_{t=0}^{j-1}w(e_t)\ge0\qquad\text{for every }j\ge0.
 \label{eq:energy-objective}
\end{equation}
There is one accumulated resource and no upper bound or saturation.
Write $c_{\min}(v)$ for the least nonnegative integer credit for which
$(v,c)$ is energy-winning, and put $c_{\min}(v)=\infty$ if there is
none. A positional Max policy specifies one labelled outgoing edge at
each Max vertex.

The reductions connecting these problems to mean-payoff games are
classical. Bouyer, Fahrenberg, Larsen, Markey, and Srba formulate the
fixed-credit lower-bound problem and reduce it to mean payoff using
adversary-controlled returns to the start
\cite[Section~2.1 and Proposition~12]{BouyerEtAl2008}. Our construction
places the initial credit on each return edge. Brim, Chaloupka, Doyen,
Gentilini, and Raskin distinguish the unknown-credit and minimum-credit
problems, record the unknown-credit/mean-payoff equivalence, and
characterize minimum credits by an energy progress measure
\cite[Section~2 and Theorems~3 and~5]{BrimEtAl2011}. The reset construction
below lets us apply Corollary~\ref{cor:full-solution} to a prescribed-credit
instance, recovering a policy when that instance is winning. A bound on
finite minimum credits then permits exact binary search.

\begin{corollary}[Fixed and minimum energy credits]
\label{cor:energy-credits}
Uniform deterministic algorithms have the following guarantees.
\begin{enumerate}
\item Given $v$ and a nonnegative binary integer $c$, decide whether
$(v,c)$ is energy-winning. On a positive answer, return a positional
Max policy satisfying Equation~\eqref{eq:energy-objective} from that
start and credit against every history-dependent Min strategy.
\item Given $v$, return the exact $c_{\min}(v)$, including the possible
answer $\infty$. On a finite answer, return a positional Max policy
winning from $v$ at credit $c_{\min}(v)$.
\end{enumerate}
The fixed-credit computation takes
$2^{O((\log_2(L_c+2))^2)}$ bit operations, where $L_c$ is the full
explicit input length including the start and credit. The
minimum-credit computation takes $2^{O((\log_2(L+2))^2)}$ bit
operations for the original game length $L$. Handling every vertex by
separate per-start searches, including a separate policy
for every finite answer, has the same form of total bit bound.

Each policy may depend on the queried start and credit; it also wins
from that same start at every larger credit.
\end{corollary}

\begin{proof}
\noindent\textbf{Fixed credit by resetting.}\enspace
For the fixed pair $(v,c)$ construct a mean-payoff game $R_{v,c}$.
Replace every $u\in V$ by an entry $u_{\mathrm{in}}$ owned by Min and
an exit $u_{\mathrm{out}}$ owned by the original owner of $u$. Add the
two edges
\[
 u_{\mathrm{in}}\xrightarrow{c}v_{\mathrm{in}},
 \qquad
 u_{\mathrm{in}}\xrightarrow{0}u_{\mathrm{out}},
\]
and replace each labelled original edge $e:u\to z$ by its own edge
\[
 u_{\mathrm{out}}\xrightarrow{w(e)}z_{\mathrm{in}}.
\]
Start at $v_{\mathrm{in}}$. The game is total and has $2n$ vertices
and $m+2n$ edges, where $m=|E|$. The reset at $u=v$ is a nonnegative
self-loop, including when $c=0$, and distinct original parallel edges
remain distinct. If $U(R_{v,c})$ denotes its zero-threshold winning
set, then
\begin{equation}
 (v,c)\text{ is energy-winning in }G
 \quad\Longleftrightarrow\quad v_{\mathrm{in}}\in U(R_{v,c}).
 \label{eq:energy-reset-equivalence}
\end{equation}

For the forward implication, use an energy-winning strategy from
$(v,c)$ and restart its history after each reset. In any transformed
prefix, every completed segment has original-edge sum at least $-c$
and then receives the reset weight $+c$. Its total is therefore
nonnegative. The unfinished segment has sum at least $-c$; the
intervening zero edges do not change this bound. Every transformed
prefix sum is consequently at least $-c$. Dividing by its length
shows that the lower limiting average is nonnegative. This argument
also covers no resets and infinitely many resets, and does not assume
that the original energy strategy is positional.

Conversely, if $v_{\mathrm{in}}\in U(R_{v,c})$,
Corollary~\ref{cor:full-solution} returns a positional Max strategy
for $R_{v,c}$ guaranteeing nonnegative mean payoff from that start.
Restrict its choices at Max exits to obtain a positional policy in
$G$. Suppose a consistent original prefix of length $j$ from $v$ had
weight $q<-c$. In the reset game Min can choose continuation at its
entries, follow that prefix at its owned exits, and then reset. This
is a closed walk from $v_{\mathrm{in}}$ with weight $q+c<0$ and
length $2j+1$. Positionality of the Max strategy makes the same walk
consistent on every repetition. Min could therefore repeat it forever,
giving mean payoff $(q+c)/(2j+1)<0$, a contradiction. Thus all original
prefixes have weight at least $-c$. This proves the equivalence and
the positive-answer policy guarantee; only the Max strategy from the
full-solution call is used.

\par\medskip\noindent\textbf{A finite credit bound and exact search.}\enspace
For the original weights put
\begin{equation}
 W_{\mathrm{in}}=\max_{e\in E}|w(e)|,
 \qquad H=(n-1)W_{\mathrm{in}}.
 \label{eq:energy-credit-bound}
\end{equation}
In particular $W_{\mathrm{in}}$ and $H$ may be zero. An energy winner
with any finite credit is an original zero-threshold mean-payoff
winner, since its prefix sums are bounded below. Conversely, the
cycle-deletion estimate in the proof of
Proposition~\ref{prop:game-reduction} gives a positional Max policy
on the original winning region for which every consistent prefix has
weight at least $-H$. Indeed, its permitted simple cycles have
nonnegative original sum, and deleting such cycles from a prefix leaves
at most $n-1$ edges, each of weight at least $-W_{\mathrm{in}}$.
Consequently, for the original winning set $U(G)$,
\begin{equation}
 c_{\min}(v)<\infty\quad\Longleftrightarrow\quad v\in U(G),
 \qquad
 v\in U(G)\quad\Longrightarrow\quad 0\le c_{\min}(v)\le H.
 \label{eq:energy-finite-equivalence}
\end{equation}
The algorithm uses this existence bound as a known winning endpoint;
it need not compute the potential used in that proposition.

Compute $U(G)$ once by Theorem~\ref{thm:main} and output $\infty$ for
starts outside it. For a winning start, the fixed-credit predicate is
monotone: a strategy that wins at $c$ still wins at every larger
credit. Binary search with a formal losing lower endpoint $\ell=-1$
and the known winning upper endpoint $h=H$. While $h-\ell>1$, query
$\lfloor(\ell+h)/2\rfloor$ by
Equation~\eqref{eq:energy-reset-equivalence} and replace the endpoint
having the same answer. The sentinel itself is never queried. This takes at most
$\lceil\log_2(H+1)\rceil$ fixed-credit decisions and returns the exact
least winning integer. When $H=0$ the initial gap is one, so no search
query is made and the answer is zero. This includes both $n=1$ and
all-zero weights; any start without a finite credit has already been
excluded by $U(G)$. To return a policy at the minimum, apply
Corollary~\ref{cor:full-solution} to $R_{v,c_{\min}(v)}$ and restrict
its Max choices as above.

\par\medskip\noindent\textbf{Bit complexity and output size.}\enspace
Let $b_c$ be the binary length of the supplied nonnegative credit,
so $b_c=O(1+\log_2(c+1))$. The explicit reset game has encoding length
\[
 O\bigl(L+n(b_c+\log_2(n+1))\bigr),
\]
which is polynomial in $L_c$. The credit is copied into only $n$ edge
records; no array indexed by its numerical value is constructed.
Theorem~\ref{thm:main} decides membership in its winning set, and a
single application of Corollary~\ref{cor:full-solution} on a positive
answer supplies the policy, within the fixed-credit bound claimed.

For minimum credits, $H$ and every queried credit have
$O(1+\log_2(n+1)+\log_2(W_{\mathrm{in}}+1))=O(L+1)$ bits. All queried
encodings therefore have polynomial length in $L+1$. For all vertices,
the outer reduction makes at most $1+n\lceil\log_2(H+1)\rceil$ direct
winning-set calls, including the original one, and at most one
full-solution call for each requested finite-credit policy. These
counts are polynomial in
$L+1$. Polynomially many calls on polynomial-length inputs preserve
$2^{O((\log_2(L+2))^2)}$ bit complexity. Computing $H$, the binary
search arithmetic, and copying the policies have polynomial bit cost.
The output also has polynomial length: each finite credit has the
stated bit bound, and each per-start policy lists one original edge
at each Max vertex. No energy-indexed array is used in the search.
\end{proof}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//08-energy-credits.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//09-tropical.tex ====
\section{Tropical feasibility and fixed corank}
\label{sec:tropical}

Akian, Gaubert, and Guterman identify the coordinates that can be finite
in a solution of tropical inequalities with the winning states of an
associated mean-payoff game
\cite[Theorem~3.2 and Corollary~3.7]{AkianGaubertGuterman2012}.
Together with Theorem~\ref{thm:main}, this gives binary-length bounds
for tropical feasibility and for rank within a fixed distance of the
number of columns. We use the conventions $a+(-\infty)=-\infty$
and $\max\varnothing=-\infty$.

\begin{corollary}[Tropical feasibility and fixed corank]
\label{cor:tropical-computation}
For explicitly listed $m\times n$ matrices $A,B$ and $m$-dimensional
vectors $c,d$ over $\mathbb Q\cup\{-\infty\}$, feasibility of
\[
 \max\bigl\{c_i,\max_j(A_{ij}+x_j)\bigr\}
 \leq \max\bigl\{d_i,\max_j(B_{ij}+x_j)\bigr\}
 \qquad\text{for every row }i
\]
is decidable deterministically in
$2^{O((\log(L+2))^2)}$ bit operations, where $L$ is the complete
explicit binary input length. Variables range over
$\mathbb R\cup\{-\infty\}$; feasibility with all coordinates finite
is decidable within the same bound. Equalities between the two displayed
maxima are allowed, interpreted as pairs of inequalities.
For a homogeneous system ($c=d=-\infty$), one can also compute the
maximal finite-coordinate support of a solution, including the empty
support. In particular, the same bound decides feasibility of max-atom
systems $z\leq\max(x,y)+a$, with rational constants $a$ and finite
real, equivalently rational, variables.

For each fixed integer $k\geq0$, a deterministic algorithm with bit
bound $2^{O_k((\log(L+2))^2)}$ decides whether an explicitly listed
$m\times n$ matrix over $\mathbb Q\cup\{-\infty\}$, with $m\geq n\geq1$,
has tropical rank at least $n-k$. Here tropical rank is the largest
order of a square submatrix whose permutation sums have a finite,
unique maximum.
The rank is zero if no such nonempty submatrix exists.
\end{corollary}

\begin{proof}
\noindent\textbf{Integer data and homogeneous supports.}\enspace
Let $Q$ be the product of the positive denominators of the finite input
coefficients, taking $Q=1$ when there are none. Multiplying every finite
coefficient and variable by $Q$ preserves the inequalities and the sets
of finite coordinates. It also preserves the comparisons between
permutation sums that define tropical rank. The bit length of $Q$ is
at most one plus the sum of the denominator bit lengths, so the scaled integer
data have polynomial binary length.

Consider first a homogeneous system
\begin{equation}
 \max_j(C_{ij}+z_j)\leq\max_j(D_{ij}+z_j)
 \qquad\text{for every }i.
 \label{eq:tropical-homogeneous}
\end{equation}
The support of $z$ is $\{j:z_j\ne-\infty\}$. To obtain a total game,
apply the preprocessing of \cite[Section~2.1]{AkianGaubertGuterman2012}.
Discard a row whose left side is identically $-\infty$. If a right
side is identically $-\infty$, every variable with a finite coefficient
on that row's left side must equal $-\infty$. Record these coordinates,
substitute $-\infty$ for them throughout the system, and repeat.
Each step removes a row or a variable, so this takes polynomial time.
If no variables remain, the maximal support is empty. Otherwise add
the tautologies $z_j\leq z_j$ for the remaining variables.

The resulting bipartite game has a Min vertex for each remaining column
and a Max vertex for each row. A finite $C_{ij}$ gives an edge from
column $j$ to row $i$ of weight $-C_{ij}$; a finite $D_{ij}$ gives
an edge from row $i$ to column $j$ of weight $D_{ij}$. Every vertex
has an outgoing edge. Theorem~3.2 of
\cite{AkianGaubertGuterman2012} identifies its winning column vertices
with the maximal support of a solution. The recorded deleted coordinates
belong to no support. The union of all supports is attained, because
coordinatewise maxima of finitely many solutions are again solutions;
the identically $-\infty$ solution realizes the empty case.

The cited game counts a column--row--column pair as one turn. Counting
the two edges separately halves the mean payoff; the contribution of
an unmatched edge tends to zero. The source uses upper limiting averages;
positional optimality makes their nonnegative winning set coincide with
that for our lower limiting averages. The game has
polynomially many vertices and edges, with weights copied or negated
from the scaled coefficients or equal to zero. Its full binary encoding
is polynomial in $L+1$, so Theorem~\ref{thm:main} computes the maximal
support within the asserted bound.

\par\medskip\noindent\textbf{Affine and finite feasibility.}\enspace
After scaling, append $c$ to $A$ and $d$ to $B$ as a new column,
and introduce one coordinate $t$. The homogeneous system is
\[
 \max\bigl\{c_i+t,\max_j(A_{ij}+z_j)\bigr\}
 \leq\max\bigl\{d_i+t,\max_j(B_{ij}+z_j)\bigr\}.
\]
Every affine solution $x$ gives a homogeneous solution $(x,0)$.
Conversely, a homogeneous solution with finite $t$ gives the affine
solution $x_j=z_j-t$. Thus affine feasibility asks whether the new
coordinate belongs to the maximal support. Feasibility with all original
coordinates finite asks whether that support contains all $n+1$
coordinates. A coordinate eliminated during preprocessing is absent
from the computed support, so any test requiring it fails; this includes
$t$ if it is forced to $-\infty$.
This is the homogenization underlying
\cite[Theorem~3.5 and Corollaries~3.4 and~3.7]{AkianGaubertGuterman2012}.
Equalities are handled by imposing both inequalities.

A max-atom $z\leq\max(x,y)+a$ is a homogeneous row with one term on
the left and two on the right. Apply the all-finite test. With integer
coefficients, taking the floor of each finite coordinate preserves every
inequality: flooring commutes with integer translation and with finite
maxima. Scaling back therefore gives a rational solution whenever a real
one exists. This also explains the integral-solution interface in
\cite[Proposition~3.9, Corollary~3.10 and Remark~3.15]
{AkianGaubertGuterman2012}.

\par\medskip\noindent\textbf{Fixed corank.}\enspace
If $n\leq k$, the rank threshold is nonpositive and the answer is yes.
Otherwise set $r=n-k$. The rank criterion of
\cite[Corollaries~4.16--4.17]{AkianGaubertGuterman2012} says that the
rank is at least $r$ exactly when some set of $r$ columns is tropically
independent. For each such set let $M$ be the resulting $m\times r$
matrix. Its columns are dependent precisely when there is a vector
$z\not\equiv-\infty$ such that every row maximum is attained at least
twice or equals $-\infty$. Equivalently, $z$ satisfies the homogeneous
system
\begin{equation}
 M_{ij}+z_j\leq\max_{\ell\ne j}(M_{i\ell}+z_\ell)
 \qquad(1\leq i\leq m,\ 1\leq j\leq r).
 \label{eq:tropical-dependence}
\end{equation}
Its maximal support is therefore empty exactly when the selected columns
are independent. This is the inequality form of the game reduction in
\cite[Theorem~4.9]{AkianGaubertGuterman2012}. The row index $(i,j)$
retains the column excluded from Max's next choice. Empty right sides
and all-$-\infty$ columns are covered by the support computation above,
including when $r=1$.

There are at most $mr$ inequalities, with $r$ coefficients on each
side, so each test has polynomial encoding length. There are
$\binom nr=\binom nk\leq n^k$ tests. For fixed $k$, their total
bit cost is $2^{O_k((\log(L+2))^2)}$, as claimed.
\end{proof}

Strongly polynomial algorithms have been claimed using max-atoms and
tropical optimization
\cite{Truffet2025MaxAtoms,Truffet2026SubstitutionV4}.
Appendix~A of the randomized companion gives a two-variable
counterexample to the printed variable-selection rule in
\texttt{arXiv:2603.26423v4}~\cite{OpenAI2026Randomized}.
That comparison is specific to the version and rule examined; it
neither assesses the distinct 2025 max-atom proof nor transfers to
a revised procedure. It has no role in the proofs of this article.
==== END Deterministic-quasipolynomial-time-mean-payoff-games//09-tropical.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//main.tex ====
\documentclass[11pt]{article}
\input{preamble}
\title{Deterministic quasipolynomial-time mean-payoff games}
\author{OpenAI}
\date{September 25, 2026}
\begin{document}
\maketitle
\begin{abstract}
We give a deterministic algorithm that computes the complete zero-threshold
winning set of a finite mean-payoff game with arbitrary signed integer edge
weights encoded in binary. For total explicit input length $L$, it uses
$2^{O((\log(L+2))^2)}$ bit operations. A reduction also computes the exact
rational value at every vertex and globally optimal positional strategies
for both players within the same quasipolynomial bound.
\end{abstract}
\setcounter{tocdepth}{1}
\hypersetup{bookmarksdepth=2}
\tableofcontents
\clearpage
\input{sections/01-introduction}
\input{sections/02-boxes}
\input{sections/03-translations}
\input{sections/04-algorithm}
\input{sections/05-correctness}
\input{sections/06-complexity}
\input{sections/07-values-and-strategies}
\input{sections/08-energy-credits}
\input{sections/09-tropical}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//main.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//preamble.tex ====
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath,amsthm,amssymb,mathtools}
\usepackage[margin=1.05in]{geometry}
\usepackage{microtype}
\usepackage{xcolor,enumitem,booktabs}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning}
\definecolor{linkblue}{rgb}{0.05,0.16,0.42}
\usepackage[colorlinks=true,linkcolor=linkblue,citecolor=linkblue,urlcolor=linkblue]{hyperref}
\usepackage[capitalise,noabbrev]{cleveref}
\hypersetup{pdftitle={Deterministic quasipolynomial-time mean-payoff games},pdfauthor={OpenAI}}
\pdftrailerid{}
\setlength{\emergencystretch}{1.5em}
\setlist[enumerate]{itemsep=.45em,topsep=.5em}
\setlist[itemize]{itemsep=.25em,topsep=.4em}
\numberwithin{equation}{section}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{procedure}[theorem]{Procedure}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\DeclareMathOperator{\clip}{clip}
\DeclareMathOperator{\MP}{MP}
\newcommand{\Label}{\ensuremath{\mathsf{Label}}}
\newcommand{\Basic}{\ensuremath{\mathsf{Basic}}}
\newcommand{\hi}{\mathrm{hi}}
\newcommand{\lo}{\mathrm{lo}}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//preamble.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//recursion.tex ====
\begin{tikzpicture}[
 >=Stealth,
 box/.style={draw=linkblue,rounded corners=2pt,align=center,
             font=\small,inner sep=6pt,text width=3.6cm},
 edge/.style={->,draw=linkblue,thick}]
 \node[box,text width=4.5cm] (root) at (0,0)
   {Parent input\\width $D$, mass budget $B$};
 \node[box] (loops) at (-4.4,-2.1)
   {Pivot-pass children\\$\le 2(1024n+1)$ calls\\
    width $D/128$\\budget $\le B-1$};
 \node[box] (middle) at (0,-2.1)
   {Provisional child\\One call\\width $D/2$\\budget $B$};
 \node[box] (last) at (4.4,-2.1)
   {Continuation\\One call\\width $D$\\budget $\le B-1$};
 \draw[edge] (root.south west) -- (loops.north);
 \draw[edge] (root.south) -- (middle.north);
 \draw[edge] (root.south east) -- (last.north);
\end{tikzpicture}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//recursion.tex ====

==== BEGIN Deterministic-quasipolynomial-time-mean-payoff-games//references.bib ====

@article{EhrenfeuchtMycielski1979,
  author = {Ehrenfeucht, Andrzej and Mycielski, Jan},
  title = {Positional strategies for mean payoff games},
  journal = {International Journal of Game Theory},
  volume = {8},
  number = {2},
  pages = {109--113},
  year = {1979},
  doi = {10.1007/BF01768705},
  url = {https://doi.org/10.1007/BF01768705},
  note = {\href{https://doi.org/10.1007/BF01768705}{DOI: \nolinkurl{10.1007/BF01768705}}}
}

@article{ZwickPaterson1996,
  author = {Zwick, Uri and Paterson, Mike},
  title = {The complexity of mean payoff games on graphs},
  journal = {Theoretical Computer Science},
  volume = {158},
  number = {1--2},
  pages = {343--359},
  year = {1996},
  doi = {10.1016/0304-3975(95)00188-3},
  url = {https://doi.org/10.1016/0304-3975(95)00188-3},
  note = {\href{https://doi.org/10.1016/0304-3975(95)00188-3}{DOI: \nolinkurl{10.1016/0304-3975(95)00188-3}}}
}

@article{Jurdzinski1998,
  author = {Jurdzi{\'n}ski, Marcin},
  title = {Deciding the Winner in Parity Games Is in {UP} $\cap$ {co-UP}},
  journal = {Information Processing Letters},
  volume = {68},
  number = {3},
  pages = {119--124},
  year = {1998},
  doi = {10.1016/S0020-0190(98)00150-1},
  url = {https://www.dcs.warwick.ac.uk/~mju/Papers/Jur98-IPL.pdf},
  note = {\href{https://doi.org/10.1016/S0020-0190(98)00150-1}{DOI: \nolinkurl{10.1016/S0020-0190(98)00150-1}}}
}

@article{BjorklundVorobyov2007,
  author = {Bj{\"o}rklund, Henrik and Vorobyov, Sergei},
  title = {A combinatorial strongly subexponential strategy improvement algorithm for mean payoff games},
  journal = {Discrete Applied Mathematics},
  volume = {155},
  number = {2},
  pages = {210--229},
  year = {2007},
  doi = {10.1016/j.dam.2006.04.029},
  url = {https://doi.org/10.1016/j.dam.2006.04.029},
  note = {\href{https://doi.org/10.1016/j.dam.2006.04.029}{DOI: \nolinkurl{10.1016/j.dam.2006.04.029}}}
}

@inproceedings{Parys2019,
  author = {Parys, Pawe{\l}},
  title = {Parity Games: {Zielonka's} Algorithm in Quasi-Polynomial Time},
  booktitle = {44th International Symposium on Mathematical Foundations of Computer Science (MFCS 2019)},
  editor = {Rossmanith, Peter and Heggernes, Pinar and Katoen, Joost-Pieter},
  series = {Leibniz International Proceedings in Informatics (LIPIcs)},
  volume = {138},
  pages = {10:1--10:13},
  publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  year = {2019},
  doi = {10.4230/LIPIcs.MFCS.2019.10},
  url = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.MFCS.2019.10},
  note = {\href{https://doi.org/10.4230/LIPIcs.MFCS.2019.10}{DOI: \nolinkurl{10.4230/LIPIcs.MFCS.2019.10}}}
}

@misc{Ohlmann2026,
  author = {Ohlmann, Pierre},
  title = {A symmetric recursive algorithm for mean-payoff games},
  year = {2026},
  eprint = {2603.07555},
  archivePrefix = {arXiv},
  primaryClass = {cs.GT},
  doi = {10.48550/arXiv.2603.07555},
  url = {https://arxiv.org/abs/2603.07555v1},
  howpublished = {arXiv:2603.07555v1},
  month = {8 March},
  note = {\href{https://doi.org/10.48550/arXiv.2603.07555}{DOI: \nolinkurl{10.48550/arXiv.2603.07555}}}
}

@article{GurvichKarzanovKhachiyan1988,
  author = {Gurvich, Vladimir A. and Karzanov, Alexander V. and Khachiyan, Leonid G.},
  title = {Cyclic games and an algorithm to find minimax cycle means in directed graphs},
  journal = {USSR Computational Mathematics and Mathematical Physics},
  volume = {28},
  number = {5},
  pages = {85--91},
  year = {1988},
  doi = {10.1016/0041-5553(88)90012-2},
  url = {https://doi.org/10.1016/0041-5553(88)90012-2},
  note = {\href{https://doi.org/10.1016/0041-5553(88)90012-2}{DOI: \nolinkurl{10.1016/0041-5553(88)90012-2}}}
}

@article{KarzanovLebedev1993,
  author = {Karzanov, Alexander V. and Lebedev, Vasilij N.},
  title = {Cyclical games with prohibitions},
  journal = {Mathematical Programming},
  volume = {60},
  pages = {277--293},
  year = {1993},
  doi = {10.1007/BF01580616},
  url = {https://alexander-karzanov.net/Publications/93_CYCLIC92_N.pdf},
  note = {\href{https://doi.org/10.1007/BF01580616}{DOI: \nolinkurl{10.1007/BF01580616}}}
}

@article{Pisaruk1999,
  author = {Pisaruk, N. N.},
  title = {Mean Cost Cyclical Games},
  journal = {Mathematics of Operations Research},
  volume = {24},
  number = {4},
  pages = {817--828},
  year = {1999},
  doi = {10.1287/moor.24.4.817},
  url = {https://doi.org/10.1287/moor.24.4.817},
  note = {\href{https://doi.org/10.1287/moor.24.4.817}{DOI: \nolinkurl{10.1287/moor.24.4.817}}}
}

@inproceedings{ChakrabartiEtAl2003,
  author = {Chakrabarti, Arindam and de Alfaro, Luca and Henzinger, Thomas A. and Stoelinga, Mari{\"e}lle},
  title = {Resource Interfaces},
  booktitle = {Embedded Software (EMSOFT 2003)},
  editor = {Alur, Rajeev and Lee, Insup},
  series = {Lecture Notes in Computer Science},
  volume = {2855},
  pages = {117--133},
  publisher = {Springer},
  year = {2003},
  doi = {10.1007/978-3-540-45212-6_9},
  url = {https://doi.org/10.1007/978-3-540-45212-6_9},
  note = {\href{https://doi.org/10.1007/978-3-540-45212-6_9}{DOI: \nolinkurl{10.1007/978-3-540-45212-6_9}}}
}

@inproceedings{BjorklundSandbergVorobyov2004,
  author = {Bj{\"o}rklund, Henrik and Sandberg, Sven and Vorobyov, Sergei},
  title = {A Combinatorial Strongly Subexponential Strategy Improvement Algorithm for Mean Payoff Games},
  booktitle = {Mathematical Foundations of Computer Science 2004},
  series = {Lecture Notes in Computer Science},
  volume = {3153},
  pages = {673--685},
  publisher = {Springer},
  year = {2004},
  doi = {10.1007/978-3-540-28629-5_52},
  url = {https://www.dbai.tuwien.ac.at/staff/vorobyov/mfcs04.pdf},
  note = {\href{https://doi.org/10.1007/978-3-540-28629-5_52}{DOI: \nolinkurl{10.1007/978-3-540-28629-5_52}}}
}

@techreport{AnderssonVorobyov2006,
  author = {Andersson, Daniel and Vorobyov, Sergei},
  title = {Fast Algorithms for Monotonic Discounted Linear Programs with Two Variables per Inequality},
  institution = {Isaac Newton Institute for Mathematical Sciences},
  number = {NI06019-LAA},
  year = {2006},
  month = may,
  url = {https://api.newton.ac.uk/website/v0/events/preprints/NI06019}
}

@article{LifshitsPavlov2007,
  author = {Lifshits, Yury M. and Pavlov, Dmitri S.},
  title = {Potential theory for mean payoff games},
  journal = {Journal of Mathematical Sciences},
  volume = {145},
  number = {3},
  pages = {4967--4974},
  year = {2007},
  doi = {10.1007/s10958-007-0331-y},
  url = {https://doi.org/10.1007/s10958-007-0331-y},
  note = {\href{https://doi.org/10.1007/s10958-007-0331-y}{DOI: \nolinkurl{10.1007/s10958-007-0331-y}}}
}

@inproceedings{BouyerEtAl2008,
  author = {Bouyer, Patricia and Fahrenberg, Uli and Larsen, Kim G. and Markey, Nicolas and Srba, Ji{\v{r}}{\'i}},
  title = {Infinite Runs in Weighted Timed Automata with Energy Constraints},
  booktitle = {Formal Modeling and Analysis of Timed Systems (FORMATS 2008)},
  editor = {Cassez, Franck and Jard, Claude},
  series = {Lecture Notes in Computer Science},
  volume = {5215},
  pages = {33--47},
  publisher = {Springer},
  year = {2008},
  doi = {10.1007/978-3-540-85778-5_4},
  url = {https://doi.org/10.1007/978-3-540-85778-5_4},
  note = {\href{https://doi.org/10.1007/978-3-540-85778-5_4}{DOI: \nolinkurl{10.1007/978-3-540-85778-5_4}}}
}

@article{BrimEtAl2011,
  author = {Brim, Lubo{\v{s}} and Chaloupka, Jakub and Doyen, Laurent and Gentilini, Raffaella and Raskin, Jean-Fran{\c{c}}ois},
  title = {Faster algorithms for mean-payoff games},
  journal = {Formal Methods in System Design},
  volume = {38},
  number = {2},
  pages = {97--118},
  year = {2011},
  doi = {10.1007/s10703-010-0105-x},
  url = {https://doi.org/10.1007/s10703-010-0105-x},
  note = {\href{https://doi.org/10.1007/s10703-010-0105-x}{DOI: \nolinkurl{10.1007/s10703-010-0105-x}}}
}

@article{CaludeJainKhoussainovLiStephan2022,
 author={Calude, Cristian S. and Jain, Sanjay and Khoussainov, Bakhadyr and Li, Wei and Stephan, Frank},
 title={Deciding Parity Games in Quasi-polynomial Time},
 journal={SIAM Journal on Computing}, volume={51}, number={2},
 pages={STOC17-152--STOC17-188}, year={2022},
 doi={10.1137/17M1145288}, url={https://doi.org/10.1137/17M1145288},
  note = {\href{https://doi.org/10.1137/17M1145288}{DOI: \nolinkurl{10.1137/17M1145288}}}
}

@article{LehtinenParysScheweWojtczak2022,
 author={Lehtinen, Karoliina and Parys, Pawe{\l} and Schewe, Sven and Wojtczak, Dominik},
 title={A Recursive Approach to Solving Parity Games in Quasipolynomial Time},
 journal={Logical Methods in Computer Science}, volume={18}, number={1},
 pages={8:1--8:18}, year={2022},
 doi={10.46298/LMCS-18(1:8)2022}, url={https://lmcs.episciences.org/8953},
  note = {\href{https://doi.org/10.46298/LMCS-18(1:8)2022}{DOI: \nolinkurl{10.46298/LMCS-18(1:8)2022}}}
}

@inproceedings{FijalkowGawrychowskiOhlmann2020,
 author={Fijalkow, Nathana{\"e}l and Gawrychowski, Pawe{\l} and Ohlmann, Pierre},
 title={Value Iteration Using Universal Graphs and the Complexity of Mean Payoff Games},
 booktitle={45th International Symposium on Mathematical Foundations of Computer Science (MFCS 2020)},
 series={Leibniz International Proceedings in Informatics (LIPIcs)}, volume={170},
 pages={34:1--34:15}, year={2020},
 publisher={Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
 doi={10.4230/LIPIcs.MFCS.2020.34}, url={https://doi.org/10.4230/LIPIcs.MFCS.2020.34},
  note = {\href{https://doi.org/10.4230/LIPIcs.MFCS.2020.34}{DOI: \nolinkurl{10.4230/LIPIcs.MFCS.2020.34}}}
}

@article{ColcombetFijalkowGawrychowskiOhlmann2022,
 author={Colcombet, Thomas and Fijalkow, Nathana{\"e}l and Gawrychowski, Pawe{\l} and Ohlmann, Pierre},
 title={The Theory of Universal Graphs for Infinite Duration Games},
 journal={Logical Methods in Computer Science}, volume={18}, number={3},
 pages={29:1--29:47}, year={2022},
 doi={10.46298/LMCS-18(3:29)2022}, url={https://lmcs.episciences.org/10012},
  note = {\href{https://doi.org/10.46298/LMCS-18(3:29)2022}{DOI: \nolinkurl{10.46298/LMCS-18(3:29)2022}}}
}

@misc{Zwick2026,
 author={Zwick, Uri},
 title={Improved subexponential analysis of the {Random-Action-Removal} algorithm for 2-player turn-based games and non-binary {AUSOs}},
 year={2026},
 howpublished={arXiv:2607.06334v1},
 eprint={2607.06334}, archivePrefix={arXiv}, primaryClass={cs.DS},
 doi={10.48550/arXiv.2607.06334},
 url={https://arxiv.org/abs/2607.06334v1},
  note = {\href{https://doi.org/10.48550/arXiv.2607.06334}{DOI: \nolinkurl{10.48550/arXiv.2607.06334}}}
}

@inproceedings{DaviaudJurdzinskiLazic2018,
  author = {Daviaud, Laure and Jurdzi{\'n}ski, Marcin and Lazi{\'c}, Ranko},
  title = {A Pseudo-Quasi-Polynomial Algorithm for Mean-Payoff Parity Games},
  booktitle = {Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science},
  series = {LICS '18},
  year = {2018},
  pages = {325--334},
  publisher = {ACM},
  doi = {10.1145/3209108.3209162},
  url = {https://arxiv.org/abs/1803.04756},
  eprint = {1803.04756},
  archivePrefix = {arXiv},
  primaryClass = {cs.GT},
  note = {\href{https://doi.org/10.1145/3209108.3209162}{DOI: \nolinkurl{10.1145/3209108.3209162}}}
}

@inproceedings{LoffSkomra2024,
  author = {Loff, Bruno and Skomra, Mateusz},
  title = {Smoothed Analysis of Deterministic Discounted and Mean-Payoff Games},
  booktitle = {51st International Colloquium on Automata, Languages, and Programming (ICALP 2024)},
  series = {Leibniz International Proceedings in Informatics (LIPIcs)},
  volume = {297},
  pages = {147:1--147:16},
  year = {2024},
  editor = {Bringmann, Karl and Grohe, Martin and Puppis, Gabriele and Svensson, Ola},
  publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  doi = {10.4230/LIPIcs.ICALP.2024.147},
  url = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICALP.2024.147},
  eprint = {2402.03975},
  archivePrefix = {arXiv},
  primaryClass = {cs.GT},
  note = {\href{https://doi.org/10.4230/LIPIcs.ICALP.2024.147}{DOI: \nolinkurl{10.4230/LIPIcs.ICALP.2024.147}}}
}

@inproceedings{CadilhacCasaresOhlmann2025,
  author = {Cadilhac, Micha{\"e}l and Casares, Antonio and Ohlmann, Pierre},
  title = {Fast Value Iteration: A Uniform Approach to Efficient Algorithms for Energy Games},
  booktitle = {Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2025), Part II},
  editor = {Gurfinkel, Arie and Heule, Marijn},
  series = {Lecture Notes in Computer Science},
  volume = {15697},
  pages = {323--342},
  year = {2025},
  publisher = {Springer},
  doi = {10.1007/978-3-031-90653-4_16},
  url = {https://link.springer.com/chapter/10.1007/978-3-031-90653-4_16},
  eprint = {2110.07346},
  archivePrefix = {arXiv},
  primaryClass = {cs.GT},
  note = {\href{https://doi.org/10.1007/978-3-031-90653-4_16}{DOI: \nolinkurl{10.1007/978-3-031-90653-4_16}}}
}

@inproceedings{DorfmanKaplanZwick2026,
  author = {Dorfman, Dani and Kaplan, Haim and Zwick, Uri},
  title = {Improved Bounds for Strategy Improvement Algorithms for Energy Games},
  booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
  series = {Leibniz International Proceedings in Informatics (LIPIcs)},
  volume = {388},
  pages = {140:1--140:18},
  year = {2026},
  editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
  publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  doi = {10.4230/LIPIcs.ESA.2026.140},
  url = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.140},
  note = {\href{https://doi.org/10.4230/LIPIcs.ESA.2026.140}{DOI: \nolinkurl{10.4230/LIPIcs.ESA.2026.140}}}
}

@misc{Truffet2026SubstitutionV4,
 author={Truffet, Laurent},
 title={Substitution for minimizing/maximizing a tropical linear (fractional) programming},
 year={2026}, howpublished={arXiv:2603.26423v4, August 29},
 doi={10.48550/arXiv.2603.26423}, url={https://arxiv.org/abs/2603.26423v4},
 note={\href{https://arxiv.org/abs/2603.26423v4}{arXiv:2603.26423v4}}
}

@misc{Truffet2025MaxAtoms,
 author={Truffet, Laurent},
 title={Looking For All Solutions of a Set of Max-Atoms Solves the Max Atom Problem in Strongly Polynomial Time},
 year={2025}, howpublished={Mod\'elisation des Syst\`emes R\'eactifs (MSR 2025)},
 url={https://hal.science/hal-05491586},
 note={\href{https://hal.science/hal-05491586}{HAL: hal-05491586}}
}

@inproceedings{ArnoldNiwinskiParys2021,
 author={Arnold, Andr{\'e} and Niwi{\'n}ski, Damian and Parys, Pawe{\l}},
 title={A Quasi-Polynomial Black-Box Algorithm for Fixed Point Evaluation},
 booktitle={29th EACSL Annual Conference on Computer Science Logic (CSL 2021)},
 series={Leibniz International Proceedings in Informatics (LIPIcs)},
 volume={183}, pages={9:1--9:23}, year={2021},
 publisher={Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
 doi={10.4230/LIPIcs.CSL.2021.9},
 url={https://doi.org/10.4230/LIPIcs.CSL.2021.9}
}
@misc{JurdzinskiMorvanOhlmannThejaswini2020,
 author={Jurdzi{\'n}ski, Marcin and Morvan, R{\'e}mi and Ohlmann, Pierre and Thejaswini, K. S.},
 title={A symmetric attractor-decomposition lifting algorithm for parity games},
 year={2020}, howpublished={arXiv:2010.08288v1},
 eprint={2010.08288}, archivePrefix={arXiv},
 url={https://arxiv.org/abs/2010.08288v1}
}
@inproceedings{DorfmanKaplanZwick2019,
 author={Dorfman, Dani and Kaplan, Haim and Zwick, Uri},
 title={A Faster Deterministic Exponential Time Algorithm for Energy Games and Mean Payoff Games},
 booktitle={46th International Colloquium on Automata, Languages, and Programming (ICALP 2019)},
 series={Leibniz International Proceedings in Informatics (LIPIcs)},
 volume={132}, pages={114:1--114:14}, year={2019},
 publisher={Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
 doi={10.4230/LIPIcs.ICALP.2019.114},
 url={https://doi.org/10.4230/LIPIcs.ICALP.2019.114},
 note={An updated author version contains the weight-independent bound in Theorem~3.10: \url{https://danidorfman.com/publication/energy-games/energy-games.pdf}}
}
@inproceedings{Kozachinskiy2021,
 author={Kozachinskiy, Alexander},
 title={Polyhedral Value Iteration for Discounted Games and Energy Games},
 booktitle={Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA)},
 editor={Marx, D{\'a}niel},
 pages={600--616}, year={2021}, publisher={SIAM},
 doi={10.1137/1.9781611976465.37},
 url={https://doi.org/10.1137/1.9781611976465.37},
 note={\href{https://doi.org/10.1137/1.9781611976465.37}{DOI: \nolinkurl{10.1137/1.9781611976465.37}}}
}
@article{AkianGaubertGuterman2012,
 author={Akian, Marianne and Gaubert, St{\'e}phane and Guterman, Alexander},
 title={Tropical polyhedra are equivalent to mean payoff games},
 journal={International Journal of Algebra and Computation},
 volume={22}, number={1}, pages={1250001}, year={2012},
 doi={10.1142/S0218196711006674},
 url={https://doi.org/10.1142/S0218196711006674}
}

@misc{OpenAI2026Randomized,
  author = {{OpenAI}},
  title = {{Randomized quasipolynomial-time mean-payoff games}},
  howpublished = {OpenAI Math Release preprint
                  \href{https://github.com/openai/math/blob/main/preprints/Randomized-quasipolynomial-time-mean-payoff-games-September-25-2026/paper.pdf}{OAI:Randomized-quasipolynomial-time-mean-payoff-games-September-25-2026}},
  year = {2026}
}

@inproceedings{ThejaswiniOhlmannJurdzinski2022,
 author = {Thejaswini, K. S. and Ohlmann, Pierre and Jurdzi{\'n}ski, Marcin},
 title = {A Technique to Speed up Symmetric Attractor-Based Algorithms for Parity Games},
 booktitle = {42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2022)},
 editor = {Dawar, Anuj and Guruswami, Venkatesan},
 series = {Leibniz International Proceedings in Informatics (LIPIcs)},
 volume = {250}, pages = {44:1--44:20}, year = {2022},
 publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
 doi = {10.4230/LIPIcs.FSTTCS.2022.44},
 url = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FSTTCS.2022.44},
 note = {\href{https://doi.org/10.4230/LIPIcs.FSTTCS.2022.44}{DOI: \nolinkurl{10.4230/LIPIcs.FSTTCS.2022.44}}}
}

@misc{AustinDellErba2023,
  author = {Austin, Peter and Dell'Erba, Daniele},
  title = {Errata to: {``Faster Deterministic Exponential Time Algorithm for Energy Games and Mean Payoff Games''}},
  year = {2023},
  howpublished = {arXiv:2310.04130v1, October 6},
  eprint = {2310.04130},
  archivePrefix = {arXiv},
  primaryClass = {cs.DS},
  doi = {10.48550/arXiv.2310.04130},
  url = {https://arxiv.org/abs/2310.04130v1}
}
==== END Deterministic-quasipolynomial-time-mean-payoff-games//references.bib ====