Take two linear programs with the same number of variables and constraints. In one, the coefficients fit on a napkin. In the other, writing them out takes a thousand pages. Can the same bound on arithmetic work cover both? OpenAI’s November 24, 2026 preprint answers yes. It gives a deterministic algorithm for strongly polynomial linear programming with arbitrary real coefficients, answering Smale’s ninth problem as stated in 1998. The algorithm uses changes of scale to locate an exact certificate of optimality, infeasibility, or unboundedness.
Table of Contents
1. Strongly Polynomial Linear Programming: A 28-Year Mathematical Barrier
Theorem 1 maximizes subject to . Here lists the constraint coefficients, gives their bounds, gives the objective coefficients, and is the decision vector. The superscript means transpose, and vector inequalities apply entry by entry.
2. What Is Smale’s Ninth Problem?
Khachiyan showed that rational linear programs can be solved in time polynomial in the number of bits needed to write the input. Megiddo asked whether the number of arithmetic operations could instead be bounded using the dimensions alone. Tarjan raised the question for real data, and Smale listed it as his ninth problem. In the real arithmetic model, an exact comparison counts as one operation even if its operands are extremely close. For rational inputs, the separate bit-length guarantee keeps those operations from hiding an explosion in storage or bit work.
Consider maximizing over , where is a positive integer. The endpoint values are and . Approximating both to within half their separation takes absolute precision finer than , even though the problem always has one variable and two constraints. An exact sign comparison on the objective coefficient selects .
3. Why Existing Linear Programming Algorithms Could Not Break the Barrier
The ellipsoid method uses encoding-length bounds to decide how far to shrink its search region. Interior-point methods move through the feasible region, typically following a central path, and exact recovery must account for precision. Some central paths require exponentially many straight segments to follow within a prescribed neighborhood. Simplex walks between adjacent feasible bases. The Klee–Minty examples force exponentially many pivots under a classical rule, while large graph diameter can force long walks even under a favorable choice of edges.
Tardos made the operation count depend on the encoding of the constraint matrix alone. That yields strongly polynomial algorithms for matrices with short encodings, such as those with entries in . Other approaches use circuit imbalance, the largest within-circuit ratio of nonzero magnitudes. The paper exhibits a fixed-size matrix with two circuits whose first-to-second coordinate ratios are reciprocal. Column scaling multiplies both ratios by the same factor, so some imbalance remains arbitrarily large. The new proof changes scale from query to query to reveal whichever entries matter at that moment.
4. Inside OpenAI’s Proof: The Complete Mathematical Roadmap
OpenAI’s release materials attribute the manuscript to an unnamed internal model. The roadmap follows the manuscript’s mathematical dependencies.
- Turn feasibility into a certificate search. Put evidence for feasibility and infeasibility in perpendicular spaces. Ask which space can supply a nonnegative vector with a positive entry at a designated coordinate.
- Change coordinate units. A tiny positive entry can be decisive. Enlarge it on one side and shrink the paired entry on the other to preserve orthogonality.
- Compress the geometry. Replace the determinant logarithms that govern relative sizes with short surrogates. Use them to build a rational basis estimate for each query.
- Test for visible entries. Solve small-encoding rational feasibility problems on that estimate. The tests give trustworthy labels where a rescaled witness entry is large enough.
- Combine the partial labels. Choose new scales using extremal-price queries until the combined evidence identifies the side of every coordinate.
- Recover in the original units. Delete coordinates while the target witness survives. Solve for the resulting one-dimensional witness exactly and use feasibility tests to certify the optimization outcome.
5. Transforming Linear Programming into an Exact Certificate Search

The slack records how much room remains in each inequality. Introduce a homogenizing scalar so the slack construction forms a subspace of dimension at most , with last coordinate . Its orthogonal complement is .
For the second identity, pair with a vector of . The inner product is . It vanishes for every and exactly when both coefficients vanish. A nonnegative vector in with yields a feasible point after dividing by . A nonnegative vector in positive in its last coordinate gives , contradicting for any feasible point.
Farkas’ lemma gives existence of a witness on one side for any designated coordinate. Two nonnegative vectors positive at that coordinate would have a positive inner product, so orthogonality gives uniqueness of the side. A witness with inclusion-minimal support is a circuit, meaning a nonzero vector with minimal support in its subspace. This reduces certificate discovery to learning sides and recovering one sparse direction.
6. Extremal Prices: Revealing What Numerical Precision Conceals
A price rescales coordinate of by and its partner in by in the idealized test. Their factors multiply to one. For the paper’s circuit , the price change from to scales the first entry by and maps to . Both entries now clear the ideal visibility threshold, half the largest entry.
A slot pairs a coordinate with a side . A hypothesis gives a nonempty set of slots and integer demands , where is an integer. At prices , the surplus is . Theorem 2 calls a hypothesis consistent if, at every query, each slot tied for the largest surplus on its support receives the label whenever that maximum is nonnegative. Other labels can be arbitrary. The procedure returns rational prices satisfying for every slot of every consistent hypothesis. Its bit time is polynomial in the number of coordinates and . Positive demands allow the sign of to encode the witness side.
7. Calibrating the Geometry: How Approximation Preserves Exactness

Actual queries need a surrogate for scaling factors that can be too large to write down. Theorem 3 starts with a row basis of the paired space . Taking determinants with all but one column fixed yields cofactor vectors. The same construction describes elimination rows and circuit directions. This is why the ratios needed for basis coefficients and the ratios needed for visibility can be controlled through one collection of minors.
Calibration uses short logarithmic substitutes to choose pivots and record normalized magnitudes on a fine grid. A feasibility argument lifts those grid constraints to a single reciprocal scaling in the original geometry for each query. The returned rational matrix approximates a true row basis of entrywise within for a chosen precision . Sup-norm-one vectors in have bounded expansion coefficients, and every surplus-maximizing slot on a circuit has magnitude at least one third of its largest scaled entry. All queries between restarts use a common assignment of positive demands.
For each coordinate the label test seeks a bounded row combination of with mildly negative entries allowed, an upper bound of two, and a positive-slot entry of at least . A true witness at the visibility threshold passes on its own side despite approximation. In , the sum of products of paired coordinates is exactly zero. If both slots passed, the midpoint would have a substantial positive paired product that the tiny negative products could barely offset, violating the error bound. This allows ordinary bit-polynomial rational LP to provide the labels on short data.
8. Logarithmic Compression: Breaking the Coefficient-Size Barrier
Even the base-two logarithms of minor magnitudes can be arbitrarily far apart. Theorem 4 extends the Frank–Tardos rounding idea to online requests. It returns short rational substitutes that preserve the signs, including zeros, of bounded integer affine forms in slightly perturbed logs. The guarantee extends to all nonzero minors through a common assignment within each run. Enumeration would be expensive because the number of minors can be exponential.
Suppose the subset sums of exact minor logs are separated by more than two. The corresponding products then grow by more than a factor of two in sorted order. Each subset of those products has a different sum, because the largest differing term outweighs all smaller terms together. That gives distinct values of integer polynomials in the original entries. Counting those polynomials using their degree and coefficient bounds limits to a polynomial in the matrix dimensions. The proof preserves separation when working with accurate log proxies.
Lattice reduction supplies scales for the selected minors. Each requested proxy is expressed in bounded integer digits at those scales, plus a small remainder, or it enlarges the separated set. A new independent scale restarts the price search with the expanded set retained. The counting bound limits the restarts. Comparisons of products of powers of minors can resolve exceptionally large log comparisons without a logarithm instruction on arbitrary real inputs.
9. Learning from Extremal Prices: The Algorithm’s Recursive Engine
Imagine an expert for every hypothesis, betting on a slot of greatest surplus and abstaining when all surpluses are negative. Prices minimize the wealth-weighted sum of maximum utilities, so opposite bets balance at each coordinate with suitable splitting of ties. Total wealth can be kept from increasing. A consistent expert gains a fixed factor on each round when a demand goes unmet, so only a logarithmic number of such rounds can occur in the full-pool argument.
The actual algorithm groups experts that guess four slots and a threshold pivot. A recursive call moves from proposal to . If the child lowers every surplus to at most , a slot with original surplus at least can infer its side from the direction of the price change, with a fresh query at resolving equality. Weighted surplus quantiles choose thresholds that make a substantial share of slots informative when many demands remain violated. Reweighting persistent violations limits depth to . Wealth accounting bounds branching below the root, and grouping constant-dimensional guesses avoids enumerating all demand values. Coordinatewise medians preserve demand bounds met by a majority of proposals.
10. Completing the Proof: Exact Solutions and Strongly Polynomial Complexity

Once the signs identify a witness side, the algorithm tries setting each nontarget coordinate to zero. It keeps a restriction only if a witness still exists. If the final restricted space had an independent second direction, it could be adjusted to vanish at the target. Following that direction until another entry hits zero would contradict minimal support. Linear algebra therefore recovers an exact oriented generator. On the infeasible side, a minimally dependent column set has at most one more entry than its defining matrix’s rank. Here that rank is . Removing the homogenizing entry leaves at most nonzeros in the Farkas multiplier.
For a feasible program, the algorithm tests for an improving recession ray. If none exists, it solves a joint linear feasibility system for primal and dual solutions with equal objective values and . Equal values give zero duality gap, and the strict inequality ensures strict complementarity. Polynomially many tests and restarts, short query encodings, and bounded rational intermediate lengths give Theorem 1. Rebuilding each restricted basis from the original input prevents bit growth from chained eliminations. The arithmetic argument extends to ordered fields.
OpenAI’s Lean scope covers rational feasibility and optimization in a rational RAM model, including sparse infeasibility witnesses, primal and dual optima of equal value, and normalized improving rays. The Lean comparator specifies those guarantees. The manuscript gives the arbitrary-real theorem and its stronger strict-complementarity output.
11. Beyond Linear Programming: Quadratic Optimization and Mean-Payoff Games
Theorem 5 searches for the support of a solution to monotone linear complementarity. Each pair consists of entries of and , with and positive semidefinite. A quadratic test supplies labels, then linear feasibility recovers the solution on the chosen support. Corollary 6 uses this to solve convex quadratic programs exactly in strongly polynomial time, including certificates for infeasibility or an unbounded objective.
A max-norm contraction gives reliable directions in coordinates of greatest fixed-point error. Theorem 8 exploits this to approximate its fixed point. Theorem 11 combines fixed-point computation with policy evaluation to recover exact values and optimal strategies for finite turn-based perfect-information games. The bound improves on earlier quasipolynomial results for deterministic mean-payoff games. It is strongly polynomial for deterministic games and bit-polynomial for stochastic games with rational data.
12. What OpenAI’s Proof Changes and What It Leaves Open
The companion polynomial Hirsch paper gives simple rational polytopes with superpolynomial edge diameter in the number of facets. The two results fit together because the pricing algorithm can recover a certificate without walking the edges. Whether an implementation competes with mature simplex or interior-point solvers is an empirical question. Independent review can assess the broader mathematical claims alongside the released Lean material.
Integer programming adds discrete constraints and includes NP-hard problems such as bin packing. The result leaves P versus NP unresolved. The manuscript itself asks whether strongly polynomial linear programming can use only predicates of polynomial degree. Some comparisons in this proof have exponential degree. Follow Binary Verse AI for paper-first analysis of what mathematical results establish and how their proofs work.
What is strongly polynomial linear programming?
It solves linear optimization with an arithmetic operation count bounded by a polynomial in the numbers of variables and constraints, independently of coefficient magnitudes or encoding lengths. For rational data, intermediate bit lengths are also polynomial in the full binary input length.
How does OpenAI’s proof address Smale’s ninth problem?
The manuscript constructs a deterministic algorithm for general linear programming. It uses reciprocal scaling, compressed logarithms of matrix minors, and extremal-price queries to find the support of a certificate, then recovers it exactly by linear algebra.
What is the difference between polynomial and strongly polynomial linear programming?
An ordinary polynomial-time bound for rational linear programming can depend on the full binary input length. A strongly polynomial algorithm bounds the arithmetic operation count by the dimensions alone and keeps intermediate rational bit lengths polynomial in the input length.
Why is OpenAI’s linear programming algorithm different from simplex?
Simplex pivots between adjacent feasible bases and can take exponentially many pivots under certain rules. OpenAI’s method uses coordinate rescaling and partial sign information to identify a certificate, then reconstructs it through linear algebra.
Will OpenAI’s algorithm outperform existing optimization solvers?
That remains an empirical question. The preprint proves an asymptotic guarantee. Its recursive searches, calibration, and feasibility subroutines can carry substantial overhead, and the paper gives no solver benchmark establishing a practical speed advantage.
Has OpenAI’s linear programming proof been formally verified?
OpenAI released a Lean formalization scoped to rational-input feasibility and optimization in a specified rational RAM model. The manuscript gives the arbitrary-real theorem. Independent verification of the broader claims is a separate matter.
Does strongly polynomial linear programming solve integer programming or P versus NP?
No. It applies to continuous linear programs. General integer programming imposes integrality constraints and includes NP-hard problems, so this result leaves P versus NP unresolved.
