Explainer ·
Invariant subspace counterexample: how the construction and the Lean proof work (technical)
Anthropic's paper of December 2, 2026, credited to Claude, claims a bounded operator T on ℓ² whose only closed invariant subspaces are {0} and ℓ². T is a limit of operators on ℓ² that extend finite-dimensional nilpotent operators, each of those built from many copies of the one before, coupled by small perturbations. The claim comes with a Lean proof that Anthropic's repository check accepted. It is not yet independently verified or peer reviewed.
This page follows the paper's construction and proof at a high level, quotes the Lean statement exactly, says what the automatic check establishes, and explains the one thing it cannot establish: whether Mathlib's definitions say what the problem says. Everything here comes from the paper and the repository files, which I read; what I did not read is marked.
For the question in plain words, see What is the invariant subspace problem?; for the status in short, Did AI solve the invariant subspace problem?.
Blocks
The building unit is what the paper calls a block: a finite-dimensional complex Hilbert space K of dimension d with an operator t such that t^d = 0 (t is nilpotent) and some vector e for which e, te, ..., t^(d−1)e is a basis (e is a cyclic vector). A block is a finite version of a shift: applying t moves each basis vector one place along the chain, and the last one goes to zero.
Two facts about blocks drive the argument. First, every nonzero vector v generates, under polynomials in t, exactly one of the subspaces ran t^k (the range of t^k), so the invariant subspaces of a block form a single chain. Second, the paper works with I(t) = t²ℂ[t], the polynomials in t with no constant or linear term, and with I₁(t), those of norm at most 1. A contraction is an operator of norm at most 1. The paper attaches to each block a constant L(t) ≥ 1, built from the coefficients of the polynomials in I₁(t), and proves that if t is replaced by a nearby contraction, a polynomial in I₁(t) moves by at most L(t) (or 2L(t)) times the distance between the two operators (its estimates (1)). That is what lets small perturbations stay small through the whole construction.
One step: copies coupled by a small perturbation
The inductive step (Lemma 3.2) takes a block (K, t) and builds a block on K^D, the orthogonal sum of D copies of K, numbered 0 to D − 1; a vector v of K^D has one component v_j in each copy, and [b]_j means the vector b placed in copy j. The paper writes V⁻v = √2·v₀ and V⁺v = √2·v_(D−1) for the scaled first and last components. The operator x = t ⊗ 1 acts as t in every copy independently, so on its own it would split K^D into D separate pieces. The step couples the copies: an operator y acts in copy j as u_j·t and adds τ times copy j − 1. The number of copies D (at least 2d + 1) and the multipliers u_j come from Lemma 3.1, with u₀ = −1 at the first copy, u_(D−1) = 1 at the last, and all others of absolute value at most τ; they are chosen, using a power series for (1 − w)^(−1/ν), so that the product of the factors (1 − u_j z) equals 1 apart from terms of degree d and higher, which makes y nilpotent. The new block operator is S = x + εR, where R joins the chains of a basis built from x and y end to start, so that S has a single cyclic vector, and ε is small.
The paper proves three properties of S:
- (a) Close to the old operator. ‖S − t ⊗ 1‖ ≤ τ, so ‖S‖ ≤ 1.
- (b) Reach. If a vector v has a substantial part in the first copy and w a substantial part in the last copy (in the precise sense ‖V⁻v‖, ‖V⁺w‖ ≥ ½ with ‖v‖, ‖w‖ ≤ 2), some polynomial A in I₁(S) has Re⟨Av, w⟩ ≥ μ, for a number μ > 0 fixed once S is chosen. Polynomials in S can carry mass from the first copy to the last.
- (c) Split. For any two polynomials A₋, A₊ in I₁(t), some G in I₁(S) is within 24·L·τ of the operator that acts as A₋ on the first copy, as A₊ on the last copy and as zero in between. Polynomials in the single coupled operator S can still act almost independently on the two end copies.
The intuition: an invariant subspace M and a vector orthogonal to it would have to stay "out of reach" of each other under every polynomial in T. Reach says that, at each level, polynomials can connect any two reasonably sized vectors, and Split says those connections can be made on different copies at once by a single polynomial, so they can be combined across levels.
The tower and the limit
The construction starts with K₀ = ℂ and T₀ = 0 and applies the step forever, with τ shrinking fast enough that the sum of all later errors stays below a quarter of each earlier μ (inequality (2) of the paper). Each K_(m−1) sits inside K_m as the vectors of the form ([b]₀ + [b]_(D−1))/√2: a copy of b in the first slot and in the last slot. The union of the K_m is dense in a separable infinite-dimensional Hilbert space, which the paper identifies with ℓ². Each T_n extends to an operator T̂_n on ℓ², the extensions change by at most τ_(n+1) from one step to the next, and T is their limit in operator norm, with ‖T‖ ≤ 1.
The proof by contradiction
Suppose M is a closed invariant subspace other than {0} and ℓ². Take a unit vector ξ in M and a unit vector ζ orthogonal to M. Since M is invariant, q(T)ξ stays in M for every polynomial q, so ⟨q(T)ξ, ζ⟩ = 0 for all q. The proof builds a q for which the real part of ⟨q(T)ξ, ζ⟩ is positive, in three steps.
- Fibers. Choose a level n where the projections a and b of ξ and ζ onto K_(n−1) are within 1/8 of them, and project ξ and ζ to a higher level K_N, giving v and w. At each level between n and N, choose the first copy (−) or the last copy (+); each such sequence of choices is a sign string s, and following it down gives a map V^s from K_N to K_n. Averaging over all strings, at least half of them carry v and w close to a and b, and on each of those branches Reach supplies a polynomial pushing one toward the other by at least μ. The average operator C then has Re⟨Cv, w⟩ ≥ μ/2.
- Splitting. Using Split level by level, C is approximated within ρ_N by a single polynomial A in I₁(T_N), where ρ_N is the sum of the Split errors γ_m = 24·L·τ_m over the levels n < m ≤ N.
- Limit. Writing A = q(T_N) and passing from T_N to T costs at most γ_(N+1) more, and approximating ξ and ζ by their projections v and w costs δ_N = ‖ξ − v‖ + ‖ζ − w‖, which tends to 0 as N grows. By inequality (2), Re⟨q(T)ξ, ζ⟩ ≥ μ/4 − δ_N, which is positive for large N. That contradicts ⟨q(T)ξ, ζ⟩ = 0.
One logical consequence, using a theorem the paper itself cites: Lomonosov's theorem of 1973 gives a closed invariant subspace other than {0} and the whole space to every operator, other than a multiple of the identity, that commutes with a nonzero compact operator. T is not a multiple of the identity, since such an operator leaves every subspace alone. So if Theorem 1.1 holds, T commutes with no nonzero compact operator.
Where OpenAI's October construction comes in
The paper's related-work section says that on November 5, 2026, while working on this proof, Claude read a construction from OpenAI's October 2026 result on hyperinvariant subspaces. A hyperinvariant subspace of T is one left alone by every operator that commutes with T. The paper cites the OpenAI manuscript "Backward intertwiners and a transitive commutant" (September 27, 2026, in OpenAI's openai/math repository) as summarized in Section 9.4.3 of Y. Xie's preprint, arXiv:2610.17090.
By the paper's account, both constructions build an operator from shift-like blocks whose invariant subspaces form a chain. OpenAI's separates the blocks with projections that commute with the operator. An operator with no invariant subspace cannot have such a projection, since the range of a commuting projection is itself invariant. The new construction instead couples copies of a block by small perturbations, chosen so that polynomials in T can still act almost independently on them; that is the job of Split. I have not read the OpenAI manuscript or Xie's preprint, so this section reports only what the paper says about them.
The Lean statement, exactly
The file Statement.lean imports only Mathlib. These are its definitions, as written:
Read piece by piece: L2 is Mathlib's lp space of functions from ℕ to ℂ with exponent 2, which is ℓ²(ℕ, ℂ). L2 →L[ℂ] L2 is the type of continuous complex-linear maps, which on a normed space are exactly the bounded operators. Submodule ℂ L2 is any complex-linear subspace, closed or not; the hypothesis IsClosed restricts to closed ones. (∀ x ∈ M, T x ∈ M) says M is invariant. ⊥ and ⊤ are the zero subspace and the whole space. ISP is the problem as usually posed, over every separable, infinite-dimensional, complete complex inner product space, which is to say every separable infinite-dimensional complex Hilbert space.
Solution.lean proves three theorems: onL2 : OnL2, directly from IspMinimal.exists_no_invariant_subspace; not_ISP : ¬ ISP, by applying ISP to L2 with that operator and getting a contradiction; and hilbert_space_form : HilbertSpaceForm. Since ¬ ISP only needs one space and one operator, the way ISP ranges over spaces cannot weaken the negative answer.
What Comparator and the second kernel check
The repository's README describes the fuller check that its continuous integration runs. Challenge.lean restates the three theorems with sorry in place of the proofs and imports Statement.lean alone. Comparator, configured by comparator.json, compares the theorems proved in Solution.lean with those in Challenge.lean. Since Challenge.lean sees only Statement.lean and Mathlib, a proof file cannot redefine OnL2 or ISP, or prove a weaker theorem under the same name, and still pass. Comparator accepts only proofs that use no axioms beyond propext, Quot.sound and Classical.choice. With nanoda enabled, it also re-checks the proofs with nanoda, a second Lean kernel written independently of Lean's own.
The log of the run, from 10:20 to 10:28 a.m. Pacific time on December 2, shows sorry warnings only from Challenge.lean, the axioms of the main theorems limited to the three standard ones, and the lines "nanoda kernel accepts the solution", "Lean default kernel accepts the solution" and "Your solution is okay!". Versions: Lean 4.34.1, Mathlib v4.34.1. My text search of the proof files found no sorry, admit, axiom declaration, native_decide, implemented_by, extern, opaque or unsafe.
The paper names two further checkers as well: it says that two other external checkers of Lean kernel exports, con-leche and its Rust port con-ron, accepted an export of the main theorems. The repository's log shows the Comparator and nanoda run; I did not see a log of the con-leche or con-ron runs.
What Lean cannot tell you
A passing check means the theorems follow from Mathlib's definitions and the three axioms. It does not mean those definitions express the invariant subspace problem. The README says so itself: "Lean checks the proofs, but no machine checks that Statement.lean says what the paper says; the file is short so that a reader can check this."
For this statement, the human check has three parts. The space has to be the right one: Mathlib's lp with exponent 2 over ℕ and ℂ is the standard ℓ², and the field is ℂ, as the problem requires (over the real numbers the answer is different even in two dimensions, where a rotation has no invariant line). The operators have to be the right ones: →L[ℂ] gives continuous linear maps, which are the bounded operators. And the subspaces have to be the right ones: Submodule ℂ L2 with IsClosed gives closed linear subspaces, and invariance is stated as T x ∈ M for x ∈ M. I read each of these against the problem as the paper's introduction states it, and they match. That is a reading, and its strength is as good as the reader's; it is the part that operator theorists and Lean users outside Anthropic can now repeat by reading about a dozen lines.
Beyond the statement, the trust base is the usual one for a Lean result: the two kernels, Comparator, and the Mathlib definitions that the statement names, which are used throughout Mathlib.
Where the Lean proof departs from the paper
The file DEVIATIONS.md lists every difference of route or form that its authors found. The main one: the extensions T̂_n are never built in Lean. The embeddings of the K_n into ℓ² come from nested orthonormal bases, T is the strong limit of T_n extended by zero, the estimate ‖T − T̂_n‖ ≤ 2τ_(n+1) is proved only on K_n, and the final inequality comes out with 2δ_N where the paper has δ_N. The others are smaller: μ in Reach comes from a finite subcover instead of a minimum, the Fibers count is folded into one inequality, and the proof of the theorem is written against an abstract record, Tower, whose fields the construction file proves. The file ends: "Nothing extra is claimed. The Theorem is the paper's."
What I read and what I did not
I read the paper's LaTeX source in full, the README, Statement.lean, Solution.lean, Challenge.lean, comparator.json, DEVIATIONS.md and Minimal/Main.lean, and the CI log through GitHub's API. I did not build the Lean proof or run Comparator myself, I did not read the ten other files of the Lean development line by line, and I did not read the OpenAI manuscript, Xie's preprint, or the 2023 preprints by Enflo and Neville beyond their titles and the paper's description of them. I do not work in operator theory; the summary of the construction above follows the paper's own text.
Read more
The news item has the timeline, the first named reaction and the status. The claims tracker puts this claim next to the other AI claims on famous problems, and How to check a Lean proof covers statement files in general.
The paper is credited to Claude, Anthropic's AI model. I use Claude for my own research. I do not work for Anthropic.
Short answers
How does the invariant subspace counterexample work?
The operator is a limit of operators on ℓ² that extend finite-dimensional nilpotent operators. At each step many copies of the previous block are coupled by a small perturbation, so that polynomials in the operator can move vectors from the first copy to the last (Reach) while still acting almost independently on the two end copies (Split). A closed invariant subspace would block that, which gives the contradiction.
What does the Lean proof of the invariant subspace counterexample prove?
That there is a continuous complex-linear map on Mathlib's ℓ²(ℕ, ℂ) whose only closed invariant subspaces are zero and the whole space, and from it the negation of the problem for every separable infinite-dimensional complex Hilbert space. Comparator and a second kernel, nanoda, accepted it in Anthropic's repository check.
What can Lean not check about the invariant subspace proof?
Whether the statement file means what the problem asks. That depends on Mathlib's definitions of lp, continuous linear maps and submodules, which a person has to read against the problem; the statement is short enough to do that in minutes.
What did OpenAI's construction contribute?
By the paper's account, Claude read a construction from OpenAI's October 2026 result on hyperinvariant subspaces and took inspiration from it. Both build an operator from shift-like blocks; OpenAI's separates the blocks with commuting projections, and the new one couples copies by small perturbations instead.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.