import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Adapted.AdaptedFieldUniqueness import Mathlib.Topology.Order.IntermediateValue /-! # Interval solutions of adapted transport The initial vector lies in the actual fiber of one fixed curve. Local existence provides the interval; uniqueness gives compatibility. -/ set_option autoImplicit false open scoped Manifold ContDiff Bundle Topology universe u namespace PoincareMT.ReducedLength variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] structure AdaptedIntervalSolution {J : Set ℝ} (F : RicciFlow n M J) (T : ℝ) (Ξ³ : ℝ β†’ M) (U : Set ℝ) (s0 : ℝ) (v0 : TangentSpace (𝓑 n) (Ξ³ s0)) where domain : Set ℝ open_domain : IsOpen domain preconnected_domain : IsPreconnected domain initial_mem : s0 ∈ domain domain_subset : domain βŠ† U field : βˆ€ t, TangentSpace (𝓑 n) (Ξ³ t) adapted : IsAdaptedFieldOn F T Ξ³ field domain initial_value : field s0 = v0 theorem nonempty_adaptedIntervalSolution {J : Set ℝ} (F : RicciFlow n M J) (T b : ℝ) (hb : 0 < b) (hwindow : Set.Icc (T - b) T βŠ† J) (Ξ³ : ℝ β†’ M) (U : Set ℝ) (hU : IsOpen U) (htime : U βŠ† Set.Ioo (-Real.sqrt b) (Real.sqrt b)) (hΞ³ : ContMDiffOn (π“˜(ℝ, ℝ)) (𝓑 n) ∞ Ξ³ U) (s0 : ℝ) (hs0 : s0 ∈ U) (v0 : TangentSpace (𝓑 n) (Ξ³ s0)) : Nonempty (AdaptedIntervalSolution F T Ξ³ U s0 v0) := by obtain ⟨W, d, _, hsW, _, hd, hsolve⟩ := exists_uniform_local_isAdaptedFieldOn F T b hb hwindow Ξ³ U hU htime hΞ³ s0 hs0 obtain ⟨P, hPU, hP0, hP⟩ := hsolve s0 hsW v0 exact ⟨{ domain := Set.Ioo (s0 - d) (s0 + d) open_domain := isOpen_Ioo preconnected_domain := isPreconnected_Ioo initial_mem := ⟨by linarith, by linarith⟩ domain_subset := hPU field := P adapted := hP initial_value := hP0 }⟩ theorem AdaptedIntervalSolution.eqOn {J : Set ℝ} [T2Space M] {F : RicciFlow n M J} {T : ℝ} {Ξ³ : ℝ β†’ M} {U : Set ℝ} {s0 : ℝ} {v0 : TangentSpace (𝓑 n) (Ξ³ s0)} (A B : AdaptedIntervalSolution F T Ξ³ U s0 v0) (b : ℝ) (hb : 0 < b) (hwindow : Set.Icc (T - b) T βŠ† J) (htime : U βŠ† Set.Ioo (-Real.sqrt b) (Real.sqrt b)) (hΞ³ : ContMDiffOn (π“˜(ℝ, ℝ)) (𝓑 n) ∞ Ξ³ U) : βˆ€ t ∈ A.domain ∩ B.domain, A.field t = B.field t := by exact adaptedField_eqOn F T b hb hwindow Ξ³ A.field B.field (A.domain ∩ B.domain) (A.open_domain.inter B.open_domain) (A.preconnected_domain.ordConnected.inter B.preconnected_domain.ordConnected).isPreconnected (fun _ ht ↦ htime (A.domain_subset ht.1)) (hΞ³.mono (fun _ ht ↦ A.domain_subset ht.1)) (A.adapted.mono Set.inter_subset_left) (B.adapted.mono Set.inter_subset_right) s0 ⟨A.initial_mem, B.initial_mem⟩ (A.initial_value.trans B.initial_value.symm) end PoincareMT.ReducedLength