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.ClosedImmersion.HolomorphicCharts |
| 7 | |
| 8 | /-! # Holomorphic Charts At -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.ClosedImmersion.HolomorphicChartsAt |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | open _root_.OpenPartialHomeomorph |
| 16 | |
| 17 | /-! |
| 18 | # Holomorphic support-flattening charts |
| 19 | |
| 20 | -/ |
| 21 | |
| 22 | /-! ### Constructions used only in proofs -/ |
| 23 | |
| 24 | section |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.Topology Filter |
| 27 | |
| 28 | namespace OpenPartialHomeomorph |
| 29 | |
| 30 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 31 | [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace E] [CompleteSpace F] |
| 32 | (e : OpenPartialHomeomorph E F) |
| 33 | |
| 34 | theorem biAnalyticRestrict_mem_source_iff (x : E) : |
| 35 | x ∈ (HolomorphicCharts.OpenPartialHomeomorph.biAnalyticRestrict e).source ↔ |
| 36 | x ∈ e.source ∧ AnalyticAt ℂ e x ∧ AnalyticAt ℂ e.symm (e x) := by |
| 37 | change (x ∈ e.source ∧ AnalyticAt ℂ e x ∧ x ∈ e.source ∧ AnalyticAt ℂ e.symm (e x)) ↔ _ |
| 38 | aesop |
| 39 | |
| 40 | end OpenPartialHomeomorph |
| 41 | |
| 42 | namespace ComplexPoint |
| 43 | open OAI.AlgebraicTopology.Singular |
| 44 | section |
| 45 | |
| 46 | variable (X Y : Over (Spec ↧ℂ)) |
| 47 | (i : Y ⟶ X) (m d : ℕ) |
| 48 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 49 | [IsClosedImmersion i.left] (z : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 50 | |
| 51 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_mem_range_iff (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 52 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).source) : |
| 53 | y ∈ Set.range (ComplexPoint.Basic.Point.map i) ↔ |
| 54 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z y).2 = 0 := |
| 55 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_range_iff X Y i m d z y hy.2 |
| 56 | |
| 57 | end |
| 58 | |
| 59 | variable (X Y : Over (Spec ↧ℂ)) |
| 60 | (i : Y ⟶ X) (m d : ℕ) |
| 61 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 62 | [IsClosedImmersion i.left] (z : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 63 | |
| 64 | /-- The underlying normal coordinate change and its inverse are analytic at every ambient |
| 65 | source point. -/ |
| 66 | theorem closedImmersionHolomorphicFlatteningChart_analytic (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 67 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).source) : |
| 68 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z) |
| 69 | (ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) y) ∧ |
| 70 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).symm |
| 71 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z y) := |
| 72 | ((HolomorphicChartsAt.OpenPartialHomeomorph.biAnalyticRestrict_mem_source_iff _ _).mp hy.1.2).2 |
| 73 | |
| 74 | theorem closedImmersionNormalCoordinateChange_symm_at_chart (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 75 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).source) : |
| 76 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).symm |
| 77 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z y) = |
| 78 | ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) y := |
| 79 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).left_inv hy.1.2.1 |
| 80 | |
| 81 | variable (z' : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 82 | |
| 83 | /-- Let `i: Y → X` be a closed immersion of smooth schemes over `ℂ` of dimensions `m` and `d`, |
| 84 | respectively. Choose points `z,z′ ∈ Y(ℂ)` and their holomorphic charts `e_z,e_z′` in `ℂ^m × |
| 85 | ℂ^{d-m}` that identify the image of `Y(ℂ)` with the locus where the second coordinate is zero. |
| 86 | This local homeomorphism is the coordinate change `e_z′ ∘ e_z⁻¹` on the overlap. -/ |
| 87 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition : |
| 88 | OpenPartialHomeomorph ((Fin m → ℂ) × (Fin (d - m) → ℂ)) |
| 89 | ((Fin m → ℂ) × (Fin (d - m) → ℂ)) := |
| 90 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).symm.trans |
| 91 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z') |
| 92 | |
| 93 | /-- These transitions are holomorphic throughout their domains. -/ |
| 94 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalTransition |
| 95 | (v : (Fin m → ℂ) × (Fin (d - m) → ℂ)) |
| 96 | (hv : v ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z').source) : |
| 97 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z') v := by |
| 98 | let e := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z |
| 99 | let e' := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z' |
| 100 | let C := ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) |
| 101 | let C' := ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z') |
| 102 | let A := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z |
| 103 | let A' := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z' |
| 104 | let y := e.symm v |
| 105 | have hyv : y ∈ e.source := e.map_target hv.1 |
| 106 | have hyv' : y ∈ e'.source := hv.2 |
| 107 | have hyC : y ∈ C.source := hyv.1.1 |
| 108 | have hyC' : y ∈ C'.source := hyv'.1.1 |
| 109 | have hAv := closedImmersionNormalCoordinateChange_symm_at_chart |
| 110 | X Y i m d z y hyv |
| 111 | rw [e.right_inv hv.1] at hAv |
| 112 | have hA := (closedImmersionHolomorphicFlatteningChart_analytic |
| 113 | X Y i m d z y hyv).2 |
| 114 | rw [e.right_inv hv.1] at hA |
| 115 | have hA' := (closedImmersionHolomorphicFlatteningChart_analytic |
| 116 | X Y i m d z' y hyv').1 |
| 117 | have hCC : AnalyticAt ℂ (fun w => C' (C.symm w)) (C y) := by |
| 118 | apply ComplexPoint.Basic.ComplexSchemePoint.analyticAt_localChart_transition X d (ComplexPoint.Basic.Point.map i z) (ComplexPoint.Basic.Point.map i z') |
| 119 | refine ⟨C.map_source hyC, ?_⟩ |
| 120 | change C.symm (C y) ∈ C'.source |
| 121 | rw [C.left_inv hyC] |
| 122 | exact hyC' |
| 123 | have hCC' : AnalyticAt ℂ (fun w => C' (C.symm w)) (A.symm v) := hAv ▸ hCC |
| 124 | have hmiddle := hCC'.comp hA |
| 125 | have himage : C' (C.symm (A.symm v)) = C' y := by rw [hAv, C.left_inv hyC] |
| 126 | have hlast : AnalyticAt ℂ A' (C' (C.symm (A.symm v))) := himage ▸ hA' |
| 127 | exact hlast.comp (f := fun w => C' (C.symm (A.symm w))) (x := v) hmiddle |
| 128 | |
| 129 | /-- The inverse transition is holomorphic at the image of every source point. -/ |
| 130 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalTransition_symm |
| 131 | (v : (Fin m → ℂ) × (Fin (d - m) → ℂ)) |
| 132 | (hv : v ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z').source) : |
| 133 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z').symm |
| 134 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z' v) := |
| 135 | ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalTransition X Y i m d z' z |
| 136 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z' v) |
| 137 | ((ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalTransition X Y i m d z z').map_source hv) |
| 138 | |
| 139 | end ComplexPoint |
| 140 | |
| 141 | end |
| 142 | |
| 143 | open _root_.CategoryTheory _root_.Topology Filter |
| 144 | |
| 145 | namespace OpenPartialHomeomorph |
| 146 | |
| 147 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 148 | [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace E] [CompleteSpace F] |
| 149 | (e : OpenPartialHomeomorph E F) |
| 150 | |
| 151 | @[simp] theorem biAnalyticRestrict_apply (x : E) : (HolomorphicCharts.OpenPartialHomeomorph.biAnalyticRestrict e) x = e x := rfl |
| 152 | @[simp] theorem biAnalyticRestrict_symm_apply (y : F) : (HolomorphicCharts.OpenPartialHomeomorph.biAnalyticRestrict e).symm y = e.symm y := rfl |
| 153 | |
| 154 | end OpenPartialHomeomorph |
| 155 | |
| 156 | namespace ComplexPoint |
| 157 | |
| 158 | open OAI.AlgebraicTopology.Singular |
| 159 | |
| 160 | variable (X Y : Over (Spec ↧ℂ)) |
| 161 | (i : Y ⟶ X) (m d : ℕ) |
| 162 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 163 | [IsClosedImmersion i.left] (z : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 164 | |
| 165 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange_mem_source : |
| 166 | ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) (ComplexPoint.Basic.Point.map i z) ∈ |
| 167 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).source := |
| 168 | ⟨ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart_mem_target X Y i m d z, trivial⟩ |
| 169 | |
| 170 | @[simp] theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange_center : |
| 171 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z |
| 172 | (ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) (ComplexPoint.Basic.Point.map i z)) = |
| 173 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := by |
| 174 | change ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinatesLinearEquiv X Y i m d z |
| 175 | ((ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart X Y i m d z).symm _) = _ |
| 176 | simp [ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinatesLinearEquiv] |
| 177 | |
| 178 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalCoordinateChange : |
| 179 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z) |
| 180 | (ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) (ComplexPoint.Basic.Point.map i z)) := |
| 181 | ((ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinatesLinearEquiv X Y i m d z).toContinuousLinearMap.analyticAt |
| 182 | _).comp (ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalChart_symm X Y i m d z) |
| 183 | |
| 184 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalCoordinateChange_symm : |
| 185 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).symm |
| 186 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := by |
| 187 | let K := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinatesLinearEquiv X Y i m d z |
| 188 | have hK : K.symm (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) = (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := by |
| 189 | simp [K, ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinatesLinearEquiv] |
| 190 | have hA' : AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart X Y i m d z) |
| 191 | (K.symm (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0)) := hK ▸ ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalChart X Y i m d z |
| 192 | exact hA'.comp (K.symm.toContinuousLinearMap.analyticAt _) |
| 193 | |
| 194 | @[simp] theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_apply (y : ComplexPoint.Basic.ComplexSchemePoint X) : |
| 195 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z y = |
| 196 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart X Y i m d z y := rfl |
| 197 | |
| 198 | @[simp] theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_symm_apply |
| 199 | (v : (Fin m → ℂ) × (Fin (d - m) → ℂ)) : |
| 200 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).symm v = |
| 201 | (ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z)).symm |
| 202 | ((ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange X Y i m d z).symm v) := rfl |
| 203 | |
| 204 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_mem_source : |
| 205 | ComplexPoint.Basic.Point.map i z ∈ |
| 206 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z).source := by |
| 207 | refine ⟨⟨ComplexPoint.Basic.ComplexSchemePoint.mem_localChart_source X d (ComplexPoint.Basic.Point.map i z), ?_⟩, |
| 208 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_source X Y i m d z⟩ |
| 209 | apply (HolomorphicChartsAt.OpenPartialHomeomorph.biAnalyticRestrict_mem_source_iff _ _).mpr |
| 210 | refine ⟨ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange_mem_source X Y i m d z, |
| 211 | ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalCoordinateChange X Y i m d z, ?_⟩ |
| 212 | simp only [OpenPartialHomeomorph.symm_symm] |
| 213 | rw [ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalCoordinateChange_center] |
| 214 | exact ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalCoordinateChange_symm X Y i m d z |
| 215 | |
| 216 | @[simp] theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart_center : |
| 217 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionHolomorphicFlatteningChart X Y i m d z (ComplexPoint.Basic.Point.map i z) = |
| 218 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := |
| 219 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_center X Y i m d z |
| 220 | |
| 221 | end ComplexPoint |
| 222 | |
| 223 | end |
| 224 | |
| 225 | end OAI.AlgebraicGeometry.ClosedImmersion.HolomorphicChartsAt |