import PoincareLib.Geometry.CurveShortening.Comparison.AnnularEvolution.Plateau.Stabilization.Free.RampContinuousMinimum import PoincareLib.Geometry.CurveShortening.Comparison.AnnularEvolution.Plateau.Free.PhaseInteriorSmooth /-! Actual stabilized ramps admit an interior-smooth minimum over all positive moduli and raw free labels. The representative is produced by phase-preserving cone comparisons and target variations. Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. 447-449. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false noncomputable section open Set MeasureTheory Topology open scoped Manifold ContDiff namespace PoincareMT.M64 variable {n : β„•} {M : Type*} [TopologicalSpace M] [T2Space M] [CompactSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {a b : ℝ} {F : RicciFlow n M (Icc a b)} {circumference auxiliary : ℝ} /-- The attained stabilized free minimum has a continuous representative that is smooth on the open annulus. Source: MT Lemma 19.15, pp. 447-449, its weak minimum and sweep construction. -/ theorem auxiliaryCircle_free_ramp_smooth_minimum (P : M62.CircleProductData F circumference) (Q : M62.CircleProductData P.flow auxiliary) (time : ℝ) (gamma0 gamma1 : ℝ β†’ P.charts.Point) (hgamma0 : ContMDiff π“˜(ℝ, ℝ) (𝓑 (n + 1)) 2 gamma0) (hgamma1 : ContMDiff π“˜(ℝ, ℝ) (𝓑 (n + 1)) 2 gamma1) (hp0 : Function.Periodic gamma0 curvePeriod) (hp1 : Function.Periodic gamma1 curvePeriod) (hramp0 : M63IsRampAt P gamma0 time) (hramp1 : M63IsRampAt P gamma1 time) (A0 : M64Annulus (P.flow.metric time) gamma0 gamma1) {delta : ℝ} (hdelta : 0 < delta) (hsmall : delta < auxiliary) : let c0 := auxiliaryCircleSection Q (Q.circle.quotient 0) ∘ gamma0 let c1 := auxiliaryCircleSection Q (Q.circle.quotient delta) ∘ gamma1 βˆƒ (m : β„•) (e : Q.charts.Point β†’ EuclideanSpace ℝ (Fin m)) (R T : EuclideanSpace ℝ (Fin m) β†’L[ℝ] LoopPlane) (H0 H1 : ℝ ≃o ℝ) (D : ℝ) (B : Q.charts.Point β†’ EuclideanSpace ℝ (Fin m) β†’L[ℝ] EuclideanSpace ℝ (Fin m) β†’L[ℝ] ℝ), ContMDiff (𝓑 ((n + 1) + 1)) (𝓑 m) ∞ e ∧ IsClosedEmbedding e ∧ M60.SUChartReadable (n := (n + 1) + 1) e ∧ (βˆ€ q, R (e q) = planarCircleObservation q.1.2) ∧ (βˆ€ q, T (e q) = planarCircleObservation q.2) ∧ 0 < D ∧ (βˆ€ x, H0 (x + curvePeriod) = H0 x + D) ∧ (βˆ€ x, H1 (x + curvePeriod) = H1 x + D) ∧ (βˆ€ x, P.circle.quotient (H0 x) = (gamma0 x).2) ∧ (βˆ€ x, P.circle.quotient (H1 x) = (gamma1 x).2) ∧ Continuous B ∧ (βˆ€ q v, 0 ≀ B q v v) ∧ (βˆ€ q v w, B q v w = B q w v) ∧ (βˆ€ (q : Q.charts.Point) (v : TangentSpace (𝓑 ((n + 1) + 1)) q), B q (mfderiv (𝓑 ((n + 1) + 1)) (𝓑 m) e q v) (mfderiv (𝓑 ((n + 1) + 1)) (𝓑 m) e q v) = (Q.flow.metric time).inner q v v) ∧ βˆƒ r : ℝ, 0 < r ∧ βˆƒ L : M64FreeWeakPhaseAnnulus (n := (n + 1) + 1) e R c0 c1 H0 H1 (curvePeriod / circumference) D, ContMDiffOn (𝓑 2) (𝓑 ((n + 1) + 1)) ∞ L.annulus.map (interior m64AnnulusDomain) ∧ L.annulus.weightedEnergy B r ≀ m64LeastAnnulusArea (Q.flow.metric time) c0 c1 ∧ βˆ€ s : ℝ, 0 < s β†’ βˆ€ A : M64FreeWeakPhaseAnnulus (n := (n + 1) + 1) e R c0 c1 H0 H1 (curvePeriod / circumference) D, L.annulus.weightedEnergy B r ≀ A.annulus.weightedEnergy B s := by let : Fact (0 < circumference) := ⟨P.circle.positive⟩ let : Fact (0 < auxiliary) := ⟨Q.circle.positive⟩ obtain ⟨m, e, R, T, H0, H1, D, B, he, hei, hread, hR, hT, hD, hH0, hH1, hzero, hone, hB, hpos, hsymm, hdiag, r, hr, A, hA, harea, hminimum⟩ := auxiliaryCircle_free_ramp_continuous_minimum P Q time gamma0 gamma1 hgamma0 hgamma1 hp0 hp1 hramp0 hramp1 A0 hdelta hsmall have hbounded : Bornology.IsBounded (range B) := (isCompact_range hB).isBounded obtain ⟨K, hK⟩ := hbounded.exists_norm_le have hsm := auxiliaryCircle_free_phase_contMDiffOn P Q e (he.of_le (by simp)) hei.isEmbedding hread R hR A (Q.flow.metric time) B hB (fun q => hK _ (mem_range_self q)) hdiag hr (hminimum r hr) hA exact ⟨m, e, R, T, H0, H1, D, B, he, hei, hread, hR, hT, hD, hH0, hH1, hzero, hone, hB, hpos, hsymm, hdiag, r, hr, A, hsm, harea, hminimum⟩ end PoincareMT.M64