Imagine a sealed box that accepts a tuple of matrices and returns the value of a hidden formula. Some queries fail because an intermediate matrix has no inverse. Which queries can you choose in advance so that every nonzero formula of a given size gives you a decisive answer? OpenAI’s September 24, 2026 preprint gives polynomial identity testing with division a deterministic answer over the rationals. From the number of variables and a tree-size bound alone, it constructs a polynomial-size list of rational matrix tuples. Every admissible nonzero formula has a defined, invertible value on at least one tuple, even when inverses are nested. The preprint appeared in OpenAI’s October mathematics release.
Table of Contents
1. What Is Polynomial Identity Testing for Noncommutative Rational Formulas?
A formula is a rooted tree. Leaves hold variables or rational constants, binary gates add or multiply their inputs in order, and unary gates take inverses. Size counts every vertex, including leaves and inverse gates. At a matrix substitution of dimension , a constant becomes , where is the identity matrix. Every variable receives a square rational matrix of that same dimension.
| Item | Guarantee |
|---|---|
| Input to the generator | Number of variables and maximum number of formula-tree vertices |
| Formula class | Admissible noncommutative rational formulas over the rationals, with nested inverses allowed |
| What a hit certifies | Every inverse is defined and the output matrix is invertible |
| Output | A fixed list of rational matrix tuples of one common dimension |
| Guarantee | Polynomial bit time, matrix dimension, and total binary output length |
A formula is admissible if it is defined at some rational matrix tuple of some positive dimension. It is nonzero if some defined rational evaluation yields a nonzero matrix. For admissible formulas, the identity question asks whether every defined evaluation is zero. In black-box polynomial identity testing, the tester queries values and can receive an undefined response. A hitting list lets it schedule all queries in advance, with the same schedule for every formula within the bound.
2. Why Ordinary Substitutions Cannot Detect Noncommutative Identities
The polynomial vanishes on every scalar pair because scalar multiplication commutes. Matrix multiplication distinguishes the operations described by its two monomials. Put a single one above the diagonal in the first matrix and a single one below the diagonal in the second.
Multiplying in the first order produces a one in the upper-left corner. Reversing the order moves that one to the lower-right corner. The difference is invertible, with determinant .
These same inputs also show why the domain matters once inverse gates appear. Each input is singular even though their commutator is invertible. An expression that needs to invert one of the inputs would therefore fail on this pair.
3. Why Division Makes Rational Identity Testing Harder
An inverse gate requires its operand to be invertible after all gates below it have been evaluated. Take the formula , with subtraction implemented using addition and multiplication by . It returns the zero matrix whenever is invertible. At , evaluating the inverse fails. Replacing the whole formula by the constant zero would change which tuples the tree accepts.
A nested expression such as has two inverse occurrences. Evaluating the outer inverse requires a value from the inner one first. At a proposed tuple, a defined zero is a valid evaluation that fails to witness nonzeroness. An undefined response supplies no value at all. A rational identity testing list must hit the domain and the nonzero condition at the same point.
4. What Earlier Deterministic Methods Achieved
For division-free formulas and noncommutative algebraic branching programs, Raz and Shpilka gave deterministic polynomial-time tests with access to the computation. Bogdanov and Wee used randomized matrix queries for bounded-degree noncommutative polynomials. Forbes and Shpilka built deterministic quasipolynomial-size matrix hitting sets for noncommutative branching programs, a class that includes division-free formulas.
For rational formulas, Derksen and Makam obtained randomized polynomial-time identity testing. Operator scaling and constructive noncommutative-rank algorithms yielded deterministic polynomial-time white-box tests, with coefficient encodings included in their bit costs. Access to the formula or its coefficients gives those algorithms information a value oracle withholds. Arvind, Chatterjee, and Mukhopadhyay obtained quasipolynomial-size rational matrix hitting sets for unrestricted inverse nesting. Their work already used invertible evaluations. The open construction problem was to generate a coefficient-independent black-box list with polynomial bounds on size, matrix dimension, and the cost of writing it down.
5. The Main Theorem Gives a Polynomial-Size Hitting List
Theorem 1.1 of the paper supplies one deterministic Turing machine and fixed positive integers . For every , the machine receives , the unary encodings of the number of variables and size bound. It outputs a finite list of rational matrix -tuples. Both the generation time in bit operations and the entire binary output length are at most . Entries are encoded with signed binary numerators and positive binary denominators. The construction uses one common positive matrix dimension for the whole list.
For every nonzero admissible formula in variables with at most vertices, some listed tuple makes the original tree evaluable and its result invertible. Different formulas can have different successful tuples. Invertibility is stronger than nonzeroness because a nonzero matrix can still have a kernel. Requiring full rank connects the hitting property to determinants, which the proof can preserve through specialization.
6. Encoding Formula Trees as Affine Matrix Pencils

An affine pencil of order is a square matrix with entries affine in the variables. The coefficients are rational matrices of order . At a dimension- tuple, tensor products replace each scalar coefficient by the corresponding block multiple of the variable’s matrix or of .
For each subtree , the paper constructs a pencil of order and constant selectors . When the subtree is defined, its value is , with the selectors tensored with at a matrix input. A leaf uses an upper-triangular pencil with unit diagonal and upper-right entry . Addition stacks the two child pencils on the diagonal and selects the sum. Ordered multiplication puts the constant block above the child pencils, so the selected part of the inverse multiplies the two values in the order .
At an inverse gate , the new pencil borders with and , with zero in the lower-right block. Once the child is defined, eliminating its invertible block leaves the Schur complement . The gate pencil is invertible exactly when the required operand is invertible. Bordering the root in the same way checks invertibility of the final value. The proof checks inverse occurrences from leaves upward, using at most certificates of order at most .
For the nested example, take , and . At a scalar input , the inverse pencil for adds a row and column to the two-by-two leaf pencil.
Its determinant is . The bottom-right entry of its inverse is for , so the negative row selector recovers . The outer inverse pencil has determinant . The root augmentation has determinant . At zero, the inner inverse pencil supplies the only failed certificate. This is why the proof keeps a pencil for each inverse occurrence.
7. Taylor Reversal, Wronskians, and Small-Subspace Expansion
Write , , and let be the smallest power of two greater than . Set . The rectangular map sends polynomials of degree less than to polynomials of degree less than . It expands the input about , for . If is the Taylor coefficient at order , the map reverses the exponents and weights each term by .
The proof works over the field of formal Laurent series. Integral coefficients have no negative powers of , and a unit has a nonzero constant term. An integral input with a unit Taylor coefficient at index at most has an image whose first nonzero term in uses only indices at most . After reversal, that term vanishes to order at least at . The proof uses reductions of integral vectors to keep the subspace dimensions intact when passing to rational coefficients.
For an -dimensional rational space of polynomials of degree less than , let be its distinct basis vanishing orders at , obtained by Taylor elimination. The Wronskian, a determinant of basis polynomials and their successive derivatives, has order there. Its degree is at most , which bounds the total order at the chosen points. Applying this bound to the reduced input and image spaces gives whenever has dimension . The padding width gives the reversed terms an extra vanishing margin. If the image span had dimension at most , its largest vanishing orders at the points would already exceed the bound from its Wronskian. The contradiction applies to subspaces chosen after the test maps are fixed, including those whose coefficients depend on .
A kernel vector for would yield a common input subspace that all the send into a strictly smaller output subspace. That shrinkage persists after tensoring with any matrix substitution and contradicts feasibility, meaning the existence of an invertible evaluation over an extension of the rationals. Padding with zero columns gives square matrices . Injectivity before padding yields the paper’s near-full rank bound.
8. Division-Algebra Deformation Turns Almost-Full Rank Into Full Rank

The lift uses a primitive th root of unity , a diagonal matrix with entries , and the cyclic shift . With independent parameters , the matrices and commute up to the factor . Localizing at nonzero central polynomials in gives a finite-dimensional division algebra. Its nonzero elements have inverses. Fourier expansion in diagonal and shift powers lifts each into this algebra and recovers it at .
A nonzero minor from the padded evaluation survives as a nonzero polynomial in the lift. Block elimination over the division algebra reduces a matrix to identity and zero blocks. Ordinary rank is therefore a multiple of . Since the lifted pencil’s rank lies strictly above and at most , it must be . The paper also applies the lift to an initial defined nonzero formula evaluation. The original inverse gates stay defined over the extension, and the lifted nonzero value belongs to the division algebra, so it is invertible. At the original tuple the final matrix may have been singular. The witness for the formula’s certificates lives over the extension field, where the deformation makes the final matrix invertible.
9. Constructing Rational Matrix Hitting Lists From a Fixed Integer Grid

To remove complex coefficients, the generator works in with . It represents multiplication by each coefficient as a rational matrix in the power basis. Over the complex numbers this representation splits into one block per root of . All these roots are primitive th roots of unity, and a rational block matrix is invertible exactly when every root block is invertible.
For a fixed formula, take the product of the lifted determinant polynomials for every certificate and every root, including the constant pencil needed for normalization. Every factor is nonzero and has total degree at most . The product has degree at most , strictly below . It cannot vanish on the entire grid . Fix two coordinates and use the univariate root bound on the first. If all grid values vanish, every coefficient vanishes on the remaining grid. Repeating the argument for both remaining coordinates makes the polynomial zero.
At every grid triple the generator forms rational matrices via the multiplication representation. It skips singular and emits the normalized matrices below. Left multiplication by restores the affine constant term . A grid point where the product survives makes every certificate invertible at once.
10. Why the Construction Is Polynomial-Time Despite Arbitrary Inverse Depth
The generator enumerates a grid in three parameters, regardless of the number of formula variables or inverses. With , the paper obtains the following upper bounds for its explicit construction.
| Quantity | Upper Bound |
|---|---|
| Padded block order | |
| Grid side length | |
| Grid triples examined | |
| Common output dimension | |
| Bits per rational entry | |
| Total encoded list length | bits |
The generator clears the common denominator and works with integer matrices before normalization. Exact elimination computes determinants with polynomially bounded intermediate bit lengths, and ratios of determinants give the output entries. The formula-specific certificate pencils and determinant product appear only in the proof. The generator never reads the formula, searches for its initial witness, or receives coefficient bit lengths. Large rational constants can change where a hit occurs, while the polynomial degree bound and the grid depend only on size parameters. Evaluating an unknown formula can still cost more as coefficient encodings grow. The exponents describe theoretical upper bounds and give no measured runtime.
11. What the Proof Establishes for Noncommutative Rank and Its Limits
Corollary 5.2 gives a hit for any feasible rational square affine pencil of order at most . Corollary 6.1 extends the method to a rectangular pencil with rows, columns, and variables. Its noncommutative rank is its rank over the free skew field. The paper pads the pencil with variable blocks so that invertibility of a square completion certifies a chosen rank threshold. At matrix dimension , the threshold requires rank at least . The new blocks can fill the missing rows and columns precisely when the evaluated pencil meets that threshold. It then projects the hitting list onto the original variables. Here is the evaluated -by- block matrix and depends only on the three size parameters.
Exact matrix values or ordinary ranks suffice. The maximum is exact without rounding, although individual ratios can be fractional. The formula theorem covers bounded-size trees over the rationals. Its guarantees leave general arithmetic circuits, which can share intermediate results, and finite fields outside its scope. OpenAI’s Lean documentation identifies the main rational hitting-list theorem, including the machine and encoding bounds, as the formalized result. The rectangular rank identity is a corollary in the paper.
For polynomial identity testing with division, the advance is a universal query schedule whose successful hit respects the original tree’s domain. The test points can be chosen before the coefficients are known because the proof bounds the degrees of the determinant conditions they must satisfy. Explore more proofs in theoretical computer science at Binary Verse AI.
1. What is polynomial identity testing for noncommutative rational formulas?
It asks whether a formula built from rational constants, noncommuting variables, addition, ordered multiplication, and inversion evaluates to zero at every matrix substitution where it is defined. The paper constructs a deterministic hitting list for admissible formulas over the rationals within a prescribed tree-size bound.
2. Why can’t ordinary numbers detect every noncommutative polynomial identity?
Scalar multiplication is commutative, so the difference between x₁x₂ and x₂x₁ evaluates to zero on every scalar substitution. Suitable matrices give different products in the two orders, so their difference reveals that the expression is nonzero.
3. What is a polynomial hitting list, and how does it enable deterministic identity testing?
A hitting list is a predetermined collection of evaluation points guaranteed to reveal every nonzero formula in a specified class. The paper constructs rational matrix tuples using only the number of variables and the formula-size bound. Every admissible nonzero formula has at least one listed evaluation that is defined and invertible. The construction uses no random choices.
4. How does the proof handle division by zero and nested inverse gates?
It converts the inverse requirements of the original formula tree into affine-matrix invertibility certificates. A successful matrix tuple satisfies every certificate, ensuring that all required inverses exist. This preserves the original domain restrictions even when algebraic cancellations would hide an inverse.
5. What is new compared with previous noncommutative rational identity-testing algorithms?
Earlier deterministic black-box constructions for unrestricted inverse nesting gave quasipolynomial-size hitting sets. The new proof establishes polynomial bounds on the list size, matrix dimensions, construction time, and total binary encoding length. Previous research already handled unrestricted inverse nesting and used invertible evaluations.
6. How does the proof guarantee an invertible evaluation rather than merely a nonzero one?
Taylor-reversal maps and Wronskian bounds establish a near-full rank bound for feasible affine pencils. A division-algebra deformation forces block ranks to be multiples of a fixed dimension, so a rank sufficiently close to full must be full. Rational specialization preserves the required determinant conditions and produces the matrix tests.
7. Does this proof solve polynomial identity testing for arbitrary arithmetic circuits?
The theorem covers bounded-size noncommutative rational formula trees over the rationals. Arbitrary arithmetic circuits can share subcomputations and fall outside this theorem. The polynomial-time bound covers construction of the universal list. Evaluation costs can still depend on the coefficient encoding lengths and the oracle.
