Download data/lean/OAI/Geometry/Nikodym/Abstract/Volume.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.9 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/Volume.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Nikodym/Abstract/Volume.lean
-
curl -L -o Volume.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/Abstract/Volume.lean
4.9 kB
| import OAI.Geometry.Nikodym.AtlasMaps | |
| import OAI.Geometry.Nikodym.IntrinsicVolume | |
| noncomputable section | |
| open Set _root_.MeasureTheory Manifold Bundle | |
| open scoped ContDiff | |
| namespace OAI.Geometry.Nikodym | |
| 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)] | |
| /-- Riemannian volume restricted to the chosen ordinary atlas chart. | |
| It is defined by the determinant of the actual pulled-back metric and is | |
| extended by zero outside the chart, not by an independently chosen measure. -/ | |
| def atlasRiemannianVolume (p : M) : Measure M := | |
| Measure.map (atlasInverse (E:=EuclideanSpace β (Fin n)) p) | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume | |
| omit [MeasurableSpace M] [BorelSpace M] in | |
| theorem ae_mem_abstractChartMetric (p : M) : | |
| βα΅ y β(abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume, | |
| y β (extChartAt π(β,EuclideanSpace β (Fin n)) p).target := by | |
| rw [β OAI.Geometry.Nikodym.IntrinsicDomain.coordinateVolume_restrict_domain | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p)] | |
| exact ae_restrict_mem (isOpen_extChartAt_target p).measurableSet | |
| theorem ae_mem_atlasRiemannianVolume (p : M) : | |
| βα΅ x βatlasRiemannianVolume (n:=n) p, | |
| x β (extChartAt π(β,EuclideanSpace β (Fin n)) p).source := by | |
| apply (ae_map_iff (measurable_atlasInverse p).aemeasurable | |
| (isOpen_extChartAt_source p).measurableSet).mpr | |
| exact Filter.Eventually.of_forall (atlasInverse_mem p) | |
| theorem atlasRiemannianVolume_restrict_source (p : M) : | |
| (atlasRiemannianVolume (n:=n) p).restrict | |
| (extChartAt π(β,EuclideanSpace β (Fin n)) p).source = | |
| atlasRiemannianVolume (n:=n) p := | |
| Measure.restrict_eq_self_of_ae_mem (ae_mem_atlasRiemannianVolume p) | |
| /-- Ordinary atlas coordinates recover precisely the determinant density. -/ | |
| theorem map_atlasRiemannianVolume (p : M) : | |
| Measure.map (atlasForward (E:=EuclideanSpace β (Fin n)) p) | |
| (atlasRiemannianVolume (n:=n) p) = | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume := by | |
| rw [atlasRiemannianVolume,Measure.map_map (measurable_atlasForward p) | |
| (measurable_atlasInverse p)] | |
| calc | |
| Measure.map (atlasForward p β atlasInverse p) | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume = | |
| Measure.map id (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume := by | |
| apply Measure.map_congr | |
| filter_upwards [ae_mem_abstractChartMetric p] with y hy | |
| exact atlasForward_inverse p hy | |
| _ = _ := Measure.map_id | |
| theorem map_atlasRiemannianVolume_restrict (p : M) {A : Set M} | |
| (hAm : MeasurableSet A) | |
| (hA : A β (extChartAt π(β,EuclideanSpace β (Fin n)) p).source) : | |
| Measure.map (atlasForward (E:=EuclideanSpace β (Fin n)) p) | |
| ((atlasRiemannianVolume (n:=n) p).restrict A) = | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume.restrict | |
| (atlasForward (E:=EuclideanSpace β (Fin n)) p '' A) := by | |
| let F := atlasForward (E:=EuclideanSpace β (Fin n)) p | |
| let S := (extChartAt π(β,EuclideanSpace β (Fin n)) p).source | |
| have him := measurableSet_atlasForward_image p hAm hA | |
| have hpre : F β»ΒΉ' (F '' A) β© S = A := by | |
| ext x | |
| constructor | |
| Β· rintro β¨β¨y,hy,hxyβ©,hxβ© | |
| have he : y = x := by | |
| have := congrArg (atlasInverse p) hxy | |
| simpa only [F,atlasInverse_forward p (hA hy),atlasInverse_forward p hx] using this | |
| exact he βΈ hy | |
| Β· intro hx | |
| exact β¨β¨x,hx,rflβ©,hA hxβ© | |
| have h := congrArg (fun ΞΌ => ΞΌ.restrict (F '' A)) (map_atlasRiemannianVolume p) | |
| rw [Measure.restrict_map (measurable_atlasForward p) him] at h | |
| rw [β atlasRiemannianVolume_restrict_source p, | |
| Measure.restrict_restrict ((measurable_atlasForward p) him),hpre] at h | |
| exact h | |
| theorem atlasRiemannianVolume_eq_coordinateVolume_image (p : M) {A : Set M} | |
| (hAm : MeasurableSet A) | |
| (hA : A β (extChartAt π(β,EuclideanSpace β (Fin n)) p).source) : | |
| atlasRiemannianVolume (n:=n) p A = | |
| (abstractChartMetric (E:=EuclideanSpace β (Fin n)) p).coordinateVolume | |
| (atlasForward (E:=EuclideanSpace β (Fin n)) p '' A) := by | |
| have h := congrArg (fun ΞΌ => ΞΌ Set.univ) (map_atlasRiemannianVolume_restrict p hAm hA) | |
| simpa only [Measure.map_apply (measurable_atlasForward p) MeasurableSet.univ, | |
| preimage_univ,Measure.restrict_apply MeasurableSet.univ,univ_inter] using h | |
| end OAI.Geometry.Nikodym | |