import PoincareLib.Geometry.Riemannian.MinimalSurface.Sphere.Analysis.Conformal.HarmonicEstimate import PoincareLib.Geometry.RicciFlow.Area.MinimalSphere.PlaneCurvature import PoincareLib.Geometry.Riemannian.Comparison.Volume.Conjugate.Variation.Intrinsic /-! # The harmonic chart estimate with intrinsic target curvature Morgan-Tian Claim 18.12, printed pp. 426-427, local curvature derivation. All coordinate coefficients below are those of the displayed target metric. The connection and curvature terms are transported by the actual chart derivative. Harmonicity is still an explicit local equation. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set open scoped Manifold ContDiff universe u namespace PoincareMT open CoordinateExponential ConnectionVariation ConjugateVariation variable {n : โ„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] {g : RiemannianMetric n M} /-- The local conformal harmonic inequality, expressed using the actual target curvature tensor. Source: MT Claim 18.12, pp. 426-427. -/ theorem m60ConformalHarmonicChart_estimate (D : LeviCivitaData g) (b : M) {ฯ† : LoopPlane โ†’ M} {a : LoopPlane โ†’ โ„} {O : Set LoopPlane} {p : LoopPlane} (hO : IsOpen O) (hp : p โˆˆ O) (d e : LoopPlane) (hฯ† : ContMDiffOn (๐“ก 2) (๐“ก n) โˆž ฯ† O) (hchart : โˆ€ q โˆˆ O, ฯ† q โˆˆ (extChartAt (๐“ก n) b).source) (hharm : let c := extChartAt (๐“ก n) b let u := c โˆ˜ ฯ† let B := g.pullbackCoefficients c.symm โˆ€ q โˆˆ O, covDerivAlong (christoffelBilinear B) u (fun r => fderiv โ„ u r d) d q + covDerivAlong (christoffelBilinear B) u (fun r => fderiv โ„ u r e) e q = 0) (hdd : โˆ€ q โˆˆ O, g.inner (ฯ† q) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q d) = a q) (hee : โˆ€ q โˆˆ O, g.inner (ฯ† q) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q e) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q e) = a q) (hde : โˆ€ q โˆˆ O, g.inner (ฯ† q) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q e) = 0) (ha : 0 < a p) : ((fderiv โ„ a p d) ^ 2 + (fderiv โ„ a p e) ^ 2) / a p - 2 * D.curvatureTensor (ฯ† p) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p e) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p e) โ‰ค fderiv โ„ (fun q => fderiv โ„ a q d) p d + fderiv โ„ (fun q => fderiv โ„ a q e) p e := by let c := extChartAt (๐“ก n) b let u := c โˆ˜ ฯ† let B := g.pullbackCoefficients c.symm have hฯ†q (q : LoopPlane) (hq : q โˆˆ O) : ContMDiffAt (๐“ก 2) (๐“ก n) โˆž ฯ† q := hฯ†.contMDiffAt (hO.mem_nhds hq) have hc (q : LoopPlane) (hq : q โˆˆ O) : ContMDiffAt (๐“ก n) (๐“ก n) โˆž c (ฯ† q) := contMDiffAt_extChartAt' (by simpa only [extChartAt_source] using hchart q hq) have hu : ContDiffOn โ„ โˆž u O := by intro q hq exact (contMDiffAt_iff_contDiffAt.mp ((hc q hq).comp q (hฯ†q q hq))).contDiffWithinAt have hdu (q : LoopPlane) (hq : q โˆˆ O) (v : LoopPlane) : fderiv โ„ u q v = mfderiv (๐“ก n) (๐“ก n) c (ฯ† q) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q v) := by have h := mfderiv_comp q ((hc q hq).mdifferentiableAt (by simp)) ((hฯ†q q hq).mdifferentiableAt (by simp)) rw [mfderiv_eq_fderiv] at h exact congrArg (fun L => L v) h have hpair (q : LoopPlane) (hq : q โˆˆ O) (v w : LoopPlane) : B (u q) (fderiv โ„ u q v) (fderiv โ„ u q w) = g.inner (ฯ† q) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q v) (mfderiv (๐“ก 2) (๐“ก n) ฯ† q w) := by rw [hdu q hq v, hdu q hq w] exact chartCoefficients_apply g b (hchart q hq) _ _ have hR : B (u p) (coordinateCurvature B (u p) (fderiv โ„ u p d) (fderiv โ„ u p e) (fderiv โ„ u p e)) (fderiv โ„ u p d) = D.curvatureTensor (ฯ† p) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p e) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p d) (mfderiv (๐“ก 2) (๐“ก n) ฯ† p e) := by rw [hdu p hp d, hdu p hp e] erw [coordinateCurvature_in_chart g D b (hchart p hp)] exact chartCoefficients_apply g b (hchart p hp) _ _ have hnonneg (v : EuclideanSpace โ„ (Fin n)) : 0 โ‰ค B (u p) v v := by change 0 โ‰ค g.inner (c.symm (u p)) (mfderiv (๐“ก n) (๐“ก n) c.symm (u p) v) (mfderiv (๐“ก n) (๐“ก n) c.symm (u p) v) by_cases hv : mfderiv (๐“ก n) (๐“ก n) c.symm (u p) v = 0 ยท rw [hv] simp ยท exact (g.pos _ _ hv).le have h := M60.christoffel_conformal_harmonic_estimate hO (isOpen_extChartAt_target b) hp d e hu (g.contDiffOn_chartCoefficients b) (fun q hq => c.map_source (hchart q hq)) (fun _ _ _ _ => g.symm _ _ _) (fun _ hx => g.isInvertible_chartCoefficients b hx) hnonneg hharm (fun q hq => (hpair q hq d d).trans (hdd q hq)) (fun q hq => (hpair q hq e e).trans (hee q hq)) (fun q hq => (hpair q hq d e).trans (hde q hq)) ha rw [hR] at h exact h end PoincareMT