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 | import OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultZeroForms |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.OpenExtension |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms |
| 5 | |
| 6 | /-! # Dolbeault Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultOpen |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! An actual smooth zero-form in the Dolbeault kernel gives an original holomorphic function section. -/ |
| 15 | |
| 16 | open _root_.TopologicalSpace _root_.ContinuousAlternatingMap |
| 17 | open OAI.AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | |
| 24 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 26 | |
| 27 | theorem contDiffOn_complex_iff_dolbeault_zero |
| 28 | {U : Set E} (hU : IsOpen U) {f : E → ℂ} (hf : ContDiffOn ℝ ∞ f U) : |
| 29 | ContDiffOn ℂ ∞ f U ↔ |
| 30 | ∀ x ∈ U, Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (fun y => constOfIsEmpty ℝ E (Fin 0) (f y)) x = 0 := by |
| 31 | rw [DolbeaultZeroForms.extDerivDoublePrime_zeroForm_eq_zero_on_open_iff hU (hf.differentiableOn (by simp))] |
| 32 | constructor |
| 33 | · intro h |
| 34 | exact h.differentiableOn (by simp) |
| 35 | · exact Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF.Constructions.HolomorphicDerivative.contDiffOn_infty_of_differentiableOn hU |
| 36 | |
| 37 | def holomorphicFunctionOfDbarZero {U : Opens E} (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 0) |
| 38 | (h : ∀ x : U, Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension x = 0) : |
| 39 | Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U) := |
| 40 | ⟨fun x => form x 0, by |
| 41 | have hs : ContDiffOn ℂ ∞ (AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms.zeroFormScalarExtension form) (U : Set E) := by |
| 42 | apply (contDiffOn_complex_iff_dolbeault_zero U.isOpen (AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms.zeroFormScalarExtension_smooth form)).mpr |
| 43 | intro x hx |
| 44 | rw [AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms.zeroFormScalarExtension_reconstruct] |
| 45 | exact h ⟨x, hx⟩ |
| 46 | intro x |
| 47 | have hc : ContMDiffAt 𝓘(ℂ, E) 𝓘(ℂ) ∞ (AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms.zeroFormScalarExtension form) (x : E) := |
| 48 | (hs.contDiffAt (U.isOpen.mem_nhds x.property)).contMDiffAt |
| 49 | have ht := (contMDiffAt_subtype_iff (U := U) (x := x)).mpr hc |
| 50 | simpa only [AlgebraicTopology.DeRham.Comparison.LocallyConstantZeroForms.zeroFormScalarExtension_apply] using ht⟩ |
| 51 | |
| 52 | theorem holomorphicFunctionOfDbarZero_apply {U : Opens E} (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 0) |
| 53 | (h : ∀ x : U, Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension x = 0) (x : U) : |
| 54 | holomorphicFunctionOfDbarZero form h x = form x 0 := rfl |
| 55 | |
| 56 | end |
| 57 | |
| 58 | section |
| 59 | |
| 60 | /-! Original holomorphic function sections are exactly actual smooth zero-forms in the Dolbeault kernel. -/ |
| 61 | |
| 62 | open _root_.TopologicalSpace _root_.ContinuousAlternatingMap |
| 63 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 64 | |
| 65 | set_option backward.isDefEq.respectTransparency false |
| 66 | set_option backward.isDefEq.respectTransparency.types false |
| 67 | set_option backward.defeqAttrib.useBackward true |
| 68 | |
| 69 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 70 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 71 | |
| 72 | omit [NormedSpace ℝ E] [IsScalarTower ℝ ℂ E] in |
| 73 | theorem holomorphicOpenExtend_contDiffOn {U : Opens E} |
| 74 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 75 | ContDiffOn ℂ ∞ (Holomorphic.OpenExtension.holomorphicOpenExtend g) (U : Set E) := |
| 76 | (Holomorphic.OpenExtension.holomorphicOpenExtend_contMDiffOn g).contDiffOn |
| 77 | |
| 78 | def holomorphicFunctionZeroForm {U : Opens E} (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 79 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 0 := |
| 80 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw U (fun x => constOfIsEmpty ℝ E (Fin 0) (Holomorphic.OpenExtension.holomorphicOpenExtend g x)) |
| 81 | ((constOfIsEmptyLIE ℝ E ℂ (Fin 0)).contDiff.comp_contDiffOn |
| 82 | ((holomorphicOpenExtend_contDiffOn g).restrict_scalars ℝ)) |
| 83 | |
| 84 | theorem holomorphicFunctionZeroForm_apply {U : Opens E} |
| 85 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) (x : U) (v : Fin 0 → E) : |
| 86 | holomorphicFunctionZeroForm g x v = g x := |
| 87 | Holomorphic.OpenExtension.holomorphicOpenExtend_apply g x x.property |
| 88 | |
| 89 | theorem holomorphicFunctionZeroForm_dbar {U : Opens E} |
| 90 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) (x : U) : |
| 91 | Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (holomorphicFunctionZeroForm g).extension x = 0 := by |
| 92 | have he := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_ofRaw_eventuallyEq |
| 93 | (fun y => constOfIsEmpty ℝ E (Fin 0) (Holomorphic.OpenExtension.holomorphicOpenExtend g y)) |
| 94 | ((constOfIsEmptyLIE ℝ E ℂ (Fin 0)).contDiff.comp_contDiffOn |
| 95 | ((holomorphicOpenExtend_contDiffOn g).restrict_scalars ℝ)) x |
| 96 | have hc := ((holomorphicOpenExtend_contDiffOn g).differentiableOn (by simp) x x.property).differentiableAt |
| 97 | (U.isOpen.mem_nhds x.property) |
| 98 | have hz := (DolbeaultZeroForms.extDerivDoublePrime_zeroForm_eq_zero_iff (hc.restrictScalars ℝ)).mpr hc |
| 99 | have heD : fderiv ℝ (holomorphicFunctionZeroForm g).extension (x : E) = |
| 100 | fderiv ℝ (fun y => constOfIsEmpty ℝ E (Fin 0) (Holomorphic.OpenExtension.holomorphicOpenExtend g y)) (x : E) := |
| 101 | he.fderiv_eq |
| 102 | change ContinuousAlternatingMap.alternatizeUncurryFin |
| 103 | (Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E (Analysis.DifferentialForms.Manifold.Basic.FormValue E 0) |
| 104 | (fderiv ℝ (holomorphicFunctionZeroForm g).extension (x : E))) = 0 |
| 105 | rw [heD] |
| 106 | exact hz |
| 107 | |
| 108 | variable [FiniteDimensional ℂ E] |
| 109 | |
| 110 | theorem holomorphicFunctionZeroForm_ofDbarZero {U : Opens E} (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 0) |
| 111 | (h : ∀ x : U, Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension x = 0) : |
| 112 | holomorphicFunctionZeroForm (holomorphicFunctionOfDbarZero form h) = form := by |
| 113 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 114 | intro x |
| 115 | apply ContinuousAlternatingMap.ext |
| 116 | intro v |
| 117 | rw [holomorphicFunctionZeroForm_apply, holomorphicFunctionOfDbarZero_apply] |
| 118 | congr 1 |
| 119 | exact Subsingleton.elim _ _ |
| 120 | |
| 121 | theorem holomorphicFunctionOfDbarZero_zeroForm {U : Opens E} |
| 122 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 123 | holomorphicFunctionOfDbarZero (holomorphicFunctionZeroForm g) (holomorphicFunctionZeroForm_dbar g) = g := by |
| 124 | apply ContMDiffMap.ext |
| 125 | intro x |
| 126 | rw [holomorphicFunctionOfDbarZero_apply, holomorphicFunctionZeroForm_apply] |
| 127 | |
| 128 | omit [FiniteDimensional ℂ E] in |
| 129 | theorem holomorphicFunctionZeroForm_restrict {U V : Opens E} (h : V ≤ U) |
| 130 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) |
| 131 | (g' : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := V)) |
| 132 | (hg : ∀ x : V, g' x = g (Opens.inclusion h x)) : |
| 133 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict h (holomorphicFunctionZeroForm g) = holomorphicFunctionZeroForm g' := by |
| 134 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 135 | intro x |
| 136 | apply ContinuousAlternatingMap.ext |
| 137 | intro v |
| 138 | change holomorphicFunctionZeroForm g (Opens.inclusion h x) v = holomorphicFunctionZeroForm g' x v |
| 139 | rw [holomorphicFunctionZeroForm_apply, holomorphicFunctionZeroForm_apply, hg] |
| 140 | |
| 141 | end |
| 142 | |
| 143 | /-! The actual antiholomorphic differential on smooth open-domain forms. -/ |
| 144 | |
| 145 | open _root_.TopologicalSpace _root_.ContinuousAlternatingMap |
| 146 | open scoped ContDiff _root_.Topology |
| 147 | |
| 148 | set_option backward.isDefEq.respectTransparency false |
| 149 | set_option backward.isDefEq.respectTransparency.types false |
| 150 | set_option backward.defeqAttrib.useBackward true |
| 151 | |
| 152 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 153 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] {n : ℕ} |
| 154 | |
| 155 | theorem contDiffOn_extDerivDoublePrime {U : Set E} (hU : IsOpen U) |
| 156 | {form : Analysis.DifferentialForms.Manifold.Basic.RawForm E n} (hf : ContDiffOn ℝ ∞ form U) : |
| 157 | ContDiffOn ℝ ∞ (Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form) U := by |
| 158 | change ContDiffOn ℝ ∞ |
| 159 | ((alternatizeUncurryFinCLM ℝ E ℂ) ∘ |
| 160 | ((Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E (Analysis.DifferentialForms.Manifold.Basic.FormValue E n)).restrictScalars ℝ) ∘ fderiv ℝ form) U |
| 161 | exact ((hf.fderiv_of_isOpen hU (m := ∞) (by simp)).continuousLinearMap_comp |
| 162 | ((Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E (Analysis.DifferentialForms.Manifold.Basic.FormValue E n)).restrictScalars ℝ)).continuousLinearMap_comp |
| 163 | (alternatizeUncurryFinCLM ℝ E ℂ) |
| 164 | |
| 165 | theorem extDerivDoublePrime_add {a b : Analysis.DifferentialForms.Manifold.Basic.RawForm E n} {x : E} |
| 166 | (ha : DifferentiableAt ℝ a x) (hb : DifferentiableAt ℝ b x) : |
| 167 | Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (a + b) x = Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime a x + Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime b x := by |
| 168 | unfold Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime |
| 169 | rw [fderiv_add ha hb, map_add, alternatizeUncurryFin_add] |
| 170 | |
| 171 | theorem extDerivDoublePrime_complex_smul (c : ℂ) (a : Analysis.DifferentialForms.Manifold.Basic.RawForm E n) (x : E) : |
| 172 | Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (c • a) x = c • Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime a x := by |
| 173 | unfold Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime |
| 174 | rw [fderiv_const_smul_field (𝕜 := ℝ) (f := a) c] |
| 175 | change alternatizeUncurryFin (Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 176 | (c • fderiv ℝ a x)) = _ |
| 177 | rw [map_smul, alternatizeUncurryFin_smul] |
| 178 | |
| 179 | def openDolbeaultD {U : Opens E} (n : ℕ) : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 1) where |
| 180 | toFun form := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw U (Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension) |
| 181 | (contDiffOn_extDerivDoublePrime U.isOpen form.smooth) |
| 182 | map_add' a b := by |
| 183 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 184 | intro x |
| 185 | change Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (a + b).extension x = |
| 186 | Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime a.extension x + Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime b.extension x |
| 187 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_add] |
| 188 | exact extDerivDoublePrime_add |
| 189 | ((a.smooth.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp)) |
| 190 | ((b.smooth.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp)) |
| 191 | map_smul' c a := by |
| 192 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 193 | intro x |
| 194 | change Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime (c • a).extension x = c • Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime a.extension x |
| 195 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_smul, extDerivDoublePrime_complex_smul] |
| 196 | |
| 197 | theorem openDolbeaultD_apply {U : Opens E} (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n) (x : U) : |
| 198 | openDolbeaultD n form x = Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension x := rfl |
| 199 | |
| 200 | theorem openDolbeaultD_zero_iff {U : Opens E} (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n) : |
| 201 | openDolbeaultD n form = 0 ↔ ∀ x : U, Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime form.extension x = 0 := by |
| 202 | constructor |
| 203 | · intro h x |
| 204 | exact congrArg (fun a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 1) => a x) h |
| 205 | · intro h |
| 206 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 207 | exact h |
| 208 | |
| 209 | end |
| 210 | |
| 211 | end OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultOpen |