/- Adapted from Mapher `PoincareMT/Proofs/M03/Existence/IntegralGaugeRecovery.lean` at f927d9e1f0810042766d3b5f64d3f4da02ee93cc. See `references/ricci-flow/mapher/local-theory/port.json`. -/ import PoincareLib.Geometry.RicciFlow.Local.Gauge.Pullback.GaugeRecovery import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Gauge.DeTurckGaugeSign /-! # Integral-form gauge recovery boundary An actual chart producer naturally gives a Volterra reconstruction identity. This helper converts that identity, source continuity, and the negative- DeTurck cancellation into the derivative certificate consumed by `GaugeRecovery`. It introduces no solver premise beyond those explicit identities. -/ set_option autoImplicit false open scoped Manifold ContDiff universe u namespace PoincareMT variable {n : ā„•} {M : Type u} [TopologicalSpace M] [T2Space M] [SecondCountableTopology M] [ChartedSpace (EuclideanSpace ā„ (Fin n)) M] [IsManifold (š“” n) āˆž M] [CompactSpace M] namespace IntegralGaugeRecovery structure Certificate (gā‚€ : RiemannianMetric n M) where T : ā„ hT : 0 < T metric : ā„ → RiemannianMetric n M connection : āˆ€ t : ā„, LeviCivitaData (metric t) smooth : RiemannianMetric.IsSmoothFamilyOn metric (Set.Ico 0 T) initial : metric 0 = gā‚€ source : āˆ€ (t : ā„) (x : M), TangentSpace (š“” n) x → TangentSpace (š“” n) x → ā„ gaugeCorrection : āˆ€ (t : ā„) (x : M), TangentSpace (š“” n) x → TangentSpace (š“” n) x → ā„ source_continuous : āˆ€ (x : M) (u v : TangentSpace (š“” n) x), ContinuousOn (fun s => source s x u v - gaugeCorrection s x u v) (Set.Ico 0 T) integral_equation : āˆ€ (t : ā„), t ∈ Set.Ico 0 T → āˆ€ (x : M) (u v : TangentSpace (š“” n) x), (metric t).inner x u v = gā‚€.inner x u v + ∫ s in (0 : ā„)..t, source s x u v - gaugeCorrection s x u v cancellation : āˆ€ (t : ā„), t ∈ Set.Ico 0 T → āˆ€ (D : LeviCivitaData (metric t)) (x : M) (u v : TangentSpace (š“” n) x), source t x u v - gaugeCorrection t x u v = -2 * D.ricci x u v theorem derivative {gā‚€ : RiemannianMetric n M} (C : Certificate (n := n) (M := M) gā‚€) (t : ā„) (ht : t ∈ Set.Ico 0 C.T) (D : LeviCivitaData (C.metric t)) (x : M) (u v : TangentSpace (š“” n) x) : HasDerivWithinAt (fun s => (C.metric s).inner x u v) (-2 * D.ricci x u v) (Set.Ico 0 C.T) t := by have hsrc : ContinuousOn (fun s => C.source s x u v - C.gaugeCorrection s x u v) (Set.Ico 0 C.T) := C.source_continuous x u v have hderiv := DeTurckNative.hasDerivWithinAt_metric_of_intervalIntegral_Ico (gā‚€ := gā‚€) (g := C.metric) (h := fun s p a b => C.source s p a b - C.gaugeCorrection s p a b) (hcont := fun p a b => C.source_continuous p a b) (hint := C.integral_equation) ht x u v exact hderiv.congr_deriv (C.cancellation t ht D x u v) theorem exists_metricFamily {gā‚€ : RiemannianMetric n M} (C : Certificate (n := n) (M := M) gā‚€) : ∃ T : ā„, 0 < T ∧ ∃ g : ā„ → RiemannianMetric n M, g 0 = gā‚€ ∧ RiemannianMetric.IsSmoothFamilyOn g (Set.Ico 0 T) ∧ āˆ€ (t : ā„), t ∈ Set.Ico 0 T → āˆ€ (D : LeviCivitaData (g t)) (x : M) (u v : TangentSpace (š“” n) x), HasDerivWithinAt (fun s ↦ (g s).inner x u v) (-2 * D.ricci x u v) (Set.Ico 0 T) t := by refine ⟨C.T, C.hT, C.metric, C.initial, C.smooth, ?_⟩ intro t ht D x u v exact derivative C t ht D x u v end IntegralGaugeRecovery end PoincareMT