Download data/lean/OAI/Analysis/FourierExtension/ChartMeasure.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.02 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/FourierExtension/ChartMeasure.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/FourierExtension/ChartMeasure.lean
-
curl -L -o ChartMeasure.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/FourierExtension/ChartMeasure.lean
7.02 kB
| import Mathlib | |
| import OAI.Analysis.FourierExtension.L2Fourier | |
| namespace OAI | |
| /-! Surface-area measure bounds in graph coordinates. -/ | |
| open MeasureTheory | |
| open scoped NNReal ENNReal ContDiff | |
| noncomputable section | |
| open Filter | |
| open scoped Topology ContDiff | |
| open MeasureTheory Set | |
| open scoped ContDiff FourierTransform InnerProductSpace ENNReal | |
| open MeasureTheory Set Filter Metric | |
| open scoped ContDiff Topology | |
| open Set Filter | |
| open scoped ENNReal InnerProductSpace | |
| open scoped FourierTransform SchwartzMap ENNReal | |
| open scoped ENNReal FourierTransform InnerProductSpace | |
| open MeasureTheory Set Filter | |
| open scoped ContDiff Topology ENNReal | |
| open MeasureTheory Set | |
| open scoped ENNReal NNReal | |
| namespace DiagonalExtension.ChartMeasure | |
| variable {E Y : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [FiniteDimensional β E] [MeasureSpace E] [BorelSpace E] [Measure.IsAddHaarMeasure (volume : Measure E)] | |
| [NormedAddCommGroup Y] [NormedSpace β Y] [MeasurableSpace Y] [BorelSpace Y] | |
| def dimensionFactor (E : Type*) [NormedAddCommGroup E] [NormedSpace β E] | |
| [FiniteDimensional β E] [MeasureSpace E] [BorelSpace E] [Measure.IsAddHaarMeasure (volume : Measure E)] : ββ₯0 := | |
| Measure.addHaarScalarFactor (Measure.hausdorffMeasure (Module.finrank β E) : Measure E) (volume : Measure E) | |
| lemma hausdorff_eq (hd : Module.finrank β E = 2) : | |
| (Measure.hausdorffMeasure 2 : Measure E) = dimensionFactor E β’ volume := by | |
| simpa [dimensionFactor,hd] using | |
| (Measure.isAddLeftInvariant_eq_smul | |
| (Measure.hausdorffMeasure (Module.finrank β E) : Measure E) volume) | |
| omit [NormedSpace β Y] in | |
| theorem coordinate_measure_le {Ξ : E β Y} {Ο : Y β E} {K : Set E} {L ΞΊ : ββ₯0} | |
| (hd : Module.finrank β E = 2) (hΟ : Measurable Ο) | |
| (hleft : β x β K, Ο (Ξ x) = x) (hLip : LipschitzOnWith L Ξ K) : | |
| Measure.map Ο (((ΞΊ : ββ₯0β) β’ (Measure.hausdorffMeasure 2 : Measure Y)).restrict (Ξ '' K)) β€ | |
| ((ΞΊ : ββ₯0β) * (L : ββ₯0β)^2 * (dimensionFactor E : ββ₯0β)) β’ volume.restrict K := by | |
| apply Measure.le_iff.mpr | |
| intro B hB | |
| rw [Measure.map_apply hΟ hB,Measure.restrict_apply (hΟ hB)] | |
| have he : Ο β»ΒΉ' B β© Ξ '' K = Ξ '' (B β© K) := by | |
| ext y | |
| constructor | |
| Β· rintro β¨hy, x,hx,rflβ© | |
| exact β¨x,β¨by simpa only [mem_preimage,hleft x hx] using hy,hxβ©,rflβ© | |
| Β· rintro β¨x,β¨hxB,hxKβ©,rflβ© | |
| exact β¨by simpa only [mem_preimage,hleft x hxK] using hxB,β¨x,hxK,rflβ©β© | |
| rw [he,Measure.smul_apply] | |
| have hH := (hLip.mono (show B β© K β K from inter_subset_right)).hausdorffMeasure_image_le | |
| (by norm_num : (0 : β) β€ 2) | |
| calc | |
| _ β€ (ΞΊ : ββ₯0β) * ((L : ββ₯0β)^2 * (Measure.hausdorffMeasure 2 : Measure E) (B β© K)) := by | |
| simpa only [ENNReal.rpow_two, smul_eq_mul] using mul_le_mul_right hH (ΞΊ : ββ₯0β) | |
| _ = _ := by | |
| rw [hausdorff_eq hd,Measure.smul_apply,Measure.smul_apply,Measure.restrict_apply hB] | |
| simp only [smul_eq_mul,ENNReal.smul_def] | |
| ring | |
| end DiagonalExtension.ChartMeasure | |
| namespace DiagonalExtension.ChartMeasure | |
| open MeasureTheory Set | |
| open scoped ENNReal NNReal | |
| variable {E Y : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [FiniteDimensional β E] [MeasureSpace E] [BorelSpace E] | |
| [Measure.IsAddHaarMeasure (volume : Measure E)] | |
| [NormedAddCommGroup Y] [NormedSpace β Y] [MeasurableSpace Y] [BorelSpace Y] | |
| omit [NormedSpace β Y] in | |
| theorem exists_graph_density {Ξ : E β Y} {Ο : Y β E} {K : Set E} {L ΞΊ : ββ₯0} | |
| (hd : Module.finrank β E = 2) (hΞ : Continuous Ξ) (hΟ : Measurable Ο) | |
| (hleft : β x β K, Ο (Ξ x) = x) (hLip : LipschitzOnWith L Ξ K) | |
| (hK : IsCompact K) {ΞΌ : Measure Y} | |
| (hΞΌ : ΞΌ β€ ((ΞΊ : ββ₯0β) β’ (Measure.hausdorffMeasure 2 : Measure Y)).restrict (Ξ '' K)) | |
| {f : Y β β} (hf : MemLp f 2 ΞΌ) : | |
| β g : E β β, MemLp g 2 volume β§ HasCompactSupport g β§ Integrable g volume β§ | |
| eLpNorm g 2 volume β€ | |
| ((ΞΊ : ββ₯0β) * (L : ββ₯0β)^2 * (dimensionFactor E : ββ₯0β)) ^ (1/2 : β) * | |
| eLpNorm f 2 ΞΌ β§ | |
| β v : Y β β, Continuous v β (β M : β, β y, βv yβ β€ M) β | |
| (β« x, g x * v (Ξ x)) = β« y, f y * v y βΞΌ := by | |
| classical | |
| let C : ββ₯0β := (ΞΊ : ββ₯0β) * (L : ββ₯0β)^2 * (dimensionFactor E : ββ₯0β) | |
| have hC : C β (β€ : ββ₯0β) := by dsimp [C]; finiteness | |
| have hcoord : Measure.map Ο ΞΌ β€ C β’ volume := | |
| ((Measure.map_mono hΞΌ hΟ).trans (coordinate_measure_le hd hΟ hleft hLip)).trans | |
| (by | |
| intro B | |
| simp only [Measure.smul_apply, smul_eq_mul] | |
| exact mul_le_mul_right (Measure.restrict_le_self B) C) | |
| have hsupport : βα΅ y βΞΌ, y β Ξ '' K := by | |
| exact (ae_mono hΞΌ) (ae_restrict_mem (hK.image hΞ).measurableSet) | |
| let F := hf.toLp f | |
| have hF : (F : Y β β) =α΅[ΞΌ] f := MemLp.coeFn_toLp hf | |
| obtain β¨u,huInt,huNorm,huSupp,huPairβ© := | |
| BoundedPullback.exists_integrable_density hΟ hC hcoord F hK.measurableSet | |
| hK.measure_lt_top (by | |
| filter_upwards [hsupport] with y hy | |
| obtain β¨x,hx,rflβ© := hy | |
| simp [hleft x hx,hx]) | |
| let g := K.indicator (u : E β β) | |
| have hgue : g =α΅[volume] u := by | |
| filter_upwards [huSupp] with x hx | |
| by_cases h : x β K | |
| Β· simp [g,h] | |
| Β· simp [g,h,hx h] | |
| have hg : MemLp g 2 volume := (Lp.memLp u).ae_eq hgue.symm | |
| have hgc : HasCompactSupport g := hK.of_isClosed_subset (isClosed_tsupport _) | |
| (closure_minimal (Set.support_indicator_subset) hK.isClosed) | |
| refine β¨g,hg,hgc,huInt.congr hgue.symm,?_,?_β© | |
| Β· rw [eLpNorm_congr_ae hgue, β Lp.enorm_def] | |
| rw [β ofReal_norm] | |
| calc | |
| _ β€ ENNReal.ofReal (C.toReal ^ (1 / 2 : β) * βFβ) := ENNReal.ofReal_le_ofReal huNorm | |
| _ = C ^ (1/2 : β) * ENNReal.ofReal βFβ := by | |
| rw [ENNReal.ofReal_mul (Real.rpow_nonneg ENNReal.toReal_nonneg _), | |
| β ENNReal.ofReal_rpow_of_nonneg ENNReal.toReal_nonneg (by norm_num), ENNReal.ofReal_toReal hC] | |
| _ = _ := by rw [ofReal_norm, Lp.enorm_def, eLpNorm_congr_ae hF] | |
| Β· intro v hv hvB | |
| obtain β¨M,hMβ© := hvB | |
| let w := K.indicator (fun x => v (Ξ x)) | |
| have hw : MemLp w 2 volume := by | |
| rw [memLp_indicator_iff_restrict hK.measurableSet] | |
| have : IsFiniteMeasure ((volume : Measure E).restrict K) := | |
| β¨by simpa using hK.measure_lt_topβ© | |
| exact MemLp.of_bound (hv.comp hΞ).aestronglyMeasurable M | |
| (Filter.Eventually.of_forall (fun x => hM (Ξ x))) | |
| calc | |
| (β« x, g x * v (Ξ x)) = β« x, u x * w x := by | |
| apply integral_congr_ae | |
| filter_upwards [huSupp] with x hx | |
| by_cases h : x β K <;> simp [g,w,h,hx] | |
| _ = β« y, F y * w (Ο y) βΞΌ := huPair w hw | |
| _ = β« y, f y * v y βΞΌ := by | |
| apply integral_congr_ae | |
| filter_upwards [hF,hsupport] with y hy hs | |
| obtain β¨x,hx,rflβ© := hs | |
| simp [hy,w,hleft x hx,hx] | |
| end DiagonalExtension.ChartMeasure | |
| end | |
| end OAI | |