Download data/lean/OAI/Geometry/Nikodym/AtlasVolumeCompatibility.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.79 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/AtlasVolumeCompatibility.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Nikodym/AtlasVolumeCompatibility.lean
-
curl -L -o AtlasVolumeCompatibility.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Nikodym/AtlasVolumeCompatibility.lean
4.79 kB
| import OAI.Geometry.Nikodym.AtlasVolumeCompatibilityMetric | |
| import OAI.Geometry.Nikodym.Abstract.Volume | |
| import OAI.Geometry.Nikodym.Riemannian.VolumeMap | |
| 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)] | |
| local notation "πΌ" => EuclideanSpace β (Fin n) | |
| local notation "I" => π(β,πΌ) | |
| omit [MeasurableSpace M] [BorelSpace M] [IsManifold (π‘ n) β M] [RiemannianBundle fun x : M β¦ TangentSpace (π‘ n) x] [IsContMDiffRiemannianBundle (π‘ n) β πΌ fun x : M β¦ TangentSpace (π‘ n) x] in | |
| theorem atlasForward_image_eq_extChartAt (p : M) {A : Set M} | |
| (hA : A β (extChartAt I p).source) : | |
| atlasForward (E:=πΌ) p '' A = extChartAt I p '' A := by | |
| apply image_congr | |
| exact fun x hx => atlasForward_eq p (hA hx) | |
| /-- The volume assigned to a measurable set in two overlapping ordinary charts | |
| agrees. The proof uses the actual metric pullback and its Jacobian density. -/ | |
| theorem atlasRiemannianVolume_eq_on_overlap (p q : M) {A : Set M} | |
| (hA : MeasurableSet A) (hp : A β (extChartAt I p).source) | |
| (hq : A β (extChartAt I q).source) : | |
| atlasRiemannianVolume (n:=n) p A = atlasRiemannianVolume (n:=n) q A := by | |
| let S := extChartAt I p '' A | |
| have hS : MeasurableSet S := by | |
| change MeasurableSet (extChartAt I p '' A) | |
| rw [β atlasForward_image_eq_extChartAt p hp] | |
| exact measurableSet_atlasForward_image p hA hp | |
| have hSD : S β atlasTransitionDomain (E:=πΌ) p q := by | |
| rintro y β¨x, hx, rflβ© | |
| refine β¨(extChartAt I p).map_source (hp hx), ?_β© | |
| change (extChartAt I p).symm (extChartAt I p x) β (extChartAt I q).source | |
| simpa only [(extChartAt I p).left_inv (hp hx)] using hq hx | |
| have hFD : MapsTo (atlasTransition (E:=πΌ) p q) S (abstractChartMetric (E:=πΌ) q).domain := by | |
| intro y hy | |
| exact (extChartAt I q).map_source (hSD hy).2 | |
| have hder : β y β S, HasFDerivWithinAt (atlasTransition (E:=πΌ) p q) | |
| (fderiv β (atlasTransition (E:=πΌ) p q) y) S y := | |
| fun y hy => (atlasTransition_hasFDerivAt p q (hSD hy)).hasFDerivWithinAt | |
| have hinj : InjOn (atlasTransition (E:=πΌ) p q) S := by | |
| rintro y β¨x, hx, rflβ© z β¨w, hw, rflβ© he | |
| have he' : extChartAt I q x = extChartAt I q w := by | |
| simpa only [atlasTransition, Function.comp_apply, | |
| (extChartAt I p).left_inv (hp hx), (extChartAt I p).left_inv (hp hw)] using he | |
| exact congrArg (extChartAt I p) ((extChartAt I q).injOn (hq hx) (hq hw) he') | |
| have hmap := (abstractChartMetric (E:=πΌ) p).map_coordinateVolume_restrict | |
| (abstractChartMetric (E:=πΌ) q) hS (fun y hy => (hSD hy).1) hFD hder hinj | |
| (fun y hy u v => abstractChartMetric_transition_inner p q (hSD hy) u v) | |
| have hi : atlasTransition (E:=πΌ) p q '' S = extChartAt I q '' A := by | |
| rw [image_image] | |
| apply image_congr | |
| intro x hx | |
| simp only [atlasTransition, Function.comp_apply, (extChartAt I p).left_inv (hp hx)] | |
| have hm : AEMeasurable (atlasTransition (E:=πΌ) p q) | |
| ((abstractChartMetric (E:=πΌ) p).coordinateVolume.restrict S) := | |
| (show ContinuousOn (atlasTransition (E:=πΌ) p q) S from | |
| fun y hy => (hder y hy).continuousWithinAt).aemeasurable hS | |
| have hv := congrArg (fun ΞΌ : Measure πΌ => ΞΌ Set.univ) hmap | |
| rw [Measure.map_apply_of_aemeasurable hm MeasurableSet.univ] at hv | |
| simp only [preimage_univ, Measure.restrict_apply MeasurableSet.univ, univ_inter, hi] at hv | |
| rw [atlasRiemannianVolume_eq_coordinateVolume_image p hA hp, | |
| atlasRiemannianVolume_eq_coordinateVolume_image q hA hq, | |
| atlasForward_image_eq_extChartAt p hp, atlasForward_image_eq_extChartAt q hq] | |
| exact hv | |
| /-- Actual Riemannian atlas measures are compatible on their source overlap. -/ | |
| theorem atlasRiemannianVolume_restrict_overlap (p q : M) : | |
| (atlasRiemannianVolume (n:=n) p).restrict | |
| ((extChartAt I p).source β© (extChartAt I q).source) = | |
| (atlasRiemannianVolume (n:=n) q).restrict | |
| ((extChartAt I p).source β© (extChartAt I q).source) := by | |
| ext A hA | |
| rw [Measure.restrict_apply hA, Measure.restrict_apply hA] | |
| exact atlasRiemannianVolume_eq_on_overlap p q | |
| (hA.inter ((isOpen_extChartAt_source p).measurableSet.inter | |
| (isOpen_extChartAt_source q).measurableSet)) | |
| (fun _ hx => hx.2.1) (fun _ hx => hx.2.2) | |
| end OAI.Geometry.Nikodym | |