Download data/lean/OAI/Geometry/BallPacking/Flows/AnnularInverseDomain.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 26.1 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Flows/AnnularInverseDomain.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/BallPacking/Flows/AnnularInverseDomain.lean
-
curl -L -o AnnularInverseDomain.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Flows/AnnularInverseDomain.lean
26.1 kB
| import Mathlib | |
| import OAI.Geometry.BallPacking.Annuli.AnnularEmbeddedChart | |
| namespace OAI | |
| noncomputable section | |
| namespace PackingSufficiencySupport.Hamiltonian.AnnularHandleData | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| variable {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] | |
| {Ξ© : V βL[β] V βL[β] β} | |
| theorem handleAnnularCover_mem_band | |
| (D : AnnularHandleData Plane M) | |
| (b : β) {p : Plane} (hp : p.1 β Icc (-b) b) : | |
| D.handleAnnularCover p β D.chart '' band b := by | |
| exact β¨cylinderCover p,β¨hp,mem_univ _β©,rflβ© | |
| theorem annularUnshearMap_mem_interior | |
| (D : AnnularHandleData Plane M) | |
| (b : β) (Ξ¦ : CompactHamiltonianIsotopy Ξ©) {Y : Set V} {Kbase : Set M} | |
| (hbase : D.chart '' band b β interior Kbase) | |
| (hΞ¦ : β tβIcc (0:β) 1,MapsTo (Ξ¦.map t) Y Y β§ MapsTo (Ξ¦.map t).symm Y Y) | |
| {p : Plane Γ V} (hp : p.1.1 β Icc (-b) b) (hv : p.2 β interior Y) : | |
| annularUnshearMap D b Ξ¦ p β interior (Kbase ΓΛ’ Y) := by | |
| rw [interior_prod_eq] | |
| refine β¨hbase (D.handleAnnularCover_mem_band b hp),?_β© | |
| have ht : intervalClock (-b) b p.1.1 β Icc (0:β) 1 := | |
| intervalClock_bounds _ _ _ | |
| exact homeomorph_mapsTo_interior (Φ.map _).symm (hΦ _ ht).2 (hΦ _ ht).1 hv | |
| end PackingSufficiencySupport.Hamiltonian.AnnularHandleData | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| section | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] | |
| [IsManifold π(β,Plane) β M] | |
| def annularCoverTwoCoefficient | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| (a : β) (Ξ : ManifoldTwoForm Plane M) (q : Plane) : β := | |
| euclideanPullbackTwoForm (fun _ => Ξ) (handleAnnularCover e a) (0,q) (1,0) (0,1) | |
| omit [IsManifold π(β,Plane) β M] in | |
| theorem annularCoverDomain_eq | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| {a : β} (ha : a<1/2) (he : compactHandleBand aβe.source) : | |
| annularCoverDomain e a=Ioo (-a) a ΓΛ’ univ := by | |
| rw [annularCoverDomain,handleAnnularChart_source e ha he] | |
| rfl | |
| theorem annularCoverTwoCoefficient_smooth | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| (a : β) {Ξ : ManifoldTwoForm Plane M} (hΞ : SmoothTwoForm Ξ) : | |
| ContDiffOn β β (annularCoverTwoCoefficient e a Ξ) (annularCoverDomain e a) := by | |
| intro q hq | |
| have hs := euclideanPullbackTwoForm_contDiffAt (Ξ© := fun _ : β => Ξ) | |
| (g := handleAnnularCover e a) (p := (0,q)) | |
| (SmoothTwoFormFamily.const (P := β) hΞ) (handleAnnularCover_smoothAt e a hq) | |
| exact (((hs.clm_apply contDiffAt_const).clm_apply contDiffAt_const).comp q | |
| (contDiffAt_const.prodMk contDiffAt_id)).contDiffWithinAt | |
| omit [IsManifold π(β,Plane) β M] in | |
| theorem annularCoverTwoCoefficient_ne_zero | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| (a : β) {Ξ : ManifoldTwoForm Plane M} | |
| (hs : β x u v,Ξ x u v= -Ξ x v u) | |
| (hp : β c y,yβ(extChartAt π(β,Plane) c).targetβ | |
| 0<chartTwoForm Ξ c y (1,0) (0,1)) | |
| {q : Plane} (hq : qβannularCoverDomain e a) : | |
| annularCoverTwoCoefficient e a Ξ qβ 0 := by | |
| intro hz | |
| let D := handleAnnularCoverLinearEquiv e a hq | |
| let B := (Ξ (handleAnnularCover e a q)).bilinearComp (D : Plane βL[β] Plane) (D : Plane βL[β] Plane) | |
| have hB : β u v,B u v= -B v u := fun u v => hs _ _ _ | |
| have hB0 : B (1,0) (0,1)=0 := hz | |
| have hzero : Ξ (handleAnnularCover e a q)=0 := by | |
| apply ContinuousLinearMap.ext | |
| intro u | |
| apply ContinuousLinearMap.ext | |
| intro v | |
| have hv := planar_skew_coefficient B hB (D.symm u) (D.symm v) | |
| simpa only [B,ContinuousLinearMap.bilinearComp_apply,ContinuousLinearEquiv.coe_coe, | |
| ContinuousLinearEquiv.apply_symm_apply,hB0,zero_mul,zero_apply] using hv | |
| let c := handleAnnularCover e a q | |
| have hc := mem_extChartAt_source (I := π(β,Plane)) c | |
| have hi := hp c (extChartAt π(β,Plane) c c) ((extChartAt π(β,Plane) c).map_source hc) | |
| have hcc : (extChartAt π(β,Plane) c).symm (extChartAt π(β,Plane) c c)=c := | |
| (extChartAt π(β,Plane) c).left_inv hc | |
| simp only [chartTwoForm,hcc,ContinuousLinearMap.bilinearComp_apply] at hi | |
| change 0<Ξ (handleAnnularCover e a q) _ _ at hi | |
| rw [hzero] at hi | |
| exact (lt_irrefl 0) hi | |
| theorem annularCoverTwoCoefficient_positive | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| {a : β} (ha : a<1/2) (he : compactHandleBand aβe.source) | |
| (hor : PositivePartialChart (handleDensityChart e a)) | |
| {Ξ : ManifoldTwoForm Plane M} (hΞ : SmoothTwoForm Ξ) | |
| (hs : β x u v,Ξ x u v= -Ξ x v u) | |
| (hp : β c y,yβ(extChartAt π(β,Plane) c).targetβ | |
| 0<chartTwoForm Ξ c y (1,0) (0,1)) | |
| {q : Plane} (hq : qβannularCoverDomain e a) : | |
| 0<annularCoverTwoCoefficient e a Ξ q := by | |
| let z : Plane := (q.1,1/2) | |
| have hsdom : q.1βIoo (-a) a := by | |
| rw [annularCoverDomain_eq e ha he] at hq | |
| exact hq.1 | |
| have hz : zβ(handleDensityChart e a).source := by | |
| rw [handleDensityChart_source e ha he] | |
| exact β¨hsdom,by norm_num [z]β© | |
| have hzd : zβannularCoverDomain e a := by | |
| rw [annularCoverDomain_eq e ha he] | |
| exact β¨hsdom,mem_univ _β© | |
| let c := handleDensityChart e a z | |
| have hc : handleDensityChart e a zβ(extChartAt π(β,Plane) c).source := mem_extChartAt_source c | |
| have hpz : 0<annularCoverTwoCoefficient e a Ξ z := by | |
| change 0<partialChartCoefficient (handleDensityChart e a) Ξ z | |
| rw [partialChartCoefficient_change _ hs hz hc] | |
| exact mul_pos (hor c z hz hc) (hp c _ ((extChartAt π(β,Plane) c).map_source hc)) | |
| by_contra hn | |
| have hn' : annularCoverTwoCoefficient e a Ξ qβ€0 := le_of_not_gt hn | |
| have hconn : IsPreconnected (annularCoverDomain e a) := by | |
| rw [annularCoverDomain_eq e ha he] | |
| exact isPreconnected_Ioo.prod isPreconnected_univ | |
| obtain β¨y,hy,hy0β© := hconn.intermediate_value hq hzd | |
| (annularCoverTwoCoefficient_smooth e a hΞ).continuousOn β¨hn',hpz.leβ© | |
| exact annularCoverTwoCoefficient_ne_zero e a hs hp hy hy0 | |
| theorem annularCover_positive_exterior | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| {a : β} (ha : a<1/2) (he : compactHandleBand aβe.source) | |
| (hor : PositivePartialChart (handleDensityChart e a)) | |
| {Ξ : ManifoldTwoForm Plane M} (hΞ : SmoothTwoForm Ξ) | |
| (hs : β x u v,Ξ x u v= -Ξ x v u) | |
| (hp : β c y,yβ(extChartAt π(β,Plane) c).targetβ | |
| 0<chartTwoForm Ξ c y (1,0) (0,1)) | |
| {Ξ³ : ManifoldOneForm Plane M} {r : β} (hr : 0<r) | |
| (hΞ³ : β xβ(handleAnnularChart e a).target,manifoldExteriorOneForm Ξ³ x=r β’ Ξ x) | |
| {q : Plane} (hq : qβannularCoverDomain e a) : | |
| 0 < manifoldExteriorOneForm Ξ³ (handleAnnularCover e a q) | |
| (mfderiv π(β,Plane) π(β,Plane) (handleAnnularCover e a) q (1,0)) | |
| (mfderiv π(β,Plane) π(β,Plane) (handleAnnularCover e a) q (0,1)) := by | |
| have heq := hΞ³ (handleAnnularCover e a q) ((handleAnnularChart e a).map_source hq) | |
| have hv := congrArg (fun B : Plane βL[β] Plane βL[β] β => | |
| B (mfderiv π(β,Plane) π(β,Plane) (handleAnnularCover e a) q (1,0)) | |
| (mfderiv π(β,Plane) π(β,Plane) (handleAnnularCover e a) q (0,1))) heq | |
| have hp' := mul_pos hr (annularCoverTwoCoefficient_positive e ha he hor hΞ hs hp hq) | |
| exact lt_of_lt_of_eq hp' hv.symm | |
| omit [IsManifold π(β,Plane) β M] in | |
| theorem handleAnnularCover_surjOn | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) (a : β) : | |
| SurjOn (handleAnnularCover e a) (annularCoverDomain e a) (handleAnnularChart e a).target := by | |
| intro x hx | |
| let z := (handleAnnularChart e a).symm x | |
| let q : Plane := (z.1,shortCircleArgument z.2) | |
| have heq : cylinderCover q=z := by | |
| exact Prod.ext rfl (circleTurn_shortCircleArgument z.2) | |
| refine β¨q,?_,?_β© | |
| Β· change cylinderCover qβ(handleAnnularChart e a).source | |
| rw [heq] | |
| exact (handleAnnularChart e a).map_target hx | |
| Β· change handleAnnularChart e a (cylinderCover q)=x | |
| rw [heq] | |
| exact (handleAnnularChart e a).right_inv hx | |
| end | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] | |
| [IsManifold π(β,Plane) β M] | |
| theorem annularPackingRectangle_subset | |
| {a b Ξ΄ : β} (hab : b<a) (hsmall : Ξ΄<1/2) : | |
| Ioo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄) β Ioo (-a) a ΓΛ’ Ioo (0:β) 1 := by | |
| intro q hq | |
| exact β¨β¨by linarith [hq.1.1],by linarith [hq.1.2]β©, | |
| β¨by linarith [hq.2.1],by linarith [hq.2.2]β©β© | |
| theorem annularPackingGeometry | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,Plane) HandleTorus M β) | |
| {a b Ξ΄ : β} (ha : a<1/2) (hab : b<a) (hsmall : Ξ΄<1/2) | |
| (he : compactHandleBand aβe.source) (hor : PositivePartialChart (handleDensityChart e a)) | |
| {Ξ : ManifoldTwoForm Plane M} (hΞ : SmoothTwoForm Ξ) | |
| (hs : β x u v,Ξ x u v= -Ξ x v u) | |
| (hp : β c y,yβ(extChartAt π(β,Plane) c).targetβ0<chartTwoForm Ξ c y (1,0) (0,1)) | |
| {Ξ³ : ManifoldOneForm Plane M} {r : β} (hr : 0<r) | |
| (hΞ³ : β xβ(handleAnnularChart e a).target,ContDiffAt β β | |
| (chartOneForm Ξ³ x) (extChartAt π(β,Plane) x x)) | |
| (hdΞ³ : β xβ(handleAnnularChart e a).target,manifoldExteriorOneForm Ξ³ x=r β’ Ξ x) : | |
| ContDiffOn β β (annularCoverA e a Ξ³) (Ioo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄)) β§ | |
| ContDiffOn β β (annularCoverB e a Ξ³) (Ioo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄)) β§ | |
| β qβIoo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄), | |
| 0<fderiv β (annularCoverB e a Ξ³) q (1,0)-fderiv β (annularCoverA e a Ξ³) q (0,1) := by | |
| have hsub := handleAnnularCover_rectangle_domain e ha he (annularPackingRectangle_subset hab hsmall) | |
| refine β¨(annularCover_coefficients_smooth e a hΞ³).1.mono hsub, | |
| (annularCover_coefficients_smooth e a hΞ³).2.mono hsub,?_β© | |
| intro q hq | |
| rw [annularCover_curl e a (hsub hq) (hΞ³ _ ((handleAnnularChart e a).map_source (hsub hq)))] | |
| exact annularCover_positive_exterior e ha he hor hΞ hs hp hr hdΞ³ (hsub hq) | |
| end PackingSufficiencySupport.Hamiltonian | |
| namespace PackingSufficiencySupport.Hamiltonian.AnnularHandleData | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] | |
| [IsManifold π(β,Plane) β M] | |
| theorem annularPackingGeometry | |
| (D : AnnularHandleData Plane M) | |
| {b Ξ΄ : β} (hbw : b<D.width) (hsmall : Ξ΄<1/2) | |
| (hor : PositivePartialChart D.densityChart) | |
| {Ξ : ManifoldTwoForm Plane M} (hΞ : SmoothTwoForm Ξ) | |
| (hs : β x u v,Ξ x u v= -Ξ x v u) | |
| (hp : β c y,yβ(extChartAt π(β,Plane) c).targetβ0<chartTwoForm Ξ c y (1,0) (0,1)) | |
| {Ξ³ : ManifoldOneForm Plane M} {r : β} (hr : 0<r) | |
| (hΞ³ : β xβD.chart.target,ContDiffAt β β | |
| (chartOneForm Ξ³ x) (extChartAt π(β,Plane) x x)) | |
| (hdΞ³ : β xβD.chart.target,manifoldExteriorOneForm Ξ³ x=r β’ Ξ x) : | |
| ContDiffOn β β (D.annularCoverA Ξ³) (Ioo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄)) β§ | |
| ContDiffOn β β (D.annularCoverB Ξ³) (Ioo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄)) β§ | |
| β qβIoo (-b) b ΓΛ’ Ioo (1/2-Ξ΄) (1/2+Ξ΄), | |
| 0<fderiv β (D.annularCoverB Ξ³) q (1,0)-fderiv β (D.annularCoverA Ξ³) q (0,1) := by | |
| have hsub := D.handleAnnularCover_rectangle_domain (annularPackingRectangle_subset hbw hsmall) | |
| refine β¨(D.annularCover_coefficients_smooth hΞ³).1.mono hsub, | |
| (D.annularCover_coefficients_smooth hΞ³).2.mono hsub,?_β© | |
| intro q hq | |
| rw [D.annularCover_curl (hsub hq) (hΞ³ _ (D.chart.map_source (hsub hq)))] | |
| exact D.annularCover_positive_exterior hor hΞ hs hp hr hdΞ³ (hsub hq) | |
| end PackingSufficiencySupport.Hamiltonian.AnnularHandleData | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped ContDiff Topology | |
| open Set Function | |
| open scoped Manifold | |
| open Manifold | |
| section | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {Ξ© : E βL[β] E βL[β] β} | |
| theorem exists_smooth_base_germs {U : Set Plane} (hU : IsOpen U) | |
| {a b : Plane β β} (ha : ContDiffOn β β a U) (hb : ContDiffOn β β b U) | |
| {x : Plane} (hx : xβU) : | |
| β a' b' : Plane β β, ContDiff β β a' β§ ContDiff β β b' β§ | |
| a' =αΆ [π x] a β§ b' =αΆ [π x] b := by | |
| obtain β¨r,hr,hrU,heβ© := exists_smooth_local_identity (hU.mem_nhds hx) | |
| refine β¨a β r,b β r,ha.comp_contDiff hr hrU,hb.comp_contDiff hr hrU,?_,?_β© | |
| Β· filter_upwards [he] with y hy | |
| exact congrArg a hy | |
| Β· filter_upwards [he] with y hy | |
| exact congrArg b hy | |
| theorem euclideanExteriorOneForm_congr_germ {Ξ± Ξ² : E β E βL[β] β} {x : E} | |
| (h : Ξ± =αΆ [π x] Ξ²) : euclideanExteriorOneForm Ξ± x=euclideanExteriorOneForm Ξ² x := by | |
| simp only [euclideanExteriorOneForm,h.fderiv_eq] | |
| theorem surfaceFirstPath_isInvertible_local [FiniteDimensional β E] | |
| (hΞ© : Ξ©.IsInvertible) (hskew : β v w, Ξ© v w = -Ξ© w v) | |
| (Ξ¦ : CompactHamiltonianIsotopy Ξ©) {S : β β β} {H : E β β} {a b w : Plane β β} | |
| (hS : ContDiff β β S) (hH : ContDiff β β H) | |
| {U : Set Plane} (hU : IsOpen U) (ha : ContDiffOn β β a U) (hb : ContDiffOn β β b U) | |
| (hw : ContDiff β β w) (β : β) (p : Plane Γ E) (hp : p.1βU) | |
| (hbase : 0<fderiv β b p.1 (1,0)-fderiv β a p.1 (0,1)) | |
| (hwzero : fderiv β w p.1 (1,0)=0) (hwpos : 0 β€ w p.1) | |
| (hSpos : 0 β€ deriv S p.1.1) | |
| (hHpos : 0 β€ H ((Ξ¦.map β).symm (Ξ¦.map (β*S p.1.1) p.2))) : | |
| (Ξ©.bilinearComp (ContinuousLinearMap.snd β Plane E) (ContinuousLinearMap.snd β Plane E) + | |
| euclideanExteriorOneForm (fun x => surfaceFirstPrimitive Ξ¦ S H a b w (β,x)) p).IsInvertible := by | |
| obtain β¨a',b',ha',hb',hea,hebβ© := exists_smooth_base_germs hU ha hb hp | |
| have hbase' : 0<fderiv β b' p.1 (1,0)-fderiv β a' p.1 (0,1) := by | |
| rwa [hea.fderiv_eq,heb.fderiv_eq] | |
| have hi := surfaceFirstPath_isInvertible hΞ© hskew Ξ¦ hS hH ha' hb' hw β p | |
| hbase' hwzero hwpos hSpos hHpos | |
| have he : (fun x => surfaceFirstPrimitive Ξ¦ S H a' b' w (β,x)) =αΆ [π p] | |
| (fun x => surfaceFirstPrimitive Ξ¦ S H a b w (β,x)) := by | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds hea, | |
| continuousAt_fst.preimage_mem_nhds heb] with y hya hyb | |
| change a' y.1=a y.1 at hya | |
| change b' y.1=b y.1 at hyb | |
| apply ContinuousLinearMap.ext | |
| intro v | |
| simp only [surfaceFirstPrimitive,horizontalOneForm_apply,hya,hyb] | |
| rwa [euclideanExteriorOneForm_congr_germ he] at hi | |
| theorem surfaceSecondPath_isInvertible_local [FiniteDimensional β E] | |
| {ΞΉ : Type*} [Fintype ΞΉ] | |
| (hΞ© : Ξ©.IsInvertible) (hskew : β v w, Ξ© v w = -Ξ© w v) | |
| (Ξ¦ : CompactHamiltonianIsotopy Ξ©) {S : β β β} {K H : E β β} {h : ΞΉ β E β β} | |
| {Ο : ΞΉ β β β β} {Οβ : β β β} {a b w : Plane β β} | |
| (hS : ContDiff β β S) (hK : ContDiff β β K) (hH : ContDiff β β H) | |
| (hh : β i, ContDiff β β (h i)) (hΟ : β i, ContDiff β β (Ο i)) | |
| (hΟβ : ContDiff β β Οβ) {U : Set Plane} (hU : IsOpen U) | |
| (ha : ContDiffOn β β a U) (hb : ContDiffOn β β b U) (hw : ContDiff β β w) | |
| (Ο : β) (hΟ : Ο β Icc (0:β) 1) (p : Plane Γ E) (hp : p.1βU) | |
| (hbase : 0<fderiv β b p.1 (1,0)-fderiv β a p.1 (0,1)) | |
| (hwzero : fderiv β w p.1 (1,0)=0) (hwpos : 0 β€ w p.1) | |
| (hSpos : 0 β€ deriv S p.1.1) | |
| (hHpos : 0 β€ H ((Ξ¦.map 1).symm (Ξ¦.map (S p.1.1) p.2))) | |
| (hclock : β i, 0 β€ deriv (Ο i) p.1.1) (hclockβ : 0 β€ deriv Οβ p.1.1) | |
| (hcap : β i, 0 β€ h i (Ξ¦.map (S p.1.1) p.2)) | |
| (hres : 0 β€ surfaceRemainder K H h (Ξ¦.map 1).symm (Ξ¦.map (S p.1.1) p.2)) : | |
| (Ξ©.bilinearComp (ContinuousLinearMap.snd β Plane E) (ContinuousLinearMap.snd β Plane E) + | |
| euclideanExteriorOneForm (fun x => surfaceSecondPrimitive Ξ¦ S K H h Ο Οβ a b w (Ο,x)) p).IsInvertible := by | |
| obtain β¨a',b',ha',hb',hea,hebβ© := exists_smooth_base_germs hU ha hb hp | |
| have hbase' : 0<fderiv β b' p.1 (1,0)-fderiv β a' p.1 (0,1) := by | |
| rwa [hea.fderiv_eq,heb.fderiv_eq] | |
| have hi := surfaceSecondPath_isInvertible hΞ© hskew Ξ¦ hS hK hH hh hΟ hΟβ ha' hb' hw Ο hΟ p | |
| hbase' hwzero hwpos hSpos hHpos hclock hclockβ hcap hres | |
| have he : (fun x => surfaceSecondPrimitive Ξ¦ S K H h Ο Οβ a' b' w (Ο,x)) =αΆ [π p] | |
| (fun x => surfaceSecondPrimitive Ξ¦ S K H h Ο Οβ a b w (Ο,x)) := by | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds hea, | |
| continuousAt_fst.preimage_mem_nhds heb] with y hya hyb | |
| change a' y.1=a y.1 at hya | |
| change b' y.1=b y.1 at hyb | |
| apply ContinuousLinearMap.ext | |
| intro v | |
| simp only [surfaceSecondPrimitive,horizontalOneForm_apply,hya,hyb] | |
| rwa [euclideanExteriorOneForm_congr_germ he] at hi | |
| theorem horizontalCoupling_congr_germ {A B A' B' : Plane Γ E β β} {p : Plane Γ E} | |
| (hA : A =αΆ [π p] A') (hB : B =αΆ [π p] B') : | |
| horizontalCoupling Ξ© A B p = horizontalCoupling Ξ© A' B' p := by | |
| have h : horizontalOneForm A B =αΆ [π p] horizontalOneForm A' B' := by | |
| filter_upwards [hA,hB] with x ha hb | |
| apply ContinuousLinearMap.ext | |
| intro v | |
| simp only [horizontalOneForm_apply,ha,hb] | |
| simp only [horizontalCoupling,euclideanExteriorOneForm_congr_germ h] | |
| theorem baseShear_weighted_pullback_local (hΞ© : Ξ©.IsInvertible) | |
| (hskew : β v w, Ξ© v w = -Ξ© w v) (Ξ¦ : CompactHamiltonianIsotopy Ξ©) | |
| {S : β β β} (hS : ContDiff β β S) {U : Set Plane} (hU : IsOpen U) | |
| {a b w : Plane β β} {G : β Γ E β β} | |
| (ha : ContDiffOn β β a U) (hb : ContDiffOn β β b U) | |
| (hw : ContDiff β β w) (hG : ContDiff β β G) (p : Plane Γ E) (hp : p.1 β U) : | |
| (horizontalCoupling Ξ© (baseCoefficient a) (weightedSecondCoefficient b w G) | |
| (hamiltonianBaseShear Ξ¦ S hS p)).bilinearComp | |
| (fderiv β (hamiltonianBaseShear Ξ¦ S hS) p) (fderiv β (hamiltonianBaseShear Ξ¦ S hS) p) = | |
| horizontalCoupling Ξ© | |
| (firstBaseCoefficient (baseShearPrimitiveCoefficient Ξ¦ S) + | |
| baseCoefficient a β hamiltonianBaseShear Ξ¦ S hS) | |
| (weightedSecondCoefficient b w G β hamiltonianBaseShear Ξ¦ S hS) p := by | |
| obtain β¨a',b',ha',hb',hea,hebβ© := exists_smooth_base_germs hU ha hb hp | |
| have hl : horizontalCoupling Ξ© (baseCoefficient a') (weightedSecondCoefficient b' w G) | |
| (hamiltonianBaseShear Ξ¦ S hS p) = | |
| horizontalCoupling Ξ© (baseCoefficient a) (weightedSecondCoefficient b w G) | |
| (hamiltonianBaseShear Ξ¦ S hS p) := by | |
| have hf : ContinuousAt (Prod.fst : Plane Γ E β Plane) (hamiltonianBaseShear Ξ¦ S hS p) := continuousAt_fst | |
| apply horizontalCoupling_congr_germ | |
| Β· exact hf.preimage_mem_nhds hea | |
| Β· filter_upwards [hf.preimage_mem_nhds heb] with x hx | |
| change b' x.1 = b x.1 at hx | |
| simp only [weightedSecondCoefficient,hx] | |
| have hr : horizontalCoupling Ξ© | |
| (firstBaseCoefficient (baseShearPrimitiveCoefficient Ξ¦ S) + | |
| baseCoefficient a' β hamiltonianBaseShear Ξ¦ S hS) | |
| (weightedSecondCoefficient b' w G β hamiltonianBaseShear Ξ¦ S hS) p = | |
| horizontalCoupling Ξ© | |
| (firstBaseCoefficient (baseShearPrimitiveCoefficient Ξ¦ S) + | |
| baseCoefficient a β hamiltonianBaseShear Ξ¦ S hS) | |
| (weightedSecondCoefficient b w G β hamiltonianBaseShear Ξ¦ S hS) p := by | |
| apply horizontalCoupling_congr_germ | |
| Β· filter_upwards [continuousAt_fst.preimage_mem_nhds hea] with x hx | |
| change a' x.1 = a x.1 at hx | |
| change _ + a' x.1 = _ + a x.1 | |
| rw [hx] | |
| Β· filter_upwards [continuousAt_fst.preimage_mem_nhds heb] with x hx | |
| change b' x.1 = b x.1 at hx | |
| change b' x.1 + _ = b x.1 + _ | |
| rw [hx] | |
| have h := baseShear_coupling_pullback_general hΞ© hskew Ξ¦ hS | |
| (baseCoefficient_smooth ha') (weightedSecondCoefficient_smooth hb' hw hG) p | |
| rwa [hl,hr] at h | |
| theorem surfaceSecondEndpoint_shear_pullback {ΞΉ : Type*} [Fintype ΞΉ] | |
| (hΞ© : Ξ©.IsInvertible) (hskew : β v w, Ξ© v w = -Ξ© w v) | |
| (Ξ¦ : CompactHamiltonianIsotopy Ξ©) {S : β β β} | |
| {K H : E β β} {h : ΞΉ β E β β} {Ο : ΞΉ β β β β} {Οβ : β β β} | |
| (hS : ContDiff β β S) (hK : ContDiff β β K) (hH : ContDiff β β H) | |
| (hh : β i, ContDiff β β (h i)) (hΟ : β i, ContDiff β β (Ο i)) | |
| (hΟβ : ContDiff β β Οβ) {U : Set Plane} (hU : IsOpen U) | |
| {a b w : Plane β β} (ha : ContDiffOn β β a U) (hb : ContDiffOn β β b U) | |
| (hw : ContDiff β β w) (p : Plane Γ E) (hp : p.1 β U) : | |
| (horizontalCoupling Ξ© (baseCoefficient a) | |
| (weightedSecondCoefficient b w (surfaceFinalLayer (K-H) h | |
| (surfaceRemainder K H h (Ξ¦.map 1).symm) Ο Οβ)) | |
| (hamiltonianBaseShear Ξ¦ S hS p)).bilinearComp | |
| (fderiv β (hamiltonianBaseShear Ξ¦ S hS) p) (fderiv β (hamiltonianBaseShear Ξ¦ S hS) p) = | |
| Ξ©.bilinearComp (ContinuousLinearMap.snd β Plane E) (ContinuousLinearMap.snd β Plane E) + | |
| euclideanExteriorOneForm (fun x => surfaceSecondPrimitive Ξ¦ S K H h Ο Οβ a b w (1,x)) p := by | |
| rw [surfaceSecondPrimitive_coupling Ξ¦ hS] | |
| have hG := surfaceInterpolatedLayer_smooth hS hK hH hh (Ξ¦.map_inverse_smooth 1) hΟ hΟβ 1 | |
| have he : surfaceInterpolatedLayer S K H h (Ξ¦.map 1).symm Ο Οβ 1 = | |
| surfaceFinalLayer (K-H) h (surfaceRemainder K H h (Ξ¦.map 1).symm) Ο Οβ := by | |
| funext q | |
| simp only [surfaceInterpolatedLayer,sub_self,zero_mul,one_mul,zero_add] | |
| rw [he] | |
| exact baseShear_weighted_pullback_local hΞ© hskew Ξ¦ hS hU ha hb hw (he βΈ hG) p hp | |
| end | |
| variable {V E : Type*} [NormedAddCommGroup V] [NormedSpace β V] | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| {Ξ© : V βL[β] V βL[β] β} | |
| omit [NormedAddCommGroup V] [NormedSpace β V] in | |
| theorem annular_normalForm_cover | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,E) HandleTorus M β) | |
| (a b : β) (f : Circle β β) (H : V β β) | |
| (Ξ : V β ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M} | |
| (hN : β v x,xβWβΞ v x=Ξ³ x+ | |
| (intervalClock (-b) b ((handleAnnularChart e a).symm x).1*H v) β’ globalHandleForm e f x) | |
| (v : V) {q : Plane} (hq : qβannularCoverDomain e a) (hx : handleAnnularCover e a qβW) : | |
| Ξ v (handleAnnularCover e a q)=Ξ³ (handleAnnularCover e a q)+ | |
| (intervalClock (-b) b q.1*H v) β’ globalHandleForm e f (handleAnnularCover e a q) := by | |
| simpa only [handleAnnularCover_inverse e a hq,cylinderCover] using hN v _ hx | |
| theorem globalSurfaceFirstPrimitive_cover_germ | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,E) HandleTorus M β) | |
| (a b : β) (f : Circle β β) (Ξ¦ : CompactHamiltonianIsotopy Ξ©) (H : V β β) | |
| (Ξ : V β ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M} | |
| (hW : IsOpen W) | |
| (hN : β v x,xβWβΞ v x=Ξ³ x+ | |
| (intervalClock (-b) b ((handleAnnularChart e a).symm x).1*H v) β’ globalHandleForm e f x) | |
| (β : β) {p : Plane Γ V} (hp : p.1βannularCoverDomain e a) | |
| (hx : handleAnnularCover e a p.1βW) : | |
| (fun y => euclideanPullbackOneForm | |
| (fun _ => productHorizontalLift (fun v => globalSurfaceFirstPrimitive e a b f Ξ¦ H Ξ (β,v))) | |
| (flatProductMap (handleAnnularCover e a)) (0,y)) =αΆ [π p] | |
| (fun y => surfaceFirstPrimitive Ξ¦ (intervalClock (-b) b) H | |
| (annularCoverA e a Ξ³) (annularCoverB e a Ξ³) (fun q => f (circleTurn q.2)) (β,y)) := by | |
| have hs := (annularCoverDomain_open e a).mem_nhds hp | |
| have hw := (handleAnnularCover_smoothAt e a hp).continuousAt.preimage_mem_nhds (hW.mem_nhds hx) | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds hs, | |
| continuousAt_fst.preimage_mem_nhds hw] with y hy hyW | |
| exact globalSurfaceFirstPrimitive_cover e a b f Ξ¦ H Ξ Ξ³ β y hy | |
| (annular_normalForm_cover e a b f H Ξ Ξ³ hN y.2 hy hyW) | |
| theorem globalSurfaceSecondPrimitive_cover_germ {ΞΉ : Type*} [Fintype ΞΉ] | |
| (e : PartialDiffeomorph π(β,TorusModel) π(β,E) HandleTorus M β) | |
| (a b : β) (f : Circle β β) (Ξ¦ : CompactHamiltonianIsotopy Ξ©) | |
| (K H : V β β) (h : ΞΉ β V β β) (Ο : ΞΉ β β β β) (Οβ : β β β) | |
| (Ξ : V β ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M} | |
| (hW : IsOpen W) | |
| (hN : β v x,xβWβΞ v x=Ξ³ x+ | |
| (intervalClock (-b) b ((handleAnnularChart e a).symm x).1*H v) β’ globalHandleForm e f x) | |
| (Ο : β) {p : Plane Γ V} (hp : p.1βannularCoverDomain e a) | |
| (hx : handleAnnularCover e a p.1βW) : | |
| (fun y => euclideanPullbackOneForm | |
| (fun _ => productHorizontalLift (fun v => globalSurfaceSecondPrimitive e a b f Ξ¦ K H h Ο Οβ Ξ (Ο,v))) | |
| (flatProductMap (handleAnnularCover e a)) (0,y)) =αΆ [π p] | |
| (fun y => surfaceSecondPrimitive Ξ¦ (intervalClock (-b) b) K H h Ο Οβ | |
| (annularCoverA e a Ξ³) (annularCoverB e a Ξ³) (fun q => f (circleTurn q.2)) (Ο,y)) := by | |
| have hs := (annularCoverDomain_open e a).mem_nhds hp | |
| have hw := (handleAnnularCover_smoothAt e a hp).continuousAt.preimage_mem_nhds (hW.mem_nhds hx) | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds hs, | |
| continuousAt_fst.preimage_mem_nhds hw] with y hy hyW | |
| exact globalSurfaceSecondPrimitive_cover e a b f Ξ¦ K H h Ο Οβ Ξ Ξ³ Ο y hy | |
| (annular_normalForm_cover e a b f H Ξ Ξ³ hN y.2 hy hyW) | |
| theorem circleWeight_radial_deriv {f : Circle β β} | |
| (hf : ContMDiff π(β,CircleModel) π(β,β) β f) (q : Plane) : | |
| fderiv β (fun y : Plane => f (circleTurn y.2)) q (1,0)=0 := by | |
| have ht := ((hf.comp circleTurn_smooth).contDiff.differentiable (by simp) q.2).hasFDerivAt | |
| have hd := (ht.comp q (hasFDerivAt_snd (π := β) (p := q))).fderiv | |
| change (fderiv β ((f β circleTurn) β Prod.snd) q) (1,0)=0 | |
| rw [hd] | |
| simp only [ContinuousLinearMap.comp_apply,ContinuousLinearMap.coe_snd',map_zero] | |
| end PackingSufficiencySupport.Hamiltonian | |
| end | |
| end OAI | |