Download data/lean/OAI/Analysis/DifferentialForms/Manifold/LocalDerivative.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 8.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/DifferentialForms/Manifold/LocalDerivative.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/DifferentialForms/Manifold/LocalDerivative.lean
-
curl -L -o LocalDerivative.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/DifferentialForms/Manifold/LocalDerivative.lean
8.13 kB
| import OAI.Analysis.DifferentialForms.Manifold.Derivative | |
| /-! # Local Derivative -/ | |
| namespace OAI.Analysis.DifferentialForms.Manifold | |
| noncomputable section | |
| /-! | |
| # Local exterior differentiation of actual manifold covectors | |
| These results require smoothness only on the specified open domain. In | |
| particular they do not assert that a section extended by zero across its | |
| boundary is globally smooth. Chart independence, regularity, locality and | |
| square-zero all hold on the original domain. | |
| -/ | |
| open scoped _root_.Manifold ContDiff _root_.Topology | |
| open Set Filter | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [IsManifold π(β, E) β M] {n : β} {U : Set M} | |
| omit [IsManifold π(β, E) β M] in | |
| /-- Smoothness in a chart near a point needs only smoothness on its open domain. -/ | |
| theorem LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart {form : Algebra.RawManifoldForm E M n} | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) | |
| (e : OpenPartialHomeomorph M E) (he : e β atlas E M) {y : E} | |
| (hy : y β Algebra.manifoldFormChartDomain e U) : ContDiffAt β β (form.inChart e) y := | |
| (hform e he).contDiffAt ((Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hy) | |
| /-- Two chart derivatives agree at every point where the form is smooth. -/ | |
| theorem Algebra.RawManifoldForm.chartExteriorDerivative_eq_on (form : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) | |
| (e f : OpenPartialHomeomorph M E) (he : e β atlas E M) (hf : f β atlas E M) | |
| {x : M} (hex : x β e.source) (hfx : x β f.source) (hxU : x β U) : | |
| form.chartExteriorDerivative e x = form.chartExteriorDerivative f x := by | |
| have hlocal : ContDiffAt β β (form.inChart f) (f x) := | |
| LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform f hf | |
| β¨f.map_source hfx, by | |
| change f.symm (f x) β U | |
| simpa only [f.left_inv hfx] using hxUβ© | |
| have htrans := form.extDeriv_inChart_transition_of_differentiableAt e f he hf | |
| (e.map_source hex) (by simpa only [e.left_inv hex] using hfx) | |
| (by simpa only [e.left_inv hex] using hlocal.differentiableAt (by simp)) | |
| rw [e.left_inv hex] at htrans | |
| ext v | |
| change extDeriv (form.inChart e) (e x) (fun i => Charts.chartTangentMap e x (v i)) = | |
| extDeriv (form.inChart f) (f x) (fun i => Charts.chartTangentMap f x (v i)) | |
| rw [htrans] | |
| apply congrArg (extDeriv (form.inChart f) (f x)) | |
| funext i | |
| exact congrArg (fun g => g (v i)) (Derivative.chartTangentMap_transition_comp e f he hf hex hfx) | |
| /-- The preferred chart gives the same derivative as every atlas chart on U. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_eq_chart_on (form : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) | |
| (e : OpenPartialHomeomorph M E) (he : e β atlas E M) {x : M} | |
| (hx : x β e.source) (hxU : x β U) : | |
| form.exteriorDerivative x = form.chartExteriorDerivative e x := | |
| form.chartExteriorDerivative_eq_on hU hform (chartAt E x) e | |
| (chart_mem_atlas E x) he (mem_chart_source E x) hx hxU | |
| /-- The derivative has the ordinary exterior-derivative expression on the chart domain. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_inChart_on (form : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) | |
| (e : OpenPartialHomeomorph M E) (he : e β atlas E M) {y : E} | |
| (hy : y β Algebra.manifoldFormChartDomain e U) : | |
| form.exteriorDerivative.inChart e y = extDeriv (form.inChart e) y := by | |
| calc | |
| form.exteriorDerivative.inChart e y = (form.chartExteriorDerivative e).inChart e y := by | |
| unfold Algebra.RawManifoldForm.inChart | |
| rw [form.exteriorDerivative_eq_chart_on hU hform e he (e.map_target hy.1) hy.2] | |
| _ = extDeriv (form.inChart e) y := form.chartExteriorDerivative_inChart e he hy.1 | |
| /-- Exterior differentiation preserves smoothness on the original open domain. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_smooth_on (form : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) : | |
| Algebra.IsSmoothManifoldFormOn form.exteriorDerivative U := by | |
| intro e he | |
| have hd : ContDiffOn β β (extDeriv (form.inChart e)) (Algebra.manifoldFormChartDomain e U) := | |
| ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen (hform e he) | |
| (Algebra.isOpen_manifoldFormChartDomain e hU) (by simp) | |
| exact hd.congr (fun y hy => form.exteriorDerivative_inChart_on hU hform e he hy) | |
| omit [IsManifold π(β, E) β M] in | |
| /-- The derivative at a point depends only on the field in its open neighborhood. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_congr_on (form other : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (heq : β x β U, form x = other x) {x : M} (hx : x β U) : | |
| form.exteriorDerivative x = other.exteriorDerivative x := by | |
| let e := chartAt E x | |
| have heqChart : form.inChart e =αΆ [π (e x)] other.inChart e := by | |
| have hex : e x β Algebra.manifoldFormChartDomain e U := | |
| β¨e.map_source (mem_chart_source E x), by | |
| change e.symm (e x) β U | |
| simpa only [e.left_inv (mem_chart_source E x)] using hxβ© | |
| filter_upwards [(Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hex] with y hy | |
| unfold Algebra.RawManifoldForm.inChart | |
| rw [heq (e.symm y) hy.2] | |
| change (extDeriv (form.inChart e) (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) = | |
| (extDeriv (other.inChart e) (e x)).compContinuousLinearMap (Charts.chartTangentMap e x) | |
| rw [heqChart.extDeriv_eq] | |
| omit [IsManifold π(β, E) β M] in | |
| /-- Additivity of the derivative at every point of a smoothness domain. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_add_on (form other : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) | |
| (hother : Algebra.IsSmoothManifoldFormOn other U) {x : M} (hx : x β U) : | |
| (form + other).exteriorDerivative x = form.exteriorDerivative x + other.exteriorDerivative x := by | |
| let e := chartAt E x | |
| have hex : e x β Algebra.manifoldFormChartDomain e U := | |
| β¨e.map_source (mem_chart_source E x), by | |
| change e.symm (e x) β U | |
| simpa only [e.left_inv (mem_chart_source E x)] using hxβ© | |
| have hf := (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform e | |
| (chart_mem_atlas E x) hex).differentiableAt (by simp) | |
| have hg := (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hother e | |
| (chart_mem_atlas E x) hex).differentiableAt (by simp) | |
| ext v | |
| change extDeriv ((form + other).inChart e) (e x) (fun i => Charts.chartTangentMap e x (v i)) = | |
| (extDeriv (form.inChart e) (e x) + extDeriv (other.inChart e) (e x)) | |
| (fun i => Charts.chartTangentMap e x (v i)) | |
| rw [Algebra.RawManifoldForm.inChart_add, extDeriv_add hf hg] | |
| /-- The exterior derivative squares to zero at every point of the smoothness domain. -/ | |
| theorem Algebra.RawManifoldForm.exteriorDerivative_squared_on (form : Algebra.RawManifoldForm E M n) | |
| (hU : IsOpen U) (hform : Algebra.IsSmoothManifoldFormOn form U) {x : M} (hx : x β U) : | |
| form.exteriorDerivative.exteriorDerivative x = 0 := by | |
| let e := chartAt E x | |
| have he : e β atlas E M := chart_mem_atlas E x | |
| have hex : e x β Algebra.manifoldFormChartDomain e U := | |
| β¨e.map_source (mem_chart_source E x), by | |
| change e.symm (e x) β U | |
| simpa only [e.left_inv (mem_chart_source E x)] using hxβ© | |
| have heq : form.exteriorDerivative.inChart e =αΆ [π (e x)] extDeriv (form.inChart e) := by | |
| filter_upwards [(Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hex] with y hy | |
| exact form.exteriorDerivative_inChart_on hU hform e he hy | |
| change (extDeriv (form.exteriorDerivative.inChart e) (e x)).compContinuousLinearMap | |
| (Charts.chartTangentMap e x) = 0 | |
| rw [heq.extDeriv_eq, SquareZero.extDeriv_extDeriv_of_contDiffAt | |
| (LocalDerivative.smoothManifoldFormOn_contDiffAt_inChart hU hform e he hex)] | |
| ext v | |
| rfl | |
| end | |
| end OAI.Analysis.DifferentialForms.Manifold | |