Buckets:
| import Mathlib | |
| import OAI.Geometry.BallPacking.Moser.PlanarCovectorPrimitive | |
| namespace OAI | |
| noncomputable section | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| open scoped NNReal | |
| open MeasureTheory | |
| section | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(β,E) β M] | |
| abbrev ManifoldOneForm (E M : Type*) [NormedAddCommGroup E] [NormedSpace β E] := | |
| M β E βL[β] β | |
| def chartOneForm (Ξ± : ManifoldOneForm E M) (c : M) (y : E) : E βL[β] β := | |
| let z := (extChartAt π(β,E) c).symm y | |
| (Ξ± z).comp (chartDifferential c z).inverse | |
| def manifoldMoserField (Ξ© : β β ManifoldTwoForm E M) | |
| (Ξ± : β β ManifoldOneForm E M) (p : β Γ M) : TangentSpace π(β,E) p.2 := | |
| -(Ξ© p.1 p.2).inverse (Ξ± p.1 p.2) | |
| theorem chartTwoForm_isInvertible {Ξ© : ManifoldTwoForm E M} {c : M} {y : E} | |
| (hy : y β (extChartAt π(β,E) c).target) | |
| (hΞ© : (Ξ© ((extChartAt π(β,E) c).symm y)).IsInvertible) : | |
| (chartTwoForm Ξ© c y).IsInvertible := by | |
| apply bilinearComp_isInvertible hΞ© | |
| apply ContinuousLinearMap.IsInvertible.inverse | |
| convert! isInvertible_mfderiv_extChartAt (I := π(β,E)) | |
| ((extChartAt π(β,E) c).map_target hy) using 1 | |
| theorem chart_moser_contraction | |
| {Ξ© : β β ManifoldTwoForm E M} {Ξ± : β β ManifoldOneForm E M} | |
| {c : M} {p : β Γ E} (hp : p.2 β (extChartAt π(β,E) c).target) | |
| (hΞ© : (Ξ© p.1 ((extChartAt π(β,E) c).symm p.2)).IsInvertible) : | |
| chartTwoForm (Ξ© p.1) c p.2 (timeChartField (manifoldMoserField Ξ© Ξ±) c p) = | |
| -chartOneForm (Ξ± p.1) c p.2 := by | |
| let z := (extChartAt π(β,E) c).symm p.2 | |
| have hC : (chartDifferential (E := E) c z).IsInvertible := by | |
| convert! isInvertible_mfderiv_extChartAt (I := π(β,E)) | |
| ((extChartAt π(β,E) c).map_target hp) using 1 | |
| ext w | |
| change Ξ© p.1 z ((chartDifferential c z).inverse | |
| (chartDifferential c z (manifoldMoserField Ξ© Ξ± (p.1,z)))) | |
| ((chartDifferential c z).inverse w) = | |
| -(Ξ± p.1 z ((chartDifferential c z).inverse w)) | |
| erw [hC.inverse_apply_self] | |
| change Ξ© p.1 z (-((Ξ© p.1 z).inverse (Ξ± p.1 z))) _ = _ | |
| rw [map_neg,hΞ©.self_apply_inverse] | |
| rfl | |
| theorem timeChartField_moser_eq | |
| {Ξ© : β β ManifoldTwoForm E M} {Ξ± : β β ManifoldOneForm E M} | |
| {c : M} {p : β Γ E} (hp : p.2 β (extChartAt π(β,E) c).target) | |
| (hΞ© : (Ξ© p.1 ((extChartAt π(β,E) c).symm p.2)).IsInvertible) : | |
| timeChartField (manifoldMoserField Ξ© Ξ±) c p = | |
| -(chartTwoForm (Ξ© p.1) c p.2).inverse (chartOneForm (Ξ± p.1) c p.2) := by | |
| have hi := chartTwoForm_isInvertible hp hΞ© | |
| apply hi.injective | |
| rw [chart_moser_contraction hp hΞ©,map_neg,hi.self_apply_inverse] | |
| variable [CompleteSpace E] | |
| theorem timeChartField_moser_contDiffAt | |
| {Ξ© : β β ManifoldTwoForm E M} {Ξ± : β β ManifoldOneForm E M} | |
| {c : M} {p : β Γ E} (hp : p.2 β (extChartAt π(β,E) c).target) | |
| (hΞ© : ContDiffAt β β (fun q : β Γ E => chartTwoForm (Ξ© q.1) c q.2) p) | |
| (hΞ± : ContDiffAt β β (fun q : β Γ E => chartOneForm (Ξ± q.1) c q.2) p) | |
| (hinv : βαΆ q : β Γ E in π p, | |
| (Ξ© q.1 ((extChartAt π(β,E) c).symm q.2)).IsInvertible) : | |
| ContDiffAt β β (timeChartField (manifoldMoserField Ξ© Ξ±) c) p := by | |
| have hi := chartTwoForm_isInvertible hp hinv.self_of_nhds | |
| have hs := ((hi.contDiffAt_map_inverse.comp p hΞ©).clm_apply hΞ±).neg | |
| apply hs.congr_of_eventuallyEq | |
| have ht : βαΆ q : β Γ E in π p, q.2 β (extChartAt π(β,E) c).target := | |
| continuousAt_snd.preimage_mem_nhds ((isOpen_extChartAt_target (I := π(β,E)) c).mem_nhds hp) | |
| filter_upwards [hinv,ht] with q hq hqt | |
| exact timeChartField_moser_eq hqt hq | |
| end | |
| section | |
| variable {P : Type} [NormedAddCommGroup P] [NormedSpace β P] | |
| theorem periodic_parameter_arg_smooth {h : P Γ β β β} (hh : ContDiff β β h) | |
| (hp : β y, Periodic (fun t => h (y,t)) (2*Real.pi)) {p : P Γ β} (hz : p.2 β 0) : | |
| ContDiffAt β β (fun q : P Γ β => h (q.1,q.2.arg)) p := by | |
| by_cases hs : p.2 β Complex.slitPlane | |
| Β· exact hh.contDiffAt.comp p (contDiffAt_fst.prodMk | |
| ((contDiffAt_arg_slit hs).comp p contDiffAt_snd)) | |
| Β· have hsneg : -p.2 β Complex.slitPlane := | |
| (Complex.mem_slitPlane_or_neg_mem_slitPlane hz).resolve_left hs | |
| have hd : ContDiffAt β β (fun q : P Γ β => h (q.1,(-q.2).arg+Real.pi)) p := | |
| hh.contDiffAt.comp p (contDiffAt_fst.prodMk | |
| (((contDiffAt_arg_slit hsneg).comp p contDiffAt_snd.neg).add contDiffAt_const)) | |
| apply hd.congr_of_eventuallyEq | |
| filter_upwards [(isOpen_ne.preimage continuous_snd).mem_nhds hz] with q hq | |
| exact periodic_arg_neg (hp q.1) hq | |
| theorem angularExtension_parameter_smooth {R delta : β} (hd : 0 < delta) | |
| (hdR : delta < R^2) {h : P Γ β β β} (hh : ContDiff β β h) | |
| (hp : β y, Periodic (fun t => h (y,t)) (2*Real.pi)) : | |
| ContDiff β β (fun p : P Γ Plane => angularExtension R delta hd (fun t => h (p.1,t)) p.2) := by | |
| let b : ContDiffBump (R^2) := β¨delta/2,delta,by positivity,by linarithβ© | |
| apply contDiff_iff_contDiffAt.mpr | |
| intro p | |
| by_cases h0 : p.2 = 0 | |
| Β· have hn : βαΆ q : P Γ Plane in π p, delta < |radiusSq q.2-R^2| := by | |
| apply (isOpen_lt continuous_const (((radiusSq_smooth.continuous.comp continuous_snd).sub | |
| continuous_const).abs)).mem_nhds | |
| simpa [h0,radiusSq,abs_of_nonneg (sq_nonneg R)] using hdR | |
| apply (contDiffAt_const (c := (0:β))).congr_of_eventuallyEq | |
| filter_upwards [hn] with q hq | |
| exact angularExtension_zero hd _ q.2 hq.le | |
| Β· have hz : Complex.equivRealProdCLM.symm p.2 β 0 := by | |
| intro he | |
| apply h0 | |
| apply Complex.equivRealProdCLM.symm.injective | |
| simpa only [map_zero] using he | |
| exact (b.contDiff.comp (radiusSq_smooth.comp contDiff_snd)).contDiffAt.mul | |
| ((periodic_parameter_arg_smooth hh hp hz).comp p | |
| (contDiff_fst.prodMk (Complex.equivRealProdCLM.symm.contDiff.comp contDiff_snd)).contDiffAt) | |
| omit [NormedSpace β P] in | |
| theorem angularExtension_parameter_compact {R delta : β} (hd : 0 < delta) | |
| {h : P Γ β β β} {K : Set P} (hK : IsCompact K) | |
| (hzero : β y, y β K β β t, h (y,t) = 0) : | |
| HasCompactSupport (fun p : P Γ Plane => angularExtension R delta hd (fun t => h (p.1,t)) p.2) := by | |
| apply HasCompactSupport.intro (hK.prod (isCompact_closedBall (0 : Plane) (R^2+delta+1))) | |
| intro p hp | |
| by_cases hy : p.1 β K | |
| Β· have hx : p.2 β Metric.closedBall 0 (R^2+delta+1) := fun hx => hp β¨hy,hxβ© | |
| apply angularExtension_zero hd _ p.2 | |
| by_contra! ht | |
| have hq : radiusSq p.2 < R^2+delta := by linarith [(abs_lt.mp ht).2] | |
| apply hx | |
| rw [Metric.mem_closedBall,dist_zero_right,Prod.norm_def,max_le_iff,Real.norm_eq_abs,Real.norm_eq_abs] | |
| have h1 : p.2.1^2 β€ radiusSq p.2 := by dsimp [radiusSq]; nlinarith [sq_nonneg p.2.2] | |
| have h2 : p.2.2^2 β€ radiusSq p.2 := by dsimp [radiusSq]; nlinarith [sq_nonneg p.2.1] | |
| have hb : 0 < R^2+delta := by positivity | |
| constructor | |
| Β· nlinarith [sq_abs p.2.1,abs_nonneg p.2.1,sq_nonneg (|p.2.1|-1)] | |
| Β· nlinarith [sq_abs p.2.2,abs_nonneg p.2.2,sq_nonneg (|p.2.2|-1)] | |
| Β· simp only [angularExtension,hzero p.1 hy,mul_zero] | |
| theorem circlePullback_parameter_smooth {alpha : P Γ Plane β Plane βL[β] β} | |
| (ha : ContDiff β β alpha) (R : β) : | |
| ContDiff β β (fun p : P Γ β => circlePullback (fun x => alpha (p.1,x)) R p.2) := by | |
| apply (ha.comp (contDiff_fst.prodMk (polar_smooth.comp (contDiff_const.prodMk contDiff_snd)))).clm_apply | |
| fun_prop | |
| variable [FiniteDimensional β P] | |
| theorem exists_parametric_circle_primitive {alpha : P Γ Plane β Plane βL[β] β} | |
| (ha : ContDiff β β alpha) (hac : HasCompactSupport alpha) {R delta : β} | |
| (hR : 0 < R) (hd : 0 < delta) (hdR : delta < R^2) | |
| (hz : β y, (β« p in roundDisk R, planarCurl (fun x => alpha (y,x)) p) = 0) : | |
| β H : P Γ Plane β β, ContDiff β β H β§ HasCompactSupport H β§ | |
| (β y p, delta β€ |radiusSq p-R^2| β H (y,p) = 0) β§ | |
| (β y t, fderiv β (fun x => H (y,x)) (polarCoord.symm (R,t)) | |
| (-R*Real.sin t,R*Real.cos t) = circlePullback (fun x => alpha (y,x)) R t) β§ | |
| β y, (β x, alpha (y,x) = 0) β β x, H (y,x) = 0 := by | |
| let a : P Γ β β β := fun p => circlePullback (fun x => alpha (p.1,x)) R p.2 | |
| have has : ContDiff β β a := circlePullback_parameter_smooth ha R | |
| have hay (y : P) : ContDiff β β (fun t => a (y,t)) := | |
| has.comp (contDiff_const.prodMk contDiff_id) | |
| have haz (y : P) : (β« t in -Real.pi..Real.pi, a (y,t)) = 0 := by | |
| have hai : ContDiff β β (fun x : Plane => alpha (y,x)) := | |
| ha.comp (contDiff_const.prodMk contDiff_id) | |
| exact (integral_curl_roundDisk hai hR).symm.trans (hz y) | |
| have hp (y : P) := periodicPrimitive_periodic (hay y).continuous | |
| (circlePullback_periodic (fun x => alpha (y,x)) R) (haz y) | |
| let H : P Γ Plane β β := fun p => | |
| angularExtension R delta hd (periodicPrimitive (fun t => a (p.1,t))) p.2 | |
| have hH : ContDiff β β H := angularExtension_parameter_smooth hd hdR | |
| (contDiff_parameter_segment_integral has (-Real.pi)) hp | |
| have hHc : HasCompactSupport H := by | |
| have hK : IsCompact (Prod.fst '' tsupport alpha) := hac.image continuous_fst | |
| apply angularExtension_parameter_compact (h := fun p => | |
| periodicPrimitive (fun t => a (p.1,t)) p.2) (K := Prod.fst '' tsupport alpha) hd hK | |
| intro y hy t | |
| have he : (fun t => a (y,t)) = fun _ => (0:β) := by | |
| funext ΞΈ | |
| have hzero : alpha (y,polarCoord.symm (R,ΞΈ)) = 0 := | |
| image_eq_zero_of_notMem_tsupport (fun h => hy β¨(y,polarCoord.symm (R,ΞΈ)),h,rflβ©) | |
| simp only [a,circlePullback,hzero,zero_apply] | |
| change periodicPrimitive (fun t => a (y,t)) t = 0 | |
| rw [he] | |
| simp only [periodicPrimitive,intervalIntegral.integral_zero] | |
| refine β¨H,hH,hHc,fun _ p hp => angularExtension_zero hd _ p hp,?_,?_β© | |
| Β· intro y t | |
| have hc : HasDerivAt (fun t => polarCoord.symm (R,t)) (-R*Real.sin t,R*Real.cos t) t := by | |
| change HasDerivAt (fun t => (R*Real.cos t,R*Real.sin t)) _ t | |
| exact (((Real.hasDerivAt_cos t).const_mul R).prodMk | |
| ((Real.hasDerivAt_sin t).const_mul R)).congr_deriv (by ext <;> simp [neg_mul]) | |
| have hHy : ContDiff β β (fun x => H (y,x)) := hH.comp (contDiff_const.prodMk contDiff_id) | |
| have hdH := ((hHy.differentiable (by simp)) (polarCoord.symm (R,t))).hasFDerivAt.comp_hasDerivAt t hc | |
| have he : (fun t => H (y,polarCoord.symm (R,t))) = periodicPrimitive (fun t => a (y,t)) := | |
| funext fun t => angularExtension_polar hR hd (hp y) t | |
| change HasDerivAt (fun t => H (y,polarCoord.symm (R,t))) _ t at hdH | |
| rw [he] at hdH | |
| exact hdH.unique (periodicPrimitive_hasDerivAt (hay y).continuous t) | |
| Β· intro y hy x | |
| have he : (fun t => a (y,t)) = fun _ => (0:β) := by | |
| funext t | |
| simp only [a,circlePullback,hy,zero_apply] | |
| change angularExtension R delta hd (periodicPrimitive (fun t => a (y,t))) x = 0 | |
| rw [he] | |
| simp only [angularExtension,periodicPrimitive,intervalIntegral.integral_zero,mul_zero] | |
| omit [FiniteDimensional β P] in | |
| theorem fiber_fderiv {F : P Γ Plane β β} (hF : ContDiff β β F) (y : P) (x : Plane) : | |
| fderiv β (fun x => F (y,x)) x = | |
| (fderiv β F (y,x)).comp (ContinuousLinearMap.inr β P Plane) := by | |
| have hi : HasFDerivAt (fun x : Plane => (y,x)) (ContinuousLinearMap.inr β P Plane) x := by | |
| simpa only [Prod.mk_add_mk,zero_add,add_zero,ContinuousLinearMap.inr_apply] using | |
| ((ContinuousLinearMap.inr β P Plane).hasFDerivAt (x := x)).const_add (y,0) | |
| exact (((hF.differentiable (by simp)) (y,x)).hasFDerivAt.comp x hi).fderiv | |
| omit [FiniteDimensional β P] in | |
| theorem fiber_fderiv_smooth {F : P Γ Plane β β} (hF : ContDiff β β F) : | |
| ContDiff β β (fun p : P Γ Plane => fderiv β (fun x => F (p.1,x)) p.2) := by | |
| have he : (fun p : P Γ Plane => fderiv β (fun x => F (p.1,x)) p.2) = | |
| fun p => (fderiv β F p).comp (ContinuousLinearMap.inr β P Plane) := by | |
| funext p | |
| exact fiber_fderiv hF p.1 p.2 | |
| rw [he] | |
| exact (hF.fderiv_right (by simp)).clm_comp contDiff_const | |
| omit [FiniteDimensional β P] in | |
| theorem fiber_fderiv_compact {F : P Γ Plane β β} (hF : ContDiff β β F) | |
| (hc : HasCompactSupport F) : | |
| HasCompactSupport (fun p : P Γ Plane => fderiv β (fun x => F (p.1,x)) p.2) := by | |
| have he : (fun p : P Γ Plane => fderiv β (fun x => F (p.1,x)) p.2) = | |
| (fun A : (P Γ Plane) βL[β] β => A.comp (ContinuousLinearMap.inr β P Plane)) β fderiv β F := by | |
| funext p | |
| exact fiber_fderiv hF p.1 p.2 | |
| rw [he] | |
| exact (hc.fderiv (π := β)).comp_left (by simp only [ContinuousLinearMap.zero_comp]) | |
| omit [FiniteDimensional β P] in | |
| theorem parametric_finite_potential_correction {ΞΉ : Type*} [Fintype ΞΉ] | |
| {alpha : P Γ Plane β Plane βL[β] β} (ha : ContDiff β β alpha) | |
| (hac : HasCompactSupport alpha) (R : ΞΉ β β) | |
| (H : ΞΉ β P Γ Plane β β) (hHs : β i, ContDiff β β (H i)) | |
| (hHc : β i, HasCompactSupport (H i)) | |
| (hself : β i y p, radiusSq p = (R i)^2 β | |
| fderiv β (fun x => H i (y,x)) p (-p.2,p.1) = alpha (y,p) (-p.2,p.1)) | |
| (hother : β i j, j β i β β y p, radiusSq p = (R i)^2 β | |
| fderiv β (fun x => H j (y,x)) p = 0) | |
| (hHzero : β i y, (β x, alpha (y,x) = 0) β β x, H i (y,x) = 0) : | |
| β beta : P Γ Plane β Plane βL[β] β, ContDiff β β beta β§ HasCompactSupport beta β§ | |
| (β y p, planarCurl (fun x => beta (y,x)) p = planarCurl (fun x => alpha (y,x)) p) β§ | |
| (β i y p, radiusSq p = (R i)^2 β beta (y,p) (-p.2,p.1) = 0) β§ | |
| β y, (β x, alpha (y,x) = 0) β β x, beta (y,x) = 0 := by | |
| classical | |
| let F : P Γ Plane β β := fun p => β i, H i p | |
| have hFs : ContDiff β β F := ContDiff.sum (fun i _ => hHs i) | |
| have hFc : HasCompactSupport F := by | |
| have he : (β i, H i) = F := by funext p; simp [F] | |
| rw [β he] | |
| exact HasCompactSupport.finset_sum (s := Finset.univ) (f := H) (fun i _ => hHc i) | |
| have hFd (y : P) (p v : Plane) : | |
| fderiv β (fun x => F (y,x)) p v = β i, fderiv β (fun x => H i (y,x)) p v := by | |
| change fderiv β (fun x => β i, H i (y,x)) p v = _ | |
| have hHyi (i : ΞΉ) : DifferentiableAt β (fun x : Plane => H i (y,x)) p := | |
| (((hHs i).comp (contDiff_const.prodMk contDiff_id)).differentiable (by simp)) p | |
| rw [fderiv_fun_sum (fun i _ => hHyi i)] | |
| simp only [sum_apply] | |
| let beta : P Γ Plane β Plane βL[β] β := fun p => alpha p - fderiv β (fun x => F (p.1,x)) p.2 | |
| refine β¨beta,ha.sub (fiber_fderiv_smooth hFs),hac.sub (fiber_fderiv_compact hFs hFc),?_,?_,?_β© | |
| Β· intro y p | |
| exact planarCurl_sub_differential (ha.comp (contDiff_const.prodMk contDiff_id)) | |
| (hFs.comp (contDiff_const.prodMk contDiff_id)) p | |
| Β· intro i y p hp | |
| change alpha (y,p) (-p.2,p.1) - fderiv β (fun x => F (y,x)) p (-p.2,p.1) = 0 | |
| rw [hFd,Finset.sum_eq_single i,hself i y p hp,sub_self] | |
| Β· intro j _ hj | |
| rw [hother i j hj y p hp] | |
| rfl | |
| Β· simp | |
| Β· intro y hy x | |
| have he : (fun x => F (y,x)) = fun _ => (0:β) := by | |
| funext q | |
| exact Finset.sum_eq_zero (fun i _ => hHzero i y hy q) | |
| change alpha (y,x) - fderiv β (fun x => F (y,x)) x = 0 | |
| rw [hy x,he,fderiv_const_apply,sub_self] | |
| theorem exists_parametric_finite_circle_correction {ΞΉ : Type*} [Fintype ΞΉ] | |
| {alpha : P Γ Plane β Plane βL[β] β} (ha : ContDiff β β alpha) | |
| (hac : HasCompactSupport alpha) (R : ΞΉ β β) (hR : β i, 0 < R i) | |
| (hRi : Injective R) | |
| (hz : β i y, (β« p in roundDisk (R i), planarCurl (fun x => alpha (y,x)) p) = 0) : | |
| β beta : P Γ Plane β Plane βL[β] β, ContDiff β β beta β§ HasCompactSupport beta β§ | |
| (β y p, planarCurl (fun x => beta (y,x)) p = planarCurl (fun x => alpha (y,x)) p) β§ | |
| (β i y p, radiusSq p = (R i)^2 β beta (y,p) (-p.2,p.1) = 0) β§ | |
| β y, (β x, alpha (y,x) = 0) β β x, beta (y,x) = 0 := by | |
| classical | |
| choose d hd hdR hdsep using exists_disjoint_radial_collars R hR hRi | |
| choose H hHs hHc hHspt hHt hHzero using fun i => | |
| exists_parametric_circle_primitive ha hac (hR i) (hd i) (hdR i) (hz i) | |
| apply parametric_finite_potential_correction ha hac R H hHs hHc | |
| (hHzero := hHzero) | |
| Β· intro i y p hp | |
| obtain β¨t,rflβ© := polar_surjective_circle (hR i) hp | |
| simpa only [circlePullback,polarCoord_symm_apply,neg_mul] using hHt i y t | |
| Β· intro i j hj y p hp | |
| apply fderiv_zero_outside_collar (hHspt j y) | |
| rw [hp] | |
| exact hdsep j i hj.symm | |
| end | |
| section | |
| variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] [CompleteSpace E] | |
| [NormedAddCommGroup F] [NormedSpace β F] [CompleteSpace F] | |
| theorem fixedStep_affine {L M : ββ₯0} (X : C(E,E)) (hX : LipschitzWith L X) | |
| (Y : C(F,F)) (hY : LipschitzWith M Y) (A : E βL[β] F) (b : F) | |
| (hXY : β x, Y (b+A x) = A (X x)) | |
| {h : β} (hhX : βhβ*L < 1) (hhY : βhβ*M < 1) (x : E) : | |
| fixedStep Y hY h (b+A x) = | |
| β¨fun s => b+A (fixedStep X hX h x s), | |
| continuous_const.add (A.continuous.comp (fixedStep X hX h x).continuous)β© := by | |
| let u := fixedStep X hX h x | |
| let q : C(Time,F) := β¨fun s => b+A (u s),continuous_const.add (A.continuous.comp u.continuous)β© | |
| change fixedStep Y hY h (b+A x) = q | |
| apply (picard_contracts Y hY (p := (b+A x,h)) hhY).fixedPoint_unique' | |
| (localPath_fixed Y hY (p := (b+A x,h)) hhY) | |
| apply ContinuousMap.ext | |
| intro s | |
| have hu := congrArg (fun v : C(Time,E) => v s) (fixedStep_equation X hX hhX x) | |
| have hq : (fun t : β => extendPath (Y.comp q) t) = | |
| fun t => A (extendPath (X.comp u) t) := by | |
| funext t | |
| exact hXY _ | |
| have hi := A.intervalIntegral_comp_comm (ΞΌ := volume) | |
| ((extendPath (X.comp u)).continuous.intervalIntegrable 0 (s:β)) | |
| change b+A x + h β’ (β« t in 0..(s:β), extendPath (Y.comp q) t) = b+A (u s) | |
| rw [hq,hi] | |
| change u s = x + h β’ (β« t in 0..(s:β), extendPath (X.comp u) t) at hu | |
| rw [hu,map_add,map_smul] | |
| simp only [add_assoc] | |
| theorem stepEndpoint_affine {L M : ββ₯0} (X : C(E,E)) (hX : LipschitzWith L X) | |
| (Y : C(F,F)) (hY : LipschitzWith M Y) (A : E βL[β] F) (b : F) | |
| (hXY : β x, Y (b+A x) = A (X x)) | |
| {h : β} (hhX : βhβ*L < 1) (hhY : βhβ*M < 1) (x : E) : | |
| stepEndpoint Y hY h (b+A x) = b+A (stepEndpoint X hX h x) := by | |
| exact congrArg (fun u : C(Time,F) => u β¨1,by simpβ©) | |
| (fixedStep_affine X hX Y hY A b hXY hhX hhY x) | |
| end | |
| variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace β P] [CompleteSpace P] | |
| [NormedAddCommGroup E] [NormedSpace β E] [CompleteSpace E] | |
| def parameterField (X : C(β Γ (P Γ E),E)) : C(β Γ (P Γ E),P Γ E) := | |
| β¨fun p => (0,X p),continuous_const.prodMk X.continuousβ© | |
| def fiberField (X : C(β Γ (P Γ E),E)) (y : P) : C(β Γ E,E) := | |
| β¨fun p => X (p.1,(y,p.2)),X.continuous.comp | |
| (continuous_fst.prodMk (continuous_const.prodMk continuous_snd))β© | |
| omit [NormedSpace β P] [CompleteSpace P] [NormedSpace β E] [CompleteSpace E] in | |
| theorem parameterField_lipschitz {L : ββ₯0} (X : C(β Γ (P Γ E),E)) | |
| (hX : LipschitzWith L X) : LipschitzWith L (parameterField X) := by | |
| apply LipschitzWith.of_dist_le_mul | |
| intro p q | |
| simpa only [parameterField,ContinuousMap.coe_mk,Prod.dist_eq,dist_self, | |
| max_eq_right dist_nonneg] using hX.dist_le_mul p q | |
| omit [NormedSpace β P] [CompleteSpace P] [NormedSpace β E] [CompleteSpace E] in | |
| theorem fiberField_lipschitz {L : ββ₯0} (X : C(β Γ (P Γ E),E)) | |
| (hX : LipschitzWith L X) (y : P) : LipschitzWith L (fiberField X y) := by | |
| apply LipschitzWith.of_dist_le_mul | |
| intro p q | |
| simpa only [fiberField,ContinuousMap.coe_mk,Prod.dist_eq,dist_self, | |
| max_eq_right dist_nonneg] using hX.dist_le_mul (p.1,(y,p.2)) (q.1,(y,q.2)) | |
| omit [CompleteSpace P] [CompleteSpace E] in | |
| theorem parameterField_smooth (X : C(β Γ (P Γ E),E)) (hX : ContDiff β β X) : | |
| ContDiff β β (parameterField X) := contDiff_const.prodMk hX | |
| omit [CompleteSpace P] [CompleteSpace E] in | |
| theorem fiberField_smooth (X : C(β Γ (P Γ E),E)) (hX : ContDiff β β X) (y : P) : | |
| ContDiff β β (fiberField X y) := | |
| hX.comp (contDiff_fst.prodMk (contDiff_const.prodMk contDiff_snd)) | |
| theorem timeStep_fiber {L : ββ₯0} (X : C(β Γ (P Γ E),E)) (hX : LipschitzWith L X) | |
| {h : β} (hh : βhβ*L < 1) (t : β) (y : P) (x : E) : | |
| timeStep (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) h t (y,x) = | |
| (y,timeStep (fiberField X y) (fiberField_lipschitz X hX y) h t x) := by | |
| let A : (β Γ E) βL[β] (β Γ (P Γ E)) := | |
| (ContinuousLinearMap.fst β β E).prod | |
| ((0 : (β Γ E) βL[β] P).prod (ContinuousLinearMap.snd β β E)) | |
| let b : β Γ (P Γ E) := (0,(y,0)) | |
| have hXY : β p, clockField (E := P Γ E) (parameterField X) (b+A p) = | |
| A (clockField (E := E) (fiberField X y) p) := by | |
| intro p | |
| simp only [b,A,ContinuousLinearMap.prod_apply,ContinuousLinearMap.coe_fst', | |
| ContinuousLinearMap.coe_snd',zero_apply,Prod.mk_add_mk, | |
| zero_add,add_zero,clockField_apply,parameterField,fiberField,ContinuousMap.coe_mk] | |
| have he := stepEndpoint_affine (clockField (E := E) (fiberField X y)) | |
| (clockField_lipschitz (E := E) (fiberField X y) (fiberField_lipschitz X hX y)) (clockField (E := P Γ E) (parameterField X)) | |
| (clockField_lipschitz (E := P Γ E) (parameterField X) (parameterField_lipschitz X hX)) A b hXY hh hh (t,x) | |
| have he' := congrArg Prod.snd he | |
| simpa only [b,A,ContinuousLinearMap.prod_apply,ContinuousLinearMap.coe_fst', | |
| ContinuousLinearMap.coe_snd',zero_apply,Prod.mk_add_mk, | |
| zero_add,add_zero,timeStep] using he' | |
| variable [FiniteDimensional β P] [FiniteDimensional β E] | |
| theorem timeSteps_fiber {L : ββ₯0} (X : C(β Γ (P Γ E),E)) (hX : LipschitzWith L X) | |
| (hXs : ContDiff β β X) {h : β} (hh : βhβ*L < 1) (t : β) (N : β) (y : P) (x : E) : | |
| timeSteps (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) | |
| (parameterField_smooth X hXs) hh t N (y,x) = | |
| (y,timeSteps (fiberField X y) (fiberField_lipschitz X hX y) | |
| (fiberField_smooth X hXs y) hh t N x) := by | |
| induction N with | |
| | zero => rfl | |
| | succ N ih => | |
| change timeStep (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) h (t+N*h) | |
| (timeSteps (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) | |
| (parameterField_smooth X hXs) hh t N (y,x)) = _ | |
| rw [ih,timeStep_fiber X hX hh] | |
| rfl | |
| theorem timeSteps_fiber_smooth {L : ββ₯0} (X : C(β Γ (P Γ E),E)) (hX : LipschitzWith L X) | |
| (hXs : ContDiff β β X) {h : β} (hh : βhβ*L < 1) (t : β) (N : β) : | |
| ContDiff β β (fun p : P Γ E => timeSteps (fiberField X p.1) | |
| (fiberField_lipschitz X hX p.1) (fiberField_smooth X hXs p.1) hh t N p.2) β§ | |
| ContDiff β β (fun p : P Γ E => (timeSteps (fiberField X p.1) | |
| (fiberField_lipschitz X hX p.1) (fiberField_smooth X hXs p.1) hh t N).symm p.2) := by | |
| let Ξ¦ := timeSteps (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) | |
| (parameterField_smooth X hXs) hh t N | |
| let Ο (y : P) := timeSteps (fiberField X y) (fiberField_lipschitz X hX y) | |
| (fiberField_smooth X hXs y) hh t N | |
| have he (p : P Γ E) : Ξ¦ p = (p.1,Ο p.1 p.2) := timeSteps_fiber X hX hXs hh t N p.1 p.2 | |
| have hei (p : P Γ E) : Ξ¦.symm p = (p.1,(Ο p.1).symm p.2) := by | |
| apply Ξ¦.injective | |
| rw [Ξ¦.apply_symm_apply,he,(Ο p.1).apply_symm_apply] | |
| have hs := timeSteps_smooth (E := P Γ E) (L := L) (parameterField X) (parameterField_lipschitz X hX) | |
| (parameterField_smooth X hXs) hh t N | |
| constructor | |
| Β· have hfun : (fun p : P Γ E => Ο p.1 p.2) = fun p => (Ξ¦ p).2 := | |
| funext fun p => (congrArg Prod.snd (he p)).symm | |
| change ContDiff β β (fun p : P Γ E => Ο p.1 p.2) | |
| rw [hfun] | |
| exact hs.1.snd | |
| Β· have hfun : (fun p : P Γ E => (Ο p.1).symm p.2) = fun p => (Ξ¦.symm p).2 := | |
| funext fun p => (congrArg Prod.snd (hei p)).symm | |
| change ContDiff β β (fun p : P Γ E => (Ο p.1).symm p.2) | |
| rw [hfun] | |
| exact hs.2.snd | |
| omit [NormedSpace β P] [CompleteSpace P] [NormedSpace β E] [CompleteSpace E] | |
| [FiniteDimensional β P] [FiniteDimensional β E] in | |
| theorem fiberField_compact (X : C(β Γ (P Γ E),E)) (hc : HasCompactSupport X) (y : P) : | |
| HasCompactSupport (fiberField X y) := by | |
| apply HasCompactSupport.intro | |
| (hc.image (continuous_fst.prodMk (continuous_snd.comp continuous_snd))) | |
| intro p hp | |
| change X (p.1,(y,p.2)) = 0 | |
| exact image_eq_zero_of_notMem_tsupport (fun h => hp β¨(p.1,(y,p.2)),h,rflβ©) | |
| theorem exists_parametric_density_transport {ΞΉ : Type*} {L : ββ₯0} | |
| (X : C(β Γ (P Γ Plane),Plane)) (hX : LipschitzWith L X) | |
| (hXs : ContDiff β β X) (hXc : HasCompactSupport X) | |
| (Ο : P β β Γ Plane β β) (hΟ : β y, ContDiff β β (Ο y)) | |
| (B : Plane βL[β] Plane βL[β] β) | |
| (hPDE : β y p v w, fderiv β (Ο y) p (1,fiberField X y p) * B v w + | |
| Ο y p * (B (fderiv β (fiberField X y) p (0,v)) w + | |
| B v (fderiv β (fiberField X y) p (0,w))) = 0) | |
| (R : ΞΉ β β) (hR : β i, 0 < R i) | |
| (htan : β i y t x, radiusSq x = (R i)^2 β radialDrift (fiberField X y) (t,x) = 0) | |
| (t T : β) : β Ξ¦ : P β Plane ββ Plane, | |
| ContDiff β β (fun p : P Γ Plane => Ξ¦ p.1 p.2) β§ | |
| ContDiff β β (fun p : P Γ Plane => (Ξ¦ p.1).symm p.2) β§ | |
| HasCompactSupport (fun p : P Γ Plane => Ξ¦ p.1 p.2 - p.2) β§ | |
| (β y x v w, Ο y (t+T,Ξ¦ y x) * B (fderiv β (Ξ¦ y) x v) (fderiv β (Ξ¦ y) x w) = | |
| Ο y (t,x) * B v w) β§ | |
| (β i y, Ξ¦ y '' closedRoundDisk (R i) = closedRoundDisk (R i)) β§ | |
| β y, (β t x, X (t,(y,x)) = 0) β β x, Ξ¦ y x = x := by | |
| obtain β¨N,hNβ© := exists_nat_gt (βTβ * L) | |
| have hN0 : (0:β) < N := (mul_nonneg (norm_nonneg _) L.coe_nonneg).trans_lt hN | |
| let h := T / N | |
| have hh : βhβ * L < 1 := by | |
| change βT/(N:β)β * L < 1 | |
| rw [norm_div,Real.norm_of_nonneg hN0.le,div_mul_eq_mul_div] | |
| exact (div_lt_one hN0).mpr hN | |
| have he : (N:β) * h = T := by dsimp [h]; field_simp | |
| let Ξ¦ (y : P) := timeSteps (fiberField X y) (fiberField_lipschitz X hX y) | |
| (fiberField_smooth X hXs y) hh t N | |
| have hK : IsCompact (Prod.snd '' tsupport X) := hXc.image continuous_snd | |
| have hfix (p : P Γ Plane) (hp : p β Prod.snd '' tsupport X) : Ξ¦ p.1 p.2 = p.2 := by | |
| apply timeSteps_of_stationary | |
| intro s | |
| change X (s,p) = 0 | |
| exact image_eq_zero_of_notMem_tsupport (fun h => hp β¨(s,p),h,rflβ©) | |
| refine β¨Ξ¦,(timeSteps_fiber_smooth X hX hXs hh t N).1, | |
| (timeSteps_fiber_smooth X hX hXs hh t N).2, | |
| HasCompactSupport.intro hK (fun p hp => sub_eq_zero.mpr (hfix p hp)),?_,?_,?_β© | |
| Β· intro y x v w | |
| simpa only [he] using timeSteps_preserves_density (fiberField X y) | |
| (fiberField_lipschitz X hX y) (fiberField_smooth X hXs y) | |
| (Ο y) (hΟ y) B (hPDE y) hh t N x v w | |
| Β· intro i y | |
| apply homeomorph_image_closedRoundDisk | |
| intro x | |
| exact timeSteps_preserves_circle_iff (fiberField X y) (fiberField_lipschitz X hX y) | |
| (fiberField_smooth X hXs y) (fiberField_compact X hXc y) (hR i) (htan i y) hh t N x | |
| Β· intro y hy x | |
| apply timeSteps_of_stationary | |
| intro s | |
| exact hy s x | |
| end PackingSufficiencySupport.Hamiltonian | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 27.6 kB
- Xet hash:
- 65cf318abe2498ecc5a17ae5f55484d5902276700885c96ccd2c8898edb72040
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.