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