import Mathlib import OAI.Analysis.BiholderTransport.CostGeometry.UniformLocalGap import OAI.Analysis.BiholderTransport.CostGeometry.LimitIsolation import OAI.Analysis.BiholderTransport.CostGeometry.PrecutExtension namespace OAI noncomputable section open Set Filter Manifold Bundle open scoped Topology ContDiff namespace WeakMTWTransport variable {n : ℕ} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty 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 WeakMTW.extend_injective_graphProjection (hmtw : WeakMTW (n := n) (M := M)) {v : M → ℝ} (hv : Continuous v) {T : ℝ} (hT : 0 z.1.1) ((FiberBundle.continuous_proj _ _).comp continuous_subtype_val) hδ hTI filter_upwards [eventually_gt_nhds hT,eventually_lt_nhds hTS] with t ht htS exact hsep t ⟨ht,htS.le⟩ obtain ⟨ε,hε,hball⟩ := Metric.mem_nhds_iff.mp hnear let R := T+min (ε/2) ((1-T)/2) have hTR : T h.2.1.le⟩ have hB : 0 h.2.1.le) have hBI : ∀ s ∈ Ioo (0:ℝ) (sSup A), Function.Injective (graphProjection (n := n) (cTransform v) s) := by intro s hs obtain ⟨R,hRA,hsR⟩ := exists_lt_of_lt_csSup hA hs.2 exact hRA.2.2 s ⟨hs.1,hsR.le⟩ have heq : sSup A=1 := by apply le_antisymm hB1 by_contra hn obtain ⟨R,hBR,hR1,hRI⟩ := hmtw.extend_injective_graphProjection hv hB (lt_of_not_ge hn) hBI have hRA : R∈A := ⟨hB.trans hBR,hR1,hRI⟩ exact (not_lt_of_ge (le_csSup hAb hRA)) hBR apply hBI t exact ⟨ht,by rwa [heq]⟩ lemma WeakMTW.active_hull_precut (hmtw : WeakMTW (n := n) (M := M)) {v : M → ℝ} (hv : Continuous v) {t : ℝ} (ht : 0 hmtw.injective_graphProjection hv hs.1 (hs.2.trans ht1)) end WeakMTWTransport end end OAI