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.Comparison.Betti.Holomorphic.VectorCoefficients |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.ManifoldPurity |
| 3 | |
| 4 | /-! # Coefficient Mem -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.CoefficientMem |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual holomorphic forms on an open domain have holomorphic coefficient functions, |
| 13 | and pure holomorphic coefficient functions give actual holomorphic forms. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 17 | |
| 18 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 19 | [IsScalarTower ℝ ℂ E] {U : Opens E} {n : ℕ} |
| 20 | |
| 21 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 22 | |
| 23 | theorem open_form_coefficients_holomorphic [FiniteDimensional ℂ E] (a : DeRhamComplex.forms E U n) : |
| 24 | ContDiffOn ℂ ∞ ((Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).symm (DeRhamComplex.inclusion E U n a)).extension |
| 25 | (U : Set E) := by |
| 26 | intro y hy |
| 27 | let x : U := ⟨y, hy⟩ |
| 28 | have h := VectorCoefficients.form_coefficients_holomorphic a (chartAt E x) (chart_mem_atlas E x) |
| 29 | rw [Analysis.DifferentialForms.Manifold.OpenEquivalence.open_chartAt_target] at h |
| 30 | apply h.congr _ y hy |
| 31 | intro z hz |
| 32 | change Analysis.DifferentialForms.Manifold.OpenD.openFormExtension U ((Analysis.DifferentialForms.Manifold.OpenEquivalence.openRawManifoldEquiv U n).symm |
| 33 | (DeRhamComplex.inclusion E U n a).val) z = (DeRhamComplex.inclusion E U n a).val.inChart (chartAt E x) z |
| 34 | rw [Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_apply U _ ⟨z, hz⟩] |
| 35 | exact Analysis.DifferentialForms.Manifold.OpenEquivalence.openRawManifoldEquiv_symm_eq_inChart _ _ (chart_mem_atlas E x) ⟨z, hz⟩ |
| 36 | |
| 37 | theorem open_coefficients_mem_forms (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n) |
| 38 | (hp : ∀ x : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (a x)) |
| 39 | (hc : ContDiffOn ℂ ∞ a.extension (U : Set E)) : |
| 40 | (⟨Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n a, |
| 41 | (Open.ManifoldPurity.Holomorphic.smoothOpenManifoldEquiv_pure_iff (p := n) (q := 0) a).mpr hp⟩ : |
| 42 | Analysis.DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm E U n 0) ∈ DeRhamComplex.forms E U n := by |
| 43 | apply (ChartCoefficients.mem_forms_iff_coefficients_complex _).mpr |
| 44 | intro e he y hy |
| 45 | have hyU : y ∈ U := by rwa [Analysis.DifferentialForms.Manifold.OpenEquivalence.openChart_target e he] at hy |
| 46 | have hs : ContDiffOn ℂ ∞ ((Analysis.DifferentialForms.Manifold.OpenEquivalence.openRawManifoldEquiv U n a).inChart e) (U : Set E) := |
| 47 | hc.congr (fun z hz => Analysis.DifferentialForms.Manifold.OpenEquivalence.openRawManifoldEquiv_inChart a e he hz) |
| 48 | exact (hs.contDiffAt (U.isOpen.mem_nhds hyU)).differentiableAt (by simp) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | section |
| 53 | |
| 54 | /-! An independent coefficient definition of holomorphic forms on an open domain. -/ |
| 55 | |
| 56 | open _root_.TopologicalSpace |
| 57 | open scoped _root_.Manifold ContDiff |
| 58 | |
| 59 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 60 | [IsScalarTower ℝ ℂ E] |
| 61 | |
| 62 | def holomorphicOpenCoefficients (U : Opens E) (n : ℕ) : |
| 63 | Submodule ℂ (U → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) where |
| 64 | carrier := {f | (∀ x : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (f x)) ∧ |
| 65 | ContDiffOn ℂ ∞ (Analysis.DifferentialForms.Manifold.OpenD.openFormExtension U f) (U : Set E)} |
| 66 | zero_mem' := by |
| 67 | constructor |
| 68 | · intro x |
| 69 | exact (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0).zero_mem |
| 70 | · rw [Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_zero] |
| 71 | exact contDiffOn_const |
| 72 | add_mem' := by |
| 73 | rintro f g ⟨hf, hfc⟩ ⟨hg, hgc⟩ |
| 74 | constructor |
| 75 | · intro x |
| 76 | exact (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0).add_mem (hf x) (hg x) |
| 77 | · rw [Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_add] |
| 78 | exact hfc.add hgc |
| 79 | smul_mem' := by |
| 80 | rintro c f ⟨hf, hfc⟩ |
| 81 | constructor |
| 82 | · intro x |
| 83 | exact (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0).smul_mem c (hf x) |
| 84 | · rw [Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_smul] |
| 85 | exact hfc.const_smul c |
| 86 | |
| 87 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 88 | |
| 89 | def holomorphicCoefficientsSmoothForm {U : Opens E} {n : ℕ} |
| 90 | (f : holomorphicOpenCoefficients U n) : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n := |
| 91 | ⟨f.val, f.property.2.restrict_scalars ℝ⟩ |
| 92 | |
| 93 | def holomorphicCoefficientsToForm (U : Opens E) (n : ℕ) : |
| 94 | holomorphicOpenCoefficients U n →ₗ[ℂ] DeRhamComplex.forms E U n where |
| 95 | toFun f := |
| 96 | ⟨⟨Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n (holomorphicCoefficientsSmoothForm f), |
| 97 | (Open.ManifoldPurity.Holomorphic.smoothOpenManifoldEquiv_pure_iff (p := n) (q := 0) _).mpr f.property.1⟩, |
| 98 | open_coefficients_mem_forms (holomorphicCoefficientsSmoothForm f) f.property.1 f.property.2⟩ |
| 99 | map_add' f g := by |
| 100 | apply Subtype.ext |
| 101 | apply Subtype.ext |
| 102 | exact (Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).map_add |
| 103 | (holomorphicCoefficientsSmoothForm f) (holomorphicCoefficientsSmoothForm g) |
| 104 | map_smul' c f := by |
| 105 | apply Subtype.ext |
| 106 | apply Subtype.ext |
| 107 | exact (Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).map_smul c (holomorphicCoefficientsSmoothForm f) |
| 108 | |
| 109 | theorem holomorphicCoefficientsToForm_inclusion (U : Opens E) (n : ℕ) |
| 110 | (f : holomorphicOpenCoefficients U n) : |
| 111 | DeRhamComplex.inclusion E U n (holomorphicCoefficientsToForm U n f) = |
| 112 | Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n (holomorphicCoefficientsSmoothForm f) := rfl |
| 113 | |
| 114 | end |
| 115 | |
| 116 | section |
| 117 | |
| 118 | /-! Coordinate coefficients and the actual kernel of d-double-prime are canonically equivalent. -/ |
| 119 | |
| 120 | open _root_.TopologicalSpace |
| 121 | open scoped _root_.Manifold ContDiff |
| 122 | |
| 123 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 124 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 125 | |
| 126 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 127 | |
| 128 | def formToHolomorphicCoefficients (U : Opens E) (n : ℕ) : |
| 129 | DeRhamComplex.forms E U n →ₗ[ℂ] holomorphicOpenCoefficients U n where |
| 130 | toFun a := |
| 131 | ⟨((Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).symm (DeRhamComplex.inclusion E U n a)).val, |
| 132 | Open.ManifoldPurity.Holomorphic.smoothOpenManifoldEquiv_symm_pure (p := n) (q := 0) |
| 133 | (DeRhamComplex.inclusion E U n a) a.val.hasManifoldBidegree, |
| 134 | open_form_coefficients_holomorphic a⟩ |
| 135 | map_add' a b := by |
| 136 | apply Subtype.ext |
| 137 | exact congrArg (fun f : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n => f.val) |
| 138 | ((Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).symm.map_add (DeRhamComplex.inclusion E U n a) (DeRhamComplex.inclusion E U n b)) |
| 139 | map_smul' c a := by |
| 140 | apply Subtype.ext |
| 141 | exact congrArg (fun f : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n => f.val) |
| 142 | ((Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).symm.map_smul c (DeRhamComplex.inclusion E U n a)) |
| 143 | |
| 144 | theorem coefficientsToForm_formToCoefficients (U : Opens E) (n : ℕ) (a : DeRhamComplex.forms E U n) : |
| 145 | holomorphicCoefficientsToForm U n (formToHolomorphicCoefficients U n a) = a := by |
| 146 | apply Subtype.ext |
| 147 | apply Subtype.ext |
| 148 | exact (Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).apply_symm_apply _ |
| 149 | |
| 150 | theorem formToCoefficients_coefficientsToForm (U : Opens E) (n : ℕ) |
| 151 | (a : holomorphicOpenCoefficients U n) : |
| 152 | formToHolomorphicCoefficients U n (holomorphicCoefficientsToForm U n a) = a := by |
| 153 | apply Subtype.ext |
| 154 | exact congrArg (fun f : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n => f.val) ((Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n).symm_apply_apply |
| 155 | (holomorphicCoefficientsSmoothForm a)) |
| 156 | |
| 157 | def holomorphicCoefficientsEquivForms (U : Opens E) (n : ℕ) : |
| 158 | holomorphicOpenCoefficients U n ≃ₗ[ℂ] DeRhamComplex.forms E U n where |
| 159 | toLinearMap := holomorphicCoefficientsToForm U n |
| 160 | invFun := formToHolomorphicCoefficients U n |
| 161 | left_inv := formToCoefficients_coefficientsToForm U n |
| 162 | right_inv := coefficientsToForm_formToCoefficients U n |
| 163 | |
| 164 | theorem holomorphicCoefficientsEquivForms_inclusion (U : Opens E) (n : ℕ) |
| 165 | (a : holomorphicOpenCoefficients U n) : |
| 166 | DeRhamComplex.inclusion E U n (holomorphicCoefficientsEquivForms U n a) = |
| 167 | Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U n (holomorphicCoefficientsSmoothForm a) := rfl |
| 168 | |
| 169 | end |
| 170 | |
| 171 | /-! Holomorphic vector-valued functions on an actual open domain, with pointwise operations. -/ |
| 172 | |
| 173 | open _root_.TopologicalSpace |
| 174 | open scoped ContDiff |
| 175 | |
| 176 | def openCoefficientExtension {E F : Type} [TopologicalSpace E] [Zero F] |
| 177 | (U : Opens E) (f : U → F) (x : E) : F := by |
| 178 | classical |
| 179 | exact if hx : x ∈ U then f ⟨x, hx⟩ else 0 |
| 180 | |
| 181 | theorem openCoefficientExtension_apply {E F : Type} [TopologicalSpace E] [Zero F] |
| 182 | (U : Opens E) (f : U → F) (x : U) : openCoefficientExtension U f x = f x := by |
| 183 | simp [openCoefficientExtension, x.property] |
| 184 | |
| 185 | variable {E F G : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 186 | [NormedAddCommGroup F] [NormedSpace ℂ F] [NormedAddCommGroup G] [NormedSpace ℂ G] |
| 187 | |
| 188 | def holomorphicSections (U : Opens E) (F : Type) [NormedAddCommGroup F] [NormedSpace ℂ F] : |
| 189 | Submodule ℂ (U → F) where |
| 190 | carrier := {f | ContDiffOn ℂ ∞ (openCoefficientExtension U f) (U : Set E)} |
| 191 | zero_mem' := by |
| 192 | apply contDiffOn_const.congr |
| 193 | intro x hx |
| 194 | exact openCoefficientExtension_apply U (0 : U → F) ⟨x, hx⟩ |
| 195 | add_mem' := by |
| 196 | intro f g hf hg |
| 197 | apply (hf.add hg).congr |
| 198 | intro x hx |
| 199 | simp only [openCoefficientExtension_apply U _ ⟨x, hx⟩, Pi.add_apply] |
| 200 | smul_mem' := by |
| 201 | intro c f hf |
| 202 | apply (hf.const_smul c).congr |
| 203 | intro x hx |
| 204 | simp only [openCoefficientExtension_apply U _ ⟨x, hx⟩, Pi.smul_apply] |
| 205 | |
| 206 | def holomorphicSectionMap (U : Opens E) (L : F →L[ℂ] G) : |
| 207 | holomorphicSections U F →ₗ[ℂ] holomorphicSections U G where |
| 208 | toFun f := ⟨fun x => L (f.val x), by |
| 209 | have hL : ContDiff ℂ ∞ L := ContinuousLinearMap.contDiff _ |
| 210 | apply (hL.comp_contDiffOn f.property).congr |
| 211 | intro x hx |
| 212 | simp only [Function.comp_apply, openCoefficientExtension_apply U _ ⟨x, hx⟩]⟩ |
| 213 | map_add' f g := by |
| 214 | apply Subtype.ext |
| 215 | funext x |
| 216 | exact L.map_add _ _ |
| 217 | map_smul' c f := by |
| 218 | apply Subtype.ext |
| 219 | funext x |
| 220 | exact L.map_smul c _ |
| 221 | |
| 222 | theorem holomorphicSectionMap_apply (U : Opens E) (L : F →L[ℂ] G) |
| 223 | (f : holomorphicSections U F) (x : U) : |
| 224 | (holomorphicSectionMap U L f).val x = L (f.val x) := rfl |
| 225 | |
| 226 | def holomorphicSectionEquiv (U : Opens E) (L : F ≃L[ℂ] G) : |
| 227 | holomorphicSections U F ≃ₗ[ℂ] holomorphicSections U G where |
| 228 | toLinearMap := holomorphicSectionMap U L.toContinuousLinearMap |
| 229 | invFun := holomorphicSectionMap U L.symm.toContinuousLinearMap |
| 230 | left_inv f := by |
| 231 | apply Subtype.ext |
| 232 | funext x |
| 233 | exact L.symm_apply_apply _ |
| 234 | right_inv f := by |
| 235 | apply Subtype.ext |
| 236 | funext x |
| 237 | exact L.apply_symm_apply _ |
| 238 | |
| 239 | end |
| 240 | |
| 241 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.CoefficientMem |