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 | /- |
| 2 | Copyright 2026 Paul Lezeau and The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | This file has been modified. |
| 16 | -/ |
| 17 | import OAI.AlgebraicTopology.Singular.ExcisionCoverSmall |
| 18 | import Mathlib.Algebra.Homology.QuasiIso |
| 19 | import Mathlib.Algebra.Category.ModuleCat.Projective |
| 20 | import Mathlib.Algebra.Homology.DerivedCategory.KProjective |
| 21 | |
| 22 | /-! # Excision Cover Small Projective -/ |
| 23 | |
| 24 | namespace OAI.AlgebraicTopology.Singular.ExcisionCoverSmallProjective |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | /-! |
| 29 | |
| 30 | # Projective reduction for the small-chain theorem |
| 31 | |
| 32 | Integral simplicial chain groups are free abelian and hence projective. Consequently, for the |
| 33 | nonnegatively graded singular chain complexes used by the excision development, it is enough to |
| 34 | prove that the cover-small inclusion is a quasi-isomorphism: projectivity upgrades it to a |
| 35 | chain-homotopy equivalence. |
| 36 | -/ |
| 37 | |
| 38 | open _root_.AlgebraicTopology _root_.CategoryTheory |
| 39 | open scoped Simplicial |
| 40 | |
| 41 | /-- If the cover-small inclusion is a quasi-isomorphism, then it is a chain-homotopy |
| 42 | equivalence, because all the chain groups involved are projective. -/ |
| 43 | theorem coverSmallChainApproximation_of_quasiIso |
| 44 | {i : Type} (X : TopCat) (U : i → Set X) |
| 45 | (h : QuasiIso (ExcisionCoverSmall.coverSmallIntegralSingularChainInclusion X U)) : |
| 46 | HomologicalComplex.homotopyEquivalences AddCommGrpCat (ComplexShape.down ℕ) |
| 47 | (ExcisionCoverSmall.coverSmallIntegralSingularChainInclusion X U) := by |
| 48 | let : QuasiIso (ExcisionCoverSmall.coverSmallIntegralSingularChainInclusion X U) := h |
| 49 | let projectiveInteger : Projective (AddCommGrpCat.of ℤ) := |
| 50 | ((forget₂ (ModuleCat ℤ) AddCommGrpCat).asEquivalence.map_projective_iff |
| 51 | (ModuleCat.of ℤ ℤ)).mpr inferInstance |
| 52 | let projectiveSmall (n : ℕ) : |
| 53 | Projective ((ExcisionCoverSmall.CoverSmallIntegralSingularChainComplex X U).X n) := by |
| 54 | change Projective |
| 55 | (∐ fun _ : (ExcisionCoverSmall.coverSmallSingularSubcomplex X U : SSet).obj |
| 56 | (Opposite.op (SimplexCategory.mk n)) ↦ |
| 57 | AddCommGrpCat.of ℤ) |
| 58 | infer_instance |
| 59 | let projectiveFull (n : ℕ) : |
| 60 | Projective ((ExcisionCoverSmall.IntegralSingularChainComplexObj X).X n) := by |
| 61 | change Projective |
| 62 | (∐ fun _ : (TopCat.toSSet.obj X).obj |
| 63 | (Opposite.op (SimplexCategory.mk n)) ↦ AddCommGrpCat.of ℤ) |
| 64 | infer_instance |
| 65 | exact (ChainComplex.quasiIso_iff_of_projective |
| 66 | (ExcisionCoverSmall.coverSmallIntegralSingularChainInclusion X U)).mp (by infer_instance) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicTopology.Singular.ExcisionCoverSmallProjective |