A dimension-counting result in the AutoIP mathematics project was meant to allow a space with infinitely many independent directions. Its first formal statement excluded that case. A proof of that statement could pass Lean while leaving part of the intended mathematics unproved.

The mismatch came from a specific convention in the library. Module.finrank gives a natural-number dimension for a finite-dimensional space, but returns zero for an infinite-dimensional one. Translating “the dimension of U is smaller than the dimension of V” with that function therefore changed the reach of the theorem.

Christian Clason, Tapio Helin, Medet Nursultanov and Lauri Oksanen describe the example in section 5.2 of their AutoIP preprint. It provides a concrete answer to a question that matters as AI systems write more formal mathematics: what still needs checking after a proof assistant accepts a proof?

How a dimension comparison lost the infinite-dimensional case

Start with a line U inside a plane V. There is a nonzero direction in the plane perpendicular to the line. More generally, the intended result says that if U is finite-dimensional and V has a larger dimension, V contains a nonzero vector perpendicular to every vector in U.

U and V are subspaces of a larger space with an inner product, the mathematical structure used to express angles and perpendicularity. U must be finite-dimensional. V can be infinite-dimensional.

The original formal hypothesis described in the paper was:

Module.finrank k U < Module.finrank k V

Here k is the field of scalars. For ordinary finite-dimensional real or complex spaces, the comparison expresses the expected dimension inequality. But if V is infinite-dimensional, the right-hand side becomes zero. The hypothesis then asks for a nonnegative integer to be less than zero, which is impossible.

That makes the formal result narrower than intended. It still has useful finite-dimensional cases; the problem is that it proves nothing about the intended infinite-dimensional cases.

The corrected specification, inspected at the repository revision available on 15 November 2026, uses:

Module.rank k U < Module.rank k V

Module.rank compares cardinal dimensions, which can represent infinite dimensions. The corrected statement assumes a real or complex inner product space and finite-dimensional U; the ambient space need not be complete.

There is also a way to understand the proof without subtracting infinite dimensions. Project vectors in V orthogonally onto U. If this projection were injective, it would preserve enough information to distinguish every vector in V, requiring V’s dimension to be no greater than U’s. That contradicts the hypothesis. So some nonzero vector in V must project to zero, which means it is perpendicular to U.

This is the argument in the corrected Lean source. It handles infinite-dimensional V without treating both spaces as finite-dimensional.

Tests can check that assumptions have examples

AutoIP also supplies tests of whether hypotheses can hold and whether they can fail. These help expose statements whose assumptions are impossible or impose no restriction.

The dimension result’s test file contains two small examples:

  • U is the zero subspace and V is the whole real line. Their dimensions are zero and one, so the strict inequality holds.
  • U and V are both the zero subspace. The strict inequality fails.

Those examples establish something useful about the hypotheses. Neither tests an infinite-dimensional space. Both would behave as expected under the old finrank comparison too. The authors explicitly say these tests would not have caught the mismatch.

Reviewing correspondence means asking a broader question: does the formal statement, including its definitions and assumptions, express the intended mathematical claim? Finding one satisfying example cannot answer that.

These files were inspected as source for this article. Lean was not run, and no claim is made here that the repository builds or its tests pass.

What Lean’s acceptance establishes

Lean is a proof assistant. Its kernel checks that a proof establishes a precise formal proposition using the definitions, existing results and axioms on which it depends. If the proposition expresses a narrower claim than its author intended, a valid proof can still establish exactly that narrower claim.

The Lean documentation on validating proofs explains further qualifications. Meaning depends on the elaborated statement, including how notation and automatically selected mathematical structures are resolved. Axioms are assumptions accepted by the system; declaring a new axiom does not establish its consistency.

An unfinished proof written with sorry introduces the special axiom sorryAx. A theorem can also depend on an unfinished proof elsewhere, even when its own display shows successful checking. Lean’s #print axioms command reports direct and transitive axiom dependencies. Understanding those dependencies is part of assessing what a checked result establishes.

The AutoIP authors say their programmatic checks prohibit introducing axioms. They also describe allowing unfinished proofs while developing statements. That is an intermediate workflow stage. It should not be presented as a completed verified proof.

For this article, the project’s dependencies were not independently audited for axioms or unfinished proofs. The checking explanation draws on Lean’s current documentation, which identified version 4.36.0-rc2 when checked; the inspected AutoIP configuration instead pinned Lean 4.34.0-rc1.

How AutoIP tracks review when statements change

AutoIP develops classical linear regularization theory. This is mathematics for inverse problems: recovering an unknown object from observations, often when noise makes a direct solution unstable.

In sections 3 and 4 of the paper, the authors describe separating the mathematical specification from its implementation and proof. A human-written LaTeX blueprint supplies the informal mathematical statements. Each blueprint node links to a Lean specification that a reviewer can compare with it.

The review record distinguishes an author’s reading from an agent’s reading. It records whether the formal specification matches the informal statement, with additional author review of choices used to construct mathematical objects.

Those judgements need a version boundary. AutoIP uses hashes, digital fingerprints of content, to track the informal and formal statements and the relevant material they depend on. This includes nodes referenced by the prose and definitions used in formal statements. When either tracked hash changes, the existing correspondence review expires and another reading is required.

A proof-only change leaves that correspondence review intact. The statement being compared has stayed the same, even though its proof has changed.

The hashes track which content a review applies to. They cannot establish that the reviewer understood the mathematics correctly. This mechanism is the authors’ description of their system; its implementation was not executed or fully audited for this article.

What the reported human-review counts cover

The paper is a work-in-progress preprint. Its arXiv history showed version 1, submitted on 4 November 2026, when checked on 15 November.

Table 1 reports that, at the time of writing, all 22 object-constructing definitions and 25 of the 51 theorems stated in Lean had been reviewed by an author.

The categories matter. Its 51 definitions comprise 14 cited from Mathlib, Lean’s mathematics library, 15 predicates and 22 constructions. The count of 22 author-reviewed definitions belongs to the constructions category. It does not indicate that some of those constructions were still awaiting author review.

Likewise, the theorem total is 73: 22 cited from Mathlib and 51 stated in Lean. The 25 reviewed theorems belong to the latter group. These figures do not give an overall human-review percentage for every library declaration, or a measured error rate.

Current author-review totals were unavailable from the repository material inspected.