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.Lemmas.AlgebraicGeometry.Cycle.SmoothPair.CoclassOverlap |
| 9 | import HodgeConjecture.Lemmas.AlgebraicTopology.Support.RelativeCohomologySheaf |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Cycle.SmoothPairCoclassSection |
| 12 | |
| 13 | open scoped OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular |
| 14 | |
| 15 | open _root_.AlgebraicGeometry |
| 16 | |
| 17 | /-! |
| 18 | # The global normalized smooth-support coclass section |
| 19 | |
| 20 | Holomorphic normal charts supply local relative coclasses whose ambient overlap agreement |
| 21 | identifies their sheaf germs, and those germs vanish off the closed image because the |
| 22 | relative complexes do. Unique sheaf gluing then produces the global section, with its |
| 23 | complex normalization. |
| 24 | -/ |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | open _root_.CategoryTheory Limits _root_.TopologicalSpace Opposite |
| 29 | open _root_.OAI.AlgebraicTopology.Singular |
| 30 | open _root_.TopCat.Presheaf |
| 31 | |
| 32 | section |
| 33 | namespace ComplexPoint |
| 34 | |
| 35 | variable (X Y : Over (Spec ↧ℂ)) |
| 36 | (i : Y ⟶ X) (m d : ℕ) |
| 37 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 38 | [IsClosedImmersion i.left] |
| 39 | |
| 40 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of respective dimensions `m` and |
| 41 | `d`, and put `S = i(Y(ℂ))` and `c = d-m`. For `z ∈ Y(ℂ)`, this is the source of a chosen |
| 42 | holomorphic chart near `i(z)` with coordinates in `ℂ^m × ℂ^c` in which `S` is the zero set of |
| 43 | the normal coordinate. -/ |
| 44 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) : |
| 45 | Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) := |
| 46 | ⟨(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).source, |
| 47 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).open_source⟩ |
| 48 | |
| 49 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_smoothClosedSupportChartOpen (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) : |
| 50 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i z ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z := |
| 51 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_mem_source X Y i m d z |
| 52 | |
| 53 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of dimensions `m,d`. Put `S = |
| 54 | i(Y(ℂ))` and `c = d-m`. This is the sheafification on `X(ℂ)` of the relative singular cohomology |
| 55 | presheaf `V ↦ H^{2c}(V,V \ S;ℚ)`, considered as abelian groups. -/ |
| 56 | abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf : TopCat.Sheaf AddCommGrpCat |
| 57 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) := |
| 58 | -- The support is `Y(ℂ) ⊆ X(ℂ)`, the image of the closed immersion `i`; the degree is twice |
| 59 | -- the codimension of `Y` in `X`. |
| 60 | 𝓗_[Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)]^(2 * (d - m))(TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℚ) |
| 61 | |
| 62 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of dimensions `m,d`. Put `S = |
| 63 | i(Y(ℂ))` and `c = d-m`. On the chosen normal chart at `i(z)`, with `z ∈ Y(ℂ)`, this is a section |
| 64 | of the sheafification of `V ↦ H^{2c}(V,V \ S;ℚ)`. It is obtained by pulling back the class in |
| 65 | `H^{2c}(ℂ^c,ℂ^c \ {0};ℚ)` evaluating to `1` on the complex orientation class along the normal |
| 66 | coordinate and sheafifying. -/ |
| 67 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartSheafSection (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) : |
| 68 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.obj |
| 69 | (op (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z)) := |
| 70 | (_root_.OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 71 | (Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) (2 * (d - m))).app _ |
| 72 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclass X Y i m d z |
| 73 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) (le_refl _)) |
| 74 | |
| 75 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of dimensions `m,d`. Put `S = |
| 76 | i(Y(ℂ))` and `c = d-m`. For `z ∈ Y(ℂ)` and `x` in the chosen normal chart at `i(z)`, this is a |
| 77 | germ in the sheafification of `V ↦ H^{2c}(V,V \ S;ℚ)`. It is the germ at `x` of the pullback |
| 78 | along the normal coordinate of the class in `H^{2c}(ℂ^c,ℂ^c \ {0};ℚ)` evaluating to `1` on the |
| 79 | complex orientation class. -/ |
| 80 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) |
| 81 | (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 82 | (hx : x ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) : |
| 83 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.stalk x := |
| 84 | _root_.OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyGerm (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 85 | (Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) (2 * (d - m)) |
| 86 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) x hx |
| 87 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclass X Y i m d z |
| 88 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) (le_refl _)) |
| 89 | |
| 90 | set_option backward.isDefEq.respectTransparency false in |
| 91 | /-- The ambient overlap theorem proves equality of chart germs on support. -/ |
| 92 | theorem smoothClosedSupportChartCoclassGerm_eq |
| 93 | (z z' : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 94 | (hxS : x ∈ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) |
| 95 | (hx : x ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) |
| 96 | (hx' : x ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z') : |
| 97 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm X Y i m d z x hx = |
| 98 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm X Y i m d z' x hx' := by |
| 99 | obtain ⟨W, hW, hW', hxW, heq⟩ := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.exists_open_smoothClosedSupportChartCoclass_eq |
| 100 | X Y i m d z z' x hxS hx hx' |
| 101 | apply _root_.OAI.AlgebraicTopology.Support.RelativeCohomologyEq.Singular.supportRelativeCohomologyGerm_eq_of_restrict_eq |
| 102 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) (2 * (d - m)) |
| 103 | (U := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) |
| 104 | (V := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z') |
| 105 | hW hW' x hxW |
| 106 | simpa only [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclass_restrict] using heq |
| 107 | |
| 108 | /-- Away from the closed image, the chart coclass germ is zero. -/ |
| 109 | theorem smoothClosedSupportChartCoclassGerm_eq_zero |
| 110 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 111 | (hx : x ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) |
| 112 | (hxS : x ∉ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) : |
| 113 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm X Y i m d z x hx = 0 := |
| 114 | _root_.OAI.AlgebraicTopology.Support.RelativeCohomologyEq.Singular.supportRelativeCohomologyGerm_eq_zero_of_not_mem |
| 115 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) (2 * (d - m)) |
| 116 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.isClosed_range_map_of_closedImmersion i) |
| 117 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) x hx hxS |
| 118 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclass X Y i m d z |
| 119 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) (le_refl _)) |
| 120 | |
| 121 | open scoped Classical in |
| 122 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of dimensions `m,d`. Put `S = |
| 123 | i(Y(ℂ))` and `c = d-m`. This element of the stalk at `x` of the sheafification of `V ↦ |
| 124 | H^{2c}(V,V \ S;ℚ)` is zero off `S`. On `S`, it is the germ of the pullback, in a chosen normal |
| 125 | chart at `x`, of the class in `H^{2c}(ℂ^c,ℂ^c \ {0};ℚ)` evaluating to `1` on the complex |
| 126 | orientation class. -/ |
| 127 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) : |
| 128 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.stalk x := |
| 129 | if hxS : x ∈ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i) then |
| 130 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm X Y i m d hxS.choose x |
| 131 | (by simpa only [hxS.choose_spec] using |
| 132 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_smoothClosedSupportChartOpen X Y i m d hxS.choose) |
| 133 | else 0 |
| 134 | |
| 135 | /-- The normalized germ family agrees with every chart, including at points outside the |
| 136 | support. -/ |
| 137 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_eq_chartGerm |
| 138 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint Y) (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) |
| 139 | (hx : x ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z) : |
| 140 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk X Y i m d x = |
| 141 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartCoclassGerm X Y i m d z x hx := by |
| 142 | by_cases hxS : x ∈ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i) |
| 143 | · rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk, dite_eq_left hxS] |
| 144 | exact smoothClosedSupportChartCoclassGerm_eq X Y i m d |
| 145 | hxS.choose z x hxS _ hx |
| 146 | · rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk, dite_eq_right hxS] |
| 147 | exact (smoothClosedSupportChartCoclassGerm_eq_zero X Y i m d z x hx hxS).symm |
| 148 | |
| 149 | @[simp] theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_eq_zero |
| 150 | (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) (hxS : x ∉ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i)) : |
| 151 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk X Y i m d x = 0 := by |
| 152 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk, dite_eq_right hxS] |
| 153 | |
| 154 | /-- The charts and the open support complement prove local representability |
| 155 | of the entire normalized stalk family. -/ |
| 156 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_locallyRepresentable : |
| 157 | ∀ x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X, |
| 158 | ∃ (U : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (_ : x ∈ U) |
| 159 | (s : (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.obj (op U)), |
| 160 | ∀ (y : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) (hy : y ∈ U), |
| 161 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.germ U y hy s = |
| 162 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk X Y i m d y := by |
| 163 | intro x |
| 164 | by_cases hxS : x ∈ Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i) |
| 165 | · obtain ⟨z, rfl⟩ := hxS |
| 166 | refine ⟨_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartOpen X Y i m d z, |
| 167 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_smoothClosedSupportChartOpen X Y i m d z, |
| 168 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportChartSheafSection X Y i m d z, ?_⟩ |
| 169 | exact fun y hy ↦ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_eq_chartGerm X Y i m d z y hy).symm |
| 170 | · let U : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) := |
| 171 | ⟨(Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map i))ᶜ, (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.isClosed_range_map_of_closedImmersion i).isOpen_compl⟩ |
| 172 | refine ⟨U, hxS, 0, ?_⟩ |
| 173 | intro y hy |
| 174 | rw [map_zero, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_eq_zero X Y i m d y hy] |
| 175 | |
| 176 | /-- Let `i : Y → X` be a closed immersion of smooth complex schemes of dimensions `m,d`. Put `S = |
| 177 | i(Y(ℂ))` and `c = d-m`. This global section of the sheafification of `V ↦ H^{2c}(V,V \ S;ℚ)` |
| 178 | glues the zero section off `S` with pullbacks in normal charts of the class in `H^{2c}(ℂ^c,ℂ^c \ |
| 179 | {0};ℚ)` evaluating to `1` on the complex orientation class. -/ |
| 180 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSection : |
| 181 | -- A global section of `𝓗^{2(d-m)}_{Y(ℂ)}` on `X(ℂ)`. |
| 182 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassSheaf X Y i m d).presheaf.obj |
| 183 | -- All of `X(ℂ)`. |
| 184 | (op ⊤) := |
| 185 | _root_.OAI.AlgebraicTopology.Sheaf.MapOfLocalStalks.TopCat.sectionOfLocallyRepresentable _ |
| 186 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk X Y i m d) |
| 187 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportCoclassStalk_locallyRepresentable X Y i m d) |
| 188 | |
| 189 | end ComplexPoint |
| 190 | end |
| 191 | |
| 192 | end |
| 193 | |
| 194 | end OAI.AlgebraicGeometry.Cycle.SmoothPairCoclassSection |