Download data/lean/OAI/Geometry/IsometricImmersion/Caps/CapFlow.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.79 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/CapFlow.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Caps/CapFlow.lean
-
curl -L -o CapFlow.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/CapFlow.lean
3.79 kB
| import OAI.Geometry.IsometricImmersion.Flows.PicardFamily | |
| namespace OAI | |
| noncomputable section | |
| open Set Metric Filter Function | |
| open scoped ContDiff Topology NNReal | |
| namespace SmoothLocal.Flow | |
| open SmoothLocal.Geometry SmoothLocal.ODE SmoothLocal.Weighted | |
| theorem exists_cap_flow {q : Coord β β} {U : Set Coord} | |
| (hq : ContDiffOn β β q U) (hU : IsOpen U) (hSU : modelSquare β U) | |
| (hsmall : β p β modelSquare, |q p| β€ (1 : β) / 100) : | |
| β Y : β β β β β, | |
| ContinuousOn (uncurry Y) (Icc (-2 : β) 2 ΓΛ’ Icc (-2 : β) 2) β§ | |
| (β s β Icc (-2 : β) 2, ContDiffOn β β (Y s) (Icc (-2 : β) 2)) β§ | |
| (β s β Icc (-2 : β) 2, Y s 0 = s) β§ | |
| (β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| HasDerivWithinAt (Y s) (-q (coordinatePoint t (Y s t))) (Icc (-2 : β) 2) t) β§ | |
| (β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| |Y s t - s| β€ (1 : β) / 100 * |t|) β§ | |
| (β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, |Y s t - s| β€ (1 : β) / 50) β§ | |
| (β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| |Y s t| β€ (101 : β) / 50 β§ coordinatePoint t (Y s t) β modelSquare) β§ | |
| (β J : ββ₯0, β t, LipschitzOnWith J (fun s => Y s t) (Icc (-2 : β) 2)) := by | |
| obtain β¨L, hPLβ© := exists_cap_picard hq hU hSU hsmall | |
| obtain β¨Y, hY, hconf, β¨J, hJβ©, hcont, htimeβ© := | |
| exists_confined_continuous_picard_family hPL | |
| have hball (s : β) (hs : s β Icc (-2 : β) 2) : | |
| s β closedBall (0 : β) (β(2 : ββ₯0)) := by | |
| simpa only [mem_closedBall, Real.dist_eq, sub_zero, NNReal.coe_ofNat] using abs_le.mpr hs | |
| have hz : (0 : β) β Icc (-2 : β) 2 := by norm_num | |
| have hstart (s : β) (hs : s β Icc (-2 : β) 2) : Y s 0 = s := | |
| (hY s (hball s hs)).1 | |
| have hderiv (s : β) (hs : s β Icc (-2 : β) 2) (t : β) | |
| (ht : t β Icc (-2 : β) 2) : | |
| HasDerivWithinAt (Y s) (-q (coordinatePoint t (Y s t))) (Icc (-2 : β) 2) t := | |
| (hY s (hball s hs)).2 t ht | |
| have hdispl (s : β) (hs : s β Icc (-2 : β) 2) (t : β) | |
| (ht : t β Icc (-2 : β) 2) : |Y s t - s| β€ (1 : β) / 100 * |t| := by | |
| have hh := (htime s (hball s hs)).dist_le_mul t ht 0 hz | |
| rw [hstart s hs] at hh | |
| simpa only [Real.dist_eq, sub_zero, NNReal.coe_div, NNReal.coe_one, NNReal.coe_ofNat] using hh | |
| have hdispl' (s : β) (hs : s β Icc (-2 : β) 2) (t : β) | |
| (ht : t β Icc (-2 : β) 2) : |Y s t - s| β€ (1 : β) / 50 := by | |
| have hd := hdispl s hs t ht | |
| have habs := abs_le.mpr ht | |
| nlinarith | |
| have hfield : ContDiffOn β β (uncurry (flowField q)) | |
| (Icc (-2 : β) 2 ΓΛ’ closedBall (0 : β) 3) := by | |
| apply hq.neg.comp (by unfold coordinatePoint; fun_prop) | |
| intro p hp | |
| have hy : |p.2| β€ 3 := by | |
| simpa only [mem_closedBall, Real.dist_eq, sub_zero] using hp.2 | |
| exact hSU (coordinatePoint_mem_modelSquare | |
| β¨by linarith [hp.1.1], by linarith [hp.1.2]β© (abs_le.mp hy)) | |
| refine β¨Y, hcont.mono (fun p hp => β¨hball p.1 hp.1, hp.2β©), ?_, hstart, | |
| hderiv, hdispl, hdispl', ?_, β¨J, fun t => (hJ t).mono (fun s hs => hball s hs)β©β© | |
| Β· intro s hs | |
| exact ODE.contDiffOn_enat_Icc_of_hasDerivWithinAt hfield (hderiv s hs) | |
| (fun t _ => hconf s (hball s hs) t) | |
| Β· intro s hs t ht | |
| have hys : |Y s t| β€ (101 : β) / 50 := by | |
| have hsum : |Y s t| β€ |Y s t - s| + |s| := by | |
| simpa only [sub_add_cancel] using abs_add_le (Y s t - s) s | |
| have hd := hdispl' s hs t ht | |
| have hs2 := abs_le.mpr hs | |
| linarith | |
| refine β¨hys, coordinatePoint_mem_modelSquare | |
| β¨by linarith [ht.1], by linarith [ht.2]β© ?_β© | |
| exact abs_le.mp (hys.trans (by norm_num)) | |
| end SmoothLocal.Flow | |
| end | |
| end OAI | |