Download data/lean/OAI/Geometry/Nikodym/Abstract/ChartVolume.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.09 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/ChartVolume.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Nikodym/Abstract/ChartVolume.lean
-
curl -L -o ChartVolume.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/ChartVolume.lean
6.09 kB
| import OAI.Geometry.Nikodym.Abstract.ChartMaps | |
| import OAI.Geometry.Nikodym.Abstract.Volume | |
| import OAI.Geometry.Nikodym.Riemannian.VolumeChart | |
| noncomputable section | |
| open Set _root_.MeasureTheory Manifold Bundle | |
| open scoped ContDiff ENNReal | |
| namespace OAI.Geometry.Nikodym.LocalBeltramiChart | |
| variable {n : β} {M : Type*} [TopologicalSpace M] | |
| [ChartedSpace (EuclideanSpace β (Fin n)) M] | |
| [MeasurableSpace M] [BorelSpace M] | |
| [IsManifold π(β,EuclideanSpace β (Fin n)) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,EuclideanSpace β (Fin n)) x)] | |
| [IsContMDiffRiemannianBundle π(β,EuclideanSpace β (Fin n)) β | |
| (EuclideanSpace β (Fin n)) | |
| (fun x : M => TangentSpace π(β,EuclideanSpace β (Fin n)) x)] | |
| variable {p : M} {ΞΊ : β} | |
| variable (C : LocalBeltramiChart (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p) ΞΊ | |
| (extChartAt π(β,EuclideanSpace β (Fin n)) p p)) | |
| /-- The constructed manifold chart transports the actual Riemannian | |
| volume into Beltrami volume, on every measurable part of its source. -/ | |
| theorem map_atlasRiemannianVolume_restrict {A : Set M} | |
| (hAm : MeasurableSet A) (hA : A β C.manifoldChart.source) : | |
| Measure.map C.manifoldForward ((atlasRiemannianVolume (n:=n) p).restrict A) = | |
| (beltramiVolume ΞΊ).restrict (C.manifoldForward '' A) := by | |
| classical | |
| let F := C.chart.source.piecewise C.chart (fun _ => 0) | |
| have hFm : Measurable F := C.chart.continuousOn.measurable_piecewise | |
| continuousOn_const C.chart.open_source.measurableSet | |
| have hAA : A β (extChartAt π(β,EuclideanSpace β (Fin n)) p).source := | |
| hA.trans C.manifoldChart_source_subset_ext | |
| have hImage := measurableSet_atlasForward_image p hAm hAA | |
| have hIS : atlasForward (E:=EuclideanSpace β (Fin n)) p '' A β C.chart.source := by | |
| rintro _ β¨x,hx,rflβ© | |
| exact C.atlasForward_mem_chart_source (hA hx) | |
| have hcomp : C.manifoldForward =α΅[(atlasRiemannianVolume (n:=n) p).restrict A] | |
| F β atlasForward (E:=EuclideanSpace β (Fin n)) p := by | |
| filter_upwards [ae_restrict_mem hAm] with x hx | |
| rw [C.manifoldForward_eq_chart_atlasForward (hA hx)] | |
| change C.chart (atlasForward p x) = | |
| C.chart.source.piecewise C.chart (fun _ => 0) (atlasForward p x) | |
| exact (piecewise_eq_of_mem _ _ _ (C.atlasForward_mem_chart_source (hA hx))).symm | |
| rw [Measure.map_congr hcomp,βMeasure.map_map hFm (measurable_atlasForward p), | |
| OAI.Geometry.Nikodym.map_atlasRiemannianVolume_restrict p hAm hAA] | |
| calc | |
| Measure.map F ((abstractChartMetric p).coordinateVolume.restrict | |
| (atlasForward p '' A)) = | |
| Measure.map C.chart ((abstractChartMetric p).coordinateVolume.restrict | |
| (atlasForward p '' A)) := by | |
| apply Measure.map_congr | |
| filter_upwards [ae_restrict_mem hImage] with y hy | |
| exact piecewise_eq_of_mem _ _ _ (hIS hy) | |
| _ = _ := by rw [C.map_volume_restrict hImage hIS,βC.manifoldForward_image_eq hA] | |
| theorem atlasRiemannianVolume_eq_beltramiVolume_image {A : Set M} | |
| (hAm : MeasurableSet A) (hA : A β C.manifoldChart.source) : | |
| atlasRiemannianVolume (n:=n) p A = beltramiVolume ΞΊ (C.manifoldForward '' A) := by | |
| have h := congrArg (fun ΞΌ => ΞΌ Set.univ) (C.map_atlasRiemannianVolume_restrict hAm hA) | |
| simpa only [Measure.map_apply C.measurable_manifoldForward MeasurableSet.univ, | |
| preimage_univ,Measure.restrict_apply MeasurableSet.univ,univ_inter] using h | |
| theorem map_atlasRiemannianVolume_patch {V : Set (EuclideanSpace β (Fin n))} | |
| (hVm : MeasurableSet V) (hV : V β C.chart.target) : | |
| Measure.map C.manifoldForward ((atlasRiemannianVolume (n:=n) p).restrict | |
| (C.manifoldChart.source β© C.manifoldForward β»ΒΉ' V)) = | |
| (beltramiVolume ΞΊ).restrict V := by | |
| rw [C.map_atlasRiemannianVolume_restrict | |
| (C.manifoldChart.open_source.measurableSet.inter (C.measurable_manifoldForward hVm)) | |
| inter_subset_left,C.manifoldForward_image_patch hV] | |
| theorem exists_atlasRiemannianVolume_patch_constants | |
| {V : Set (EuclideanSpace β (Fin n))} | |
| (hVm : MeasurableSet V) (hV : V β C.chart.target) | |
| (hsmall : β y β V, |ΞΊ| * βyβ^2 β€ 1/2) : | |
| β a b : ββ₯0β, a β β€ β§ b β β€ β§ | |
| Measure.map C.manifoldForward ((atlasRiemannianVolume (n:=n) p).restrict | |
| (C.manifoldChart.source β© C.manifoldForward β»ΒΉ' V)) β€ b β’ volume β§ | |
| volume.restrict V β€ a β’ | |
| Measure.map C.manifoldForward ((atlasRiemannianVolume (n:=n) p).restrict | |
| (C.manifoldChart.source β© C.manifoldForward β»ΒΉ' V)) := by | |
| rw [C.map_atlasRiemannianVolume_patch hVm hV] | |
| let a : ββ₯0β := ENNReal.ofReal (Real.sqrt ((2/3 : β)^(n+1))) | |
| let b : ββ₯0β := ENNReal.ofReal (Real.sqrt ((2 : β)^(n+1))) | |
| have ha : 0 < a := ENNReal.ofReal_pos.mpr | |
| (Real.sqrt_pos.mpr (pow_pos (by norm_num) _)) | |
| have hat : a β β€ := ENNReal.ofReal_ne_top | |
| obtain β¨hlo,hupβ© := beltramiVolume_restrict_bounds hVm hsmall | |
| refine β¨aβ»ΒΉ,b,ENNReal.inv_ne_top.mpr ha.ne',ENNReal.ofReal_ne_top,?_,?_β© | |
| Β· exact hup.trans (smul_le_smul_left b Measure.restrict_le_self) | |
| Β· have h : aβ»ΒΉ β’ (a β’ volume.restrict V) β€ | |
| aβ»ΒΉ β’ (beltramiVolume ΞΊ).restrict V := smul_le_smul_left aβ»ΒΉ hlo | |
| simpa only [smul_smul,ENNReal.inv_mul_cancel ha.ne' hat,one_smul] using h | |
| theorem volume_manifoldForward_image_pos {A : Set M} | |
| (hAm : MeasurableSet A) (hA : A β C.manifoldChart.source) | |
| (hsmall : β y β C.manifoldForward '' A, |ΞΊ| * βyβ^2 β€ 1/2) | |
| (hpos : 0 < atlasRiemannianVolume (n:=n) p A) : | |
| 0 < volume (C.manifoldForward '' A) := by | |
| rw [C.atlasRiemannianVolume_eq_beltramiVolume_image hAm hA] at hpos | |
| have hup := (beltramiVolume_restrict_bounds | |
| (C.measurableSet_manifoldForward_image hAm hA) hsmall).2 Set.univ | |
| simp only [Measure.restrict_apply MeasurableSet.univ,univ_inter, | |
| Measure.smul_apply,smul_eq_mul] at hup | |
| by_contra h | |
| have hz : volume (C.manifoldForward '' A) = 0 := le_antisymm (le_of_not_gt h) bot_le | |
| rw [hz,mul_zero] at hup | |
| exact (not_lt_of_ge hup) hpos | |
| end OAI.Geometry.Nikodym.LocalBeltramiChart | |