Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

What upstream says
This project starts from the lean/ folder of openai/math at 3344da59991ed94f9ba711217b29c1d760badfa6 (2026-11-24), and of it only the import closure of the CM Hodge Comparator challenge and its solution. Three of upstream's texts about it follow, unchanged: lean/README.md, lean/docs/032.md (family 032's Lean scope) and lean/ComparatorChallenges/README.md. README.md here is this project's. Links in them are relative to upstream's lean/ and do not all resolve here.
lean/README.md
Lean formalizations
This directory contains Lean formalizations of some results in this repository. They are organized in a single large library, so we recommend compiling only small portions at a time.
See the Comparator README for more information about how to verify the results.
Technical note: mmap
Compiling the entire library may fail if Linux's vm.max_map_count is too low.
One workaround is to build Lean with the CMake option -DMMAP=OFF; it may also be necessary to set the environment variable GLIBC_TUNABLES to glibc.malloc.mmap_max=0:glibc.malloc.arena_max=1 when running Lean or Lake.
lean/docs/032.md
The rational Hodge conjecture for CM abelian varieties
The following describes the scope of the Lean formalization related to the following accompanying paper(s):
Scope
The formalization proves that every rational Hodge class on a complex CM abelian variety is algebraic. For a smooth integral projective group scheme over with the stated complex-multiplication data and every , each rational Hodge class of degree is a rational linear combination of cycle classes of codimension- algebraic subvarieties. The result applies in every dimension and codimension.
The complex-multiplication hypothesis is expressed on geometric rational : it is a finite direct sum of rank-one vector spaces over CM number fields, and their diagonal action preserves the holomorphic Hodge filtration under the rational-to-de Rham comparison. The fields may differ among the summands.
The paper's consequences for the Tate conjecture over finite fields and the Hodge standard conjecture in arbitrary characteristic are outside this selected statement.
We thank the contributors to HodgeConjecture (which itself adapts sphere-six-complex and mathlib4) for their Lean statement of the Hodge conjecture, which was used for the Comparator challenge.
Comparator links
| Result | Comparator statement |
|---|---|
| Rational Hodge classes on CM abelian varieties are algebraic | Challenge.lean |
lean/ComparatorChallenges/README.md
Comparator challenges
Install comparator, landrun, and lean4export, and make them available on PATH.
Then, from lean/:
lake update
lake exe cache get
lake env comparator ComparatorChallenges/QuasiRiemannHypothesis.json