Download data/lean/OAI/Geometry/RCD/Harmonic/AverageQuadraticError.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.96 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/RCD/Harmonic/AverageQuadraticError.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/RCD/Harmonic/AverageQuadraticError.lean
-
curl -L -o AverageQuadraticError.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/RCD/Harmonic/AverageQuadraticError.lean
2.96 kB
| import OAI.Analysis.RCDHeat.ExistingAnalytic | |
| namespace OAI | |
| /-! # Passing an additive transport error from averages to continuous values -/ | |
| open Set Filter MeasureTheory Metric | |
| open scoped Topology NNReal | |
| namespace RegularPointCoordinates | |
| variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] | |
| [SecondCountableTopology X] {ΞΌ : Measure X} [IsLocallyFiniteMeasure ΞΌ] | |
| [IsUnifLocDoublingMeasure ΞΌ] [ΞΌ.IsOpenPosMeasure] | |
| theorem quadratic_comparison_of_average_bound_add | |
| (u v U V : X β β) (hu : LocallyIntegrable u ΞΌ) (hv : LocallyIntegrable v ΞΌ) | |
| (hU : Continuous U) (hV : Continuous V) (heU : u =α΅[ΞΌ] U) (heV : v =α΅[ΞΌ] V) | |
| (c e : β) (h : β x y : X, β r : β, 0 < r β | |
| (β¨z in closedBall x r, u z βΞΌ) - (β¨z in closedBall y r, v z βΞΌ) β€ | |
| c*(dist x y + 2*r)^2+e) : | |
| β x y, U x-V y β€ c*dist x y^2+e := by | |
| let S := {x : X | Tendsto (fun r : β => β¨z in closedBall x r, u z βΞΌ) | |
| (π[>] 0) (π (U x))} | |
| let T := {x : X | Tendsto (fun r : β => β¨z in closedBall x r, v z βΞΌ) | |
| (π[>] 0) (π (V x))} | |
| have hS : βα΅ x βΞΌ, x β S := by | |
| filter_upwards [IsUnifLocDoublingMeasure.ae_tendsto_average ΞΌ hu (1:β),heU] with x hx he | |
| change Tendsto _ _ (π (U x)) | |
| rw [βhe] | |
| exact hx (fun _ : β => x) id tendsto_id (by | |
| filter_upwards [self_mem_nhdsWithin] with r hr | |
| simp only [mem_closedBall,dist_self,one_mul] | |
| exact le_of_lt hr) | |
| have hT : βα΅ x βΞΌ, x β T := by | |
| filter_upwards [IsUnifLocDoublingMeasure.ae_tendsto_average ΞΌ hv (1:β),heV] with x hx he | |
| change Tendsto _ _ (π (V x)) | |
| rw [βhe] | |
| exact hx (fun _ : β => x) id tendsto_id (by | |
| filter_upwards [self_mem_nhdsWithin] with r hr | |
| simp only [mem_closedBall,dist_self,one_mul] | |
| exact le_of_lt hr) | |
| have hST : β x β S, β y β T, U x-V y β€ c*dist x y^2+e := by | |
| intro x hx y hy | |
| have hc : Tendsto (fun r : β => c*(dist x y+2*r)^2+e) (π[>] 0) | |
| (π (c*dist x y^2+e)) := by | |
| have hh : Continuous (fun r : β => c*(dist x y+2*r)^2+e) := by fun_prop | |
| simpa using (hh.continuousAt (x := 0)).tendsto.mono_left nhdsWithin_le_nhds | |
| have hb : βαΆ r in π[>] (0:β), | |
| (β¨z in closedBall x r, u z βΞΌ) - (β¨z in closedBall y r, v z βΞΌ) β€ | |
| c*(dist x y+2*r)^2+e := by | |
| filter_upwards [self_mem_nhdsWithin] with r hr using h x y r hr | |
| exact le_of_tendsto_of_tendsto (hx.sub hy) hc hb | |
| have hd : Dense (S ΓΛ’ T) := (Measure.dense_of_ae hS).prod (Measure.dense_of_ae hT) | |
| have hc : IsClosed {z : XΓX | U z.1-V z.2 β€ c*dist z.1 z.2^2+e} := | |
| isClosed_le ((hU.comp continuous_fst).sub (hV.comp continuous_snd)) (by fun_prop) | |
| have hs : closure (S ΓΛ’ T) β {z : XΓX | U z.1-V z.2 β€ c*dist z.1 z.2^2+e} := | |
| hc.closure_subset_iff.mpr (fun z hz => hST z.1 hz.1 z.2 hz.2) | |
| intro x y | |
| exact hs (hd (x,y)) | |
| end RegularPointCoordinates | |
| end OAI | |