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

| 1 | # What upstream says |
| 2 | |
| 3 | This project starts from the `lean/` folder of [openai/math](https://github.com/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. |
| 4 | |
| 5 | ## lean/README.md |
| 6 | |
| 7 | ### Lean formalizations |
| 8 | |
| 9 | This directory contains Lean formalizations of some results in this repository. |
| 10 | They are organized in a single large library, so we recommend compiling only small portions at a time. |
| 11 | |
| 12 | See the [Comparator README](ComparatorChallenges/README.md) for more information about how to verify the results. |
| 13 | |
| 14 | #### Technical note: mmap |
| 15 | |
| 16 | Compiling the entire library may fail if Linux's `vm.max_map_count` is too low. |
| 17 | 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. |
| 18 | |
| 19 | ## lean/docs/032.md |
| 20 | |
| 21 | ### The rational Hodge conjecture for CM abelian varieties |
| 22 | |
| 23 | The following describes the scope of the Lean formalization related to the following accompanying paper(s): |
| 24 | |
| 25 | - [The rational Hodge conjecture for CM abelian varieties](../../preprints/The-rational-Hodge-conjecture-for-CM-abelian-varieties-October-6-2026/paper.pdf) |
| 26 | |
| 27 | #### Scope |
| 28 | |
| 29 | The formalization proves that every rational Hodge class on a complex CM abelian variety is algebraic. For a smooth integral projective group scheme $X$ over $\mathbb C$ with the stated complex-multiplication data and every $p\ge0$, each rational Hodge class of degree $2p$ is a rational linear combination of cycle classes of codimension-$p$ algebraic subvarieties. The result applies in every dimension and codimension. |
| 30 | |
| 31 | The complex-multiplication hypothesis is expressed on geometric rational $H^1$: 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. |
| 32 | |
| 33 | The paper's consequences for the Tate conjecture over finite fields and the Hodge standard conjecture in arbitrary characteristic are outside this selected statement. |
| 34 | |
| 35 | We thank the contributors to [HodgeConjecture](https://github.com/Paul-Lez/HodgeConjecture) (which itself adapts [sphere-six-complex](https://github.com/deancureton/sphere-six-complex) and [mathlib4](https://github.com/leanprover-community/mathlib4)) for their Lean statement of the Hodge conjecture, which was used for the Comparator challenge. |
| 36 | |
| 37 | #### Comparator links |
| 38 | |
| 39 | | Result | Comparator statement | |
| 40 | | --- | --- | |
| 41 | | Rational Hodge classes on CM abelian varieties are algebraic | [Challenge.lean](../ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean) | |
| 42 | |
| 43 | ## lean/ComparatorChallenges/README.md |
| 44 | |
| 45 | ### [Comparator](https://github.com/leanprover/comparator) challenges |
| 46 | |
| 47 | Install `comparator`, `landrun`, and `lean4export`, and make them available on `PATH`. |
| 48 | Then, from `lean/`: |
| 49 | |
| 50 | ```sh |
| 51 | lake update |
| 52 | lake exe cache get |
| 53 | lake env comparator ComparatorChallenges/QuasiRiemannHypothesis.json |
| 54 | ``` |