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