Buckets:
| import Mathlib | |
| import OAI.Geometry.TamingCompatibility.Functional.GeometricQuadraticMass | |
| namespace OAI | |
| noncomputable section | |
| namespace TamingCompatibility.GeometricHilbert.GeometricNormalCharts | |
| open Bundle Manifold ManifoldForms Set MeasureTheory | |
| open scoped Bundle Manifold ContDiff ENNReal | |
| variable {X : Type*} [TopologicalSpace X] [ChartedSpace Space X] [IsManifold Model ∞ X] | |
| [T2Space X] [CompactSpace X] [ConnectedSpace X] | |
| @[reducible] def geometricMetricSpace (J : AlmostComplexStructure X) (α : TwoForm X) | |
| (hs : IsSmooth α) (ht : Tames α J) : MetricSpace X := by | |
| let g := hermitianMetric J α hs ht | |
| let : RiemannianBundle (TangentSpace Model : X → Type) := ⟨g.toRiemannianMetric⟩ | |
| let : IsContinuousRiemannianBundle Space (TangentSpace Model : X → Type) := | |
| ⟨g.inner,g.contMDiff.continuous,fun _ _ _ => rfl⟩ | |
| let : EMetricSpace X := .ofRiemannianMetric Model X | |
| apply EMetricSpace.toMetricSpace | |
| intro x y | |
| have hb : Metric.eball x ⊤ = univ := | |
| (show IsClopen (Metric.eball x ⊤) from | |
| ⟨Metric.isClosed_eball_top,Metric.isOpen_eball⟩).eq_univ ⟨x,by simp⟩ | |
| have hy : y ∈ Metric.eball x ⊤ := by rw [hb]; trivial | |
| exact (by simpa only [Metric.mem_eball,edist_comm] using hy : edist x y < ⊤).ne | |
| lemma geometric_dist_eq (J : AlmostComplexStructure X) (α : TwoForm X) | |
| (hs : IsSmooth α) (ht : Tames α J) (x y : X) : | |
| let := geometricMetricSpace J α hs ht | |
| dist x y = (hermitianEDist J α hs ht x y).toReal := rfl | |
| lemma geometric_edist_eq (J : AlmostComplexStructure X) (α : TwoForm X) | |
| (hs : IsSmooth α) (ht : Tames α J) (x y : X) : | |
| let := geometricMetricSpace J α hs ht | |
| edist x y = hermitianEDist J α hs ht x y := rfl | |
| lemma geometric_diameter_bound (J : AlmostComplexStructure X) (α : TwoForm X) | |
| (hs : IsSmooth α) (ht : Tames α J) : | |
| ∃ C : ℝ, 0 < C ∧ ∀ x y : X, (hermitianEDist J α hs ht x y).toReal ≤ C := by | |
| let := geometricMetricSpace J α hs ht | |
| obtain ⟨C,hC⟩ := isCompact_univ.exists_bound_of_continuousOn | |
| (f := fun z : X × X => dist z.1 z.2) (continuous_fst.dist continuous_snd).continuousOn | |
| refine ⟨max C 0+1,by positivity,fun x y => ?_⟩ | |
| rw [← geometric_dist_eq J α hs ht x y] | |
| exact (le_abs_self _).trans ((hC (x,y) (mem_univ _)).trans (by linarith [le_max_left C 0])) | |
| end TamingCompatibility.GeometricHilbert.GeometricNormalCharts | |
| namespace TamingCompatibility.RiemannianChartDistance | |
| open Bundle Manifold Set Metric MeasureTheory | |
| open scoped Manifold ContDiff ENNReal NNReal | |
| variable {E X : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| [TopologicalSpace X] [ChartedSpace E X] [IsManifold 𝓘(ℝ,E) 1 X] | |
| [RiemannianBundle (fun x : X => TangentSpace 𝓘(ℝ,E) x)] | |
| attribute [local instance] normedAddCommGroupTangentSpaceVectorSpace normedSpaceTangentSpaceVectorSpace | |
| ContinuousLinearMap.toNormedAddCommGroup ContinuousLinearMap.toNormedSpace | |
| private local instance inverseChartNormedAddCommGroup (z : E) (x : X) : | |
| NormedAddCommGroup (TangentSpace 𝓘(ℝ,E) z →L[ℝ] TangentSpace 𝓘(ℝ,E) x) := | |
| ContinuousLinearMap.toNormedAddCommGroup | |
| lemma chart_segment_bound (p : X) (K : Set E) (hconv : Convex ℝ K) | |
| (hK : K ⊆ (extChartAt 𝓘(ℝ,E) p).target) (C : ℝ≥0) | |
| (hC : ∀ z ∈ K, ‖mfderiv[Set.range 𝓘(ℝ,E)] (extChartAt 𝓘(ℝ,E) p).symm z‖ₑ ≤ C) | |
| {q r : E} (hq : q ∈ K) (hr : r ∈ K) : | |
| riemannianEDist 𝓘(ℝ,E) ((extChartAt 𝓘(ℝ,E) p).symm q) | |
| ((extChartAt 𝓘(ℝ,E) p).symm r) ≤ C*edist q r := by | |
| let η := ContinuousAffineMap.lineMap (R := ℝ) q r | |
| let γ := (extChartAt 𝓘(ℝ,E) p).symm ∘ η | |
| have hη : Icc 0 1 ⊆ η ⁻¹' K := by | |
| rw [← image_subset_iff,ContinuousAffineMap.coe_lineMap_eq,← segment_eq_image_lineMap] | |
| exact hconv.segment_subset hq hr | |
| have hηs : ContMDiffOn 𝓘(ℝ,ℝ) 𝓘(ℝ,E) 1 η (Icc 0 1) := by | |
| rw [contMDiffOn_iff_contDiffOn] | |
| exact η.contDiff.contDiffOn | |
| have hb : riemannianEDist 𝓘(ℝ,E) ((extChartAt 𝓘(ℝ,E) p).symm q) | |
| ((extChartAt 𝓘(ℝ,E) p).symm r) ≤ pathELength 𝓘(ℝ,E) γ 0 1 := by | |
| apply riemannianEDist_le_pathELength _ _ _ zero_le_one | |
| · exact (contMDiffOn_extChartAt_symm p).comp hηs (hη.trans (preimage_mono hK)) | |
| · simp [γ,η,ContinuousAffineMap.coe_lineMap_eq] | |
| · simp [γ,η,ContinuousAffineMap.coe_lineMap_eq] | |
| apply hb.trans | |
| rw [← lintegral_fderiv_lineMap_eq_edist,pathELength_eq_lintegral_mfderivWithin_Icc, | |
| ← lintegral_const_mul' _ _ ENNReal.coe_ne_top] | |
| apply setLIntegral_mono' measurableSet_Icc | |
| intro t ht | |
| have he : mfderiv[Icc 0 1] γ t = | |
| (mfderiv[Set.range 𝓘(ℝ,E)] (extChartAt 𝓘(ℝ,E) p).symm (η t)) ∘L (mfderiv[Icc 0 1] η t) := by | |
| apply mfderivWithin_comp | |
| · exact mdifferentiableWithinAt_extChartAt_symm (hK (hη ht)) | |
| · exact hηs.mdifferentiableOn one_ne_zero t ht | |
| · exact (hη.trans (preimage_mono hK)).trans (preimage_mono (extChartAt_target_subset_range p)) | |
| · rw [uniqueMDiffWithinAt_iff_uniqueDiffWithinAt] | |
| exact uniqueDiffOn_Icc zero_lt_one t ht | |
| have hev : mfderiv[Icc 0 1] γ t 1 = | |
| (mfderiv[Set.range 𝓘(ℝ,E)] (extChartAt 𝓘(ℝ,E) p).symm (η t)) (mfderiv[Icc 0 1] η t 1) := | |
| congrArg (fun L => L 1) he | |
| rw [hev] | |
| apply (ContinuousLinearMap.le_opENorm _ _).trans | |
| apply mul_le_mul (hC (η t) (hη ht)) | |
| · simp only [mfderivWithin_eq_fderivWithin] | |
| exact le_of_eq rfl | |
| · exact bot_le | |
| · exact bot_le | |
| end TamingCompatibility.RiemannianChartDistance | |
| namespace TamingCompatibility.GeometricHilbert.GeometricNormalCharts | |
| open Bundle Manifold ManifoldForms ManifoldVolume Set Filter Metric | |
| open scoped Manifold ContDiff Topology NNReal ENNReal | |
| variable {X : Type*} [TopologicalSpace X] [ChartedSpace Space X] [IsManifold Model ∞ X] | |
| variable (J : AlmostComplexStructure X) (α : TwoForm X) (hs : IsSmooth α) (ht : Tames α J) | |
| include hs in | |
| lemma chartMetric_norm_continuousOn (p : X) : | |
| ContinuousOn (fun z => ‖chartMetric J α p z‖) (extChartAt Model p).target := by | |
| let : NormedAddCommGroup (Space →L[ℝ] Space →L[ℝ] ℝ) := ContinuousLinearMap.toNormedAddCommGroup | |
| have hh : ContinuousOn (chartMetric J α p) (extChartAt Model p).target := | |
| ((hs.invariantPart J).metricCoords J p).continuousOn | |
| exact (continuous_norm : Continuous (norm : (Space →L[ℝ] Space →L[ℝ] ℝ) → ℝ)).comp_continuousOn hh | |
| attribute [local instance] normedAddCommGroupTangentSpaceVectorSpace normedSpaceTangentSpaceVectorSpace | |
| TamingCompatibility.RiemannianChartDistance.inverseChartNormedAddCommGroup | |
| lemma inverseChart_opNorm (p : X) {z : Space} (hz : z ∈ (extChartAt Model p).target) : | |
| let : RiemannianBundle (TangentSpace Model : X → Type) := ⟨(hermitianMetric J α hs ht).toRiemannianMetric⟩ | |
| ‖mfderivWithin Model Model (extChartAt Model p).symm (Set.range Model) z‖ ≤ Real.sqrt ‖chartMetric J α p z‖ := by | |
| dsimp only | |
| let : RiemannianBundle (TangentSpace Model : X → Type) := ⟨(hermitianMetric J α hs ht).toRiemannianMetric⟩ | |
| rw [show Set.range Model = univ by simp [Model],mfderivWithin_univ] | |
| apply ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg _) | |
| intro u | |
| have he : ‖mfderiv Model Model (extChartAt Model p).symm z u‖^2 = chartMetric J α p z u u := by | |
| exact (real_inner_self_eq_norm_sq _).symm.trans | |
| (chartMetric_derivative J α p hz u u).symm | |
| have hb : chartMetric J α p z u u ≤ ‖chartMetric J α p z‖*‖u‖^2 := by | |
| calc | |
| _ ≤ ‖chartMetric J α p z u u‖ := le_abs_self _ | |
| _ ≤ ‖chartMetric J α p z‖*‖u‖*‖u‖ := ContinuousLinearMap.le_opNorm₂ _ _ _ | |
| _ = _ := by ring | |
| apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg u))).mp | |
| rw [mul_pow,Real.sq_sqrt (norm_nonneg (chartMetric J α p z))] | |
| exact he.trans_le hb | |
| variable [T2Space X] [CompactSpace X] [ConnectedSpace X] | |
| lemma chartInverse_locallyLipschitz (p : X) : | |
| let := geometricMetricSpace J α hs ht | |
| LocallyLipschitzOn (extChartAt Model p).target (extChartAt Model p).symm := by | |
| dsimp only | |
| let g := hermitianMetric J α hs ht | |
| let : RiemannianBundle (TangentSpace Model : X → Type) := ⟨g.toRiemannianMetric⟩ | |
| let : IsContinuousRiemannianBundle Space (TangentSpace Model : X → Type) := | |
| ⟨g.inner,g.contMDiff.continuous,fun _ _ _ => rfl⟩ | |
| let := geometricMetricSpace J α hs ht | |
| intro z hz | |
| have hc : ContinuousAt (fun y => ‖chartMetric J α p y‖) z := | |
| (chartMetric_norm_continuousOn J α hs p).continuousAt | |
| ((isOpen_extChartAt_target p).mem_nhds hz) | |
| let C := Real.sqrt (‖chartMetric J α p z‖+1) | |
| have hC : 0 ≤ C := Real.sqrt_nonneg _ | |
| have hn : {y | ‖chartMetric J α p y‖ < ‖chartMetric J α p z‖+1} ∈ 𝓝 z := | |
| hc.preimage_mem_nhds (Iio_mem_nhds (by linarith)) | |
| obtain ⟨r,hr,hrsub⟩ := Metric.mem_nhds_iff.mp | |
| (inter_mem ((isOpen_extChartAt_target p).mem_nhds hz) hn) | |
| refine ⟨⟨C,hC⟩,Metric.ball z r,mem_nhdsWithin_of_mem_nhds (Metric.ball_mem_nhds z hr),?_⟩ | |
| intro q hq y hy | |
| change hermitianEDist J α hs ht _ _ ≤ _ | |
| apply RiemannianChartDistance.chart_segment_bound p _ (convex_ball z r) | |
| (fun _ h => (hrsub h).1) ⟨C,hC⟩ ?_ hq hy | |
| intro w hw | |
| have hb := (inverseChart_opNorm J α hs ht p (hrsub hw).1).trans | |
| (Real.sqrt_le_sqrt (le_of_lt (hrsub hw).2)) | |
| exact ENNReal.coe_le_coe.mpr (NNReal.coe_le_coe.mp hb) | |
| lemma chartInverse_compact_lipschitz (p : X) (K : Set Space) | |
| (hK : IsCompact K) (hKt : K ⊆ (extChartAt Model p).target) : | |
| let := geometricMetricSpace J α hs ht | |
| ∃ C : ℝ≥0, LipschitzOnWith C (extChartAt Model p).symm K := by | |
| dsimp only | |
| let := geometricMetricSpace J α hs ht | |
| exact LocallyLipschitzOn.exists_lipschitzOnWith_of_compact hK | |
| ((chartInverse_locallyLipschitz J α hs ht p).mono hKt) | |
| end TamingCompatibility.GeometricHilbert.GeometricNormalCharts | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 9.92 kB
- Xet hash:
- ce1d6e7dc1c034e927aa59897df2a764e923e674d0726b2cbd0ae9caf0675e06
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.