Download data/lean/OAI/Geometry/BallPacking/Forms/ManifoldMapDifferential.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 23.6 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Forms/ManifoldMapDifferential.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/BallPacking/Forms/ManifoldMapDifferential.lean
-
curl -L -o ManifoldMapDifferential.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Forms/ManifoldMapDifferential.lean
23.6 kB
| import Mathlib | |
| import OAI.Geometry.BallPacking.Surfaces.QuadricInfinityDiffeomorph | |
| import OAI.Geometry.BallPacking.Kahler.PhaseArea | |
| namespace OAI | |
| noncomputable section | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped Manifold | |
| open scoped ContDiff Topology | |
| open Set Function Manifold | |
| section | |
| variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| {M N : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [TopologicalSpace N] [ChartedSpace F N] | |
| def manifoldMapDifferential (g : N β M) (x : N) : F βL[β] E := | |
| mfderiv π(β,F) π(β,E) g x | |
| end | |
| section | |
| variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| {M N : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(β,F) β N] | |
| def manifoldPullbackTwoForm (Ξ© : β β ManifoldTwoForm E M) (e : N β M) | |
| (t : β) (b : N) : F βL[β] F βL[β] β := | |
| (Ξ© t (e b)).bilinearComp (manifoldMapDifferential (E := E) (F := F) e b) | |
| (manifoldMapDifferential (E := E) (F := F) e b) | |
| def manifoldPullbackOneForm (Ξ± : β β ManifoldOneForm E M) (e : N β M) | |
| (t : β) (b : N) : F βL[β] β := | |
| (Ξ± t (e b)).comp (manifoldMapDifferential (E := E) (F := F) e b) | |
| omit [IsManifold π(β,E) β M] in | |
| theorem chartTwoForm_manifoldPullback {Ξ© : β β ManifoldTwoForm E M} {e : N β M} | |
| (he : ContMDiff π(β,F) π(β,E) β e) {b : N} {p : β Γ F} | |
| (hp : p.2 β (extChartAt π(β,F) b).target) : | |
| chartTwoForm (manifoldPullbackTwoForm Ξ© e p.1) b p.2 = | |
| euclideanPullbackTwoForm Ξ© (e β (extChartAt π(β,F) b).symm) p := by | |
| have hc := ((contMDiffOn_extChartAt_symm (I := π(β,F)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp)).mdifferentiableAt (by simp) | |
| have hd := ((he.mdifferentiable (by simp) _).hasMFDerivAt.comp p.2 hc.hasMFDerivAt).mfderiv | |
| simp only [euclideanPullbackTwoForm,hd,chartTwoForm,manifoldPullbackTwoForm, | |
| manifoldMapDifferential,chartDifferential_inverse hp,Function.comp_apply] | |
| ext v w | |
| rfl | |
| omit [IsManifold π(β,E) β M] in | |
| theorem chartOneForm_manifoldPullback {Ξ± : β β ManifoldOneForm E M} {e : N β M} | |
| (he : ContMDiff π(β,F) π(β,E) β e) {b : N} {p : β Γ F} | |
| (hp : p.2 β (extChartAt π(β,F) b).target) : | |
| chartOneForm (manifoldPullbackOneForm Ξ± e p.1) b p.2 = | |
| euclideanPullbackOneForm Ξ± (e β (extChartAt π(β,F) b).symm) p := by | |
| have hc := ((contMDiffOn_extChartAt_symm (I := π(β,F)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp)).mdifferentiableAt (by simp) | |
| have hd := ((he.mdifferentiable (by simp) _).hasMFDerivAt.comp p.2 hc.hasMFDerivAt).mfderiv | |
| simp only [euclideanPullbackOneForm,hd,chartOneForm,manifoldPullbackOneForm, | |
| manifoldMapDifferential,chartDifferential_inverse hp,Function.comp_apply] | |
| ext v | |
| rfl | |
| theorem manifoldPullbackTwoForm_smooth {Ξ© : β β ManifoldTwoForm E M} {e : N β M} | |
| (he : ContMDiff π(β,F) π(β,E) β e) | |
| (hΞ© : β c, ContDiffOn β β (fun q : β Γ E => chartTwoForm (Ξ© q.1) c q.2) | |
| (univ ΓΛ’ (extChartAt π(β,E) c).target)) (b : N) : | |
| ContDiffOn β β (fun q : β Γ F => chartTwoForm (manifoldPullbackTwoForm Ξ© e q.1) b q.2) | |
| (univ ΓΛ’ (extChartAt π(β,F) b).target) := by | |
| intro p hp | |
| have hg := he.contMDiffAt.comp p.2 ((contMDiffOn_extChartAt_symm (I := π(β,F)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp.2)) | |
| apply ((euclideanPullbackTwoForm_contDiffAt hΞ© hg).congr_of_eventuallyEq _).contDiffWithinAt | |
| have hh := continuousAt_snd.preimage_mem_nhds | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp.2) | |
| filter_upwards [hh] with q hq | |
| exact chartTwoForm_manifoldPullback he hq | |
| theorem manifoldPullbackOneForm_smooth {Ξ± : β β ManifoldOneForm E M} {e : N β M} | |
| (he : ContMDiff π(β,F) π(β,E) β e) | |
| (hΞ± : β c, ContDiffOn β β (fun q : β Γ E => chartOneForm (Ξ± q.1) c q.2) | |
| (univ ΓΛ’ (extChartAt π(β,E) c).target)) (b : N) : | |
| ContDiffOn β β (fun q : β Γ F => chartOneForm (manifoldPullbackOneForm Ξ± e q.1) b q.2) | |
| (univ ΓΛ’ (extChartAt π(β,F) b).target) := by | |
| intro p hp | |
| have hg := he.contMDiffAt.comp p.2 ((contMDiffOn_extChartAt_symm (I := π(β,F)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp.2)) | |
| apply ((euclideanPullbackOneForm_contDiffAt hΞ± hg).congr_of_eventuallyEq _).contDiffWithinAt | |
| have hh := continuousAt_snd.preimage_mem_nhds | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hp.2) | |
| filter_upwards [hh] with q hq | |
| exact chartOneForm_manifoldPullback he hq | |
| end | |
| section | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| def manifoldExteriorOneForm (Ξ± : ManifoldOneForm E M) : ManifoldTwoForm E M := | |
| fun x => (euclideanExteriorOneForm (chartOneForm Ξ± x) (extChartAt π(β,E) x x)).bilinearComp | |
| (chartDifferential x x) (chartDifferential x x) | |
| theorem chartOneForm_transition {Ξ± : ManifoldOneForm E M} {b c : M} {y : E} | |
| (hy : y β (extChartAt π(β,E) b).target) | |
| (hc : (extChartAt π(β,E) b).symm y β (extChartAt π(β,E) c).source) : | |
| chartOneForm Ξ± b y = | |
| staticPullbackOneForm (chartOneForm Ξ± c) | |
| (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm) y := by | |
| have hi := ((contMDiffOn_extChartAt_symm (I := π(β,E)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,E)) b).mem_nhds hy)).mdifferentiableAt (by simp) | |
| have he := euclideanPullbackOneForm_chart (Ξ± := fun _ => Ξ±) (p := (0,y)) hi hc | |
| simpa only [euclideanPullbackOneForm,chartOneForm,chartDifferential_inverse hy, | |
| staticPullbackOneForm,Function.comp_apply] using he | |
| theorem chartOneForm_exterior_transition {Ξ± : ManifoldOneForm E M} {b c : M} {y : E} | |
| (hy : y β (extChartAt π(β,E) b).target) | |
| (hc : (extChartAt π(β,E) b).symm y β (extChartAt π(β,E) c).source) | |
| (hΞ± : ContDiffAt β β (chartOneForm Ξ± c) | |
| (extChartAt π(β,E) c ((extChartAt π(β,E) b).symm y))) : | |
| euclideanExteriorOneForm (chartOneForm Ξ± b) y = | |
| (euclideanExteriorOneForm (chartOneForm Ξ± c) | |
| (extChartAt π(β,E) c ((extChartAt π(β,E) b).symm y))).bilinearComp | |
| (fderiv β (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm) y) | |
| (fderiv β (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm) y) := by | |
| have hi := (contMDiffOn_extChartAt_symm (I := π(β,E)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,E)) b).mem_nhds hy) | |
| have ho := contMDiffAt_extChartAt' (I := π(β,E)) (n := β) (x := c) | |
| (by simpa only [extChartAt_source] using hc) | |
| have ht : ContDiffAt β β | |
| (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm) y := | |
| (ho.comp y hi).contDiffAt | |
| have he : chartOneForm Ξ± b =αΆ [π y] | |
| staticPullbackOneForm (chartOneForm Ξ± c) | |
| (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm) := by | |
| filter_upwards [(isOpen_extChartAt_target (I := π(β,E)) b).mem_nhds hy, | |
| hi.continuousAt.preimage_mem_nhds ((isOpen_extChartAt_source (I := π(β,E)) c).mem_nhds hc)] | |
| with z hz hzc | |
| exact chartOneForm_transition hz hzc | |
| calc | |
| _ = euclideanExteriorOneForm | |
| (staticPullbackOneForm (chartOneForm Ξ± c) | |
| (extChartAt π(β,E) c β (extChartAt π(β,E) b).symm)) y := by | |
| unfold euclideanExteriorOneForm | |
| rw [he.fderiv_eq] | |
| _ = _ := staticPullbackOneForm_exterior hΞ± ht | |
| theorem manifoldExteriorOneForm_chart {Ξ± : ManifoldOneForm E M} | |
| (hΞ± : β c, ContDiffOn β β (chartOneForm Ξ± c) (extChartAt π(β,E) c).target) | |
| {b : M} {y : E} (hy : y β (extChartAt π(β,E) b).target) : | |
| chartTwoForm (manifoldExteriorOneForm Ξ±) b y = | |
| euclideanExteriorOneForm (chartOneForm Ξ± b) y := by | |
| let x := (extChartAt π(β,E) b).symm y | |
| have hx : x β (extChartAt π(β,E) x).source := mem_extChartAt_source x | |
| have hi := ((contMDiffOn_extChartAt_symm (I := π(β,E)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,E)) b).mem_nhds hy)).mdifferentiableAt (by simp) | |
| have ho := mdifferentiableAt_extChartAt (I := π(β,E)) (x := x) | |
| (by simpa only [extChartAt_source] using hx) | |
| let A : E βL[β] E := (chartDifferential x x).comp | |
| (mfderiv π(β,E) π(β,E) (extChartAt π(β,E) b).symm y) | |
| have hf : HasFDerivAt (extChartAt π(β,E) x β (extChartAt π(β,E) b).symm) A y := | |
| hasMFDerivAt_iff_hasFDerivAt.mp (ho.hasMFDerivAt.comp y hi.hasMFDerivAt) | |
| have he := hf.fderiv | |
| dsimp only [A,chartDifferential] at he | |
| rw [chartOneForm_exterior_transition hy hx ((hΞ± x).contDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,E)) x).mem_nhds | |
| ((extChartAt π(β,E) x).map_source hx)))] | |
| change fderiv β (extChartAt π(β,E) x β (extChartAt π(β,E) b).symm) y = _ at he | |
| rw [he] | |
| simp only [chartTwoForm,manifoldExteriorOneForm,chartDifferential_inverse hy] | |
| rfl | |
| end | |
| section | |
| variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| theorem euclidean_manifold_pullback_germ {Ξ± : ManifoldOneForm E M} | |
| {g : F β M} {x : F} (hg : ContMDiffAt π(β,F) π(β,E) β g x) | |
| {c : M} (hc : g x β (extChartAt π(β,E) c).source) : | |
| (fun y => euclideanPullbackOneForm (fun _ => Ξ±) g (0,y)) =αΆ [π x] | |
| staticPullbackOneForm (chartOneForm Ξ± c) (extChartAt π(β,E) c β g) := by | |
| have hg' := (contMDiffAt_iff_contMDiffAt_nhds (by simp : (1 : ββΟ) β β)).mp | |
| (hg.of_le (by simp : (1 : ββΟ) β€ β)) | |
| filter_upwards [hg',hg.continuousAt.preimage_mem_nhds | |
| ((isOpen_extChartAt_source (I := π(β,E)) c).mem_nhds hc)] with y hy hcy | |
| exact euclideanPullbackOneForm_chart (Ξ± := fun _ => Ξ±) (p := (0,y)) | |
| (hy.mdifferentiableAt (by simp)) hcy | |
| theorem euclidean_manifold_pullback_chart_exterior {Ξ± : ManifoldOneForm E M} | |
| (hΞ± : β c, ContDiffOn β β (chartOneForm Ξ± c) (extChartAt π(β,E) c).target) | |
| {g : F β M} {x : F} (hg : ContMDiffAt π(β,F) π(β,E) β g x) | |
| {c : M} (hc : g x β (extChartAt π(β,E) c).source) : | |
| euclideanExteriorOneForm (fun y => euclideanPullbackOneForm (fun _ => Ξ±) g (0,y)) x = | |
| (euclideanExteriorOneForm (chartOneForm Ξ± c) (extChartAt π(β,E) c (g x))).bilinearComp | |
| (fderiv β (extChartAt π(β,E) c β g) x) (fderiv β (extChartAt π(β,E) c β g) x) := by | |
| have ho := contMDiffAt_extChartAt' (I := π(β,E)) (n := β) (x := c) | |
| (by simpa only [extChartAt_source] using hc) | |
| have hgc : ContDiffAt β β (extChartAt π(β,E) c β g) x := (ho.comp x hg).contDiffAt | |
| have ha := (hΞ± c).contDiffAt ((isOpen_extChartAt_target (I := π(β,E)) c).mem_nhds | |
| ((extChartAt π(β,E) c).map_source hc)) | |
| have he := euclidean_manifold_pullback_germ (Ξ± := Ξ±) hg hc | |
| calc | |
| _ = euclideanExteriorOneForm | |
| (staticPullbackOneForm (chartOneForm Ξ± c) (extChartAt π(β,E) c β g)) x := by | |
| unfold euclideanExteriorOneForm | |
| rw [he.fderiv_eq] | |
| _ = _ := staticPullbackOneForm_exterior ha hgc | |
| theorem euclidean_manifold_pullback_exterior {Ξ± : ManifoldOneForm E M} | |
| (hΞ± : β c, ContDiffOn β β (chartOneForm Ξ± c) (extChartAt π(β,E) c).target) | |
| {g : F β M} {x : F} (hg : ContMDiffAt π(β,F) π(β,E) β g x) : | |
| euclideanExteriorOneForm (fun y => euclideanPullbackOneForm (fun _ => Ξ±) g (0,y)) x = | |
| (manifoldExteriorOneForm Ξ± (g x)).bilinearComp | |
| (manifoldMapDifferential (E := E) (F := F) g x) | |
| (manifoldMapDifferential (E := E) (F := F) g x) := by | |
| let c := g x | |
| have hc : g x β (extChartAt π(β,E) c).source := mem_extChartAt_source c | |
| have ho := mdifferentiableAt_extChartAt (I := π(β,E)) (x := c) | |
| (by simpa only [extChartAt_source] using hc) | |
| let A : F βL[β] E := (chartDifferential c (g x)).comp | |
| (manifoldMapDifferential (E := E) (F := F) g x) | |
| have hf : HasFDerivAt (extChartAt π(β,E) c β g) A x := | |
| hasMFDerivAt_iff_hasFDerivAt.mp | |
| (ho.hasMFDerivAt.comp x (hg.mdifferentiableAt (by simp)).hasMFDerivAt) | |
| have hd := hf.fderiv | |
| have hfd : fderiv β (extChartAt π(β,E) c β g) x = | |
| (chartDifferential (E := E) c (g x)).comp | |
| (manifoldMapDifferential (E := E) (F := F) g x) := hd | |
| rw [euclidean_manifold_pullback_chart_exterior hΞ± hg hc,hfd] | |
| rfl | |
| variable {N : Type*} [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(β,F) β N] | |
| theorem manifold_pullback_exterior {Ξ± : ManifoldOneForm E M} | |
| (hΞ± : β c, ContDiffOn β β (chartOneForm Ξ± c) (extChartAt π(β,E) c).target) | |
| {g : N β M} (hg : ContMDiff π(β,F) π(β,E) β g) (b : N) : | |
| manifoldExteriorOneForm (E := F) (M := N) | |
| (manifoldPullbackOneForm (E := E) (F := F) (fun _ => Ξ±) g 0) b = | |
| manifoldPullbackTwoForm (E := E) (F := F) (fun _ => manifoldExteriorOneForm Ξ±) g 0 b := by | |
| let y := extChartAt π(β,F) b b | |
| have hb := mem_extChartAt_source (I := π(β,F)) b | |
| have hy : y β (extChartAt π(β,F) b).target := (extChartAt π(β,F) b).map_source hb | |
| have he : (extChartAt π(β,F) b).symm y=b := (extChartAt π(β,F) b).left_inv hb | |
| have hi := (contMDiffOn_extChartAt_symm (I := π(β,F)) (n := β) b).contMDiffAt | |
| ((isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hy) | |
| have hc : ContMDiffAt π(β,F) π(β,E) β (g β (extChartAt π(β,F) b).symm) y := | |
| hg.contMDiffAt.comp y hi | |
| have hh : chartOneForm (E := F) (M := N) | |
| (manifoldPullbackOneForm (E := E) (F := F) (fun _ => Ξ±) g 0) b =αΆ [π y] | |
| fun z => euclideanPullbackOneForm (fun _ => Ξ±) (g β (extChartAt π(β,F) b).symm) (0,z) := by | |
| filter_upwards [(isOpen_extChartAt_target (I := π(β,F)) b).mem_nhds hy] with z hz | |
| exact chartOneForm_manifoldPullback (Ξ± := fun _ => Ξ±) (b := b) (p := (0,z)) hg hz | |
| have hder : euclideanExteriorOneForm | |
| (chartOneForm (E := F) (M := N) | |
| (manifoldPullbackOneForm (E := E) (F := F) (fun _ => Ξ±) g 0) b) y = | |
| (manifoldExteriorOneForm Ξ± (g b)).bilinearComp | |
| (manifoldMapDifferential (E := E) (F := F) (g β (extChartAt π(β,F) b).symm) y) | |
| (manifoldMapDifferential (E := E) (F := F) (g β (extChartAt π(β,F) b).symm) y) := by | |
| calc | |
| _ = euclideanExteriorOneForm | |
| (fun z => euclideanPullbackOneForm (fun _ => Ξ±) (g β (extChartAt π(β,F) b).symm) (0,z)) y := by | |
| unfold euclideanExteriorOneForm | |
| rw [hh.fderiv_eq] | |
| _ = _ := by simpa only [Function.comp_apply,he] using euclidean_manifold_pullback_exterior hΞ± hc | |
| have hd := mfderiv_comp y ((hg.mdifferentiable (by simp)) _) | |
| (hi.mdifferentiableAt (by simp)) | |
| have hD : manifoldMapDifferential (E := E) (F := F) | |
| (g β (extChartAt π(β,F) b).symm) y = | |
| (manifoldMapDifferential (E := E) (F := F) g b).comp | |
| (chartDifferential (E := F) b b).inverse := by | |
| change mfderiv π(β,F) π(β,E) (g β (extChartAt π(β,F) b).symm) y = _ | |
| rw [hd] | |
| rw [β chartDifferential_inverse hy] | |
| change (manifoldMapDifferential (E := E) (F := F) g | |
| ((extChartAt π(β,F) b).symm y)).comp | |
| (chartDifferential (E := F) b ((extChartAt π(β,F) b).symm y)).inverse = _ | |
| rw [he] | |
| have H : (chartDifferential (E := F) b b).IsInvertible := by | |
| convert! isInvertible_mfderiv_extChartAt (I := π(β,F)) hb using 1 | |
| change (euclideanExteriorOneForm | |
| (chartOneForm (E := F) (M := N) | |
| (manifoldPullbackOneForm (E := E) (F := F) (fun _ => Ξ±) g 0) b) y).bilinearComp | |
| (chartDifferential (E := F) b b) (chartDifferential (E := F) b b)=_ | |
| rw [hder,hD] | |
| ext u v | |
| change manifoldExteriorOneForm Ξ± (g b) | |
| (mfderiv π(β,F) π(β,E) g b ((chartDifferential (E := F) b b).inverse (chartDifferential (E := F) b b u))) | |
| (mfderiv π(β,F) π(β,E) g b ((chartDifferential (E := F) b b).inverse (chartDifferential (E := F) b b v)))=_ | |
| rw [H.inverse_apply_self,H.inverse_apply_self] | |
| rfl | |
| end | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| theorem vector_chartOneForm (Ξ± : E β E βL[β] β) (c y : E) : | |
| chartOneForm Ξ± c y=Ξ± y := by | |
| simp only [chartOneForm,chartDifferential,extChartAt_model_space_eq_id, | |
| PartialEquiv.refl_coe,PartialEquiv.refl_symm,fderiv_id, | |
| mfderiv_eq_fderiv,ContinuousLinearMap.inverse_id,ContinuousLinearMap.comp_id,id_eq] | |
| theorem vector_chartTwoForm (Ξ© : E β E βL[β] E βL[β] β) (c y : E) : | |
| chartTwoForm Ξ© c y=Ξ© y := by | |
| ext v w | |
| simp only [chartTwoForm,chartDifferential,extChartAt_model_space_eq_id, | |
| PartialEquiv.refl_coe,PartialEquiv.refl_symm,fderiv_id, | |
| mfderiv_eq_fderiv,ContinuousLinearMap.inverse_id,id_eq, | |
| ContinuousLinearMap.bilinearComp_apply,ContinuousLinearMap.id_apply] | |
| theorem vector_exteriorOneForm (Ξ± : E β E βL[β] β) : | |
| manifoldExteriorOneForm Ξ±=euclideanExteriorOneForm Ξ± := by | |
| funext y | |
| simp only [manifoldExteriorOneForm, | |
| chartDifferential,extChartAt_model_space_eq_id,PartialEquiv.refl_coe, | |
| mfderiv_eq_fderiv,fderiv_id,id_eq] | |
| rw [show chartOneForm Ξ± y=Ξ± from funext (vector_chartOneForm Ξ± y)] | |
| ext v w | |
| rfl | |
| theorem vector_oneForm_smooth {Ξ± : E β E βL[β] β} (hΞ± : ContDiff β β Ξ±) : | |
| SmoothOneFormFamily (fun _ : β => Ξ±) := by | |
| intro c | |
| simpa only [vector_chartOneForm,Function.comp_def] using | |
| (hΞ±.comp contDiff_snd).contDiffOn | |
| theorem vector_twoForm_smooth {Ξ© : E β E βL[β] E βL[β] β} (hΞ© : ContDiff β β Ξ©) : | |
| SmoothTwoForm Ξ© := by | |
| intro c | |
| rw [show chartTwoForm Ξ© c=Ξ© from funext (vector_chartTwoForm Ξ© c)] | |
| exact hΞ©.contDiffOn | |
| end PackingSufficiencySupport.Hamiltonian | |
| namespace PackingSufficiencySupport.DiagonalQuadrics | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| open Hamiltonian | |
| variable {m : β} (a : Fin m β β) [Fact (Injective a)] [Fact (β j,a jβ 0)] | |
| def phaseInclusion (x : locus a) : PlanePhase (Option (Fin m)) := affinePhase m x.val | |
| theorem phaseInclusion_smooth : | |
| ContMDiff π(β,RealModel) π(β,PlanePhase (Option (Fin m))) β (phaseInclusion a) := | |
| (affinePhase m).contDiff.contMDiff.comp (real_inclusion_contMDiff a) | |
| def curveFSPrimitive (c : β) : ManifoldOneForm RealModel (locus a) := | |
| manifoldPullbackOneForm (fun _ => affineFSPrimitive c) (phaseInclusion a) 0 | |
| def curveFSForm (c : β) : ManifoldTwoForm RealModel (locus a) := | |
| manifoldPullbackTwoForm (fun _ => affineFSForm c) (phaseInclusion a) 0 | |
| theorem curveFSPrimitive_smooth (c : β) : | |
| SmoothOneFormFamily (fun _ : β => curveFSPrimitive a c) := by | |
| have hΞ± : SmoothOneFormFamily (fun _ : β => | |
| (affineFSPrimitive c : PlanePhase (Option (Fin m)) β _)) := | |
| vector_oneForm_smooth (affineFSPrimitive_smooth c) | |
| intro b | |
| exact manifoldPullbackOneForm_smooth (Ξ± := fun _ : β => | |
| (affineFSPrimitive c : PlanePhase (Option (Fin m)) β _)) | |
| (phaseInclusion_smooth a) hΞ± b | |
| theorem curveFSForm_smooth (c : β) : SmoothTwoForm (curveFSForm a c) := by | |
| have hΞ© : SmoothTwoForm (affineFSForm c : PlanePhase (Option (Fin m)) β _) := | |
| vector_twoForm_smooth (affineFSForm_smooth c) | |
| have hΞ©f : SmoothTwoFormFamily (fun _ : β => | |
| (affineFSForm c : PlanePhase (Option (Fin m)) β _)) := SmoothTwoFormFamily.const hΞ© | |
| have hs : SmoothTwoFormFamily (fun t : β => | |
| manifoldPullbackTwoForm (fun _ => (affineFSForm c : PlanePhase (Option (Fin m)) β _)) | |
| (phaseInclusion a) t) := | |
| manifoldPullbackTwoForm_smooth (Ξ© := fun _ => | |
| (affineFSForm c : PlanePhase (Option (Fin m)) β _)) (phaseInclusion_smooth a) hΞ©f | |
| exact hs.eval 0 | |
| theorem curveFSPrimitive_exterior (c : β) : | |
| manifoldExteriorOneForm (curveFSPrimitive a c)=curveFSForm a c := by | |
| have hΞ± : β z : PlanePhase (Option (Fin m)),ContDiffOn β β | |
| (chartOneForm (affineFSPrimitive c) z) (extChartAt π(β,PlanePhase (Option (Fin m))) z).target := by | |
| intro z | |
| rw [show chartOneForm (affineFSPrimitive c) z=affineFSPrimitive c from | |
| funext (vector_chartOneForm (affineFSPrimitive c) z)] | |
| exact (affineFSPrimitive_smooth c).contDiffOn | |
| funext x | |
| change manifoldExteriorOneForm (manifoldPullbackOneForm | |
| (fun _ => (affineFSPrimitive c : PlanePhase (Option (Fin m)) β _)) (phaseInclusion a) 0) x=_ | |
| rw [manifold_pullback_exterior hΞ± (phaseInclusion_smooth a) x] | |
| rw [vector_exteriorOneForm,β affineFSForm_eq_exterior] | |
| rfl | |
| theorem curveFSForm_skew (c : β) (x : locus a) (v w : RealModel) : | |
| curveFSForm a c x v w= -curveFSForm a c x w v := | |
| affineFSForm_skew c _ _ _ | |
| theorem phase_chart_function (b : locus a) : | |
| (phaseInclusion a β (extChartAt π(β,RealModel) b).symm)= | |
| affinePhase m β (normalChartAt a b).inclusionChart b β Complex.equivRealProdCLM.symm := by | |
| funext y | |
| have he : chartAt RealModel b=realChart a b := rfl | |
| simp only [mfld_simps,he,realChart,Function.comp_apply,phaseInclusion, | |
| NormalChart.inclusionChart] | |
| rfl | |
| theorem realChart_complex_target (b : locus a) {y : RealModel} | |
| (hy : yβ(extChartAt π(β,RealModel) b).target) : | |
| Complex.equivRealProdCLM.symm yβ((normalChartAt a b).sliceChart b).target := by | |
| have he : chartAt RealModel b=realChart a b := rfl | |
| simp only [mfld_simps,he,realChart] at hy | |
| exact hy | |
| theorem phase_chart_derivative (b : locus a) {y : RealModel} | |
| (hy : yβ(extChartAt π(β,RealModel) b).target) : | |
| manifoldMapDifferential (E := PlanePhase (Option (Fin m))) (F := RealModel) | |
| (phaseInclusion a β (extChartAt π(β,RealModel) b).symm) y= | |
| realPhaseDerivative (fderiv β ((normalChartAt a b).inclusionChart b) | |
| (Complex.equivRealProdCLM.symm y)) := by | |
| change mfderiv π(β,RealModel) π(β,PlanePhase (Option (Fin m))) _ y=_ | |
| rw [mfderiv_eq_fderiv,phase_chart_function] | |
| have hdf := (((normalChartAt a b).inclusionChart_smooth b).contDiffAt | |
| (((normalChartAt a b).sliceChart b).open_target.mem_nhds | |
| (realChart_complex_target a b hy))).differentiableAt (by simp) | |
| exact ((affinePhase m).hasFDerivAt.comp y | |
| ((hdf.hasFDerivAt.restrictScalars β).comp y Complex.equivRealProdCLM.symm.hasFDerivAt)).fderiv | |
| theorem curveFSForm_positive {c : β} (hc : 0<c) (b : locus a) {y : RealModel} | |
| (hy : yβ(extChartAt π(β,RealModel) b).target) : | |
| 0<chartTwoForm (curveFSForm a c) b y (1,0) (0,1) := by | |
| rw [curveFSForm,chartTwoForm_manifoldPullback (phaseInclusion_smooth a) (p := (0,y)) hy] | |
| change 0<affineFSForm c _ | |
| (manifoldMapDifferential (E := PlanePhase (Option (Fin m))) (F := RealModel) | |
| (phaseInclusion a β (extChartAt π(β,RealModel) b).symm) y (1,0)) | |
| (manifoldMapDifferential (E := PlanePhase (Option (Fin m))) (F := RealModel) | |
| (phaseInclusion a β (extChartAt π(β,RealModel) b).symm) y (0,1)) | |
| rw [phase_chart_derivative a b hy] | |
| apply affineFSForm_holomorphic_positive hc | |
| exact (normalChartAt a b).inclusionChart_derivative_one_ne b (realChart_complex_target a b hy) | |
| end PackingSufficiencySupport.DiagonalQuadrics | |
| end | |
| end OAI | |