import PoincareLib.Geometry.Riemannian.Tensor.Operations import PoincareLib.Geometry.RicciFlow.Basic import PoincareLib.Geometry.RicciFlow.Curvature.Evolution.Scalar.Within import PoincareLib.Geometry.RicciFlow.Positivity.Scalar.StrongMaximum import PoincareLib.Geometry.RicciFlow.Positivity.PointwiseFlatness import PoincareLib.Geometry.RicciFlow.Positivity.Ricci.Compact import PoincareLib.Geometry.RicciFlow.Positivity.Sectional.Compact /-! Adapted from Mapher06/Poincare-MorganTian, `PoincareMT/Proofs/M04/CurvaturePositivity.lean`, revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. See the curvature import record under `references/ricci-flow/mapher/curvature/`. -/ /-! # Three-dimensional curvature nonnegativity and scalar-zero rigidity Morgan-Tian Corollaries 4.14-4.15 and Theorem 4.18, printed pp. 69-71. Preservation is componentwise on compact manifolds. Rigidity is local on a connected manifold and does not assume completeness. -/ set_option autoImplicit false open scoped Manifold ContDiff Bundle open Set Topology Filter universe u namespace PoincareMT.RicciFlow variable {N : Type u} [TopologicalSpace N] [ChartedSpace (EuclideanSpace ℝ (Fin 3)) N] [IsManifold (𝓑 3) ∞ N] [T2Space N] [SecondCountableTopology N] /-- Compact three-dimensional flow preserves nonnegative sectional curvature. -/ theorem nonnegativeSectionalCurvature_preserved [CompactSpace N] {T : ℝ} (hT : 0 < T) (F : RicciFlow 3 N (Set.Icc 0 T)) (hinit : (F.connection 0).NonnegativeSectionalCurvature) : βˆ€ t ∈ Set.Icc 0 T, (F.connection t).NonnegativeSectionalCurvature := by exact RicciFlowAnalysis.nonnegativeSectionalCurvature_preserved_compact hT F hinit /-- Compact three-dimensional flow preserves nonnegative Ricci curvature. -/ theorem nonnegativeRicciCurvature_preserved [CompactSpace N] {T : ℝ} (hT : 0 < T) (F : RicciFlow 3 N (Set.Icc 0 T)) (hinit : (F.connection 0).NonnegativeRicciCurvature) : βˆ€ t ∈ Set.Icc 0 T, (F.connection t).NonnegativeRicciCurvature := by exact RicciFlowAnalysis.nonnegativeRicciCurvature_preserved_compact hT F hinit set_option maxHeartbeats 1000000 in -- The scalar maximum argument and connected propagation need extra elaboration. set_option backward.isDefEq.respectTransparency false in /-- A positive-time scalar zero under sectional nonnegativity forces preceding flatness. -/ theorem flat_of_scalarCurvature_eq_zero [ConnectedSpace N] {T : ℝ} (hT : 0 < T) (F : RicciFlow 3 N (Set.Icc 0 T)) (hsec : βˆ€ t ∈ Set.Icc 0 T, (F.connection t).NonnegativeSectionalCurvature) (p : N) (hzero : (F.connection T).scalarCurvature p = 0) : βˆ€ t ∈ Set.Icc 0 T, βˆ€ x : N, (F.connection t).curvatureTensorNorm x = 0 := by let f : ℝ β†’ N β†’ ℝ := fun t x ↦ (F.connection t).scalarCurvature x let v : ℝ β†’ N β†’ ℝ := fun t x ↦ (F.connection t).laplacian (F.connection t).scalarCurvature x + 2 * (F.connection t).ricciNormSq x have hc : ContinuousOn (Function.uncurry f) (Icc 0 T Γ—Λ’ univ) := F.contMDiffOn_scalarCurvature.continuousOn have hd (t : ℝ) (ht : t ∈ Icc 0 T) (x : N) : HasDerivWithinAt (fun s ↦ f s x) (v t x) (Icc 0 T) t := F.hasDerivWithinAt_scalarCurvature t ht x have hsmooth (t : ℝ) (ht : t ∈ Icc 0 T) : ContMDiff (𝓑 3) π“˜(ℝ, ℝ) ∞ (f t) := F.contMDiff_scalarCurvature t ht have hnonneg (t : ℝ) (ht : t ∈ Icc 0 T) (x : N) : 0 ≀ f t x := RicciFlowAnalysis.nonneg_scalar_of_nonnegativeSectionalAt (F.connection t) x (hsec t ht x) have hevol (t : ℝ) (x : N) : (F.connection t).laplacian (f t) x ≀ v t x := by have hnorm : 0 ≀ (F.connection t).ricciNormSq x := by exact Finset.sum_nonneg fun i _ ↦ Finset.sum_nonneg fun j _ ↦ sq_nonneg _ dsimp [f, v] linarith have hbefore (s : ℝ) (hs : s ∈ Ico 0 T) (x : N) : f s x = 0 := by apply le_antisymm ?_ (hnonneg s ⟨hs.1, hs.2.le⟩ x) by_contra hnot have hpositive : 0 < f s x := lt_of_not_ge hnot have hsub : Icc s T βŠ† Icc 0 T := Icc_subset_Icc hs.1 le_rfl have hterminal := RicciFlowAnalysis.ricciFlow_supersolution_positive_at_later_time hs.2 F hsub f v (hc.mono (prod_mono hsub Subset.rfl)) (fun t ht y ↦ (hd t (hsub ht) y).mono hsub) (fun t ht ↦ hsmooth t (hsub ht)) (fun t ht y ↦ hnonneg t (hsub ht) y) (fun t _ y ↦ hevol t y) x hpositive p change 0 < (F.connection T).scalarCurvature p at hterminal rw [hzero] at hterminal exact (lt_irrefl 0) hterminal intro t ht x have hzeroBefore : EqOn (fun s ↦ f s x) (fun _ ↦ (0 : ℝ)) (Ico 0 T) := fun s hs ↦ hbefore s hs x have hcTime : ContinuousOn (fun s ↦ f s x) (Icc 0 T) := (F.contDiffOn_scalarCurvature_timeSlice x).continuousOn have hzeroAll : EqOn (fun s ↦ f s x) (fun _ ↦ (0 : ℝ)) (Icc 0 T) := hzeroBefore.of_subset_closure hcTime continuousOn_const Ico_subset_Icc_self (by rw [closure_Ico hT.ne]) exact RicciFlowAnalysis.curvatureTensorNorm_eq_zero_of_nonnegativeSectionalAt_scalar_zero (F.connection t) x (hsec t ht x) (hzeroAll ht) end PoincareMT.RicciFlow