import PoincareLib.Geometry.RicciFlow.Extinction.Width.Class.SphereArea import PoincareLib.Geometry.RicciFlow.Basic import Mathlib.Topology.Order.Compact /-! # Attainment of the scalar minimum The scalar-minimum specialization in Morgan-Tian Claim 18.12, printed pp. 426-427, follows from compactness, nonemptiness, and scalar continuity. The flow-slice adapter takes the actual M04 regularity conclusion. -/ set_option autoImplicit false open scoped Manifold ContDiff universe u namespace PoincareMT variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] /-- Continuous scalar curvature attains its infimum on a compact nonempty carrier. Source: MT Claim 18.12, printed pp. 426-427. -/ theorem m60ScalarMinimum_isLeast [Nonempty M] {g : RiemannianMetric n M} (D : LeviCivitaData g) (hcompact : IsCompact (Set.univ : Set M)) (hscalar : Continuous D.scalarCurvature) : IsLeast (Set.range D.scalarCurvature) (m60ScalarMinimum D) := by have hrange : IsCompact (Set.range D.scalarCurvature) := by simpa only [Set.image_univ] using hcompact.image hscalar exact hrange.isLeast_sInf (Set.range_nonempty _) set_option backward.isDefEq.respectTransparency false in set_option maxHeartbeats 1600000 in -- Elaborating the joint flow scalar field unfolds the curvature contractions. /-- M04 joint regularity gives the scalar minimum on every included flow slice. The sphere map supplies nonemptiness. Source: MT Claim 18.12, pp. 426-427. -/ theorem m60ScalarMinimum_isLeast_of_flow {J : Set ℝ} (F : RicciFlow n M J) (hcompact : IsCompact (Set.univ : Set M)) (f : UnitTwoSphere β†’ M) (hscalar : ContMDiffOn ((π“˜(ℝ, ℝ)).prod (𝓑 n)) (π“˜(ℝ, ℝ)) ∞ (fun p : ℝ Γ— M => (F.connection p.1).scalarCurvature p.2) (J Γ—Λ’ Set.univ)) {t : ℝ} (ht : t ∈ J) : IsLeast (Set.range (F.connection t).scalarCurvature) (m60ScalarMinimum (F.connection t)) := by let : Nonempty M := ⟨f m60SpherePole⟩ apply m60ScalarMinimum_isLeast (F.connection t) hcompact have hslice : Continuous (fun x : M => (t, x)) := continuous_const.prodMk continuous_id have hcontinuous : ContinuousOn (fun p : ℝ Γ— M => (F.connection p.1).scalarCurvature p.2) (J Γ—Λ’ Set.univ) := ContMDiffOn.continuousOn (I := (π“˜(ℝ, ℝ)).prod (𝓑 n)) (I' := π“˜(ℝ, ℝ)) hscalar exact hcontinuous.comp_continuous hslice (fun _ => ⟨ht, Set.mem_univ _⟩) end PoincareMT