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 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | |
| 8 | import HodgeConjecture.Lemmas.AlgebraicTopology.Sheaf.OpenRestriction |
| 9 | import HodgeConjecture.Mathlib.Algebra.Homology.LiftToInjective |
| 10 | import Mathlib.CategoryTheory.Abelian.Injective.Resolution |
| 11 | import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.EnoughInjectives |
| 12 | |
| 13 | namespace OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution |
| 14 | |
| 15 | open _root_.TopCat |
| 16 | open _root_.TopCat.Sheaf |
| 17 | |
| 18 | /-! |
| 19 | # Comparing an ambient resolution with a resolution on an open subspace |
| 20 | |
| 21 | The comparison is lifted on the open subspace across the restricted |
| 22 | augmentation. Exact open restriction and the normalized constant-sheaf |
| 23 | comparison prove that this augmentation is a monic quasi-isomorphism. |
| 24 | -/ |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 29 | |
| 30 | |
| 31 | section |
| 32 | namespace TopCat |
| 33 | open _root_.TopCat |
| 34 | |
| 35 | variable (X : TopCat.{0}) (U : Opens X) (A : AddCommGrpCat.{0}) |
| 36 | |
| 37 | set_option backward.isDefEq.respectTransparency false in |
| 38 | /-- Let `X` be a topological space and `A` an abelian group. This is a chosen injective resolution |
| 39 | `A_X → I^•` of the sheaf of locally constant `A`-valued functions on `X`, indexed by nonnegative |
| 40 | integers. -/ |
| 41 | def ambientConstantInjectiveResolution : |
| 42 | InjectiveResolution (C := Sheaf AddCommGrpCat.{0} X) |
| 43 | 𝓒[X; A] := |
| 44 | injectiveResolution (C := Sheaf AddCommGrpCat.{0} X) _ |
| 45 | |
| 46 | end TopCat |
| 47 | end |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution |