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.CoefficientMem |
| 2 | import Mathlib.Algebra.Module.RingHom |
| 3 | |
| 4 | /-! # Function Pure -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.FunctionPure |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual holomorphic function algebra acts pointwise on holomorphic vector-valued sections. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 18 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 19 | |
| 20 | def holomorphicFunctions (U : Opens E) : Subalgebra ℂ (U → ℂ) where |
| 21 | carrier := CoefficientMem.holomorphicSections U ℂ |
| 22 | zero_mem' := (CoefficientMem.holomorphicSections U ℂ).zero_mem |
| 23 | add_mem' := (CoefficientMem.holomorphicSections U ℂ).add_mem |
| 24 | one_mem' := by |
| 25 | apply contDiffOn_const.congr |
| 26 | intro x hx |
| 27 | exact CoefficientMem.openCoefficientExtension_apply U (1 : U → ℂ) ⟨x, hx⟩ |
| 28 | mul_mem' := by |
| 29 | intro f g hf hg |
| 30 | change ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U f) (U : Set E) at hf |
| 31 | change ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U g) (U : Set E) at hg |
| 32 | apply (hf.mul hg).congr |
| 33 | intro x hx |
| 34 | simp only [CoefficientMem.openCoefficientExtension_apply U _ ⟨x, hx⟩, Pi.mul_apply] |
| 35 | algebraMap_mem' c := by |
| 36 | apply contDiffOn_const.congr |
| 37 | intro x hx |
| 38 | exact CoefficientMem.openCoefficientExtension_apply U (fun _ : U => c) ⟨x, hx⟩ |
| 39 | |
| 40 | instance holomorphicFunctionsRawModule (U : Opens E) : |
| 41 | Module (holomorphicFunctions U) (U → F) := |
| 42 | Module.compHom (U → F) (holomorphicFunctions U).val.toRingHom |
| 43 | |
| 44 | instance holomorphicSectionsFunctionSMul (U : Opens E) : |
| 45 | SMul (holomorphicFunctions U) (CoefficientMem.holomorphicSections U F) where |
| 46 | smul f s := ⟨fun x => f.val x • s.val x, by |
| 47 | have hf : ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U f.val) (U : Set E) := f.property |
| 48 | have hs : ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U s.val) (U : Set E) := s.property |
| 49 | apply (hf.smul hs).congr |
| 50 | intro x hx |
| 51 | change CoefficientMem.openCoefficientExtension U (fun y => f.val y • s.val y) x = |
| 52 | CoefficientMem.openCoefficientExtension U f.val x • CoefficientMem.openCoefficientExtension U s.val x |
| 53 | simp only [CoefficientMem.openCoefficientExtension_apply U _ ⟨x, hx⟩]⟩ |
| 54 | |
| 55 | instance holomorphicSectionsFunctionModule (U : Opens E) : |
| 56 | Module (holomorphicFunctions U) (CoefficientMem.holomorphicSections U F) := |
| 57 | Function.Injective.module (holomorphicFunctions U) |
| 58 | (CoefficientMem.holomorphicSections U F).subtype.toAddMonoidHom Subtype.val_injective (fun _ _ => rfl) |
| 59 | |
| 60 | theorem holomorphicSections_function_smul (U : Opens E) (f : holomorphicFunctions U) |
| 61 | (s : CoefficientMem.holomorphicSections U F) (x : U) : (f • s).val x = f.val x • s.val x := rfl |
| 62 | |
| 63 | end |
| 64 | |
| 65 | section |
| 66 | |
| 67 | /-! Holomorphic functions act on the genuine pure holomorphic coefficient fields by pointwise multiplication. -/ |
| 68 | |
| 69 | open _root_.TopologicalSpace |
| 70 | open scoped ContDiff |
| 71 | |
| 72 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 73 | [IsScalarTower ℝ ℂ E] |
| 74 | |
| 75 | instance holomorphicCoefficientFunctionSMul (U : Opens E) (n : ℕ) : |
| 76 | SMul (holomorphicFunctions U) (CoefficientMem.holomorphicOpenCoefficients U n) where |
| 77 | smul f a := ⟨fun x => f.val x • a.val x, by |
| 78 | constructor |
| 79 | · intro x |
| 80 | exact (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0).smul_mem (f.val x) (a.property.1 x) |
| 81 | · have hf : ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U f.val) (U : Set E) := f.property |
| 82 | have ha := a.property.2 |
| 83 | apply (hf.smul ha).congr |
| 84 | intro x hx |
| 85 | change Analysis.DifferentialForms.Manifold.OpenD.openFormExtension U (fun y => f.val y • a.val y) x = |
| 86 | CoefficientMem.openCoefficientExtension U f.val x • Analysis.DifferentialForms.Manifold.OpenD.openFormExtension U a.val x |
| 87 | simp only [CoefficientMem.openCoefficientExtension_apply U _ ⟨x, hx⟩, |
| 88 | Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_apply U _ ⟨x, hx⟩]⟩ |
| 89 | |
| 90 | instance holomorphicCoefficientFunctionModule (U : Opens E) (n : ℕ) : |
| 91 | Module (holomorphicFunctions U) (CoefficientMem.holomorphicOpenCoefficients U n) := |
| 92 | Function.Injective.module (holomorphicFunctions U) |
| 93 | (CoefficientMem.holomorphicOpenCoefficients U n).subtype.toAddMonoidHom Subtype.val_injective (fun _ _ => rfl) |
| 94 | |
| 95 | omit [IsScalarTower ℝ ℂ E] in |
| 96 | theorem holomorphicCoefficients_function_smul (U : Opens E) (n : ℕ) (f : holomorphicFunctions U) |
| 97 | (a : CoefficientMem.holomorphicOpenCoefficients U n) (x : U) : |
| 98 | (f • a).val x = f.val x • a.val x := rfl |
| 99 | |
| 100 | end |
| 101 | |
| 102 | /-! Pure holomorphic coefficient fields are precisely holomorphic sections of the genuine pure covector space. -/ |
| 103 | |
| 104 | open _root_.TopologicalSpace |
| 105 | open scoped ContDiff |
| 106 | |
| 107 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 108 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 109 | |
| 110 | def holomorphicPureSectionEquiv (U : Opens E) (n : ℕ) : |
| 111 | CoefficientMem.holomorphicOpenCoefficients U n ≃ₗ[holomorphicFunctions U] |
| 112 | CoefficientMem.holomorphicSections U (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0) where |
| 113 | toFun a := ⟨fun x => ⟨a.val x, a.property.1 x⟩, by |
| 114 | let b := Module.finBasis ℂ E |
| 115 | have hL : ContDiff ℂ ∞ (Pure.CovectorReconstruction.Holomorphic.pureCovectorProjection b n) := ContinuousLinearMap.contDiff _ |
| 116 | apply (hL.comp_contDiffOn a.property.2).congr |
| 117 | intro x hx |
| 118 | rw [CoefficientMem.openCoefficientExtension_apply U _ ⟨x, hx⟩] |
| 119 | apply Subtype.ext |
| 120 | change a.val ⟨x, hx⟩ = (Pure.CovectorReconstruction.Holomorphic.pureCovectorProjection b n (Analysis.DifferentialForms.Manifold.OpenD.openFormExtension U a.val x)).val |
| 121 | rw [Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_apply U _ ⟨x, hx⟩] |
| 122 | exact (Pure.CovectorReconstruction.Holomorphic.pureCovectorProjection_eq_self b n _ (a.property.1 ⟨x, hx⟩)).symm⟩ |
| 123 | invFun a := ⟨fun x => (a.val x).val, by |
| 124 | constructor |
| 125 | · intro x |
| 126 | exact (a.val x).property |
| 127 | · have hL : ContDiff ℂ ∞ (Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E n 0).subtypeL := |
| 128 | ContinuousLinearMap.contDiff _ |
| 129 | apply (hL.comp_contDiffOn a.property).congr |
| 130 | intro x hx |
| 131 | simp only [Function.comp_apply, Analysis.DifferentialForms.Manifold.OpenD.openFormExtension_apply U _ ⟨x, hx⟩, |
| 132 | CoefficientMem.openCoefficientExtension_apply U _ ⟨x, hx⟩] |
| 133 | rfl⟩ |
| 134 | left_inv a := by |
| 135 | apply Subtype.ext |
| 136 | rfl |
| 137 | right_inv a := by |
| 138 | apply Subtype.ext |
| 139 | funext x |
| 140 | apply Subtype.ext |
| 141 | rfl |
| 142 | map_add' a b := by |
| 143 | apply Subtype.ext |
| 144 | funext x |
| 145 | apply Subtype.ext |
| 146 | rfl |
| 147 | map_smul' f a := by |
| 148 | apply Subtype.ext |
| 149 | funext x |
| 150 | apply Subtype.ext |
| 151 | rfl |
| 152 | |
| 153 | theorem holomorphicPureSectionEquiv_apply (U : Opens E) (n : ℕ) |
| 154 | (a : CoefficientMem.holomorphicOpenCoefficients U n) (x : U) : |
| 155 | ((holomorphicPureSectionEquiv U n a).val x).val = a.val x := rfl |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.FunctionPure |