Download data/lean/OAI/Geometry/IsometricImmersion/Caps/ConstructedCapArea.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.07 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/ConstructedCapArea.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Caps/ConstructedCapArea.lean
-
curl -L -o ConstructedCapArea.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/ConstructedCapArea.lean
5.07 kB
| import OAI.Geometry.IsometricImmersion.Caps.CapAreaFormula | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Function MeasureTheory | |
| open scoped ContDiff Topology Interval | |
| namespace SmoothLocal.Flow | |
| open SmoothLocal.Geometry SmoothLocal.ODE SmoothLocal.Weighted | |
| theorem exists_actual_cap_area_chart | |
| {q : Coord β β} {U : Set Coord} {Y : β β β β β} {M : β} | |
| (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) | |
| (hM : 0 β€ M) (hMq : β p β modelSquare, |coordPartial 1 q p| β€ M) : | |
| β 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 β§ | |
| (β p β capChartDomain, | |
| (fderiv β (capChart Y) p).det = coordPartial 1 (capFlowHeight Y) p β§ | |
| Real.exp (-2*M) β€ coordPartial 1 (capFlowHeight Y) p β§ | |
| coordPartial 1 (capFlowHeight Y) p β€ Real.exp (2*M)) β§ | |
| β tl tr sb st : β, tl β€ tr β sb β€ st β | |
| closedRectangle tl tr sb st β capChartDomain β β f : Coord β β, | |
| ContinuousOn f (capChart Y '' closedRectangle tl tr sb st) β | |
| (β« p in capChart Y '' closedRectangle tl tr sb st, f p) = | |
| rectangleIntegral tl tr sb st (fun p => coordPartial 1 (capFlowHeight Y) p*capPullback Y f p) β§ | |
| Real.exp (-2*M)*rectangleIntegral tl tr sb st (fun p => (capPullback Y f p)^2) β€ | |
| (β« p in capChart Y '' closedRectangle tl tr sb st, (f p)^2) β§ | |
| (β« p in capChart Y '' closedRectangle tl tr sb st, (f p)^2) β€ | |
| Real.exp (2*M)*rectangleIntegral tl tr sb st (fun p => (capPullback Y f p)^2) β§ | |
| rectangleIntegral tl tr sb st (fun p => (capPullback Y f p)^2) β€ | |
| Real.exp (2*M)*(β« p in capChart Y '' closedRectangle tl tr sb st, (f p)^2) := by | |
| obtain β¨e,hsource,htarget,heq,hforward,hinverseβ© := | |
| exists_global_triangularFlow_chart hq hU hSU hY hrange hstart hode | |
| have hYs := cap_flow_joint_contDiffOn hq hU hSU hY hrange hstart hode | |
| have hvar : β s β Ioo (-2 : β) 2, β t β Ioo (-2 : β) 2, 0 < deriv (fun r => Y r t) s := | |
| fun s hs t ht => cap_flow_initial_deriv_pos hq hU hSU hY hrange hstart hode hs ht | |
| have hJ (p : Coord) (hp : p β capChartDomain) := | |
| capChart_jacobian_bounds hq hU hSU hY hrange hstart hode hM hMq hp | |
| refine β¨e,hsource,htarget,heq,hforward,hinverse,?_,?_β© | |
| Β· intro p hp | |
| exact β¨capChart_det_fderiv hYs hp,hJ p hpβ© | |
| Β· intro tl tr sb st ht hs hbox f hf | |
| have hJrect := fun p (hp : p β closedRectangle tl tr sb st) => hJ p (hbox hp) | |
| obtain β¨hlower,hupperβ© := cap_rectangle_square_integral_bounds hYs hvar hsource heq ht hs hbox hJrect hf | |
| exact β¨cap_image_integral_formula hYs hvar hsource heq ht hs hbox hf, | |
| hlower,hupper,cap_pullback_square_integral_le_image hYs hvar hsource heq ht hs hbox hJrect hfβ© | |
| theorem constructed_cap_pullback_square_le_region | |
| {q : Coord β β} {U V : Set Coord} {Y : β β β β β} {M : β} | |
| (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) | |
| (hM : 0 β€ M) (hMq : β p β modelSquare, |coordPartial 1 q p| β€ M) | |
| {tl tr sb st : β} (ht : tl β€ tr) (hs : sb β€ st) | |
| (hbox : closedRectangle tl tr sb st β capChartDomain) | |
| {f : Coord β β} (hf : ContinuousOn f (capChart Y '' closedRectangle tl tr sb st)) | |
| (himage : capChart Y '' closedRectangle tl tr sb st β V) | |
| (hLp : MemLp f 2 (volume.restrict V)) : | |
| rectangleIntegral tl tr sb st (fun p => (capPullback Y f p)^2) β€ | |
| Real.exp (2*M)*(β« p in V, (f p)^2) := by | |
| obtain β¨e,hsource,htarget,heq,hforward,hinverse,hJ,hbridgeβ© := | |
| exists_actual_cap_area_chart hq hU hSU hY hrange hstart hode hM hMq | |
| have hcomp := (hbridge tl tr sb st ht hs hbox f hf).2.2.2 | |
| have hregion : (β« p in capChart Y '' closedRectangle tl tr sb st, (f p)^2) β€ | |
| β« p in V, (f p)^2 := | |
| setIntegral_mono_set hLp.integrable_sq (Filter.Eventually.of_forall (fun p => sq_nonneg (f p))) | |
| himage.eventuallyLE | |
| exact hcomp.trans (mul_le_mul_of_nonneg_left hregion (Real.exp_pos _).le) | |
| end SmoothLocal.Flow | |
| end | |
| end OAI | |