Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Coordinates.ActiveHull | |
| import OAI.Analysis.BiholderTransport.Coordinates.LocalMetricCharts | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory Manifold Bundle | |
| open scoped ENNReal NNReal ContDiff Topology | |
| namespace WeakMTWTransport | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] | |
| [ChartedSpace (Model n) M] [IsManifold π(β,Model n) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] | |
| lemma activeLog_derivative_eq {v : M β β} (hv : Continuous v) {x : M} | |
| {p : TangentSpace π(β,Model n) x} (hp : p β activeLogs v x) | |
| {D : TangentSpace π(β,Model n) x βL[β] β} | |
| (hD : HasFDerivAt (fun h => cTransform v (riemannianExp x h)) D 0) : | |
| D = innerSL β p := by | |
| have hID := contracted_minimizer_mem_injectivityDomain hp.1 | |
| (show (0:β)<1/2 by norm_num) (show (1/2:β)<1 by norm_num) | |
| let f := fun h : TangentSpace π(β,Model n) x => | |
| cTransform v (riemannianExp x h) + 2 * normalCost x ((1/2:β) β’ p) h | |
| have hmin : IsLocalMin f 0 := by | |
| apply Filter.Eventually.of_forall | |
| intro h | |
| have hh := active_split_lower_support hv hp.1 hp.2 | |
| (show (0:β)<1/2 by norm_num) (show (1/2:β)<1 by norm_num) (riemannianExp x h) | |
| dsimp [f,normalCost] | |
| rw [riemannianExp_zero] | |
| linarith | |
| have hf : HasFDerivAt f (D - innerSL β p) 0 := by | |
| apply (hD.add ((normalCost_hasFDerivAt_zero hID).const_mul 2)).congr_fderiv | |
| ext h | |
| simp only [_root_.add_apply,_root_.sub_apply, | |
| _root_.smul_apply,innerSL_apply_apply,inner_neg_left, | |
| real_inner_smul_left,smul_eq_mul] | |
| ring | |
| exact sub_eq_zero.mp (hmin.hasFDerivAt_eq_zero hf) | |
| lemma activeLogs_subsingleton_of_mdifferentiable {v : M β β} (hv : Continuous v) | |
| {x : M} (hD : MDifferentiableAt π(β,Model n) π(β,β) (cTransform v) x) : | |
| (activeLogs (n := n) v x).Subsingleton := by | |
| have hD' : DifferentiableAt β (fun h : TangentSpace π(β,Model n) x => cTransform v (riemannianExp x h)) 0 := by | |
| have he := ((contMDiff_riemannianExp_fiber (n := n) x 0).mdifferentiableAt (by simp)) | |
| have hD0 : MDifferentiableAt π(β,Model n) π(β,β) (cTransform v) | |
| (riemannianExp (n := n) x 0) := by simpa only [riemannianExp_zero] using hD | |
| exact (hD0.comp 0 he).differentiableAt | |
| intro p hp q hq | |
| have hh := (activeLog_derivative_eq hv hp hD'.hasFDerivAt).symm.trans | |
| (activeLog_derivative_eq hv hq hD'.hasFDerivAt) | |
| apply ext_inner_right β | |
| intro h | |
| exact congrArg (fun D : TangentSpace π(β,Model n) x βL[β] β => D h) hh | |
| lemma contact_singleton_of_mdifferentiable {v : M β β} (hv : Continuous v) | |
| {x : M} (hD : MDifferentiableAt π(β,Model n) π(β,β) (cTransform v) x) | |
| {y z : M} (hy : contactGap (cTransform v) v x y = 0) | |
| (hz : contactGap (cTransform v) v x z = 0) : y = z := by | |
| obtain β¨p,hp,hepβ© := exists_minimizing_vector (n := n) x y | |
| obtain β¨q,hq,heqβ© := exists_minimizing_vector (n := n) x z | |
| have hp' : p β activeLogs v x := β¨hp,by simpa only [hep] using hyβ© | |
| have hq' : q β activeLogs v x := β¨hq,by simpa only [heq] using hzβ© | |
| have he := activeLogs_subsingleton_of_mdifferentiable hv hD hp' hq' | |
| exact hep.symm.trans ((congrArg (riemannianExp x) he).trans heq) | |
| variable [MeasurableSpace M] [BorelSpace M] | |
| lemma lipschitz_ae_mdifferentiable_metricVolume {u : M β β} {K : ββ₯0} | |
| (hu : LipschitzWith K u) : | |
| βα΅ x β(metricVolume (M := M) n), MDifferentiableAt π(β,Model n) π(β,β) u x := by | |
| have : IsContinuousRiemannianBundle (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x) := continuousRiemannianBundle_of_smooth (IB := π(β,Model n)) | |
| have hh := lipschitz_ae_mdifferentiable (E := Model n) hu | |
| have hh' : βα΅ x β(Measure.hausdorffMeasure (n : β) : Measure M), | |
| MDifferentiableAt π(β,Model n) π(β,β) u x := by | |
| simpa [Model] using hh | |
| exact Measure.smul_absolutelyContinuous.ae_le hh' | |
| lemma cTransform_ae_singleton_contacts [Nonempty M] {v : M β β} (hv : Continuous v) : | |
| βα΅ x β(metricVolume (M := M) n), | |
| β y z : M, contactGap (cTransform v) v x y = 0 β | |
| contactGap (cTransform v) v x z = 0 β y = z := by | |
| have hlip := cTransform_lipschitz hv (D := β¨Metric.diam (univ : Set M),Metric.diam_nonnegβ©) | |
| (fun x y => Metric.dist_le_diam_of_mem isCompact_univ.isBounded (mem_univ x) (mem_univ y)) | |
| filter_upwards [lipschitz_ae_mdifferentiable_metricVolume (n := n) hlip] with x hx | |
| exact fun y z hy hz => contact_singleton_of_mdifferentiable hv hx hy hz | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 4.83 kB
- Xet hash:
- d29a4c36d2afe60e931635f6fbb7a61fce49994e9eb29651956c5a31a066e9b3
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.