import PoincareLib.Geometry.CurveShortening.Comparison.PolygonApproximation.Horizontal.Column /-! # Interpolator sides and the strict area witness The M63 interpolator property bundle gives an explicit minimizing side for every short sampled endpoint pair. This file keeps the side map visible, which is needed by the M64 geodesic-annulus adapter, and then packages the endpoint, cut, column, and area certificates into one annulus witness call. Morgan--Tian context: Section 19.4, Definition 19.18 and Claims 19.19-19.22, printed pp. 450-453. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter MeasureTheory Bundle open scoped Manifold ContDiff Topology Bundle ENNReal NNReal universe u namespace PoincareMT variable {n : β„•} {M : Type u} [TopologicalSpace M] [T2Space M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] omit [T2Space M] in /-- Retain the actual interpolating map in a minimizing-geodesic-side record. Source: Auxiliary step for MT Definition 19.18 and Claims 19.19/19.22, pp. 450-453; project construction in `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ theorem m64_interpolator_side_of_short_pair (g : RiemannianMetric n M) (D : LeviCivitaData g) {p q : M} {r : ℝ} {H : ℝ Γ— (M Γ— M) β†’ M} (hr : g.edist p q < ENNReal.ofReal r) (hsmooth : ContMDiffOn π“˜(ℝ, ℝ) (𝓑 n) ∞ (fun t : ℝ => H (t, p, q)) (Ioo (-1 : ℝ) 2)) (hprops : g.edist p q < ENNReal.ofReal r β†’ H (0, p, q) = p ∧ H (1, p, q) = q ∧ g.IsGeodesicOn (fun t => H (t, p, q)) (Ioo (-1 : ℝ) 2) ∧ (βˆ€ t ∈ Ioo (-1 : ℝ) 2, g.tangentNorm (H (t, p, q)) (mfderiv π“˜(ℝ, ℝ) (𝓑 n) (fun s => H (s, p, q)) t 1) = (g.edist p q).toReal) ∧ g.pathELength (fun t => H (t, p, q)) 0 1 = g.edist p q) : βˆƒ side : M63MinimizingGeodesicSide g D 1 p q, βˆ€ t : ℝ, side.map t = H (t, p, q) := by rcases hprops hr with ⟨h0, h1, hgeo, hspeed, hlength⟩ let side : M63MinimizingGeodesicSide g D 1 p q := { map := fun t => H (t, p, q) domain := Ioo (-1 : ℝ) 2 domain_open := isOpen_Ioo interval_subset := by intro t ht constructor <;> linarith [ht.1, ht.2] smooth := hsmooth start := h0 finish := h1 speed := (g.edist p q).toReal speed_nonnegative := ENNReal.toReal_nonneg constant_speed := by intro t ht have hIoo : t ∈ Ioo (-1 : ℝ) 2 := by constructor <;> linarith [ht.1, ht.2] exact hspeed t hIoo equation := by intro t ht have hIoo : t ∈ Ioo (-1 : ℝ) 2 := by constructor <;> linarith [ht.1, ht.2] exact hgeo.pullback_velocity_eq_zero D hIoo minimizing := hlength } refine ⟨side, ?_⟩ intro t rfl /-- Build a strict-area annulus from an interpolator map once its global rectangle Lipschitz certificate and vertical column estimate are available. The endpoint and geodesic fields are supplied by the short-pair property; the horizontal column and area estimate are discharged by the M64 bridge. Source: Auxiliary step for MT Definition 19.18 and Claims 19.19/19.22, pp. 450-453; project construction in `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ theorem m64_interpolator_annulus_witness_of_columns (g : RiemannianMetric n M) (D : LeviCivitaData g) {N : β„•} (hN : 0 < N) (polygon : M63GeodesicPolygon g D N) {gamma : ℝ β†’ M} {U : Set (M Γ— M)} {H : ℝ Γ— (M Γ— M) β†’ M} {r L K1 zeta : ℝ} (hH : ContMDiffOn ((π“˜(ℝ, ℝ)).prod ((𝓑 n).prod (𝓑 n))) (𝓑 n) ∞ H (Ioo (-1 : ℝ) 2 Γ—Λ’ U)) (hgamma : ContMDiffOn π“˜(ℝ, ℝ) (𝓑 n) 1 gamma Set.univ) (hpair : βˆ€ j : Fin N, βˆ€ p ∈ m64PolygonCellSet j, (gamma (p 0), (polygon.side j).map (p 0 - m63CellLeft N j)) ∈ U) (hpair_global : βˆ€ x : ℝ, (gamma x, polygon.map x) ∈ U) (hshort : βˆ€ x : ℝ, g.edist (gamma x) (polygon.map x) < ENNReal.ofReal r) (hprops : βˆ€ p q : M, g.edist p q < ENNReal.ofReal r β†’ H (0, p, q) = p ∧ H (1, p, q) = q ∧ g.IsGeodesicOn (fun t => H (t, p, q)) (Ioo (-1 : ℝ) 2) ∧ (βˆ€ t ∈ Ioo (-1 : ℝ) 2, g.tangentNorm (H (t, p, q)) (mfderiv π“˜(ℝ, ℝ) (𝓑 n) (fun s => H (s, p, q)) t 1) = (g.edist p q).toReal) ∧ g.pathELength (fun t => H (t, p, q)) 0 1 = g.edist p q) (f : LoopPlane β†’ M) (hf : f = (fun p : LoopPlane => H (p 1, gamma (p 0), polygon.map (p 0)))) (hcontinuous : ContinuousOn f m64AnnulusDomain) (hperiodic : βˆ€ x s : ℝ, f (annulusPoint (x + curvePeriod) s) = f (annulusPoint x s)) {hL : 0 ≀ L} (hLip : βˆ€ x y : m64AnnulusDomain, g.edist (f x) (f y) ≀ ENNReal.ofReal L * ENNReal.ofReal β€–(x : LoopPlane) - yβ€–) (hfinite : volume m64AnnulusInterior β‰  (⊀ : ENNReal)) (hcol1 : βˆ€α΅ z βˆ‚volume.restrict m64AnnulusDomain, g.tangentNorm (f z) (mfderiv (𝓑 2) (𝓑 n) f z (EuclideanSpace.basisFun (Fin 2) ℝ 1)) ≀ K1) (hstrict : (2 * L) * K1 * volume.real m64AnnulusDomain < zeta) : βˆƒ A : M64Annulus g gamma polygon.map, M64PiecewiseC1Annulus A ∧ M64GeodesicAnnulus D A ∧ 0 ≀ A.area ∧ A.area < zeta := by have hlower : βˆ€ x : ℝ, f (annulusPoint x 0) = gamma x := by intro x rw [hf] have hp := hprops (gamma x) (polygon.map x) (hshort x) simpa only [annulusPoint, Matrix.cons_val_zero, Matrix.cons_val_one, zero_apply, one_apply] using hp.1 have hupper : βˆ€ x : ℝ, f (annulusPoint x 1) = polygon.map x := by intro x rw [hf] have hp := hprops (gamma x) (polygon.map x) (hshort x) simpa only [annulusPoint, Matrix.cons_val_zero, Matrix.cons_val_one, zero_apply, one_apply] using hp.2.1 have hmdiff : βˆ€ j : Fin N, ContMDiffOn (𝓑 2) (𝓑 n) 1 f {p | m64PolygonCut N j.castSucc ≀ p 0 ∧ p 0 ≀ m64PolygonCut N j.succ ∧ 0 ≀ p 1 ∧ p 1 ≀ 1} := by intro j rw [hf, m64PolygonCut_cellSet] exact m64_polygon_cell_contMDiffOn polygon hH hgamma hpair j let hside : βˆ€ x : ℝ, M63MinimizingGeodesicSide g D 1 (gamma x) (polygon.map x) := fun x => Classical.choose (m64_interpolator_side_of_short_pair g D (hshort x) (contMDiffOn_interpolator_slice hH (hpair_global x)) (hprops (gamma x) (polygon.map x))) have hside_spec : βˆ€ x : ℝ, βˆ€ s : ℝ, (hside x).map s = H (s, gamma x, polygon.map x) := by intro x s dsimp [hside] exact Classical.choose_spec (m64_interpolator_side_of_short_pair g D (hshort x) (contMDiffOn_interpolator_slice hH (hpair_global x)) (hprops (gamma x) (polygon.map x))) s have hmap : βˆ€ x s : ℝ, f (annulusPoint x s) = (hside x).map s := by intro x s rw [hf] simpa only [annulusPoint, Matrix.cons_val_zero, Matrix.cons_val_one, zero_apply, one_apply] using (hside_spec x s).symm have hcol0 := m64_horizontal_column_ae_of_metric_lipschitz g hL hLip exact m64AnnulusWitness_of_lipschitz_columns g D f hcontinuous hperiodic hlower hupper hL (by positivity) hLip hfinite hcol0 hcol1 hstrict hN (m64PolygonCut N) (m64PolygonCut_strictMono hN) m64PolygonCut_zero (m64PolygonCut_last hN) hmdiff hside hmap end PoincareMT