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.Stratification.LocalSupportVanishing |
| 11 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.SmoothSupportPurity |
| 12 | import HodgeConjecture.Lemmas.AlgebraicTopology.Support.FiniteFiltrationVanishing |
| 13 | |
| 14 | namespace OAI.AlgebraicGeometry.Cycle.ComponentSupportExtension |
| 15 | |
| 16 | open _root_.AlgebraicGeometry |
| 17 | |
| 18 | /-! |
| 19 | # Unique extension across a cycle component's singular boundary |
| 20 | |
| 21 | The canonical finite smooth filtration and its layerwise vanishing give the singular |
| 22 | boundary zero supported cohomology below `2(p+1)`, in particular in degrees `2p` and |
| 23 | `2p+1`. The nested-support localization sequence then makes restriction from the full |
| 24 | component support to its smooth-locus ambient open an isomorphism in degree `2p`, whose |
| 25 | inverse is the unique extension operation. |
| 26 | -/ |
| 27 | |
| 28 | noncomputable section |
| 29 | |
| 30 | open _root_.CategoryTheory Limits _root_.TopologicalSpace Opposite |
| 31 | |
| 32 | section |
| 33 | namespace ComplexPoint |
| 34 | |
| 35 | variable (X : Over (Spec ↧ℂ)) |
| 36 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) |
| 37 | {p : ℕ} (hx : Order.coheight x = p) |
| 38 | |
| 39 | include hx in |
| 40 | /-- `H^n_{Z_sing,k(ℂ)}(X(ℂ); ℚ) = 0` for `n < 2(p + 1)`, where `Z_sing,k` is the `k`-th stage of |
| 41 | the finite smooth filtration of `Z_sing` (so `Z_sing,0 = Z_sing`). -/ |
| 42 | theorem cycleComponentSingularFiltrationSectionCohomology_isZero_of_lt |
| 43 | (k : ℕ) (hk : k ≤ _root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationLength X x) |
| 44 | (n : ℤ) (hn : n < 2 * ((p : ℤ) + 1)) : |
| 45 | -- `H^n_{Z_sing,k(ℂ)}(X(ℂ); ℚ)`, for the `k`-th stage of the singular filtration. |
| 46 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 47 | -- `X(ℂ)`. |
| 48 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 49 | -- Global sections. |
| 50 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 51 | -- `RΓ_{Z_sing,k(ℂ)}(ℚ)`. |
| 52 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 53 | -- `Z_sing,k(ℂ)`, as a closed subset of `X(ℂ)`. |
| 54 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x k))).homology n) := by |
| 55 | let O (j : ℕ) := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x j).compl |
| 56 | have hO : Monotone O := fun _ _ hab _ hy hyb ↦ |
| 57 | hy (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration_antitone X x hab hyb) |
| 58 | have hN : O (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationLength X x) = ⊤ := by |
| 59 | dsimp only [O] |
| 60 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration_length] |
| 61 | ext y |
| 62 | change (y ∉ (∅ : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) ↔ y ∈ Set.univ |
| 63 | simp |
| 64 | exact _root_.OAI.AlgebraicTopology.Support.FiniteFiltrationVanishing.TopCat.Sheaf.finiteNestedSupport_homology_isZero |
| 65 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) O hO (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSingularGe.cycleComponentSingularFiltrationLength X x) hN |
| 66 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.ambientRationalInjectiveComplex X) |
| 67 | (fun j => _root_.OAI.AlgebraicTopology.Sheaf.InjectiveFlasque.TopCat.injective_isFlasque _ _) n |
| 68 | (fun j _ => _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularLayerSectionCohomology_isZero_of_lt |
| 69 | X x hx j n hn) k hk |
| 70 | |
| 71 | include hx in |
| 72 | /-- `H^n_{Z_sing(ℂ)}(X(ℂ); ℚ) = 0` for `n < 2(p + 1)`. -/ |
| 73 | theorem cycleComponentSingularBoundarySectionCohomology_isZero_of_lt |
| 74 | (n : ℤ) (hn : n < 2 * ((p : ℤ) + 1)) : |
| 75 | -- `H^n_{Z_sing(ℂ)}(X(ℂ); ℚ)`. |
| 76 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 77 | -- `X(ℂ)`. |
| 78 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 79 | -- Global sections. |
| 80 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 81 | -- `RΓ_{Z_sing(ℂ)}(ℚ)`. |
| 82 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 83 | -- `Z_sing(ℂ)`, as a closed subset of `X(ℂ)`. |
| 84 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x 0))).homology n) := |
| 85 | cycleComponentSingularFiltrationSectionCohomology_isZero_of_lt X x hx |
| 86 | 0 (Nat.zero_le _) n hn |
| 87 | |
| 88 | include hx in |
| 89 | /-- `H^{2p}_{Z_sing(ℂ)}(X(ℂ); ℚ) = 0`. -/ |
| 90 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularBoundarySectionCohomology_isZero_cycleDegree : |
| 91 | -- `H^{2p}_{Z_sing(ℂ)}(X(ℂ); ℚ)`. |
| 92 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 93 | -- `X(ℂ)`. |
| 94 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 95 | -- Global sections. |
| 96 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 97 | -- `RΓ_{Z_sing(ℂ)}(ℚ)`. |
| 98 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 99 | -- `Z_sing(ℂ)`, as a closed subset of `X(ℂ)`. |
| 100 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x 0))).homology |
| 101 | -- Degree `2p`. |
| 102 | (2 * (p : ℤ))) := |
| 103 | cycleComponentSingularBoundarySectionCohomology_isZero_of_lt X x hx _ (by omega) |
| 104 | |
| 105 | include hx in |
| 106 | /-- `H^{2p+1}_{Z_sing(ℂ)}(X(ℂ); ℚ) = 0`. -/ |
| 107 | theorem cycleComponentSingularBoundarySectionCohomology_isZero_cycleDegree_succ : |
| 108 | -- `H^{2p+1}_{Z_sing(ℂ)}(X(ℂ); ℚ)`. |
| 109 | IsZero ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 110 | -- `X(ℂ)`. |
| 111 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 112 | -- Global sections. |
| 113 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 114 | -- `RΓ_{Z_sing(ℂ)}(ℚ)`. |
| 115 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 116 | -- `Z_sing(ℂ)`, as a closed subset of `X(ℂ)`. |
| 117 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x 0))).homology |
| 118 | -- Degree `2p + 1`. |
| 119 | (2 * (p : ℤ) + 1)) := |
| 120 | cycleComponentSingularBoundarySectionCohomology_isZero_of_lt X x hx _ (by omega) |
| 121 | |
| 122 | /-- Every point of the singular boundary belongs to the full component support. -/ |
| 123 | theorem cycleComponentSingularBoundary_le_support : |
| 124 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x 0 ≤ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x := by |
| 125 | intro y hy |
| 126 | obtain ⟨z, _, hz⟩ := hy |
| 127 | change y.underlying ∈ closure ({x} : Set X.left) |
| 128 | rw [← _root_.OAI.AlgebraicGeometry.Cycle.SupportEq.range_cycleComponentι X.left x] |
| 129 | exact ⟨z, hz⟩ |
| 130 | |
| 131 | /-- The complement inclusion determining the localization sequence. -/ |
| 132 | theorem cycleComponentSupportComplement_le_smoothAmbientOpen : |
| 133 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x).compl ≤ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportAmbientOpen X x := |
| 134 | fun _ hy hyS ↦ hy (cycleComponentSingularBoundary_le_support X x hyS) |
| 135 | |
| 136 | /-- Let `X` be a smooth integral projective scheme over `ℂ`, let `x` be a scheme point, and let `Z` |
| 137 | be its reduced closure in `X`. Let `I^•` be the chosen injective resolution of `ℚ` on `X(ℂ)`. |
| 138 | This restricts sections of its subsheaves supported in `Z(ℂ)` from all of `X(ℂ)` to `X(ℂ) \ |
| 139 | Z_sing(ℂ)`, degree by degree. -/ |
| 140 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction : |
| 141 | -- Restriction `RΓ_{Z(ℂ)}(X(ℂ)) → RΓ_{Z(ℂ)}(X(ℂ) \ Z_sing(ℂ))`. |
| 142 | ((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 143 | -- `X(ℂ)`. |
| 144 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 145 | -- Global sections. |
| 146 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 147 | -- `RΓ_{Z(ℂ)}(ℚ)`. |
| 148 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x)) ⟶ |
| 149 | ((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 150 | -- `X(ℂ)`. |
| 151 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 152 | -- Sections over the open `X(ℂ) \ Z_sing(ℂ)`. |
| 153 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportAmbientOpen X x)).mapHomologicalComplex ℤᵘᵖ).obj |
| 154 | -- `RΓ_{Z(ℂ)}(ℚ)`. |
| 155 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x)) := |
| 156 | _root_.OAI.AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) ℤᵘᵖ |
| 157 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x)) (homOfLE le_top) |
| 158 | |
| 159 | set_option backward.isDefEq.respectTransparency false in |
| 160 | set_option backward.defeqAttrib.useBackward true in |
| 161 | include hx in |
| 162 | /-- Restriction `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ) → H^{2p}_{Z(ℂ)}(X(ℂ) \ Z_sing(ℂ); ℚ)` is an isomorphism: |
| 163 | in the localization sequence for `Z_sing(ℂ) ⊆ Z(ℂ)`, the neighbouring terms |
| 164 | `H^{2p}_{Z_sing(ℂ)}(X(ℂ); ℚ)` and `H^{2p+1}_{Z_sing(ℂ)}(X(ℂ); ℚ)` vanish. -/ |
| 165 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction_homology_isIso : |
| 166 | IsIso (HomologicalComplex.homologyMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction X x) (2 * (p : ℤ))) := by |
| 167 | let T := TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 168 | let h := cycleComponentSupportComplement_le_smoothAmbientOpen X x |
| 169 | let K := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.ambientRationalInjectiveComplex X |
| 170 | let S := _root_.OAI.AlgebraicTopology.Support.NestedLocalization.TopCat.Sheaf.nestedSupportRestrictionSectionsComplexShortComplex T h ⊤ K |
| 171 | let := _root_.OAI.AlgebraicTopology.Support.NestedLocalization.TopCat.Sheaf.nestedSupportRestriction_homologyMap_isIso_of_vanishing T h ⊤ K |
| 172 | (2 * (p : ℤ)) |
| 173 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularBoundarySectionCohomology_isZero_cycleDegree X x hx) |
| 174 | (cycleComponentSingularBoundarySectionCohomology_isZero_cycleDegree_succ X x hx) |
| 175 | have he : HomologicalComplex.homologyMap S.g (2 * (p : ℤ)) ≫ |
| 176 | HomologicalComplex.homologyMap |
| 177 | (_root_.OAI.AlgebraicTopology.Support.NestedOnOpen.TopCat.Sheaf.nestedSupportRestrictionLastComplexIso T h K).hom (2 * (p : ℤ)) = |
| 178 | HomologicalComplex.homologyMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction X x) (2 * (p : ℤ)) := by |
| 179 | rw [← HomologicalComplex.homologyMap_comp] |
| 180 | exact congrArg (fun f => HomologicalComplex.homologyMap f (2 * (p : ℤ))) |
| 181 | (_root_.OAI.AlgebraicTopology.Support.NestedOnOpen.TopCat.Sheaf.nestedSupportRestrictionLastComplexIso_g T h K) |
| 182 | rw [← he] |
| 183 | infer_instance |
| 184 | |
| 185 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the codimension-`p` |
| 186 | integral subvariety with generic point `x`. Restriction to `U = X(ℂ) \ Z_sing(ℂ)` gives this |
| 187 | isomorphism `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ) ≅ H^{2p}_{Z(ℂ) ∩ U}(U; ℚ)`. Its inverse extends a class |
| 188 | uniquely across the singular locus, whose supported cohomology vanishes in degrees `2p` and |
| 189 | `2p+1`. -/ |
| 190 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportExtensionIso : |
| 191 | -- `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ)`. |
| 192 | ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 193 | -- `X(ℂ)`. |
| 194 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 195 | -- Global sections. |
| 196 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 197 | -- `RΓ_{Z(ℂ)}(ℚ)`. |
| 198 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 199 | -- `Z(ℂ)`, as a closed subset of `X(ℂ)`. |
| 200 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x))).homology |
| 201 | -- Degree `2p`. |
| 202 | (2 * (p : ℤ))) ≅ |
| 203 | -- `H^{2p}_{Z(ℂ)}(X(ℂ) \ Z_sing(ℂ); ℚ)`. |
| 204 | ((((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 205 | -- `X(ℂ)`. |
| 206 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 207 | -- Sections over the open `X(ℂ) \ Z_sing(ℂ)`. |
| 208 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportAmbientOpen X x)).mapHomologicalComplex ℤᵘᵖ).obj |
| 209 | -- `RΓ_{Z(ℂ)}(ℚ)`. |
| 210 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x))).homology |
| 211 | -- Degree `2p`. |
| 212 | (2 * (p : ℤ))) := |
| 213 | letI := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction_homology_isIso X x hx |
| 214 | asIso (HomologicalComplex.homologyMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportSectionRestriction X x) (2 * (p : ℤ))) |
| 215 | |
| 216 | end ComplexPoint |
| 217 | end |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicGeometry.Cycle.ComponentSupportExtension |