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.Analysis.DifferentialForms.Manifold.OpenD |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.Derivative |
| 3 | |
| 4 | /-! # Open Equivalence -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold.OpenEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Forms on an open subset and on its induced manifold |
| 12 | |
| 13 | The tangent identification is the derivative of the actual inclusion chart. |
| 14 | The coordinate formula identifies the existing open-domain coefficient forms |
| 15 | with smooth covector fields on the induced open submanifold. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.TopologicalSpace |
| 19 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] {U : Opens E} |
| 22 | |
| 23 | theorem open_chartAt_eq_subtypeCoe (x : U) : |
| 24 | chartAt E x = U.openPartialHomeomorphSubtypeCoe ⟨x⟩ := by |
| 25 | rw [Opens.chartAt_eq, chartAt_self_eq, OpenPartialHomeomorph.subtypeRestr_def, |
| 26 | OpenPartialHomeomorph.trans_refl] |
| 27 | |
| 28 | theorem open_chartAt_eq_chartAt (x z : U) : chartAt E x = chartAt E z := rfl |
| 29 | |
| 30 | @[simp] theorem open_chartAt_apply (x z : U) : (chartAt E x) z = (z : E) := rfl |
| 31 | |
| 32 | @[simp] theorem open_chartAt_source (x : U) : (chartAt E x).source = univ := by |
| 33 | rw [open_chartAt_eq_subtypeCoe, Opens.openPartialHomeomorphSubtypeCoe_source] |
| 34 | |
| 35 | @[simp] theorem open_chartAt_target (x : U) : (chartAt E x).target = (U : Set E) := by |
| 36 | rw [open_chartAt_eq_subtypeCoe, Opens.openPartialHomeomorphSubtypeCoe_target] |
| 37 | |
| 38 | theorem openChart_mem_atlas_iff (e : OpenPartialHomeomorph U E) : |
| 39 | e ∈ atlas E U ↔ ∃ x : U, e = chartAt E x := by |
| 40 | change e ∈ (⋃ x : U, {chartAt E x}) ↔ _ |
| 41 | simp only [mem_iUnion, mem_singleton_iff] |
| 42 | |
| 43 | theorem openChart_eq_chartAt (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) |
| 44 | (x : U) : e = chartAt E x := by |
| 45 | obtain ⟨z, rfl⟩ := (openChart_mem_atlas_iff e).mp he |
| 46 | exact open_chartAt_eq_chartAt z x |
| 47 | |
| 48 | theorem openChart_target (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) : |
| 49 | e.target = (U : Set E) := by |
| 50 | obtain ⟨x, rfl⟩ := (openChart_mem_atlas_iff e).mp he |
| 51 | exact open_chartAt_target x |
| 52 | |
| 53 | theorem openChart_apply (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) |
| 54 | (x : U) : e x = (x : E) := by |
| 55 | rw [openChart_eq_chartAt e he x] |
| 56 | exact open_chartAt_apply x x |
| 57 | |
| 58 | theorem openChart_symm_apply (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) |
| 59 | {y : E} (hy : y ∈ U) : e.symm y = ⟨y, hy⟩ := by |
| 60 | apply Subtype.ext |
| 61 | rw [← openChart_apply e he (e.symm y)] |
| 62 | exact e.right_inv (by rwa [openChart_target e he]) |
| 63 | |
| 64 | variable [NormedSpace ℝ E] {n : ℕ} |
| 65 | |
| 66 | /-- The derivative of the inclusion chart identifies the actual tangent space |
| 67 | of the open submanifold with the ambient normed vector space. -/ |
| 68 | def openTangentEquiv (x : U) : TangentSpace 𝓘(ℝ, E) x ≃L[ℝ] E := |
| 69 | ((mdifferentiable_chart (I := 𝓘(ℝ, E)) x).mfderiv (mem_chart_source E x)).trans |
| 70 | (NormedSpace.fromTangentSpace ((chartAt E x) x)) |
| 71 | |
| 72 | @[simp] theorem openTangentEquiv_toContinuousLinearMap (x : U) : |
| 73 | (openTangentEquiv x).toContinuousLinearMap = Charts.chartTangentMap (chartAt E x) x := rfl |
| 74 | |
| 75 | /-- Transport of raw coefficient fields along the actual inclusion tangent map. -/ |
| 76 | def openRawManifoldEquiv (U : Opens E) (n : ℕ) : |
| 77 | (U → Basic.FormValue E n) ≃ₗ[ℂ] Algebra.RawManifoldForm E U n where |
| 78 | toFun form x := (form x).compContinuousLinearMap (openTangentEquiv x).toContinuousLinearMap |
| 79 | invFun form x := (form x).compContinuousLinearMap |
| 80 | (openTangentEquiv x).symm.toContinuousLinearMap |
| 81 | left_inv form := by |
| 82 | funext x |
| 83 | ext v |
| 84 | change form x (fun i => openTangentEquiv x ((openTangentEquiv x).symm (v i))) = form x v |
| 85 | congr 1 |
| 86 | funext i |
| 87 | exact (openTangentEquiv x).apply_symm_apply (v i) |
| 88 | right_inv form := by |
| 89 | funext x |
| 90 | ext v |
| 91 | change form x (fun i => (openTangentEquiv x).symm (openTangentEquiv x (v i))) = form x v |
| 92 | congr 1 |
| 93 | funext i |
| 94 | exact (openTangentEquiv x).symm_apply_apply (v i) |
| 95 | map_add' form other := by |
| 96 | funext x |
| 97 | ext v |
| 98 | rfl |
| 99 | map_smul' c form := by |
| 100 | funext x |
| 101 | ext v |
| 102 | rfl |
| 103 | |
| 104 | @[simp] theorem openRawManifoldEquiv_apply (form : U → Basic.FormValue E n) (x : U) : |
| 105 | openRawManifoldEquiv U n form x = |
| 106 | (form x).compContinuousLinearMap (openTangentEquiv x).toContinuousLinearMap := rfl |
| 107 | |
| 108 | @[simp] theorem openRawManifoldEquiv_symm_apply (form : Algebra.RawManifoldForm E U n) (x : U) : |
| 109 | (openRawManifoldEquiv U n).symm form x = |
| 110 | (form x).compContinuousLinearMap (openTangentEquiv x).symm.toContinuousLinearMap := rfl |
| 111 | |
| 112 | /-- In every induced chart, tangent transport gives exactly the original |
| 113 | open-domain coefficient function. -/ |
| 114 | theorem openRawManifoldEquiv_inChart (form : U → Basic.FormValue E n) |
| 115 | (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) {y : E} (hy : y ∈ U) : |
| 116 | (openRawManifoldEquiv U n form).inChart e y = OpenD.openFormExtension U form y := by |
| 117 | have hyt : y ∈ e.target := by rwa [openChart_target e he] |
| 118 | have hchart : chartAt E (e.symm y) = e := (openChart_eq_chartAt e he _).symm |
| 119 | ext v |
| 120 | change form (e.symm y) |
| 121 | (fun i => Charts.chartTangentMap (chartAt E (e.symm y)) (e.symm y) |
| 122 | (Charts.chartInverseTangentMap e y (v i))) = OpenD.openFormExtension U form y v |
| 123 | rw [hchart] |
| 124 | have hv : (fun i => Charts.chartTangentMap e (e.symm y) (Charts.chartInverseTangentMap e y (v i))) = v := by |
| 125 | funext i |
| 126 | exact congrArg (fun linear => linear (v i)) (Charts.chartTangentMap_comp_inverse e he hyt) |
| 127 | rw [hv, openChart_symm_apply e he hy] |
| 128 | exact congrArg (fun value : Basic.FormValue E n => value v) |
| 129 | (OpenD.openFormExtension_apply U form ⟨y, hy⟩).symm |
| 130 | |
| 131 | /-- The chartwise manifold smoothness is exactly the existing open-domain |
| 132 | smoothness under the tangent transport. -/ |
| 133 | theorem openRawManifoldEquiv_smooth_iff (form : U → Basic.FormValue E n) : |
| 134 | Algebra.IsSmoothManifoldFormOn (openRawManifoldEquiv U n form) univ ↔ |
| 135 | ContDiffOn ℝ ∞ (OpenD.openFormExtension U form) (U : Set E) := by |
| 136 | constructor |
| 137 | · intro hform y hy |
| 138 | let x : U := ⟨y, hy⟩ |
| 139 | have hs := hform (chartAt E x) (chart_mem_atlas E x) |
| 140 | have hs' : ContDiffOn ℝ ∞ ((openRawManifoldEquiv U n form).inChart (chartAt E x)) |
| 141 | (U : Set E) := by |
| 142 | simpa only [Algebra.manifoldFormChartDomain, preimage_univ, inter_univ, |
| 143 | open_chartAt_target] using hs |
| 144 | exact (hs'.congr (fun z hz => |
| 145 | (openRawManifoldEquiv_inChart form (chartAt E x) (chart_mem_atlas E x) hz).symm)) y hy |
| 146 | · intro hform e he |
| 147 | have hs : ContDiffOn ℝ ∞ ((openRawManifoldEquiv U n form).inChart e) (U : Set E) := |
| 148 | hform.congr fun y hy => openRawManifoldEquiv_inChart form e he hy |
| 149 | simpa only [Algebra.manifoldFormChartDomain, preimage_univ, inter_univ, |
| 150 | openChart_target e he] using hs |
| 151 | |
| 152 | /-- Smooth open-domain forms are precisely smooth forms on the actual induced |
| 153 | open submanifold. The equivalence is complex-linear. -/ |
| 154 | def smoothOpenManifoldEquiv (U : Opens E) (n : ℕ) : |
| 155 | OpenD.SmoothOpenForm U n ≃ₗ[ℂ] Algebra.SmoothManifoldForm E U n where |
| 156 | toFun form := ⟨openRawManifoldEquiv U n (form : U → Basic.FormValue E n), |
| 157 | (openRawManifoldEquiv_smooth_iff _).mpr form.smooth⟩ |
| 158 | invFun form := ⟨(openRawManifoldEquiv U n).symm (form : Algebra.RawManifoldForm E U n), |
| 159 | (openRawManifoldEquiv_smooth_iff _).mp (by |
| 160 | rw [LinearEquiv.apply_symm_apply] |
| 161 | exact form.smooth)⟩ |
| 162 | left_inv form := Subtype.ext ((openRawManifoldEquiv U n).left_inv _) |
| 163 | right_inv form := Subtype.ext ((openRawManifoldEquiv U n).right_inv _) |
| 164 | map_add' form other := Subtype.ext ((openRawManifoldEquiv U n).map_add _ _) |
| 165 | map_smul' c form := Subtype.ext ((openRawManifoldEquiv U n).map_smul _ _) |
| 166 | |
| 167 | @[simp] theorem smoothOpenManifoldEquiv_apply (form : OpenD.SmoothOpenForm U n) (x : U) : |
| 168 | smoothOpenManifoldEquiv U n form x = |
| 169 | (form x).compContinuousLinearMap (openTangentEquiv x).toContinuousLinearMap := rfl |
| 170 | |
| 171 | @[simp] theorem smoothOpenManifoldEquiv_symm_apply (form : Algebra.SmoothManifoldForm E U n) |
| 172 | (x : U) : |
| 173 | (smoothOpenManifoldEquiv U n).symm form x = |
| 174 | (form x).compContinuousLinearMap (openTangentEquiv x).symm.toContinuousLinearMap := rfl |
| 175 | |
| 176 | /-- The inverse tangent transport reads the coefficients in any induced chart. -/ |
| 177 | theorem openRawManifoldEquiv_symm_eq_inChart (form : Algebra.RawManifoldForm E U n) |
| 178 | (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) (x : U) : |
| 179 | (openRawManifoldEquiv U n).symm form x = form.inChart e (x : E) := by |
| 180 | have h := openRawManifoldEquiv_inChart ((openRawManifoldEquiv U n).symm form) |
| 181 | e he x.property |
| 182 | rw [LinearEquiv.apply_symm_apply] at h |
| 183 | simpa only [OpenD.openFormExtension_apply] using h.symm |
| 184 | |
| 185 | /-- The chart expression agrees with the inverse-transported coefficients on a |
| 186 | neighborhood of each domain point, so their actual exterior derivatives agree. -/ |
| 187 | theorem openRawManifoldEquiv_inChart_eventuallyEq (form : Algebra.RawManifoldForm E U n) |
| 188 | (e : OpenPartialHomeomorph U E) (he : e ∈ atlas E U) (x : U) : |
| 189 | form.inChart e =ᶠ[𝓝 (x : E)] |
| 190 | OpenD.openFormExtension U ((openRawManifoldEquiv U n).symm form) := by |
| 191 | filter_upwards [U.isOpen.mem_nhds x.property] with y hy |
| 192 | have h := openRawManifoldEquiv_inChart ((openRawManifoldEquiv U n).symm form) e he hy |
| 193 | rw [LinearEquiv.apply_symm_apply] at h |
| 194 | exact h |
| 195 | |
| 196 | /-- Exterior differentiation of manifold forms agrees with differentiation of |
| 197 | their open-domain coefficients. -/ |
| 198 | theorem smoothOpenManifoldEquiv_symm_d (form : Algebra.SmoothManifoldForm E U n) : |
| 199 | (smoothOpenManifoldEquiv U (n + 1)).symm (Algebra.SmoothManifoldForm.d form) = |
| 200 | OpenD.SmoothOpenForm.d ((smoothOpenManifoldEquiv U n).symm form) := by |
| 201 | apply OpenD.SmoothOpenForm.ext |
| 202 | intro x |
| 203 | let e := chartAt E x |
| 204 | have he : e ∈ atlas E U := chart_mem_atlas E x |
| 205 | have hx : (x : E) ∈ e.target := by |
| 206 | rw [openChart_target e he] |
| 207 | exact x.property |
| 208 | change (openRawManifoldEquiv U (n + 1)).symm |
| 209 | (Algebra.SmoothManifoldForm.d form : Algebra.RawManifoldForm E U (n + 1)) x = |
| 210 | extDeriv (OpenD.openFormExtension U |
| 211 | ((openRawManifoldEquiv U n).symm (form : Algebra.RawManifoldForm E U n))) (x : E) |
| 212 | rw [openRawManifoldEquiv_symm_eq_inChart _ e he x, |
| 213 | Algebra.SmoothManifoldForm.d_inChart form e he hx] |
| 214 | exact (openRawManifoldEquiv_inChart_eventuallyEq |
| 215 | (form : Algebra.RawManifoldForm E U n) e he x).extDeriv_eq |
| 216 | |
| 217 | /-- The identification with the induced open manifold intertwines the two |
| 218 | genuine exterior derivatives. -/ |
| 219 | theorem smoothOpenManifoldEquiv_d (form : OpenD.SmoothOpenForm U n) : |
| 220 | Algebra.SmoothManifoldForm.d (smoothOpenManifoldEquiv U n form) = |
| 221 | smoothOpenManifoldEquiv U (n + 1) (OpenD.SmoothOpenForm.d form) := by |
| 222 | apply (smoothOpenManifoldEquiv U (n + 1)).symm.injective |
| 223 | simpa only [LinearEquiv.symm_apply_apply] using |
| 224 | smoothOpenManifoldEquiv_symm_d (smoothOpenManifoldEquiv U n form) |
| 225 | |
| 226 | end |
| 227 | |
| 228 | end OAI.Analysis.DifferentialForms.Manifold.OpenEquivalence |