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