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.Mathlib.Algebra.Homology.Notation |
| 9 | |
| 10 | import HodgeConjecture.Lemmas.AlgebraicTopology.Support.FlasqueComparison |
| 11 | import HodgeConjecture.Lemmas.AlgebraicTopology.Sheaf.OpenInjectiveResolution |
| 12 | import HodgeConjecture.Lemmas.AlgebraicTopology.Sheaf.FlasqueExtendNat |
| 13 | import HodgeConjecture.Lemmas.AlgebraicTopology.Singular.Sheaf.CochainResolution |
| 14 | |
| 15 | namespace OAI.AlgebraicTopology.Support.SingularFlasqueModel |
| 16 | |
| 17 | /-! |
| 18 | # Singular-cochain models for supported injective resolutions |
| 19 | |
| 20 | On a space with a contractible open basis, the singular-cochain augmentation resolves the |
| 21 | constant rational sheaf, and we extend that augmentation to the fixed injective resolution |
| 22 | with a strict normalization. On a hereditarily paracompact Hausdorff space the singular model |
| 23 | is termwise flasque, so the supported comparison is a quasi-isomorphism on sheaves and on |
| 24 | every open set. The contractible basis is a hypothesis of these generic topological lemmas, |
| 25 | constructed for the smooth complex-point application below. |
| 26 | -/ |
| 27 | |
| 28 | noncomputable section |
| 29 | |
| 30 | open _root_.CategoryTheory Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 31 | |
| 32 | section |
| 33 | namespace Singular |
| 34 | |
| 35 | variable (X : TopCat.{0}) |
| 36 | |
| 37 | /-- Let `X` be a topological space. This complex of sheaves is obtained by sheafifying the |
| 38 | presheaves of rational singular cochains degree by degree. Its differential is induced by the |
| 39 | singular coboundary, and it is extended by zero to negative integer degrees. -/ |
| 40 | def rationalSingularCochainComplex : CochainComplex (TopCat.Sheaf AddCommGrpCat X) ℤ := |
| 41 | (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℚ X).extend ComplexShape.embeddingUpNat |
| 42 | |
| 43 | /-- Let `X` be a topological space. This is the integer-indexed complex in a chosen injective |
| 44 | resolution `ℚ_X → I^•` of the constant rational sheaf, with zero terms in negative degrees. -/ |
| 45 | def rationalConstantInjectiveComplex : CochainComplex (TopCat.Sheaf AddCommGrpCat X) ℤ := |
| 46 | -- An injective resolution `ℚ_X → I^•`. |
| 47 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).cocomplex.extend |
| 48 | ComplexShape.embeddingUpNat |
| 49 | |
| 50 | instance rationalSingularCochainComplex_isStrictlyGE : |
| 51 | (rationalSingularCochainComplex X).IsStrictlyGE 0 := by |
| 52 | dsimp [rationalSingularCochainComplex] |
| 53 | infer_instance |
| 54 | |
| 55 | instance rationalConstantInjectiveComplex_isStrictlyGE : |
| 56 | (rationalConstantInjectiveComplex X).IsStrictlyGE 0 := by |
| 57 | dsimp [rationalConstantInjectiveComplex] |
| 58 | infer_instance |
| 59 | |
| 60 | instance rationalConstantInjectiveComplex_injective (n : ℤ) : |
| 61 | Injective ((rationalConstantInjectiveComplex X).X n) := |
| 62 | _root_.OAI.Algebra.Homology.LiftToInjective.CochainComplex.injective_extend_nat _ |
| 63 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).injective n |
| 64 | |
| 65 | variable (hX : ∀ (x : X) (V : Opens X), x ∈ V → |
| 66 | ∃ (W : Opens X), x ∈ W ∧ ContractibleSpace W ∧ W ≤ V) |
| 67 | |
| 68 | /-- Let `X` be a topological space with a basis of contractible open sets. Write `C^•` for the |
| 69 | sheafified rational singular cochains and `ℚ_X → I^•` for a chosen injective resolution. This |
| 70 | chooses a map `C^• → I^•` whose composite with the constant-cochain inclusion `ℚ_X[0] → C^•` |
| 71 | equals the resolution augmentation. Complexes are indexed by natural numbers. -/ |
| 72 | def singularToConstantInjectiveResolution : |
| 73 | _root_.OAI.AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℚ X ⟶ |
| 74 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).cocomplex := |
| 75 | letI : Mono (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X) := |
| 76 | _root_.OAI.AlgebraicTopology.Singular.SheafCochainResolution.constantsToSingularCochainSheafComplex_mono ℚ X |
| 77 | letI : QuasiIso (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X) := |
| 78 | _root_.OAI.AlgebraicTopology.Singular.SheafCochainResolution.constantsToSingularCochainSheafComplex_quasiIso_of_contractibleOpenBasis ℚ hX |
| 79 | _root_.OAI.Algebra.Homology.LiftToInjective.CochainComplex.liftToInjectiveNat (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X) |
| 80 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).ι |
| 81 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).injective |
| 82 | |
| 83 | /-- The comparison fixes the prescribed rational constant augmentation exactly. -/ |
| 84 | @[reassoc (attr := simp)] |
| 85 | lemma constants_comp_singularToConstantInjectiveResolution : |
| 86 | _root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X ≫ singularToConstantInjectiveResolution X hX = |
| 87 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).ι := by |
| 88 | let : Mono (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X) := |
| 89 | _root_.OAI.AlgebraicTopology.Singular.SheafCochainResolution.constantsToSingularCochainSheafComplex_mono ℚ X |
| 90 | let : QuasiIso (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X) := |
| 91 | _root_.OAI.AlgebraicTopology.Singular.SheafCochainResolution.constantsToSingularCochainSheafComplex_quasiIso_of_contractibleOpenBasis ℚ hX |
| 92 | exact _root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveTo.CochainComplex.comp_liftToInjectiveNat _ _ |
| 93 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).injective |
| 94 | |
| 95 | instance singularToConstantInjectiveResolution_quasiIso : |
| 96 | QuasiIso (singularToConstantInjectiveResolution X hX) := by |
| 97 | let a := _root_.OAI.AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ X |
| 98 | let : QuasiIso a := |
| 99 | _root_.OAI.AlgebraicTopology.Singular.SheafCochainResolution.constantsToSingularCochainSheafComplex_quasiIso_of_contractibleOpenBasis ℚ hX |
| 100 | have : QuasiIso (a ≫ singularToConstantInjectiveResolution X hX) := by |
| 101 | rw [constants_comp_singularToConstantInjectiveResolution] |
| 102 | exact (_root_.OAI.AlgebraicTopology.Sheaf.OpenInjectiveResolution.TopCat.ambientConstantInjectiveResolution X (AddCommGrpCat.of ℚ)).quasiIso |
| 103 | exact quasiIso_of_comp_left a _ |
| 104 | |
| 105 | /-- Let `X` be a topological space with a basis of contractible open sets. This map from sheafified |
| 106 | rational singular cochains to a chosen injective resolution of `ℚ_X` extends the identity on |
| 107 | constant coefficients. Both complexes are indexed by integers and zero in negative degrees. -/ |
| 108 | def singularToConstantInjectiveComplex : |
| 109 | rationalSingularCochainComplex X ⟶ rationalConstantInjectiveComplex X := |
| 110 | HomologicalComplex.extendMap (singularToConstantInjectiveResolution X hX) |
| 111 | ComplexShape.embeddingUpNat |
| 112 | |
| 113 | instance singularToConstantInjectiveComplex_quasiIso : |
| 114 | QuasiIso (singularToConstantInjectiveComplex X hX) := |
| 115 | (HomologicalComplex.quasiIso_extendMap_iff _ _).mpr inferInstance |
| 116 | |
| 117 | /-- Let `X` be a topological space and `U ⊆ X` open. In each nonnegative degree, take the kernel of |
| 118 | restriction of the sheafified rational singular cochains to `U`. These are the sheaf sections |
| 119 | supported in the closed set `X \ U`. Singular coboundaries give the differentials, and |
| 120 | negative-degree terms are zero. -/ |
| 121 | def supportedRationalSingularCochainComplex (U : Opens X) : |
| 122 | CochainComplex (TopCat.Sheaf AddCommGrpCat X) ℤ := |
| 123 | -- `Γ_{X \ U}` applied to the sheaf complex of rational singular cochains. |
| 124 | ((_root_.OAI.AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutside X U).mapHomologicalComplex ℤᵘᵖ).obj |
| 125 | -- The sheaf complex `C^•_sing(-; ℚ)`. |
| 126 | (rationalSingularCochainComplex X) |
| 127 | |
| 128 | /-- Let `X` have a basis of contractible open sets and let `U ⊆ X` be open. This map `Γ_{X \ U}(C^•) |
| 129 | → Γ_{X \ U}(I^•)` restricts the augmentation-preserving comparison from sheafified rational |
| 130 | singular cochains `C^•` to an injective resolution `I^•` of `ℚ_X` to the subsheaves of sections |
| 131 | vanishing on `U`. -/ |
| 132 | def supportedSingularToInjectiveComplex (U : Opens X) : |
| 133 | supportedRationalSingularCochainComplex X U ⟶ |
| 134 | ((_root_.OAI.AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutside X U).mapHomologicalComplex ℤᵘᵖ).obj |
| 135 | (rationalConstantInjectiveComplex X) := |
| 136 | ((_root_.OAI.AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutside X U).mapHomologicalComplex ℤᵘᵖ).map |
| 137 | (singularToConstantInjectiveComplex X hX) |
| 138 | |
| 139 | variable [T2Space X] [∀ V : Opens X, ParacompactSpace V] |
| 140 | |
| 141 | instance rationalSingularCochainComplex_isFlasque (n : ℤ) : |
| 142 | ((rationalSingularCochainComplex X).X n).IsFlasque := by |
| 143 | apply _root_.OAI.AlgebraicTopology.Sheaf.FlasqueExtendNat.TopCat.extendNat_term_isFlasque |
| 144 | intro m |
| 145 | change (_root_.OAI.AlgebraicTopology.Singular.SheafCochain.singularCochainSheaf ℚ X m).IsFlasque |
| 146 | infer_instance |
| 147 | |
| 148 | /-- Supported singular cochains compute the supported injective model, at the level of sheaf |
| 149 | complexes. -/ |
| 150 | instance supportedSingularToInjectiveComplex_quasiIso (U : Opens X) : |
| 151 | QuasiIso (supportedSingularToInjectiveComplex X hX U) := |
| 152 | _root_.OAI.AlgebraicTopology.Support.FlasqueComparison.TopCat.Sheaf.sheafSectionsSupportedOutside_map_quasiIso_of_flasque X U |
| 153 | (singularToConstantInjectiveComplex X hX) 0 0 (fun _ => inferInstance) (fun _ => inferInstance) |
| 154 | |
| 155 | end Singular |
| 156 | end |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicTopology.Support.SingularFlasqueModel |