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.OpenDerivative |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.OpenPullback |
| 3 | |
| 4 | /-! # Chart Equiv -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Actual forms on a chart source and its coordinate target |
| 14 | |
| 15 | The two maps use the genuine tangent derivatives of the chart and its inverse. |
| 16 | Their inverse laws are consequences of the tangent chain rule. Smoothness of |
| 17 | the return map is checked in every manifold chart using the transition map, |
| 18 | and the resulting equivalence commutes with exterior differentiation. |
| 19 | -/ |
| 20 | |
| 21 | open Set _root_.TopologicalSpace |
| 22 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 23 | |
| 24 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 26 | [IsManifold 𝓘(ℝ, E) ∞ M] {n : ℕ} |
| 27 | |
| 28 | /-- The source of a chart as an open subset of the manifold. -/ |
| 29 | def ChartEquiv.chartSourceOpen (e : OpenPartialHomeomorph M E) : Opens M := ⟨e.source, e.open_source⟩ |
| 30 | |
| 31 | /-- The target of a chart as an open subset of its model vector space. -/ |
| 32 | def ChartEquiv.chartTargetOpen (e : OpenPartialHomeomorph M E) : Opens E := ⟨e.target, e.open_target⟩ |
| 33 | |
| 34 | section |
| 35 | |
| 36 | /-- Transfer coordinate coefficients to actual tangent covectors using a chart. -/ |
| 37 | def Algebra.RawManifoldForm.fromChart (e : OpenPartialHomeomorph M E) (form : Basic.RawForm E n) : |
| 38 | Algebra.RawManifoldForm E M n := |
| 39 | fun x => (form (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 40 | |
| 41 | /-- In another chart, this transfer is the ordinary transition-map pullback. -/ |
| 42 | theorem Algebra.RawManifoldForm.fromChart_inChart (e f : OpenPartialHomeomorph M E) |
| 43 | (he : e ∈ atlas E M) (hf : f ∈ atlas E M) (form : Basic.RawForm E n) |
| 44 | {y : E} (hy : y ∈ f.target) (hey : f.symm y ∈ e.source) : |
| 45 | (Algebra.RawManifoldForm.fromChart e form).inChart f y = |
| 46 | (form (e (f.symm y))).compContinuousLinearMap (fderiv ℝ (e ∘ f.symm) y) := by |
| 47 | rw [Charts.fderiv_chart_transition f e hf he hy hey] |
| 48 | ext v |
| 49 | rfl |
| 50 | |
| 51 | /-- Transferring coordinate coefficients back and then using that same chart recovers them. -/ |
| 52 | theorem Algebra.RawManifoldForm.inChart_fromChart_apply (e : OpenPartialHomeomorph M E) |
| 53 | (he : e ∈ atlas E M) (form : Basic.RawForm E n) {y : E} (hy : y ∈ e.target) : |
| 54 | (Algebra.RawManifoldForm.fromChart e form).inChart e y = form y := by |
| 55 | ext v |
| 56 | change form (e (e.symm y)) |
| 57 | (fun i => Charts.chartTangentMap e (e.symm y) (Charts.chartInverseTangentMap e y (v i))) = form y v |
| 58 | rw [e.right_inv hy] |
| 59 | have hv : (fun i => Charts.chartTangentMap e (e.symm y) (Charts.chartInverseTangentMap e y (v i))) = v := by |
| 60 | funext i |
| 61 | exact congrArg (fun linear => linear (v i)) (Charts.chartTangentMap_comp_inverse e he hy) |
| 62 | rw [hv] |
| 63 | |
| 64 | /-- Expressing an actual field in a chart and transferring back recovers it on the source. -/ |
| 65 | theorem Algebra.RawManifoldForm.fromChart_inChart_apply (e : OpenPartialHomeomorph M E) |
| 66 | (he : e ∈ atlas E M) (form : Algebra.RawManifoldForm E M n) {x : M} (hx : x ∈ e.source) : |
| 67 | Algebra.RawManifoldForm.fromChart e (form.inChart e) x = form x := by |
| 68 | ext v |
| 69 | change form (e.symm (e x)) |
| 70 | (fun i => Charts.chartInverseTangentMap e (e x) (Charts.chartTangentMap e x (v i))) = form x v |
| 71 | have hv : (fun i => Charts.chartInverseTangentMap e (e x) (Charts.chartTangentMap e x (v i))) = v := by |
| 72 | funext i |
| 73 | exact congrArg (fun linear => linear (v i)) (Charts.chartInverseTangentMap_comp e he hx) |
| 74 | rw [hv, e.left_inv hx] |
| 75 | |
| 76 | /-- Smooth coordinate coefficients give a smooth actual field on the chart source. -/ |
| 77 | theorem Algebra.RawManifoldForm.fromChart_smooth (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 78 | (form : Basic.RawForm E n) (hform : ContDiffOn ℝ ∞ form e.target) : |
| 79 | Algebra.IsSmoothManifoldFormOn (Algebra.RawManifoldForm.fromChart e form) e.source := by |
| 80 | intro f hf y hy |
| 81 | have hcoord : ContDiffAt ℝ ∞ (e ∘ f.symm) y := |
| 82 | Charts.contDiffAt_chart_transition f e hf he hy.1 hy.2 |
| 83 | have hcoeff : ContDiffAt ℝ ∞ form (e (f.symm y)) := |
| 84 | hform.contDiffAt (e.open_target.mem_nhds (e.map_source hy.2)) |
| 85 | have hcomp : ContDiffAt ℝ ∞ (fun z => form (e (f.symm z))) y := |
| 86 | ContDiffAt.comp y hcoeff hcoord |
| 87 | have hsmooth : ContDiffAt ℝ ∞ (fun z => |
| 88 | (form (e (f.symm z))).compContinuousLinearMap (fderiv ℝ (e ∘ f.symm) z)) y := |
| 89 | Alternatization.contDiffAt_alternating_compContinuousLinearMap hcomp (hcoord.fderiv_right (by simp)) |
| 90 | have heq : (Algebra.RawManifoldForm.fromChart e form).inChart f =ᶠ[𝓝 y] (fun z => |
| 91 | (form (e (f.symm z))).compContinuousLinearMap (fderiv ℝ (e ∘ f.symm) z)) := by |
| 92 | filter_upwards [(f.isOpen_inter_preimage_symm e.open_source).mem_nhds hy] with z hz |
| 93 | exact Algebra.RawManifoldForm.fromChart_inChart e f he hf form hz.1 hz.2 |
| 94 | exact (hsmooth.congr_of_eventuallyEq heq).contDiffWithinAt |
| 95 | |
| 96 | end |
| 97 | |
| 98 | section |
| 99 | |
| 100 | /-- Express a smooth actual section on a chart source in coordinate coefficients. -/ |
| 101 | def Open.SmoothOpenManifoldForm.toChart (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) : |
| 102 | Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n →ₗ[ℂ] |
| 103 | OpenD.SmoothOpenForm (ChartEquiv.chartTargetOpen e) n where |
| 104 | toFun form := OpenD.SmoothOpenForm.ofRaw (ChartEquiv.chartTargetOpen e) (form.extension.inChart e) |
| 105 | ((form.smooth e he).mono (fun _ hy => ⟨hy, e.map_target hy⟩)) |
| 106 | map_add' form other := by |
| 107 | apply OpenD.SmoothOpenForm.ext |
| 108 | intro y |
| 109 | change (form + other).extension.inChart e (y : E) = |
| 110 | form.extension.inChart e (y : E) + other.extension.inChart e (y : E) |
| 111 | rw [Open.SmoothOpenManifoldForm.extension_add, Algebra.RawManifoldForm.inChart_add] |
| 112 | rfl |
| 113 | map_smul' c form := by |
| 114 | apply OpenD.SmoothOpenForm.ext |
| 115 | intro y |
| 116 | change (c • form).extension.inChart e (y : E) = c • form.extension.inChart e (y : E) |
| 117 | rw [Open.SmoothOpenManifoldForm.extension_smul, Algebra.RawManifoldForm.inChart_smul] |
| 118 | rfl |
| 119 | |
| 120 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 121 | @[simp] theorem Open.SmoothOpenManifoldForm.toChart_apply (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 122 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n) (y : ChartEquiv.chartTargetOpen e) : |
| 123 | Open.SmoothOpenManifoldForm.toChart e he form y = form.extension.inChart e (y : E) := rfl |
| 124 | |
| 125 | /-- Transfer a smooth coordinate form to a smooth actual section on the chart source. -/ |
| 126 | def Open.SmoothOpenManifoldForm.fromChart (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) : |
| 127 | OpenD.SmoothOpenForm (ChartEquiv.chartTargetOpen e) n →ₗ[ℂ] |
| 128 | Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n where |
| 129 | toFun form := Open.SmoothOpenManifoldForm.ofRaw (ChartEquiv.chartSourceOpen e) (Algebra.RawManifoldForm.fromChart e form.extension) |
| 130 | (Algebra.RawManifoldForm.fromChart_smooth e he form.extension form.smooth) |
| 131 | map_add' form other := by |
| 132 | apply Open.SmoothOpenManifoldForm.ext |
| 133 | intro x |
| 134 | change ((form + other).extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = |
| 135 | (form.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) + |
| 136 | (other.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 137 | rw [OpenD.SmoothOpenForm.extension_add] |
| 138 | ext v |
| 139 | rfl |
| 140 | map_smul' c form := by |
| 141 | apply Open.SmoothOpenManifoldForm.ext |
| 142 | intro x |
| 143 | change ((c • form).extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = |
| 144 | c • (form.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 145 | rw [OpenD.SmoothOpenForm.extension_smul] |
| 146 | ext v |
| 147 | rfl |
| 148 | |
| 149 | @[simp] theorem Open.SmoothOpenManifoldForm.fromChart_apply (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 150 | (form : OpenD.SmoothOpenForm (ChartEquiv.chartTargetOpen e) n) (x : ChartEquiv.chartSourceOpen e) : |
| 151 | Open.SmoothOpenManifoldForm.fromChart e he form x = Algebra.RawManifoldForm.fromChart e form.extension (x : M) := rfl |
| 152 | |
| 153 | @[simp] theorem Open.SmoothOpenManifoldForm.fromChart_toChart (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 154 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n) : |
| 155 | Open.SmoothOpenManifoldForm.fromChart e he (Open.SmoothOpenManifoldForm.toChart e he form) = form := by |
| 156 | apply Open.SmoothOpenManifoldForm.ext |
| 157 | intro x |
| 158 | have hcoeff : (Open.SmoothOpenManifoldForm.toChart e he form).extension (e x) = form.extension.inChart e (e x) := |
| 159 | OpenD.SmoothOpenForm.extension_apply (Open.SmoothOpenManifoldForm.toChart e he form) ⟨e x, e.map_source x.property⟩ |
| 160 | calc |
| 161 | Open.SmoothOpenManifoldForm.fromChart e he (Open.SmoothOpenManifoldForm.toChart e he form) x = |
| 162 | Algebra.RawManifoldForm.fromChart e (form.extension.inChart e) (x : M) := by |
| 163 | change ((Open.SmoothOpenManifoldForm.toChart e he form).extension (e x)).compContinuousLinearMap _ = _ |
| 164 | rw [hcoeff] |
| 165 | rfl |
| 166 | _ = form.extension (x : M) := |
| 167 | Algebra.RawManifoldForm.fromChart_inChart_apply e he form.extension x.property |
| 168 | _ = form x := Open.SmoothOpenManifoldForm.extension_apply form x |
| 169 | |
| 170 | @[simp] theorem Open.SmoothOpenManifoldForm.toChart_fromChart (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 171 | (form : OpenD.SmoothOpenForm (ChartEquiv.chartTargetOpen e) n) : |
| 172 | Open.SmoothOpenManifoldForm.toChart e he (Open.SmoothOpenManifoldForm.fromChart e he form) = form := by |
| 173 | apply OpenD.SmoothOpenForm.ext |
| 174 | intro y |
| 175 | have hcoeff : (Open.SmoothOpenManifoldForm.fromChart e he form).extension (e.symm y) = |
| 176 | Algebra.RawManifoldForm.fromChart e form.extension (e.symm y) := |
| 177 | Open.SmoothOpenManifoldForm.extension_apply (Open.SmoothOpenManifoldForm.fromChart e he form) ⟨e.symm y, e.map_target y.property⟩ |
| 178 | calc |
| 179 | Open.SmoothOpenManifoldForm.toChart e he (Open.SmoothOpenManifoldForm.fromChart e he form) y = |
| 180 | (Algebra.RawManifoldForm.fromChart e form.extension).inChart e (y : E) := by |
| 181 | change (Open.SmoothOpenManifoldForm.fromChart e he form).extension.inChart e (y : E) = _ |
| 182 | unfold Algebra.RawManifoldForm.inChart |
| 183 | rw [hcoeff] |
| 184 | _ = form.extension (y : E) := |
| 185 | Algebra.RawManifoldForm.inChart_fromChart_apply e he form.extension y.property |
| 186 | _ = form y := OpenD.SmoothOpenForm.extension_apply form y |
| 187 | |
| 188 | /-- Taking coordinate coefficients intertwines both actual exterior derivatives. -/ |
| 189 | theorem Open.SmoothOpenManifoldForm.toChart_d (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 190 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n) : |
| 191 | OpenD.SmoothOpenForm.d (Open.SmoothOpenManifoldForm.toChart e he form) = Open.SmoothOpenManifoldForm.toChart e he (Open.SmoothOpenManifoldForm.d form) := by |
| 192 | apply OpenD.SmoothOpenForm.ext |
| 193 | intro y |
| 194 | have hcoeff : ContDiffOn ℝ ∞ (form.extension.inChart e) (ChartEquiv.chartTargetOpen e : Set E) := |
| 195 | (form.smooth e he).mono (fun _ hy => ⟨hy, e.map_target hy⟩) |
| 196 | change OpenD.SmoothOpenForm.d (OpenD.SmoothOpenForm.ofRaw (ChartEquiv.chartTargetOpen e) |
| 197 | (form.extension.inChart e) hcoeff) y = |
| 198 | (Open.SmoothOpenManifoldForm.d form).extension.inChart e (y : E) |
| 199 | rw [OpenD.SmoothOpenForm.d_ofRaw_apply] |
| 200 | exact (Open.SmoothOpenManifoldForm.d_inChart form e he ⟨y.property, e.map_target y.property⟩).symm |
| 201 | |
| 202 | end |
| 203 | |
| 204 | /-- The canonical complex-linear identification of actual forms with chart coefficients. -/ |
| 205 | def ChartEquiv.manifoldChartFormEquiv (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) (n : ℕ) : |
| 206 | Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n ≃ₗ[ℂ] |
| 207 | OpenD.SmoothOpenForm (ChartEquiv.chartTargetOpen e) n where |
| 208 | toLinearMap := Open.SmoothOpenManifoldForm.toChart e he |
| 209 | invFun := Open.SmoothOpenManifoldForm.fromChart e he |
| 210 | left_inv := Open.SmoothOpenManifoldForm.fromChart_toChart e he |
| 211 | right_inv := Open.SmoothOpenManifoldForm.toChart_fromChart e he |
| 212 | |
| 213 | theorem ChartEquiv.manifoldChartFormEquiv_d (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 214 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartSourceOpen e) n) : |
| 215 | OpenD.SmoothOpenForm.d (ChartEquiv.manifoldChartFormEquiv e he n form) = |
| 216 | ChartEquiv.manifoldChartFormEquiv e he (n + 1) (Open.SmoothOpenManifoldForm.d form) := |
| 217 | Open.SmoothOpenManifoldForm.toChart_d e he form |
| 218 | |
| 219 | end |
| 220 | |
| 221 | /-! |
| 222 | # Forms on smaller coordinate neighborhoods |
| 223 | |
| 224 | An open subset of a chart target corresponds to its preimage in the chart |
| 225 | source. The genuine local tangent-covector sections on that preimage are |
| 226 | complex-linearly equivalent to smooth alternating forms on the coordinate |
| 227 | open, and this equivalence respects exterior differentiation and restriction. |
| 228 | -/ |
| 229 | |
| 230 | open Set _root_.TopologicalSpace |
| 231 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 232 | |
| 233 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 234 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 235 | [IsManifold 𝓘(ℝ, E) ∞ M] {n : ℕ} |
| 236 | |
| 237 | /-- The portion of a chart source mapping into a coordinate open. -/ |
| 238 | def ChartEquiv.chartPreimageOpen (e : OpenPartialHomeomorph M E) (V : Opens E) : Opens M := |
| 239 | ⟨e.source ∩ e ⁻¹' (V : Set E), e.isOpen_inter_preimage V.isOpen⟩ |
| 240 | |
| 241 | /- The chart image of an arbitrary manifold open is restricted to the chart target. -/ |
| 242 | def ChartEquiv.chartImageOpen (e : OpenPartialHomeomorph M E) (U : Opens M) : Opens E := |
| 243 | ⟨e.target ∩ e.symm ⁻¹' (U : Set M), e.isOpen_inter_preimage_symm U.isOpen⟩ |
| 244 | |
| 245 | omit [NormedSpace ℝ E] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 246 | theorem ChartEquiv.chartImageOpen_le_target (e : OpenPartialHomeomorph M E) (U : Opens M) : |
| 247 | ChartEquiv.chartImageOpen e U ≤ ChartEquiv.chartTargetOpen e := fun _ hy => hy.1 |
| 248 | |
| 249 | omit [NormedSpace ℝ E] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 250 | theorem ChartEquiv.chartPreimage_image_le (e : OpenPartialHomeomorph M E) (U : Opens M) : |
| 251 | ChartEquiv.chartPreimageOpen e (ChartEquiv.chartImageOpen e U) ≤ U := by |
| 252 | intro x hx |
| 253 | have h : e.symm (e x) ∈ U := hx.2.2 |
| 254 | simpa only [e.left_inv hx.1] using h |
| 255 | |
| 256 | omit [NormedSpace ℝ E] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 257 | theorem ChartEquiv.mem_chartImageOpen (e : OpenPartialHomeomorph M E) (U : Opens M) |
| 258 | {x : M} (hx : x ∈ e.source) (hxU : x ∈ U) : e x ∈ ChartEquiv.chartImageOpen e U := by |
| 259 | refine ⟨e.map_source hx, ?_⟩ |
| 260 | change e.symm (e x) ∈ U |
| 261 | simpa only [e.left_inv hx] using hxU |
| 262 | |
| 263 | omit [NormedSpace ℝ E] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 264 | theorem ChartEquiv.chartPreimageOpen_mono (e : OpenPartialHomeomorph M E) |
| 265 | {V W : Opens E} (h : W ≤ V) : ChartEquiv.chartPreimageOpen e W ≤ ChartEquiv.chartPreimageOpen e V := |
| 266 | fun _ hx => ⟨hx.1, h hx.2⟩ |
| 267 | |
| 268 | omit [NormedSpace ℝ E] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 269 | theorem ChartEquiv.mem_chartPreimageOpen_symm (e : OpenPartialHomeomorph M E) |
| 270 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) {y : E} (hy : y ∈ V) : |
| 271 | e.symm y ∈ ChartEquiv.chartPreimageOpen e V := by |
| 272 | refine ⟨e.map_target (hV hy), ?_⟩ |
| 273 | change e (e.symm y) ∈ V |
| 274 | simpa only [e.right_inv (hV hy)] using hy |
| 275 | |
| 276 | section |
| 277 | |
| 278 | /-- Coordinate coefficients smooth only on V suffice on its chart preimage. -/ |
| 279 | theorem Algebra.RawManifoldForm.fromChart_smooth_on (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 280 | (V : Opens E) (form : Basic.RawForm E n) (hform : ContDiffOn ℝ ∞ form (V : Set E)) : |
| 281 | Algebra.IsSmoothManifoldFormOn (Algebra.RawManifoldForm.fromChart e form) (ChartEquiv.chartPreimageOpen e V : Set M) := by |
| 282 | intro f hf y hy |
| 283 | have hcoord : ContDiffAt ℝ ∞ (e ∘ f.symm) y := |
| 284 | Charts.contDiffAt_chart_transition f e hf he hy.1 hy.2.1 |
| 285 | have hcoeff : ContDiffAt ℝ ∞ form (e (f.symm y)) := |
| 286 | hform.contDiffAt (V.isOpen.mem_nhds hy.2.2) |
| 287 | have hcomp : ContDiffAt ℝ ∞ (fun z => form (e (f.symm z))) y := |
| 288 | ContDiffAt.comp y hcoeff hcoord |
| 289 | have hsmooth : ContDiffAt ℝ ∞ (fun z => |
| 290 | (form (e (f.symm z))).compContinuousLinearMap (fderiv ℝ (e ∘ f.symm) z)) y := |
| 291 | Alternatization.contDiffAt_alternating_compContinuousLinearMap hcomp (hcoord.fderiv_right (by simp)) |
| 292 | have heq : (Algebra.RawManifoldForm.fromChart e form).inChart f =ᶠ[𝓝 y] (fun z => |
| 293 | (form (e (f.symm z))).compContinuousLinearMap (fderiv ℝ (e ∘ f.symm) z)) := by |
| 294 | filter_upwards [(f.isOpen_inter_preimage_symm e.open_source).mem_nhds |
| 295 | ⟨hy.1, hy.2.1⟩] with z hz |
| 296 | exact Algebra.RawManifoldForm.fromChart_inChart e f he hf form hz.1 hz.2 |
| 297 | exact (hsmooth.congr_of_eventuallyEq heq).contDiffWithinAt |
| 298 | |
| 299 | end |
| 300 | |
| 301 | section |
| 302 | |
| 303 | /-- Coordinate coefficients of a section on the preimage of a coordinate open. -/ |
| 304 | def Open.SmoothOpenManifoldForm.toChartOn (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 305 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) : |
| 306 | Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n →ₗ[ℂ] OpenD.SmoothOpenForm V n where |
| 307 | toFun form := OpenD.SmoothOpenForm.ofRaw V (form.extension.inChart e) |
| 308 | ((form.smooth e he).mono (fun _ hy => |
| 309 | ⟨hV hy, ChartEquiv.mem_chartPreimageOpen_symm e V hV hy⟩)) |
| 310 | map_add' form other := by |
| 311 | apply OpenD.SmoothOpenForm.ext |
| 312 | intro y |
| 313 | change (form + other).extension.inChart e (y : E) = |
| 314 | form.extension.inChart e (y : E) + other.extension.inChart e (y : E) |
| 315 | rw [Open.SmoothOpenManifoldForm.extension_add, Algebra.RawManifoldForm.inChart_add] |
| 316 | rfl |
| 317 | map_smul' c form := by |
| 318 | apply OpenD.SmoothOpenForm.ext |
| 319 | intro y |
| 320 | change (c • form).extension.inChart e (y : E) = c • form.extension.inChart e (y : E) |
| 321 | rw [Open.SmoothOpenManifoldForm.extension_smul, Algebra.RawManifoldForm.inChart_smul] |
| 322 | rfl |
| 323 | |
| 324 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 325 | @[simp] theorem Open.SmoothOpenManifoldForm.toChartOn_apply (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 326 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) |
| 327 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n) (y : V) : |
| 328 | Open.SmoothOpenManifoldForm.toChartOn e he V hV form y = form.extension.inChart e (y : E) := rfl |
| 329 | |
| 330 | /-- Smooth coordinate forms determine actual forms on the corresponding chart preimage. -/ |
| 331 | def Open.SmoothOpenManifoldForm.fromChartOn (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) (V : Opens E) : |
| 332 | OpenD.SmoothOpenForm V n →ₗ[ℂ] Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n where |
| 333 | toFun form := Open.SmoothOpenManifoldForm.ofRaw (ChartEquiv.chartPreimageOpen e V) (Algebra.RawManifoldForm.fromChart e form.extension) |
| 334 | (Algebra.RawManifoldForm.fromChart_smooth_on e he V form.extension form.smooth) |
| 335 | map_add' form other := by |
| 336 | apply Open.SmoothOpenManifoldForm.ext |
| 337 | intro x |
| 338 | change ((form + other).extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = |
| 339 | (form.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) + |
| 340 | (other.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 341 | rw [OpenD.SmoothOpenForm.extension_add] |
| 342 | ext v |
| 343 | rfl |
| 344 | map_smul' c form := by |
| 345 | apply Open.SmoothOpenManifoldForm.ext |
| 346 | intro x |
| 347 | change ((c • form).extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = |
| 348 | c • (form.extension (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) |
| 349 | rw [OpenD.SmoothOpenForm.extension_smul] |
| 350 | ext v |
| 351 | rfl |
| 352 | |
| 353 | @[simp] theorem Open.SmoothOpenManifoldForm.fromChartOn_apply (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 354 | (V : Opens E) (form : OpenD.SmoothOpenForm V n) (x : ChartEquiv.chartPreimageOpen e V) : |
| 355 | Open.SmoothOpenManifoldForm.fromChartOn e he V form x = Algebra.RawManifoldForm.fromChart e form.extension (x : M) := rfl |
| 356 | |
| 357 | @[simp] theorem Open.SmoothOpenManifoldForm.fromChartOn_toChartOn (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 358 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) |
| 359 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n) : |
| 360 | Open.SmoothOpenManifoldForm.fromChartOn e he V (Open.SmoothOpenManifoldForm.toChartOn e he V hV form) = form := by |
| 361 | apply Open.SmoothOpenManifoldForm.ext |
| 362 | intro x |
| 363 | have hcoeff : (Open.SmoothOpenManifoldForm.toChartOn e he V hV form).extension (e x) = |
| 364 | form.extension.inChart e (e x) := |
| 365 | OpenD.SmoothOpenForm.extension_apply (Open.SmoothOpenManifoldForm.toChartOn e he V hV form) ⟨e x, x.property.2⟩ |
| 366 | calc |
| 367 | Open.SmoothOpenManifoldForm.fromChartOn e he V (Open.SmoothOpenManifoldForm.toChartOn e he V hV form) x = |
| 368 | Algebra.RawManifoldForm.fromChart e (form.extension.inChart e) (x : M) := by |
| 369 | change ((Open.SmoothOpenManifoldForm.toChartOn e he V hV form).extension (e x)).compContinuousLinearMap _ = _ |
| 370 | rw [hcoeff] |
| 371 | rfl |
| 372 | _ = form.extension (x : M) := |
| 373 | Algebra.RawManifoldForm.fromChart_inChart_apply e he form.extension x.property.1 |
| 374 | _ = form x := Open.SmoothOpenManifoldForm.extension_apply form x |
| 375 | |
| 376 | @[simp] theorem Open.SmoothOpenManifoldForm.toChartOn_fromChartOn (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 377 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) (form : OpenD.SmoothOpenForm V n) : |
| 378 | Open.SmoothOpenManifoldForm.toChartOn e he V hV (Open.SmoothOpenManifoldForm.fromChartOn e he V form) = form := by |
| 379 | apply OpenD.SmoothOpenForm.ext |
| 380 | intro y |
| 381 | have hcoeff : (Open.SmoothOpenManifoldForm.fromChartOn e he V form).extension (e.symm y) = |
| 382 | Algebra.RawManifoldForm.fromChart e form.extension (e.symm y) := |
| 383 | Open.SmoothOpenManifoldForm.extension_apply (Open.SmoothOpenManifoldForm.fromChartOn e he V form) |
| 384 | ⟨e.symm y, ChartEquiv.mem_chartPreimageOpen_symm e V hV y.property⟩ |
| 385 | calc |
| 386 | Open.SmoothOpenManifoldForm.toChartOn e he V hV (Open.SmoothOpenManifoldForm.fromChartOn e he V form) y = |
| 387 | (Algebra.RawManifoldForm.fromChart e form.extension).inChart e (y : E) := by |
| 388 | change (Open.SmoothOpenManifoldForm.fromChartOn e he V form).extension.inChart e (y : E) = _ |
| 389 | unfold Algebra.RawManifoldForm.inChart |
| 390 | rw [hcoeff] |
| 391 | _ = form.extension (y : E) := |
| 392 | Algebra.RawManifoldForm.inChart_fromChart_apply e he form.extension (hV y.property) |
| 393 | _ = form y := OpenD.SmoothOpenForm.extension_apply form y |
| 394 | |
| 395 | /-- The coordinate map on a smaller open commutes with exterior differentiation. -/ |
| 396 | theorem Open.SmoothOpenManifoldForm.toChartOn_d (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 397 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) |
| 398 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n) : |
| 399 | OpenD.SmoothOpenForm.d (Open.SmoothOpenManifoldForm.toChartOn e he V hV form) = Open.SmoothOpenManifoldForm.toChartOn e he V hV (Open.SmoothOpenManifoldForm.d form) := by |
| 400 | apply OpenD.SmoothOpenForm.ext |
| 401 | intro y |
| 402 | have hcoeff : ContDiffOn ℝ ∞ (form.extension.inChart e) (V : Set E) := |
| 403 | (form.smooth e he).mono (fun _ hy => |
| 404 | ⟨hV hy, ChartEquiv.mem_chartPreimageOpen_symm e V hV hy⟩) |
| 405 | change OpenD.SmoothOpenForm.d (OpenD.SmoothOpenForm.ofRaw V (form.extension.inChart e) hcoeff) y = |
| 406 | (Open.SmoothOpenManifoldForm.d form).extension.inChart e (y : E) |
| 407 | rw [OpenD.SmoothOpenForm.d_ofRaw_apply] |
| 408 | exact (Open.SmoothOpenManifoldForm.d_inChart form e he |
| 409 | ⟨hV y.property, ChartEquiv.mem_chartPreimageOpen_symm e V hV y.property⟩).symm |
| 410 | |
| 411 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 412 | /-- The coordinate map commutes with restriction to any smaller coordinate open. -/ |
| 413 | theorem Open.SmoothOpenManifoldForm.toChartOn_restrict (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 414 | {V W : Opens E} (hV : V ≤ ChartEquiv.chartTargetOpen e) (hWV : W ≤ V) |
| 415 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n) : |
| 416 | Open.SmoothOpenManifoldForm.toChartOn e he W (hWV.trans hV) (Open.SmoothOpenManifoldForm.restrict (ChartEquiv.chartPreimageOpen_mono e hWV) form) = |
| 417 | OpenD.SmoothOpenForm.restrict hWV (Open.SmoothOpenManifoldForm.toChartOn e he V hV form) := by |
| 418 | apply OpenD.SmoothOpenForm.ext |
| 419 | intro y |
| 420 | change (Open.SmoothOpenManifoldForm.restrict (ChartEquiv.chartPreimageOpen_mono e hWV) form).extension.inChart e (y : E) = |
| 421 | form.extension.inChart e (y : E) |
| 422 | unfold Algebra.RawManifoldForm.inChart |
| 423 | have hyW := ChartEquiv.mem_chartPreimageOpen_symm e W (hWV.trans hV) y.property |
| 424 | have hyV := ChartEquiv.mem_chartPreimageOpen_symm e V hV (hWV y.property) |
| 425 | rw [Open.SmoothOpenManifoldForm.extension_apply (Open.SmoothOpenManifoldForm.restrict (ChartEquiv.chartPreimageOpen_mono e hWV) form) ⟨e.symm y, hyW⟩, |
| 426 | Open.SmoothOpenManifoldForm.extension_apply form ⟨e.symm y, hyV⟩] |
| 427 | rfl |
| 428 | |
| 429 | end |
| 430 | |
| 431 | /-- Actual local manifold forms and coordinate forms on any smaller chart open. -/ |
| 432 | def ChartEquiv.manifoldChartOpenFormEquiv (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 433 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) (n : ℕ) : |
| 434 | Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n ≃ₗ[ℂ] OpenD.SmoothOpenForm V n where |
| 435 | toLinearMap := Open.SmoothOpenManifoldForm.toChartOn e he V hV |
| 436 | invFun := Open.SmoothOpenManifoldForm.fromChartOn e he V |
| 437 | left_inv := Open.SmoothOpenManifoldForm.fromChartOn_toChartOn e he V hV |
| 438 | right_inv := Open.SmoothOpenManifoldForm.toChartOn_fromChartOn e he V hV |
| 439 | |
| 440 | theorem ChartEquiv.manifoldChartOpenFormEquiv_d (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 441 | (V : Opens E) (hV : V ≤ ChartEquiv.chartTargetOpen e) |
| 442 | (form : Open.SmoothOpenManifoldForm E (ChartEquiv.chartPreimageOpen e V) n) : |
| 443 | OpenD.SmoothOpenForm.d (ChartEquiv.manifoldChartOpenFormEquiv e he V hV n form) = |
| 444 | ChartEquiv.manifoldChartOpenFormEquiv e he V hV (n + 1) (Open.SmoothOpenManifoldForm.d form) := |
| 445 | Open.SmoothOpenManifoldForm.toChartOn_d e he V hV form |
| 446 | |
| 447 | end |
| 448 | |
| 449 | end OAI.Analysis.DifferentialForms.Manifold |