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.AlgebraicGeometry.Cycle.Component.SingularClosedFiltration |
| 11 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.SmoothPair.OpenTransport |
| 12 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Transport.CohomologySheaf |
| 13 | import HodgeConjecture.Lemmas.AlgebraicTopology.Sheaf.OpenRestrictedVanishing |
| 14 | |
| 15 | namespace OAI.AlgebraicGeometry.Stratification.LocalSupportVanishing |
| 16 | |
| 17 | open _root_.AlgebraicGeometry |
| 18 | |
| 19 | /-! |
| 20 | # Local support vanishing on canonical singular-filtration layers |
| 21 | |
| 22 | Every point of a smooth layer has a fixed-dimensional affine source neighborhood, of |
| 23 | dimension strictly less than that of the original cycle component. Deleting the image of |
| 24 | the discarded source complement makes that neighborhood closed in a smaller ambient open, |
| 25 | and normal neighborhoods there transport to the original projective ambient space and its |
| 26 | fixed supported injective resolution. The local lower vanishing follows from those maps |
| 27 | and the dimension bounds. |
| 28 | -/ |
| 29 | |
| 30 | noncomputable section |
| 31 | |
| 32 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.Topology _root_.TopologicalSpace |
| 33 | |
| 34 | section |
| 35 | namespace ComplexPoint |
| 36 | |
| 37 | open _root_.OAI.AlgebraicTopology.Singular |
| 38 | |
| 39 | variable (X : Over (Spec ↧ℂ)) |
| 40 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) |
| 41 | {p : ℕ} (hx : Order.coheight x = p) (k : ℕ) |
| 42 | |
| 43 | include hx in |
| 44 | /-- Every point in the `k`th layer has cofinal ambient neighborhoods |
| 45 | whose relative cohomology below degree `2(p+1)` vanishes. -/ |
| 46 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayer_exists_relativeCohomology_vanishing |
| 47 | (y : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 48 | (hy : y ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k) |
| 49 | (hyNext : y ∉ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x (k + 1)) |
| 50 | (V : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (hyV : y ∈ V) : |
| 51 | ∃ W : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X), W ≤ V ∧ |
| 52 | W ≤ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x (k + 1)).compl ∧ |
| 53 | y ∈ W ∧ ∀ n : ℕ, n < 2 * (p + 1) → |
| 54 | IsZero (ModuleCat.of ℚ (_root_.OAI.AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ |
| 55 | (_root_.OAI.AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (W : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 56 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) n)) := by |
| 57 | obtain ⟨z, rfl⟩ := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration_layer X x k).ge ⟨hy, hyNext⟩ |
| 58 | let O := _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularStratumAmbientOpen X x k |
| 59 | let OX := _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularStratumAmbientOpenOver X x k |
| 60 | let Y := _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationStratumOver X x k |
| 61 | let i : Y ⟶ OX := _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularStratumClosedLiftOver X x k |
| 62 | obtain ⟨A, hA, hzA, m, hm, hcodim, hdim⟩ := |
| 63 | _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationStratum_exists_smooth_relativeDimension |
| 64 | X x hx k z.underlying |
| 65 | let : SmoothOfRelativeDimension m (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openScheme Y A).hom := hdim |
| 66 | let zA := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.asOpenPoint Y A z hzA |
| 67 | let f := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openInclusion X O) |
| 68 | have hS : f ⁻¹' |
| 69 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) = |
| 70 | Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i) := |
| 71 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularStratumClosedLift_complexPoints_range X x k).symm |
| 72 | have he : f (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openInclusion Y A ≫ i) zA) = |
| 73 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationStratumOverι X x k) z := by |
| 74 | apply Over.OverMorphism.ext |
| 75 | change (zA.left ≫ (A.ι ≫ _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularStratumClosedLift X x k)) ≫ O.ι = |
| 76 | z.left ≫ _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationStratumι X x k |
| 77 | rw [Category.assoc, Category.assoc, _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularStratumClosedLift_ι, |
| 78 | ← Category.assoc] |
| 79 | exact congrArg (fun g => g ≫ _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationStratumι X x k) |
| 80 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.liftToOpen_fac Y A z hzA) |
| 81 | let V' := V ⊓ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x (k + 1)).compl |
| 82 | have hzV' : f (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openInclusion Y A ≫ i) zA) ∈ V' := by |
| 83 | rw [he] |
| 84 | exact ⟨hyV, hyNext⟩ |
| 85 | have : SmoothOfRelativeDimension (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left) OX.hom := by |
| 86 | change SmoothOfRelativeDimension (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left) (O.ι ≫ X.hom) |
| 87 | simpa only [Nat.zero_add] using smoothOfRelativeDimension_comp 0 (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left) O.ι X.hom |
| 88 | obtain ⟨W, hWV', hzW, hW⟩ := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.exists_smoothClosedSourceOpenImageNeighborhood |
| 89 | OX Y i m (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left) f (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.isOpenEmbedding_map_open X O) |
| 90 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 91 | hS A zA V' hzV' |
| 92 | exact ⟨W, hWV'.trans inf_le_left, hWV'.trans inf_le_right, he ▸ hzW, |
| 93 | fun n hn ↦ hW n (by omega)⟩ |
| 94 | |
| 95 | include hx in |
| 96 | /-- The original ambient supported injective complex has cofinally vanishing section |
| 97 | cohomology below `2(p+1)` at every point outside the next closed support. -/ |
| 98 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayer_exists_supportedInjectiveSection_vanishing |
| 99 | (n : ℤ) (hn : n < 2 * ((p : ℤ) + 1)) |
| 100 | (y : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 101 | (hyNext : y ∉ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x (k + 1)) |
| 102 | (V : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (hyV : y ∈ V) : |
| 103 | ∃ W : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X), W ≤ V ∧ y ∈ W ∧ |
| 104 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) W).mapHomologicalComplex |
| 105 | ℤᵘᵖ).obj (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 106 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k))).homology n) := by |
| 107 | by_cases hneg : n < 0 |
| 108 | · refine ⟨V, le_rfl, hyV, ?_⟩ |
| 109 | apply ShortComplex.isZero_homology_of_isZero_X₂ |
| 110 | exact (_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) V).map_isZero |
| 111 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 112 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k)).isZero_of_isStrictlyGE 0 n hneg) |
| 113 | · obtain ⟨q, rfl⟩ := Int.eq_ofNat_of_zero_le (le_of_not_gt hneg) |
| 114 | by_cases hy : y ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k |
| 115 | · obtain ⟨W, hWV, _, hyW, hW⟩ := |
| 116 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayer_exists_relativeCohomology_vanishing X x hx k |
| 117 | y hy hyNext V hyV |
| 118 | refine ⟨W, hWV, hyW, ?_⟩ |
| 119 | let : Subsingleton (_root_.OAI.AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ |
| 120 | (_root_.OAI.AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (W : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 121 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) q) := |
| 122 | ModuleCat.subsingleton_of_isZero (hW q (by exact_mod_cast hn)) |
| 123 | let e := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveSectionCohomologyEquiv X |
| 124 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k) W q |
| 125 | let : Subsingleton ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 126 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) W).mapHomologicalComplex ℤᵘᵖ).obj |
| 127 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 128 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k))).homology (q : ℤ)) := |
| 129 | e.injective.subsingleton |
| 130 | exact AddCommGrpCat.isZero_of_subsingleton _ |
| 131 | · let W := V ⊓ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k).compl |
| 132 | refine ⟨W, inf_le_left, ⟨hyV, hy⟩, ?_⟩ |
| 133 | apply ShortComplex.isZero_homology_of_isZero_X₂ |
| 134 | exact _root_.OAI.AlgebraicTopology.Support.SectionRestrictionIs.TopCat.Sheaf.supportedOutsideSections_isZero_of_le |
| 135 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 136 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k).compl W |
| 137 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.ambientRationalInjectiveComplex X).X (q : ℤ)) inf_le_right |
| 138 | |
| 139 | include hx in |
| 140 | /-- The open-layer section complex needed by finite support localization has zero cohomology |
| 141 | below `2(p+1)`. The resolution remains the one on the original projective ambient variety. -/ |
| 142 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayerSectionCohomology_isZero_of_lt |
| 143 | (n : ℤ) (hn : n < 2 * ((p : ℤ) + 1)) : |
| 144 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 145 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x (k + 1)).compl).mapHomologicalComplex |
| 146 | ℤᵘᵖ).obj (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 147 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k))).homology n) := by |
| 148 | apply _root_.OAI.AlgebraicTopology.Sheaf.OpenRestrictedVanishing.TopCat.sectionCohomology_isZero_of_cofinal_lower_vanishing |
| 149 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) _ _ 0 n |
| 150 | · exact fun j ↦ _root_.OAI.AlgebraicTopology.Support.FlasqueSections.TopCat.Sheaf.sheafSectionsSupportedOutside_isFlasque |
| 151 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 152 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k).compl |
| 153 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.ambientRationalInjectiveComplex X).X j) |
| 154 | · exact fun j hj y hy V hyV ↦ |
| 155 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayer_exists_supportedInjectiveSection_vanishing |
| 156 | X x hx k j (hj.trans_lt hn) y hy V hyV |
| 157 | |
| 158 | end ComplexPoint |
| 159 | end |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.AlgebraicGeometry.Stratification.LocalSupportVanishing |