Download data/lean/OAI/Geometry/Immersion/ClosedSurface/LocalPhaseData.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.63 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Immersion/ClosedSurface/LocalPhaseData.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Immersion/ClosedSurface/LocalPhaseData.lean
-
curl -L -o LocalPhaseData.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Immersion/ClosedSurface/LocalPhaseData.lean
4.63 kB
| import OAI.Geometry.Immersion.ClosedSurface.ImmersionJets | |
| namespace OAI | |
| noncomputable section | |
| open Set Complex Bundle Manifold | |
| open scoped ContDiff Matrix Topology Manifold BigOperators | |
| namespace ClosedSurfaceR4.PhaseGeometry | |
| open Set Function Filter | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [FiniteDimensional β E] {M : Type*} [TopologicalSpace M] | |
| [ChartedSpace E M] [IsManifold π(β, E) β M] [T2Space M] | |
| {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] | |
| theorem smooth_extension_near {F : M β V} {U : Set M} (hU : IsOpen U) | |
| (hF : ContMDiffOn π(β, E) π(β, V) β F U) {p : M} (hp : p β U) : | |
| β G : M β V, ContMDiff π(β, E) π(β, V) β G β§ | |
| HasCompactSupport G β§ tsupport G β U β§ G =αΆ [π p] F := by | |
| obtain β¨b, _, hbβ© := (SmoothBumpFunction.nhds_basis_tsupport (I := π(β, E)) p).mem_iff.mp | |
| (hU.mem_nhds hp) | |
| let G : M β V := fun q => b q β’ F q | |
| have hs : tsupport G β tsupport b := tsupport_smul_subset_left _ _ | |
| refine β¨G, ?_, ?_, hs.trans hb, ?_β© | |
| Β· apply contMDiff_of_tsupport | |
| intro q hq | |
| exact b.contMDiffAt.smul ((hF q (hb (hs hq))).contMDiffAt | |
| (hU.mem_nhds (hb (hs hq)))) | |
| Β· exact b.hasCompactSupport.of_isClosed_subset (isClosed_tsupport G) hs | |
| Β· filter_upwards [b.eventuallyEq_one] with q hq | |
| simp only [G, hq, Pi.one_apply, one_smul] | |
| end ClosedSurfaceR4.PhaseGeometry | |
| namespace ClosedSurfaceR4.RealModes | |
| open ClosedSurfaceR4.SmallModes ClosedSurfaceR4.PhaseGeometry Set Filter | |
| lemma coordDeriv_eventuallyEq {n : β} {F G : RField n} {p : Base} | |
| (h : F =αΆ [π p] G) (v : Base) : coordDeriv v F =αΆ [π p] coordDeriv v G := by | |
| filter_upwards [h.fderiv (π := β)] with q hq | |
| exact congrArg (fun A : Base βL[β] RVec n => A v) hq | |
| lemma realSecondForm_eventuallyEq {F G : RField 4} {p : Base} | |
| (h : F =αΆ [π p] G) (v w : Base) : | |
| (fun q => realSecondForm F v w q) =αΆ [π p] (fun q => realSecondForm G v w q) := by | |
| filter_upwards [coordDeriv_eventuallyEq h dx, coordDeriv_eventuallyEq h dy, | |
| coordDeriv_eventuallyEq (coordDeriv_eventuallyEq h w) v] with q hx hy hxy | |
| simp only [realSecondForm, hx, hy, hxy] | |
| lemma realSecondTensor_eventuallyEq {F G : RField 4} {p : Base} | |
| (h : F =αΆ [π p] G) : realSecondTensor F =αΆ [π p] realSecondTensor G := by | |
| filter_upwards [realSecondForm_eventuallyEq h dx dx, realSecondForm_eventuallyEq h dx dy, | |
| realSecondForm_eventuallyEq h dy dy] with q hxx hxy hyy | |
| ext i | |
| fin_cases i <;> simp [realSecondTensor, hxx, hxy, hyy] | |
| theorem actual_local_phase_data_on {F : RField 4} {O : Set Base} | |
| (hO : IsOpen O) (hF : ContDiffOn β β F O) | |
| {H : Base β PhaseMean.Tensor} {p : Base} (hp : p β O) (hH : ContinuousAt H p) | |
| (hImm : Function.Injective (fderiv β F p)) | |
| (hB : β v w : Base, realSecondForm F v w p β 0) | |
| (hH0 : 0 < H p 0) (hHdet : 0 < H p 0 * H p 2 - (H p 1)^2) : | |
| β (G : RField 4) (ΞΎ : Fin 3 β Base) | |
| (Q : Fin 3 β PhaseMean.Tensor βL[β] β) (U : Set Base), | |
| ContDiff β β G β§ HasCompactSupport G β§ | |
| IsOpen U β§ p β U β§ U β O β§ EqOn G F U β§ | |
| (β A, β i, Q i A β’ covectorSquare (ΞΎ i) = A) β§ | |
| (β x β U, Function.Injective (fderiv β F x) β§ | |
| (β i, 0 < Q i (H x)) β§ (β i, Good (realSecondTensor F x) (ΞΎ i)) β§ | |
| (β i j, i β j β Good (realSecondTensor F x) (ΞΎ i + ΞΎ j) β§ | |
| Good (realSecondTensor F x) (ΞΎ i - ΞΎ j))) := by | |
| obtain β¨G,hG,hGc,hGsp,heβ© := smooth_extension_near hO hF.contMDiffOn hp | |
| have heir := he.fderiv_eq (π := β) | |
| have hGi : Function.Injective (fderiv β G p) := by rw [heir]; exact hImm | |
| have hGB : β v w : Base, realSecondForm G v w p β 0 := by | |
| obtain β¨v,w,hvwβ© := hB | |
| exact β¨v,w,by rwa [(realSecondForm_eventuallyEq he v w).eq_of_nhds]β© | |
| obtain β¨ΞΎ,Q,V,hV,hpV,hdec,hdataβ© := actual_local_phase_data hG.contDiff hH hGi hGB hH0 hHdet | |
| have hnb : βαΆ x in π p, x β O β§ x β V β§ G x = F x β§ | |
| fderiv β G x = fderiv β F x β§ realSecondTensor G x = realSecondTensor F x := by | |
| filter_upwards [hO.mem_nhds hp, hV.mem_nhds hpV, he, he.fderiv (π := β), | |
| realSecondTensor_eventuallyEq he] with x hxO hxV hx hd hb | |
| exact β¨hxO,hxV,hx,hd,hbβ© | |
| obtain β¨U,hUs,hU,hpUβ© := mem_nhds_iff.mp hnb | |
| refine β¨G,ΞΎ,Q,U,hG.contDiff,hGc,hU,hpU,fun x hx => (hUs hx).1, | |
| fun x hx => (hUs hx).2.2.1,hdec,?_β© | |
| intro x hx | |
| obtain β¨hxO,hxV,he,hd,hbβ© := hUs hx | |
| have hh := hdata x hxV | |
| rwa [hd,hb] at hh | |
| end ClosedSurfaceR4.RealModes | |
| end | |
| end OAI | |