import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.SourceNames.ReducedLength import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Ordinary.Capture.OrdinaryCaptureBranches import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Ordinary.Capture.OrdinaryCaptureSlice import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Exponential.Construction.ExponentialSliceInverse /-! # The actual endpoint differential under ordinary capture Morgan-Tian Lemma 6.19, Definition 6.25 and Proposition 7.5, pp. 114, 116, 151-152. Local equality of the two actual endpoint families identifies their manifold derivatives. The initial spatial tangent equivalence and the captured slice's local diffeomorphism preserve bijectivity, hence actual nonconjugacy in either direction. -/ set_option autoImplicit false -- Initial and target tangent aliases retain their fixed vector models. set_option backward.isDefEq.respectTransparency false open Set Filter open scoped Manifold ContDiff Bundle Topology universe u namespace PoincareMT.M14 variable {n : β„•} {X : Type u} [TopologicalSpace X] {time : X β†’ ℝ} {I : SpacetimeInterval} {G : GeneralizedLGeometryTransport n X time I} {C : Type u} [TopologicalSpace C] [ChartedSpace (EuclideanSpace ℝ (Fin n)) C] [IsManifold (𝓑 n) ∞ C] [T3Space C] [ConnectedSpace C] [SecondCountableTopology C] [MeasurableSpace C] [BorelSpace C] {K : SpacetimeInterval} {e : CompatibleSpacetimeCylinder G.spacetime (G.timeIntervals.interval K) C} {g : SpacetimeCylinderMetric e} {F : RicciFlow n C K.domain} {Ο„max : ℝ} (tβ‚€ : (G.timeIntervals.interval K).Point) (cβ‚€ : C) (D : M14OrdinaryCaptureData G C K e g F tβ‚€.val Ο„max) (hCoordinates : SpacetimeGaugeTheory.{u, u} G.leafwise G.timeIntervals) include D hCoordinates /-- On a neighborhood where the actual endpoint families agree, bijectivity of their differentials agrees, Lemma 6.19 and Proposition 7.5, pp. 114, 151-152. -/ theorem ordinaryCapture_differential_bijective_iff (E : M14ExponentialFamily G tβ‚€.val (e.toSpacetime (tβ‚€, cβ‚€))) (A : LExponentialFamily F tβ‚€.val Ο„max cβ‚€) {Ο„ : ℝ} (hΟ„ : 0 < Ο„) (hmax : Ο„ < Ο„max) (hvalid : tβ‚€.val - Ο„ ∈ K.domain) (W : TangentSpace (𝓑 n) cβ‚€) (hW : (g.spatialTangentEquiv tβ‚€ cβ‚€ W, Real.sqrt Ο„) ∈ E.domain) (U : Set (TangentSpace (𝓑 n) cβ‚€)) (hU : IsOpen U) (hWU : W ∈ U) (hsurv : βˆ€ V ∈ U, (g.spatialTangentEquiv tβ‚€ cβ‚€ V, Real.sqrt Ο„) ∈ E.domain) (heq : βˆ€ V ∈ U, E.gamma (g.spatialTangentEquiv tβ‚€ cβ‚€ V) (Real.sqrt Ο„) = e.toSpacetime (⟨tβ‚€.val - Ο„, hvalid⟩, A.gamma V Ο„)) : Function.Bijective (E.differential (g.spatialTangentEquiv tβ‚€ cβ‚€ W) (Real.sqrt Ο„) hW) ↔ Function.Bijective (A.sliceDifferential W Ο„) := by let x := e.toSpacetime (tβ‚€, cβ‚€) have : T2Space (G.Horizontal x) := FiberBundle.t2Space (EuclideanSpace ℝ (Fin n)) G.Horizontal x let metric := G.spacetime.horizontalMetric.toRiemannianMetric let : NormedAddCommGroup (G.Horizontal x) := (metric.toCore x).toNormedAddCommGroupOfTopology (metric.continuousAt x) (metric.isVonNBounded x) let : InnerProductSpace ℝ (G.Horizontal x) := .ofCoreOfTopology (metric.toCore x) (metric.continuousAt x) (metric.isVonNBounded x) let : Bundle.RiemannianBundle (G.Horizontal : G.Point β†’ Type _) := ⟨metric⟩ let ordinaryMetric := (F.metric tβ‚€.val).toRiemannianMetric let : NormedAddCommGroup (TangentSpace (𝓑 n) cβ‚€) := (ordinaryMetric.toCore cβ‚€).toNormedAddCommGroupOfTopology (ordinaryMetric.continuousAt cβ‚€) (ordinaryMetric.isVonNBounded cβ‚€) let : InnerProductSpace ℝ (TangentSpace (𝓑 n) cβ‚€) := .ofCoreOfTopology (ordinaryMetric.toCore cβ‚€) (ordinaryMetric.continuousAt cβ‚€) (ordinaryMetric.isVonNBounded cβ‚€) let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : C β†’ Type _) := ⟨ordinaryMetric⟩ let L := g.spatialTangentEquiv tβ‚€ cβ‚€ let t : (G.timeIntervals.interval K).Point := ⟨tβ‚€.val - Ο„, hvalid⟩ let f := ordinaryCaptureSliceChart D hCoordinates t let qβ‚€ := f (A.gamma W Ο„) let B := exponentialSliceMap E Ο„ hΟ„.le qβ‚€ have hB := (exponentialSliceMap_contMDiffAt E hΟ„.le qβ‚€ hW).mdifferentiableAt (by simp) have hA := (Proofs.M09.lExponentialFamily_initialSlice_contMDiffAt A W Ο„ hΟ„ hmax) |>.mdifferentiableAt (by simp) have hf := (ordinaryCaptureSliceChart_smooth D hCoordinates t).mdifferentiableAt (x := A.gamma W Ο„) (by simp) have hlocal : (fun V => B (L V)) =αΆ [𝓝 W] fun V => f (A.gamma V Ο„) := by filter_upwards [hU.mem_nhds hWU] with V hV apply Subtype.ext exact (exponentialSliceMap_val E hΟ„.le qβ‚€ (hsurv V hV)).trans (heq V hV) have hd := hlocal.mfderiv_eq (I := π“˜(ℝ, TangentSpace (𝓑 n) cβ‚€)) (I' := 𝓑 n) have hleft := mfderiv_comp W hB L.mdifferentiableAt have hright := mfderiv_comp W hf hA rw [L.mfderiv_eq] at hleft have hcomp : (mfderiv (π“˜(ℝ, G.Horizontal (e.toSpacetime (tβ‚€, cβ‚€)))) (𝓑 n) B (L W)).comp L.toContinuousLinearMap = (mfderiv (𝓑 n) (𝓑 n) f (A.gamma W Ο„)).comp (A.sliceDifferential W Ο„) := hleft.symm.trans (hd.trans hright) have hfb : Function.Bijective (mfderiv (𝓑 n) (𝓑 n) f (A.gamma W Ο„)) := by let d := (ordinaryCapture_movingCalculus D hCoordinates).slice_localDiffeomorph t exact (d.mfderivToContinuousLinearEquiv (by simp) (A.gamma W Ο„)).bijective have hiff := (Function.Bijective.of_comp_iff (mfderiv (π“˜(ℝ, G.Horizontal (e.toSpacetime (tβ‚€, cβ‚€)))) (𝓑 n) B (L W)) L.bijective).symm have hiff' := Function.Bijective.of_comp_iff' hfb (A.sliceDifferential W Ο„) have hcompare : Function.Bijective (mfderiv (π“˜(ℝ, G.Horizontal (e.toSpacetime (tβ‚€, cβ‚€)))) (𝓑 n) B (L W)) ↔ Function.Bijective (A.sliceDifferential W Ο„) := by rw [hiff] change Function.Bijective ((mfderiv (π“˜(ℝ, G.Horizontal (e.toSpacetime (tβ‚€, cβ‚€)))) (𝓑 n) B (L W)).comp L.toContinuousLinearMap) ↔ _ rw [hcomp] exact hiff' exact (exponentialSliceMap_differential_bijective_iff E hΟ„.le qβ‚€ hW).symm.trans hcompare end PoincareMT.M14