Download data/lean/OAI/Geometry/IsometricImmersion/Flows/FlowChart.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.12 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Flows/FlowChart.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Flows/FlowChart.lean
-
curl -L -o FlowChart.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Flows/FlowChart.lean
4.12 kB
| import OAI.Geometry.IsometricImmersion.Flows.FlowInverse | |
| import Mathlib.Topology.IsLocalHomeomorph | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory Function | |
| open scoped ContDiff Topology Interval | |
| namespace SmoothLocal.Flow | |
| open SmoothLocal.Geometry SmoothLocal.ODE SmoothLocal.Weighted | |
| variable {q : Coord β β} {U : Set Coord} {Y : β β β β β} | |
| theorem exists_global_triangularFlow_chart | |
| (hq : ContDiffOn β β q U) (hU : IsOpen U) (hSU : modelSquare β U) | |
| (hY : ContinuousOn (uncurry Y) (Icc (-2 : β) 2 ΓΛ’ Icc (-2 : β) 2)) | |
| (hrange : β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| Y s t β Icc (-3 : β) 3) | |
| (hstart : β s β Icc (-2 : β) 2, Y s 0 = s) | |
| (hode : β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| HasDerivWithinAt (Y s) (-q (coordinatePoint t (Y s t))) (Icc (-2 : β) 2) t) : | |
| β e : OpenPartialHomeomorph (β Γ β) (β Γ β), | |
| e.source = pairRectangle 2 (-2) 2 β§ | |
| e.target = triangularFlow Y '' pairRectangle 2 (-2) 2 β§ | |
| (e : (β Γ β) β (β Γ β)) = triangularFlow Y β§ | |
| ContDiffOn β β e e.source β§ ContDiffOn β β e.symm e.target := by | |
| let D := pairRectangle 2 (-2) 2 | |
| have hD : IsOpen D := pairRectangle_isOpen 2 (-2) 2 | |
| have hTF : ContDiffOn β β (triangularFlow Y) D := | |
| contDiffOn_fst.prodMk (cap_flow_joint_contDiffOn hq hU hSU hY hrange hstart hode) | |
| have hinj : InjOn (triangularFlow Y) D := triangularFlow_injOn hq hU hSU hY hrange hstart hode | |
| have hlocal : IsLocalHomeomorphOn (triangularFlow Y) D := by | |
| intro x hx | |
| obtain β¨e, he, hsub, heq, hf, hiβ© := | |
| exists_triangularFlow_smooth_chart hq hU hSU hY hrange hstart hode hx | |
| exact β¨e, he, heq.symmβ© | |
| have hopen : IsOpenMap (D.domRestrict (triangularFlow Y)) := by | |
| apply IsOpenMap.of_nhds_le | |
| intro x | |
| have he : (π x).map (D.domRestrict (triangularFlow Y)) = | |
| π (triangularFlow Y x) := by | |
| change (π x).map ((triangularFlow Y) β (Subtype.val : D β β Γ β)) = _ | |
| rw [β Filter.map_map, hD.isOpenEmbedding_subtypeVal.map_nhds_eq, | |
| hlocal.map_nhds_eq x.2] | |
| exact he.ge | |
| let pe := hinj.toPartialEquiv (triangularFlow Y) D | |
| let e := OpenPartialHomeomorph.ofContinuousOpenRestrict pe hTF.continuousOn hopen hD | |
| have heq : (e : (β Γ β) β (β Γ β)) = triangularFlow Y := rfl | |
| have hsource : e.source = D := rfl | |
| refine β¨e, hsource, rfl, heq, ?_, ?_β© | |
| Β· rw [heq, hsource] | |
| exact hTF | |
| Β· intro y hy | |
| have hx : e.symm y β D := by | |
| rw [β hsource] | |
| exact e.map_target hy | |
| obtain β¨A, hAβ© := triangularFlow_hasFDerivAt_equiv hq hU hSU hY hrange hstart hode hx | |
| have hAe : HasFDerivAt e (A : (β Γ β) βL[β] (β Γ β)) (e.symm y) := by | |
| rw [heq] | |
| exact hA | |
| have hfe : ContDiffAt β β e (e.symm y) := by | |
| rw [heq] | |
| exact hTF.contDiffAt (hD.mem_nhds hx) | |
| exact (e.contDiffAt_symm hy hAe hfe).contDiffWithinAt | |
| def flowCap (Y : β β β β β) (b : β) : Set (β Γ β) := | |
| triangularFlow Y '' pairRectangle 2 (-2) b | |
| theorem flowCap_mono (Y : β β β β β) {b1 b2 : β} (hb : b1 β€ b2) : | |
| flowCap Y b1 β flowCap Y b2 := by | |
| apply image_mono | |
| intro p hp | |
| exact β¨hp.1, hp.2.1, hp.2.2.trans_le hbβ© | |
| theorem flowCap_isOpen_of_chart {e : OpenPartialHomeomorph (β Γ β) (β Γ β)} | |
| (hsource : e.source = pairRectangle 2 (-2) 2) | |
| (heq : (e : (β Γ β) β (β Γ β)) = triangularFlow Y) | |
| {b : β} (hb : b β€ 2) : IsOpen (flowCap Y b) := by | |
| let C := pairRectangle 2 (-2) b | |
| have hC : IsOpen C := pairRectangle_isOpen 2 (-2) b | |
| have hsub : C β e.source := by | |
| rw [hsource] | |
| intro p hp | |
| exact β¨hp.1, hp.2.1, hp.2.2.trans_le hbβ© | |
| let eb := e.restrOpen C hC | |
| have hes : eb.source = C := by | |
| change e.source β© C = C | |
| exact inter_eq_right.mpr hsub | |
| have het : eb.target = flowCap Y b := by | |
| rw [β eb.image_source_eq_target, hes] | |
| change e '' C = triangularFlow Y '' C | |
| rw [heq] | |
| rw [β het] | |
| exact eb.open_target | |
| end SmoothLocal.Flow | |
| end | |
| end OAI | |