Download data/lean/OAI/Geometry/BallPacking/Annuli/QuadricNormalizedCycle.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 22.8 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Annuli/QuadricNormalizedCycle.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/BallPacking/Annuli/QuadricNormalizedCycle.lean
-
curl -L -o QuadricNormalizedCycle.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BallPacking/Annuli/QuadricNormalizedCycle.lean
22.8 kB
| import Mathlib | |
| import OAI.Geometry.BallPacking.Annuli.QuadricCylinderChart | |
| namespace OAI | |
| noncomputable section | |
| namespace PackingSufficiencySupport.DiagonalQuadrics.Explicit | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold MeasureTheory | |
| open Hamiltonian | |
| variable (m : β) | |
| def unitTransverseCycle (t : β) : Surface m := transverseCycle m (2*Real.pi*t-Real.pi/2) | |
| theorem unitTransverseCycle_smooth : | |
| ContMDiff π(β,β) π(β,RealModel) β (unitTransverseCycle m) := | |
| (transverseCycle_smooth m).comp ((contDiff_const.mul contDiff_id).sub contDiff_const).contMDiff | |
| theorem unitTransverseCycle_periodic : Periodic (unitTransverseCycle m) 1 := by | |
| intro t | |
| change transverseCycle m (2*Real.pi*(t+1)-Real.pi/2)=_ | |
| rw [show 2*Real.pi*(t+1)-Real.pi/2=(2*Real.pi*t-Real.pi/2)+2*Real.pi by ring] | |
| exact transverseCycle_periodic m _ | |
| theorem unitTransverseCycle_pullback (t : β) : | |
| curveOneForm (compactDualForm m) (unitTransverseCycle m) t= | |
| (2*Real.pi)*dualAlongCycle m (2*Real.pi*t-Real.pi/2) := by | |
| let h : β β β := fun t => 2*Real.pi*t-Real.pi/2 | |
| have hd : HasDerivAt h (2*Real.pi) t := by | |
| simpa only [h,id_eq,mul_one] using ((hasDerivAt_id t).const_mul (2*Real.pi)).sub_const (Real.pi/2) | |
| have he := mfderiv_comp t ((transverseCycle_smooth m).mdifferentiableAt (by simp)) | |
| (hasMFDerivAt_iff_hasFDerivAt.mpr hd.hasFDerivAt).mdifferentiableAt | |
| have he' := congrArg (fun D : β βL[β] RealModel => D 1) he | |
| have hh : mfderiv π(β,β) π(β,β) h t 1=2*Real.pi := by | |
| have hh := congrArg (fun D : β βL[β] β => D 1) | |
| (mfderiv_eq_fderiv (f := h) (x := t)) | |
| have hh' : fderiv β h t 1=2*Real.pi := by | |
| rw [hd.hasFDerivAt.fderiv] | |
| simp | |
| exact hh.trans hh' | |
| change mfderiv π(β,β) π(β,RealModel) (transverseCycle m β h) t 1= | |
| mfderiv π(β,β) π(β,RealModel) (transverseCycle m) (h t) | |
| (mfderiv π(β,β) π(β,β) h t 1) at he' | |
| rw [hh] at he' | |
| change (compactDualForm m (transverseCycle m (h t))) | |
| ((mfderiv π(β,β) π(β,RealModel) (transverseCycle m β h) t) 1)=_ | |
| rw [he'] | |
| let L : β βL[β] β := (compactDualForm m (transverseCycle m (h t))).comp | |
| (mfderiv π(β,β) π(β,RealModel) (transverseCycle m) (h t)) | |
| change L (2*Real.pi) = (2*Real.pi)*L 1 | |
| simpa only [smul_eq_mul, mul_one] using L.map_smul (2*Real.pi) (1:β) | |
| theorem compactDualForm_unit_period : | |
| β« t in (0:β)..1,curveOneForm (compactDualForm m) (unitTransverseCycle m) t=1 := by | |
| simp_rw [unitTransverseCycle_pullback,sub_eq_add_neg] | |
| rw [intervalIntegral.integral_const_mul] | |
| change (2*Real.pi) β’ (β« t in (0:β)..1,dualAlongCycle m (2*Real.pi*t+ -(Real.pi/2)))=1 | |
| rw [intervalIntegral.smul_integral_comp_mul_add] | |
| simpa only [dualAlongCycle,mul_zero,zero_add,mul_one, | |
| show 2*Real.pi+ -(Real.pi/2)=Real.pi+Real.pi/2 by ring] using compactDualForm_period m | |
| theorem compactDualForm_not_exact : Β¬β f : Surface m β β, | |
| ContMDiff π(β,RealModel) π(β,β) β f β§ | |
| manifoldScalarDifferential (E := RealModel) f=compactDualForm m := by | |
| rintro β¨f,hf,heβ© | |
| have hs := (hf.comp (unitTransverseCycle_smooth m)).contDiff | |
| have hd : β t,HasDerivAt (f β unitTransverseCycle m) | |
| (curveOneForm (compactDualForm m) (unitTransverseCycle m) t) t := by | |
| intro t | |
| rw [β he,curveOneForm_scalar hf (unitTransverseCycle_smooth m)] | |
| exact (hs.differentiable (by simp) t).hasDerivAt | |
| have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt (fun t _ => hd t) | |
| ((curveOneForm_smooth (compactDualForm_smooth m) (unitTransverseCycle_smooth m)).continuous.intervalIntegrable 0 1) | |
| rw [compactDualForm_unit_period] at hi | |
| have hp := unitTransverseCycle_periodic m 0 | |
| simp only [zero_add] at hp | |
| simp only [Function.comp_apply,hp,sub_self] at hi | |
| exact one_ne_zero hi | |
| end PackingSufficiencySupport.DiagonalQuadrics.Explicit | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold MeasureTheory | |
| section | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| theorem curveOneForm_affine {Ξ± : ManifoldOneForm E M} {q : β β M} | |
| (hq : ContMDiff π(β,β) π(β,E) β q) (a b t : β) : | |
| curveOneForm Ξ± (fun s => q (a*s+b)) t=a*curveOneForm Ξ± q (a*t+b) := by | |
| let h : β β β := fun s => a*s+b | |
| have hd : HasDerivAt h a t := by | |
| simpa only [h,id_eq,mul_one] using ((hasDerivAt_id t).const_mul a).add_const b | |
| have he := mfderiv_comp t (hq.mdifferentiableAt (by simp)) | |
| (hasMFDerivAt_iff_hasFDerivAt.mpr hd.hasFDerivAt).mdifferentiableAt | |
| have he' := congrArg (fun D : β βL[β] E => D 1) he | |
| have hh : mfderiv π(β,β) π(β,β) h t 1=a := by | |
| have hh := congrArg (fun D : β βL[β] β => D 1) | |
| (mfderiv_eq_fderiv (f := h) (x := t)) | |
| have hh' : fderiv β h t 1=a := by | |
| rw [hd.hasFDerivAt.fderiv] | |
| simp | |
| exact hh.trans hh' | |
| change mfderiv π(β,β) π(β,E) (q β h) t 1= | |
| mfderiv π(β,β) π(β,E) q (h t) (mfderiv π(β,β) π(β,β) h t 1) at he' | |
| rw [hh] at he' | |
| change Ξ± (q (h t)) (mfderiv π(β,β) π(β,E) (q β h) t 1)=_ | |
| rw [he'] | |
| let L : β βL[β] β := (Ξ± (q (h t))).comp (mfderiv π(β,β) π(β,E) q (h t)) | |
| change L a = a * L 1 | |
| simpa only [smul_eq_mul, mul_one] using L.map_smul a (1:β) | |
| theorem curveOneForm_periodic {Ξ± : ManifoldOneForm E M} {q : β β M} | |
| (hq : ContMDiff π(β,β) π(β,E) β q) {T : β} (hp : Periodic q T) : | |
| Periodic (curveOneForm Ξ± q) T := by | |
| have he : (fun s => q (1*s+T))=q := by ext s; simp only [one_mul,hp s] | |
| intro t | |
| have hd := curveOneForm_affine (Ξ± := Ξ±) hq 1 T t | |
| rw [he,one_mul,one_mul] at hd | |
| exact hd.symm | |
| theorem curveOneForm_period_integral {Ξ± : ManifoldOneForm E M} {q : β β M} | |
| (hq : ContMDiff π(β,β) π(β,E) β q) {T : β} (hp : Periodic q T) (b c : β) : | |
| (β« t in b..b+T,curveOneForm Ξ± q t)=(β« t in c..c+T,curveOneForm Ξ± q t) := by | |
| exact (curveOneForm_periodic hq hp).intervalIntegral_add_eq _ _ | |
| end | |
| theorem cylinderFormB_curve (Ξ± : β β ManifoldOneForm CylinderModel HandleCylinder) | |
| (p a t : β) : cylinderFormB Ξ± (p,(a,t))= | |
| curveOneForm (Ξ± p) (fun s => (a,circleTurn s)) t := by | |
| let j : β β Plane := fun s => (a,s) | |
| have hj : HasFDerivAt j (ContinuousLinearMap.inr β β β) t := | |
| (hasFDerivAt_const a t).prodMk (hasFDerivAt_id t) | |
| have hg := ((cylinderCover_smooth.mdifferentiableAt (by simp)).hasMFDerivAt.comp t | |
| (hasMFDerivAt_iff_hasFDerivAt.mpr hj)).mfderiv | |
| change Ξ± p (a,circleTurn t) | |
| (mfderiv π(β,Plane) π(β,CylinderModel) cylinderCover (a,t) (0,1))= | |
| Ξ± p (a,circleTurn t) | |
| (mfderiv π(β,β) π(β,CylinderModel) (cylinderCover β j) t 1) | |
| rw [hg] | |
| rfl | |
| 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] | |
| theorem curveOneForm_parameter_pullback (Ξ± : β β ManifoldOneForm E M) | |
| {g : N β M} {q : β β N} {t p : β} | |
| (hg : MDifferentiableAt π(β,F) π(β,E) g (q t)) | |
| (hq : MDifferentiableAt π(β,β) π(β,F) q t) : | |
| curveOneForm (parameterManifoldPullbackOneForm (E := E) (F := F) Ξ± g p) q t= | |
| curveOneForm (Ξ± p) (g β q) t := by | |
| have hd := mfderiv_comp t hg hq | |
| change Ξ± p (g (q t)) (mfderiv π(β,F) π(β,E) g (q t) | |
| (mfderiv π(β,β) π(β,F) q t 1))= | |
| Ξ± p (g (q t)) (mfderiv π(β,β) π(β,E) (g β q) t 1) | |
| rw [hd] | |
| rfl | |
| end PackingSufficiencySupport.Hamiltonian | |
| namespace PackingSufficiencySupport.DiagonalQuadrics.Explicit | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold MeasureTheory | |
| open Hamiltonian | |
| variable (m : β) | |
| theorem transverseCycle_Acoordinate (ΞΈ : β) : | |
| transverseCoordinate m (transverseCycle m ΞΈ).val=(Circle.exp ΞΈ : β) := by | |
| change (Real.cos ΞΈ : β)+Complex.I*(Real.sin ΞΈ : β)=_ | |
| rw [Circle.coe_exp,Complex.exp_mul_I] | |
| rw [β Complex.ofReal_cos,β Complex.ofReal_sin,mul_comm Complex.I] | |
| theorem transverseCycle_transverseBranch (ΞΈ : β) : | |
| transverseCycle m ΞΈβtransverseBranch m := by | |
| refine β¨?_,?_β© | |
| Β· rw [transverseCycle_Acoordinate] | |
| exact unitCircle_subset_transverseDomain m (Circle.norm_coe _) | |
| Β· intro j hj | |
| change 0<(if j=0 then Complex.I*(Real.sin ΞΈ : β) | |
| else Complex.I*(Real.sqrt ((j.val : β)+1-Real.cos ΞΈ^2) : β)).im | |
| simp only [ite_eq_right hj,Complex.mul_im,Complex.I_re,Complex.I_im, | |
| zero_mul,one_mul,zero_add,Complex.ofReal_re] | |
| apply Real.sqrt_pos.mpr | |
| have hjp : 0<(j.val : β) := by exact_mod_cast Fin.pos_iff_ne_zero.mpr hj | |
| nlinarith [Real.cos_sq_le_one ΞΈ] | |
| theorem transverseCylinder_core_cycle (t : β) : | |
| transverseCylinder m (0,circleTurn t)=transverseCycle m (2*Real.pi*t) := by | |
| have he := (transverseAnnulusChart m).left_inv (transverseCycle_transverseBranch m (2*Real.pi*t)) | |
| change transverseAnnulusInverse m (transverseCoordinate m (transverseCycle m (2*Real.pi*t)).val)=_ at he | |
| rw [transverseCycle_Acoordinate] at he | |
| simpa only [transverseCylinder_apply,cylinderComplexMap,Real.exp_zero, | |
| Complex.ofReal_one,one_mul,circleTurn] using he | |
| def cylinderDualForm : β β ManifoldOneForm CylinderModel HandleCylinder := | |
| parameterManifoldPullbackOneForm (fun _ : β => compactDualForm m) (transverseCylinder m) | |
| theorem cylinderDualForm_B (p t : β) : | |
| cylinderFormB (cylinderDualForm m) (p,(0,t))= | |
| curveOneForm (compactDualForm m) (fun s => transverseCylinder m (0,circleTurn s)) t := by | |
| rw [cylinderFormB_curve] | |
| exact curveOneForm_parameter_pullback (fun _ : β => compactDualForm m) | |
| ((transverseCylinder m).mdifferentiableAt (by simp) (transverseCylinder_core m _)) | |
| ((cylinderCover_smooth.comp ((contDiff_const.prodMk contDiff_id).contMDiff)).mdifferentiableAt (by simp)) | |
| theorem cylinderDualForm_period (p : β) : cylinderFormPeriod 0 (cylinderDualForm m) p=1 := by | |
| unfold cylinderFormPeriod annularMean | |
| simp_rw [cylinderDualForm_B] | |
| have he : (fun s => transverseCylinder m (0,circleTurn s))= | |
| (fun s => transverseCycle m (2*Real.pi*s+0)) := by | |
| funext s | |
| rw [add_zero] | |
| exact transverseCylinder_core_cycle m s | |
| rw [he] | |
| simp_rw [curveOneForm_affine (transverseCycle_smooth m),add_zero] | |
| rw [intervalIntegral.integral_const_mul] | |
| change (2*Real.pi) β’ (β« t in (0:β)..1, | |
| curveOneForm (compactDualForm m) (transverseCycle m) (2*Real.pi*t))=1 | |
| rw [intervalIntegral.smul_integral_comp_mul_left] | |
| simp only [mul_zero,mul_one] | |
| have hp := curveOneForm_period_integral (Ξ± := compactDualForm m) | |
| (transverseCycle_smooth m) (transverseCycle_periodic m) 0 (-(Real.pi/2)) | |
| rw [zero_add,show -(Real.pi/2)+2*Real.pi=Real.pi+Real.pi/2 by ring] at hp | |
| rw [hp] | |
| exact compactDualForm_period m | |
| end PackingSufficiencySupport.DiagonalQuadrics.Explicit | |
| namespace PackingSufficiencySupport.Hamiltonian | |
| open scoped ContDiff Manifold Topology | |
| open Set Function Manifold | |
| open MeasureTheory | |
| section | |
| variable {P : Type} [NormedAddCommGroup P] [NormedSpace β P] | |
| theorem annularCylinderScalar_joint_smoothOn {V : Set P} {I : Set β} | |
| (hV : IsOpen V) (hI : IsOpen I) {F : P Γ Plane β β} | |
| (hF : ContDiffOn β β F (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hper : β pβV,β sβI,Periodic (fun t => F (p,(s,t))) 1) : | |
| ContMDiffOn ((π(β,P)).prod π(β,CylinderModel)) π(β,β) β | |
| (fun q : P Γ HandleCylinder => annularCylinderScalar F q.1 q.2) | |
| (V ΓΛ’ (I ΓΛ’ univ)) := by | |
| have hfst : ContMDiff π(β,CylinderModel) π(β,β) β | |
| (Prod.fst : HandleCylinder β β) := by | |
| rw [show π(β,CylinderModel) = (π(β,β)).prod π(β,CircleModel) from | |
| modelWithCornersSelf_prod] | |
| exact contMDiff_fst | |
| have hparam : ContMDiff ((π(β,P)).prod π(β,CylinderModel)) π(β,P) β | |
| (Prod.fst : P Γ HandleCylinder β P) := contMDiff_fst | |
| have hbase : ContMDiff ((π(β,P)).prod π(β,CylinderModel)) π(β,CylinderModel) β | |
| (Prod.snd : P Γ HandleCylinder β HandleCylinder) := contMDiff_snd | |
| have hpair : ContMDiff ((π(β,P)).prod π(β,CylinderModel)) π(β,P Γ β) β | |
| (fun q : P Γ HandleCylinder => (q.1,q.2.1)) := by | |
| exact (contMDiff_prod_module_iff _).2 β¨hparam,hfst.comp hbaseβ© | |
| have hmap : ContMDiff ((π(β,P)).prod π(β,CylinderModel)) | |
| ((π(β,P Γ β)).prod π(β,CircleModel)) β | |
| (fun q : P Γ HandleCylinder => ((q.1,q.2.1),q.2.2)) := | |
| hpair.prodMk (cylinder_snd_smooth.comp hbase) | |
| exact (annularScalarDescent_smoothOn hV hI hF hper).comp hmap.contMDiffOn | |
| (fun _ hq => β¨β¨hq.1,hq.2.1β©,hq.2.2β©) | |
| variable [FiniteDimensional β P] | |
| theorem normalizedAnnularPrimitive_cylinder_joint_smoothOn {V : Set P} {I : Set β} | |
| (hV : IsOpen V) (hI : IsOpen I) (hc : Convex β I) | |
| {a : β} (ha : aβI) {A B : P Γ Plane β β} {Ξ² : β β β} | |
| (hA : ContDiffOn β β A (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hB : ContDiffOn β β B (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hΞ² : ContDiff β β Ξ²) (hpΞ² : Periodic Ξ² 1) | |
| (hΞ²int : (β« t in (0:β)..1,Ξ² t)=1) | |
| (hpA : β pβV,β sβI,Periodic (fun t => A (p,(s,t))) 1) | |
| (hpB : β pβV,β sβI,Periodic (fun t => B (p,(s,t))) 1) | |
| (hclosed : β pβV,β sβI,β t, | |
| fderiv β (fun z => A (p,z)) (s,t) (0,1)= | |
| fderiv β (fun z => B (p,z)) (s,t) (1,0)) : | |
| ContMDiffOn ((π(β,P)).prod π(β,CylinderModel)) π(β,β) β | |
| (fun q : P Γ HandleCylinder => | |
| annularCylinderScalar (normalizedAnnularPrimitive a A B Ξ²) q.1 q.2) | |
| (V ΓΛ’ (I ΓΛ’ univ)) := by | |
| obtain β¨hF,hper,_β© := annular_normalization hV hI hc ha hA hB hΞ² hpΞ² hΞ²int hpA hpB hclosed | |
| exact annularCylinderScalar_joint_smoothOn hV hI hF hper | |
| end | |
| section | |
| variable {P : Type} {E G : Type*} [NormedAddCommGroup P] [NormedSpace β P] | |
| [NormedAddCommGroup E] [NormedSpace β E] [NormedAddCommGroup G] [NormedSpace β G] | |
| {M N : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [TopologicalSpace N] [ChartedSpace G N] | |
| theorem manifoldScalarDifferential_comp_at {f : N β β} {e : M β N} {x : M} | |
| (hf : ContMDiffAt π(β,G) π(β,β) β f (e x)) | |
| (he : ContMDiffAt π(β,E) π(β,G) β e x) : | |
| manifoldScalarDifferential (E := E) (f β e) x= | |
| (manifoldScalarDifferential (E := G) f (e x)).comp | |
| (mfderiv π(β,E) π(β,G) e x) := | |
| mfderiv_comp x (hf.mdifferentiableAt (by simp)) (he.mdifferentiableAt (by simp)) | |
| theorem annularCylinderScalar_family_pullback_smoothOn {V : Set P} {I : Set β} {U : Set M} | |
| (hV : IsOpen V) (hI : IsOpen I) {F : P Γ Plane β β} | |
| (hF : ContDiffOn β β F (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hper : β pβV,β sβI,Periodic (fun t => F (p,(s,t))) 1) | |
| {e : M β HandleCylinder} (he : ContMDiffOn π(β,E) π(β,CylinderModel) β e U) | |
| (hmem : β xβU,(e x).1βI) : | |
| ContMDiffOn ((π(β,P)).prod π(β,E)) π(β,β) β | |
| (fun q : P Γ M => annularCylinderScalar F q.1 (e q.2)) (V ΓΛ’ U) := by | |
| have hg : ContMDiffOn ((π(β,P)).prod π(β,E)) | |
| ((π(β,P)).prod π(β,CylinderModel)) β | |
| (fun q : P Γ M => (q.1,e q.2)) (V ΓΛ’ U) := | |
| contMDiffOn_fst.prodMk (he.comp contMDiffOn_snd (fun _ hq => hq.2)) | |
| exact (annularCylinderScalar_joint_smoothOn hV hI hF hper).comp hg | |
| (fun q hq => β¨hq.1,hmem q.2 hq.2,mem_univ _β©) | |
| theorem annularCylinderScalar_pullback_differential {V : Set P} {I : Set β} | |
| (hV : IsOpen V) (hI : IsOpen I) {F : P Γ Plane β β} | |
| (hF : ContDiffOn β β F (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hper : β pβV,β sβI,Periodic (fun t => F (p,(s,t))) 1) | |
| {e : M β HandleCylinder} {x : M} | |
| (he : ContMDiffAt π(β,E) π(β,CylinderModel) β e x) | |
| {p : P} (hp : pβV) (hx : (e x).1βI) (v : E) : | |
| manifoldScalarDifferential (E := E) (fun y => annularCylinderScalar F p (e y)) x v= | |
| fderiv β (fun z => F (p,z)) ((e x).1,shortCircleArgument (e x).2) | |
| ((mfderiv π(β,E) π(β,CylinderModel) e x v).1, | |
| circleAngular (e x).2 (mfderiv π(β,E) π(β,CylinderModel) e x v).2) := by | |
| have hd := manifoldScalarDifferential_comp_at (E := E) (G := CylinderModel) | |
| (f := annularCylinderScalar F p) (e := e) | |
| (annularCylinderScalar_smoothAt hV hI hF hper hp (z := e x) hx) he | |
| change (manifoldScalarDifferential (E := E) (annularCylinderScalar F p β e) x) v=_ | |
| rw [hd] | |
| let q : Plane := ((e x).1,shortCircleArgument (e x).2) | |
| let w : CylinderModel := mfderiv π(β,E) π(β,CylinderModel) e x v | |
| have hq : cylinderCover q=e x := by | |
| apply Prod.ext | |
| Β· rfl | |
| Β· exact circleTurn_shortCircleArgument (e x).2 | |
| let u : Plane := (w.1,circleAngular (circleTurn q.2) w.2) | |
| have hL : mfderiv π(β,Plane) π(β,CylinderModel) cylinderCover q u=w := | |
| cylinderCover_derivative_right_inverse q w | |
| have hc := annularCylinderScalar_differential_cover hV hI hF hper hp (q := q) hx u | |
| rw [hL,hq] at hc | |
| have ht : circleTurn q.2=(e x).2 := congrArg Prod.snd hq | |
| dsimp only [u] at hc | |
| rw [ht] at hc | |
| convert hc using 1 | |
| rfl | |
| end | |
| variable {P E : Type} [NormedAddCommGroup P] [NormedSpace β P] [FiniteDimensional β P] | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type} [TopologicalSpace M] [ChartedSpace E M] | |
| theorem exists_closed_annular_coordinate_potential {V : Set P} {I : Set β} {U : Set M} | |
| (hV : IsOpen V) (hI : IsOpen I) (hU : IsOpen U) (hc : Convex β I) | |
| {a : β} (ha : aβI) | |
| {Ξ± : P β ManifoldOneForm CylinderModel HandleCylinder} | |
| {A B : P Γ Plane β β} {Ξ² : β β β} | |
| (hA : ContDiffOn β β A (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hB : ContDiffOn β β B (V ΓΛ’ (I ΓΛ’ univ))) | |
| (hΞ² : ContDiff β β Ξ²) (hpΞ² : Periodic Ξ² 1) | |
| (hΞ²int : (β« t in (0:β)..1,Ξ² t)=1) | |
| (hpA : β pβV,β sβI,Periodic (fun t => A (p,(s,t))) 1) | |
| (hpB : β pβV,β sβI,Periodic (fun t => B (p,(s,t))) 1) | |
| (hΞ± : β pβV,β q : Plane,q.1βI β ContDiffAt β β | |
| (chartOneForm (Ξ± p) (cylinderCover q)) | |
| (extChartAt π(β,CylinderModel) (cylinderCover q) (cylinderCover q))) | |
| (hclosed : β pβV,β z : HandleCylinder,z.1βI β manifoldExteriorOneForm (Ξ± p) z=0) | |
| (hrep : β pβV,β q : Plane,q.1βI β | |
| euclideanPullbackOneForm (fun _ => Ξ± p) cylinderCover (0,q)= | |
| planarCovector (A (p,q)) (B (p,q))) | |
| {e : M β HandleCylinder} (he : ContMDiffOn π(β,E) π(β,CylinderModel) β e U) | |
| (hmem : β xβU,(e x).1βI) : | |
| β F : P Γ M β β, | |
| ContMDiffOn ((π(β,P)).prod π(β,E)) π(β,β) β F (V ΓΛ’ U) β§ | |
| β pβV,β xβU,β v : E, | |
| manifoldScalarDifferential (E := E) (fun y => F (p,y)) x v= | |
| Ξ± p (e x) (mfderiv π(β,E) π(β,CylinderModel) e x v)- | |
| annularMean a B p*circlePeriodicDescent Ξ² (e x).2* | |
| circleAngular (e x).2 (mfderiv π(β,E) π(β,CylinderModel) e x v).2 := by | |
| have hcurl : β pβV,β sβI,β t, | |
| fderiv β (fun z => A (p,z)) (s,t) (0,1)= | |
| fderiv β (fun z => B (p,z)) (s,t) (1,0) := by | |
| intro p hp s hs t | |
| exact closed_cylinder_cover_equation hI | |
| (hA.comp (contDiff_const.prodMk contDiff_id).contDiffOn (fun _ hz => β¨hp,hzβ©)) | |
| (hB.comp (contDiff_const.prodMk contDiff_id).contDiffOn (fun _ hz => β¨hp,hzβ©)) | |
| (hΞ± p hp) (hclosed p hp) (hrep p hp) hs | |
| obtain β¨hF,hper,_β© := annular_normalization hV hI hc ha hA hB hΞ² hpΞ² hΞ²int hpA hpB hcurl | |
| obtain β¨_,hFdβ© := closed_cylinder_normalized_potential hV hI hc ha hA hB | |
| hΞ² hpΞ² hΞ²int hpA hpB hΞ± hclosed hrep | |
| refine β¨fun q => annularCylinderScalar (normalizedAnnularPrimitive a A B Ξ²) q.1 (e q.2), | |
| annularCylinderScalar_family_pullback_smoothOn hV hI hF hper he hmem,?_β© | |
| intro p hp x hx v | |
| have hd := manifoldScalarDifferential_comp_at | |
| (annularCylinderScalar_smoothAt hV hI hF hper hp (hmem x hx)) | |
| (he.contMDiffAt (hU.mem_nhds hx)) | |
| change (manifoldScalarDifferential (E := E) | |
| (annularCylinderScalar (normalizedAnnularPrimitive a A B Ξ²) p β e) x) v=_ | |
| rw [hd] | |
| exact hFd p hp (e x) (hmem x hx) _ | |
| theorem exists_intrinsic_annular_coordinate_potential | |
| {V : Set P} {I : Set β} {U : Set M} | |
| (hV : IsOpen V) (hI : IsOpen I) (hU : IsOpen U) (hc : Convex β I) | |
| {a : β} (ha : aβI) | |
| {Ξ± : P β ManifoldOneForm CylinderModel HandleCylinder} | |
| (hΞ± : β pβV,β z : HandleCylinder,z.1βI β ContDiffAt β β | |
| (fun q : P Γ CylinderModel => chartOneForm (Ξ± q.1) z q.2) | |
| (p,extChartAt π(β,CylinderModel) z z)) | |
| (hclosed : β pβV,β z : HandleCylinder,z.1βI β manifoldExteriorOneForm (Ξ± p) z=0) | |
| {f : Circle β β} (hf : ContMDiff π(β,CircleModel) π(β,β) β f) | |
| (hfint : (β« t in (0:β)..1,f (circleTurn t))=1) | |
| {e : M β HandleCylinder} (he : ContMDiffOn π(β,E) π(β,CylinderModel) β e U) | |
| (hmem : β xβU,(e x).1βI) : | |
| β F : P Γ M β β, | |
| ContMDiffOn ((π(β,P)).prod π(β,E)) π(β,β) β F (V ΓΛ’ U) β§ | |
| β pβV,β xβU,β v : E, | |
| manifoldScalarDifferential (E := E) (fun y => F (p,y)) x v= | |
| Ξ± p (e x) (mfderiv π(β,E) π(β,CylinderModel) e x v)- | |
| cylinderFormPeriod a Ξ± p*f (e x).2* | |
| circleAngular (e x).2 (mfderiv π(β,E) π(β,CylinderModel) e x v).2 := by | |
| have hΞ² : ContDiff β β (f β circleTurn) := (hf.comp circleTurn_smooth).contDiff | |
| have hpΞ² : Periodic (f β circleTurn) 1 := fun t => congrArg f (circleTurn_period_one t) | |
| have hΞ±' : β pβV,β q : Plane,q.1βI β ContDiffAt β β | |
| (chartOneForm (Ξ± p) (cylinderCover q)) | |
| (extChartAt π(β,CylinderModel) (cylinderCover q) (cylinderCover q)) := by | |
| intro p hp q hq | |
| exact (hΞ± p hp (cylinderCover q) hq).comp _ (contDiffAt_const.prodMk contDiffAt_id) | |
| obtain β¨F,hF,hdβ© := exists_closed_annular_coordinate_potential hV hI hU hc ha | |
| (cylinderForm_coefficients_smooth hΞ±).1 (cylinderForm_coefficients_smooth hΞ±).2 | |
| hΞ² hpΞ² hfint | |
| (fun p _ s _ => (cylinderForm_coefficients_periodic Ξ± p s).1) | |
| (fun p _ s _ => (cylinderForm_coefficients_periodic Ξ± p s).2) | |
| hΞ±' hclosed (fun p _ q _ => cylinderForm_rep Ξ± p q) he hmem | |
| refine β¨F,hF,?_β© | |
| intro p hp x hx v | |
| simpa only [cylinderFormPeriod,circlePeriodicDescent,Function.comp_apply, | |
| circleTurn_shortCircleArgument] using hd p hp x hx v | |
| end PackingSufficiencySupport.Hamiltonian | |
| end | |
| end OAI | |