import PoincareLib.Geometry.Curvature.Integral.Concentration.FiberAnnuli import PoincareLib.Geometry.Curvature.Integral.Concentration.WeightedAnnularConcentration /-! Weighted scalar concentration in ambient ball sections of actual open fibers. -/ open Set Filter MeasureTheory open Poincare.Geometry.Manifold.RegularFiber open scoped Manifold ContDiff Bundle Topology BigOperators set_option autoImplicit false set_option backward.isDefEq.respectTransparency false namespace PoincareMT.RiemannianMetric private theorem integrableOn_openFiber_ambient_ball_of_continuous {m k : β„•} {M : Type*} [TopologicalSpace M] [T3Space M] [MeasurableSpace M] [BorelSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin (m+k))) M] [IsManifold (𝓑 (m+k)) ∞ M] (g : RiemannianMetric (m+k) M) (hc : MetricComplete g) {f : M β†’ Fin k β†’ ℝ} (hf : ContMDiff (𝓑 (m+k)) π“˜(ℝ, Fin k β†’ ℝ) ∞ f) (U : TopologicalSpace.Opens M) (hreg : βˆ€ x ∈ U, Function.Surjective (mfderiv (𝓑 (m+k)) π“˜(ℝ, Fin k β†’ ℝ) f x)) (c : Fin k β†’ ℝ) (p : M) {r R : ℝ} (hrR : r ≀ R) (hball : βˆ€ y, g.edist p y ≀ ENNReal.ofReal R β†’ y ∈ U) : letI : Fact (Module.finrank ℝ (EuclideanSpace ℝ (Fin (m+k))) = m+k) := ⟨finrank_euclideanSpace_fin⟩ letI := openFiberChartedSpace (m := m) hf U hreg c letI := isManifold_openFiber (m := m) hf U hreg c let gL := g.openRegularFiberMetric hf U hreg c βˆ€ H : openFiber f U c β†’ ℝ, Continuous H β†’ IntegrableOn H (openFiberIncl f U c ⁻¹' g.ball p r) gL.volumeMeasure := by letI : Fact (Module.finrank ℝ (EuclideanSpace ℝ (Fin (m+k))) = m+k) := ⟨finrank_euclideanSpace_fin⟩ letI := openFiberChartedSpace (m := m) hf U hreg c letI := isManifold_openFiber (m := m) hf U hreg c dsimp only intro H hH apply (hH.continuousOn.integrableOn_compact (g.isCompact_openFiber_preimage_closedBall hc hf.continuous U c p R hball)).mono_set intro x hx exact (show g.edist p (openFiberIncl f U c x) < ENNReal.ofReal r from hx).le.trans (ENNReal.ofReal_le_ofReal hrR) theorem exists_subseq_openFiber_critical_ambient_ball_weighted_scalar_integral_tendsto_atTop {m k : β„•} {M : β„• β†’ Type*} [βˆ€ j, TopologicalSpace (M j)] [βˆ€ j, T3Space (M j)] [βˆ€ j, MeasurableSpace (M j)] [βˆ€ j, BorelSpace (M j)] [βˆ€ j, ChartedSpace (EuclideanSpace ℝ (Fin (m+k))) (M j)] [βˆ€ j, IsManifold (𝓑 (m+k)) ∞ (M j)] [βˆ€ j, PreconnectedSpace (M j)] {ΞΉ ΞΊ : Type*} [Fintype ΞΉ] [Fintype ΞΊ] (g : βˆ€ j, RiemannianMetric (m+k) (M j)) (hc : βˆ€ j, MetricComplete (g j)) (f : βˆ€ j, M j β†’ Fin k β†’ ℝ) (hf : βˆ€ j, ContMDiff (𝓑 (m+k)) π“˜(ℝ,Fin k β†’ ℝ) ∞ (f j)) (U : βˆ€ j, TopologicalSpace.Opens (M j)) (hreg : βˆ€ j x, x ∈ U j β†’ Function.Surjective (mfderiv (𝓑 (m+k)) π“˜(ℝ,Fin k β†’ ℝ) (f j) x)) (c : β„• β†’ Fin k β†’ ℝ) (hm : 0 < m) {d : β„•} (hd : 1 ≀ d) : letI : Fact (Module.finrank ℝ (EuclideanSpace ℝ (Fin (m+k))) = m+k) := ⟨finrank_euclideanSpace_fin⟩ letI : βˆ€ j, ChartedSpace (EuclideanSpace ℝ (Fin m)) (openFiber (f j) (U j) (c j)) := fun j => openFiberChartedSpace (m := m) (hf j) (U j) (hreg j) (c j) letI : βˆ€ j, IsManifold (𝓑 m) ∞ (openFiber (f j) (U j) (c j)) := fun j => isManifold_openFiber (m := m) (hf j) (U j) (hreg j) (c j) let incl := fun j => openFiberIncl (f j) (U j) (c j) let gL := fun j => (g j).openRegularFiberMetric (hf j) (U j) (hreg j) (c j) βˆ€ (D : βˆ€ j, LeviCivitaData (gL j)) (p : βˆ€ j, openFiber (f j) (U j) (c j)) (o : βˆ€ j, ΞΊ β†’ openFiber (f j) (U j) (c j)) (s Cβ‚€ Dβ‚€ : ΞΊ β†’ ℝ) (q : βˆ€ j, ΞΉ β†’ openFiber (f j) (U j) (c j)) (a : β„• β†’ ΞΉ β†’ ℝ) (rβ‚€ R C : ΞΉ β†’ ℝ) (W : βˆ€ j, Set (openFiber (f j) (U j) (c j))) (K : βˆ€ j, openFiber (f j) (U j) (c j) β†’ ℝ), (βˆ€ j x (v w : TangentSpace (𝓑 m) x), -(K j x) ≀ (D j).sectionalCurvature x v w) β†’ (βˆ€ j, MeasurableSet (W j)) β†’ (βˆ€ j, IntegrableOn (K j) (W j) (gL j).volumeMeasure) β†’ (βˆ€ j x, 0 ≀ K j x) β†’ (βˆ€ j i, 0 ≀ a j i) β†’ (βˆ€ i, 0 < rβ‚€ i) β†’ (βˆ€ i, 0 ≀ R i) β†’ (βˆ€ i, R i < 19*rβ‚€ i/16) β†’ (βˆ€ i, 0 ≀ C i) β†’ (βˆ€ i, 0 ≀ Dβ‚€ i) β†’ (βˆ€ i, 0 ≀ s i) β†’ (βˆ€ j y, (g j).edist (incl j (p j)) y ≀ ENNReal.ofReal 1 β†’ y ∈ U j) β†’ (βˆ€ j i y, (g j).edist (incl j (o j i)) y ≀ ENNReal.ofReal (3*s i) β†’ y ∈ U j) β†’ (βˆ€ j i y, (g j).edist (incl j (q j i)) y ≀ ENNReal.ofReal (3*rβ‚€ i) β†’ y ∈ U j) β†’ (βˆ€ j i y, (g j).edist (incl j (q j i)) y ≀ ENNReal.ofReal (8*a j i) β†’ y ∈ U j) β†’ (βˆ€ j i, {x | ((g j).edist (incl j (o j i)) (incl j x)).toReal ∈ Icc (s i/2) (3*s i)} βŠ† W j) β†’ (βˆ€ j i, {x | ((g j).edist (incl j (q j i)) (incl j x)).toReal ≀ 3*rβ‚€ i} βŠ† W j) β†’ (βˆ€ j i, incl j ⁻¹' (g j).ball (incl j (q j i)) (8*a j i) βŠ† W j) β†’ (βˆ€αΆ  j in atTop, (incl j ⁻¹' (g j).ball (incl j (p j)) 1 βŠ† (⋃ i, {x | ((g j).edist (incl j (o j i)) (incl j x)).toReal ∈ Icc (113*s i/96) (19*s i/16)}) βˆͺ ⋃ i, incl j ⁻¹' (g j).ball (incl j (q j i)) (R i)) ∧ (βˆ€ i, (∫ x in {x | ((g j).edist (incl j (o j i)) (incl j x)).toReal ∈ Icc (113*s i/96) (19*s i/16)}, max 0 ((D j).scalarCurvature x) βˆ‚(gL j).volumeMeasure) ≀ Cβ‚€ i + Dβ‚€ i * ∫ x in {x | ((g j).edist (incl j (o j i)) (incl j x)).toReal ∈ Icc (s i/2) (3*s i)}, K j x βˆ‚(gL j).volumeMeasure) ∧ (βˆ€ i r, 0 < r β†’ 2*a j i ≀ r β†’ r ≀ rβ‚€ i β†’ (∫ x in {x | ((g j).edist (incl j (q j i)) (incl j x)).toReal ∈ Icc (113*r/96) (19*r/16)}, max 0 ((D j).scalarCurvature x) βˆ‚(gL j).volumeMeasure) ≀ C i * (r^d + ∫ x in {x | ((g j).edist (incl j (q j i)) (incl j x)).toReal ∈ Icc (r/2) (3*r)}, K j x βˆ‚(gL j).volumeMeasure))) β†’ Tendsto (fun j => (∫ x in incl j ⁻¹' (g j).ball (incl j (p j)) 1, max 0 ((D j).scalarCurvature x) βˆ‚(gL j).volumeMeasure) / (1 + ∫ x in W j, K j x βˆ‚(gL j).volumeMeasure)) atTop atTop β†’ βˆƒ i : ΞΉ, βˆƒ Ο† : β„• β†’ β„•, StrictMono Ο† ∧ (βˆ€ j, 0 < a (Ο† j) i) ∧ Tendsto (fun j => (∫ x in incl (Ο† j) ⁻¹' (g (Ο† j)).ball (incl (Ο† j) (q (Ο† j) i)) (4*a (Ο† j) i), max 0 ((D (Ο† j)).scalarCurvature x) βˆ‚(gL (Ο† j)).volumeMeasure) / (1 + ∫ x in incl (Ο† j) ⁻¹' (g (Ο† j)).ball (incl (Ο† j) (q (Ο† j) i)) (8*a (Ο† j) i), K (Ο† j) x βˆ‚(gL (Ο† j)).volumeMeasure)) atTop atTop ∧ Tendsto (fun j => (∫ x in incl (Ο† j) ⁻¹' (g (Ο† j)).ball (incl (Ο† j) (q (Ο† j) i)) (4*a (Ο† j) i), (D (Ο† j)).scalarCurvature x βˆ‚(gL (Ο† j)).volumeMeasure) / (1 + ∫ x in incl (Ο† j) ⁻¹' (g (Ο† j)).ball (incl (Ο† j) (q (Ο† j) i)) (8*a (Ο† j) i), K (Ο† j) x βˆ‚(gL (Ο† j)).volumeMeasure)) atTop atTop := by classical letI : Fact (Module.finrank ℝ (EuclideanSpace ℝ (Fin (m+k))) = m+k) := ⟨finrank_euclideanSpace_fin⟩ letI : βˆ€ j, ChartedSpace (EuclideanSpace ℝ (Fin m)) (openFiber (f j) (U j) (c j)) := fun j => openFiberChartedSpace (m := m) (hf j) (U j) (hreg j) (c j) letI : βˆ€ j, IsManifold (𝓑 m) ∞ (openFiber (f j) (U j) (c j)) := fun j => isManifold_openFiber (m := m) (hf j) (U j) (hreg j) (c j) let incl := fun j => openFiberIncl (f j) (U j) (c j) let gL := fun j => (g j).openRegularFiberMetric (hf j) (U j) (hreg j) (c j) dsimp only intro D p o s Cβ‚€ Dβ‚€ q a rβ‚€ R C W K hsec hW hKi hKn ha hrβ‚€ hRn hR hC hDβ‚€ hs hMainBall hOrdBall hCritBall hDoubleBall hOrdBuffer hCritBuffer hDoubleBuffer hevent hlarge letI : βˆ€ j, ConnectedSpace (M j) := fun j => { toNonempty := ⟨incl j (p j)⟩ } letI : βˆ€ j, MetricSpace (M j) := fun j => (g j).toMetricSpace obtain ⟨L, _, hL⟩ := Poincare.CurvatureIntegral.exists_buffered_annulus_overlap obtain ⟨J, hJ⟩ := eventually_atTop.mp hevent let A := (βˆ‘ i, Cβ‚€ i) + βˆ‘ i, C i * rβ‚€ i ^ d / (1 - (227 / 228 : ℝ) ^ d) let B := (βˆ‘ i, Dβ‚€ i) + (L : ℝ) * βˆ‘ i, C i let ΞΌ := fun j => (gL (j+J)).volumeMeasure let Eβ‚€ := fun j => incl (j+J) ⁻¹' (g (j+J)).ball (incl (j+J) (p (j+J))) 1 let V := fun j i => incl (j+J) ⁻¹' (g (j+J)).ball (incl (j+J) (q (j+J) i)) (4*a (j+J) i) let E := fun j i => incl (j+J) ⁻¹' (g (j+J)).ball (incl (j+J) (q (j+J) i)) (8*a (j+J) i) let h := fun j x => max 0 ((D (j+J)).scalarCurvature x) let b := fun j => 1 + ∫ x in W (j+J), K (j+J) x βˆ‚ΞΌ j let w := fun j i => 1 + ∫ x in E j i, K (j+J) x βˆ‚ΞΌ j have hmeas (j : β„•) (x : openFiber (f j) (U j) (c j)) (r : ℝ) : MeasurableSet (incl j ⁻¹' (g j).ball (incl j x) r) := by rw [← (g j).toMetricSpace_ball] exact (Metric.isOpen_ball.preimage (isEmbedding_openFiberIncl (f j) (U j) (c j)).continuous).measurableSet have hiMain (j : β„•) : IntegrableOn (fun x => max 0 ((D j).scalarCurvature x)) (incl j ⁻¹' (g j).ball (incl j (p j)) 1) (gL j).volumeMeasure := integrableOn_openFiber_ambient_ball_of_continuous (g j) (hc j) (hf j) (U j) (hreg j) (c j) (incl j (p j)) le_rfl (hMainBall j) _ (continuous_const.max (D j).continuous_scalarCurvature) have hiCrit (j : β„•) (i : ΞΉ) : IntegrableOn (D j).scalarCurvature (incl j ⁻¹' (g j).ball (incl j (q j i)) (4*a j i)) (gL j).volumeMeasure := integrableOn_openFiber_ambient_ball_of_continuous (g j) (hc j) (hf j) (U j) (hreg j) (c j) (incl j (q j i)) (by nlinarith only [ha j i]) (hDoubleBall j i) _ (D j).continuous_scalarCurvature have hb (j : β„•) : 0 < b j := by have hnK : 0 ≀ ∫ x in W (j+J), K (j+J) x βˆ‚ΞΌ j := integral_nonneg (hKn _) dsimp [b] linarith have hw (j : β„•) (i : ΞΉ) : 0 < w j i := by have hnK : 0 ≀ ∫ x in E j i, K (j+J) x βˆ‚ΞΌ j := integral_nonneg (hKn _) dsimp [w] linarith have hwb (j : β„•) (i : ΞΉ) : w j i ≀ b j := by apply add_le_add_right exact setIntegral_mono_set (hKi _) (Filter.Eventually.of_forall (hKn _)) (Filter.Eventually.of_forall (hDoubleBuffer _ i)) have houtside (j : β„•) : (∫ x in Eβ‚€ j \ ⋃ i, V j i, h j x βˆ‚ΞΌ j) ≀ (|A| + |B|) * b j := by obtain ⟨hcov, hord, hcrit⟩ := hJ (j+J) (by omega) have hmix := (g (j+J)).integral_openFiber_pos_scalar_outside_iUnion_ambient_ball_le_of_weighted_mixed_annuli (hc _) (hf _) (U _) (hreg _) (c _) (p _) (D _) (o _) s Cβ‚€ Dβ‚€ (q _) (a _) rβ‚€ R C hm hs hRn (hMainBall _) (hOrdBall _) (hCritBall _) (ha _) hrβ‚€ hR hC hd (hW _) (hKi _) (hKn _) hL hDβ‚€ (hOrdBuffer _) (hCritBuffer _) hcov hord hcrit change (∫ x in Eβ‚€ j \ ⋃ i, V j i, h j x βˆ‚ΞΌ j) ≀ A + B * ∫ x in W (j+J), K (j+J) x βˆ‚ΞΌ j at hmix have hI : 0 ≀ ∫ x in W (j+J), K (j+J) x βˆ‚ΞΌ j := integral_nonneg (hKn _) apply hmix.trans dsimp [b] have hBA := mul_le_mul_of_nonneg_right (le_abs_self B) hI have hpos := mul_nonneg (abs_nonneg A) hI nlinarith [le_abs_self A, abs_nonneg B] have hlarge' : βˆ€ T : ℝ, βˆƒ j, T < (∫ x in Eβ‚€ j, h j x βˆ‚ΞΌ j) / b j := by intro T exact ((hlarge.comp (tendsto_add_atTop_nat J)).eventually (eventually_gt_atTop T)).exists obtain ⟨i, Ο†, hΟ†, hdiv⟩ := Poincare.CurvatureIntegral.exists_subseq_fixed_member_integral_ratio_tendsto_atTop ΞΌ Eβ‚€ V h (fun j => hmeas _ _ _) (fun j i => hmeas _ _ _) (fun _ _ => le_max_left _ _) (fun j => hiMain (j+J)) (fun j i => by simpa only [h, V, ΞΌ, IntegrableOn, max_comm] using (hiCrit (j+J) i).pos_part) b hb w hw hwb (|A| + |B|) houtside hlarge' obtain ⟨J', hJ'⟩ := eventually_atTop.mp (hdiv.eventually (eventually_gt_atTop 0)) let ψ := fun j => Ο† (j+J')+J have hψ : StrictMono ψ := fun x y hxy => Nat.add_lt_add_right (hΟ† (Nat.add_lt_add_right hxy J')) J have hpos (j : β„•) : 0 < a (ψ j) i := by by_contra hnpos have haz : a (ψ j) i = 0 := le_antisymm (le_of_not_gt hnpos) (ha _ _) have hball : V (Ο† (j+J')) i = βˆ… := by dsimp [V] change incl (ψ j) ⁻¹' (g (ψ j)).ball (incl (ψ j) (q (ψ j) i)) (4*a (ψ j) i) = βˆ… rw [haz,mul_zero,← (g (ψ j)).toMetricSpace_ball,Metric.ball_zero,preimage_empty] have ht := hJ' (j+J') (by omega) rw [hball,setIntegral_empty,zero_div] at ht exact (lt_irrefl 0) ht have hposdiv : Tendsto (fun j => (∫ x in incl (ψ j) ⁻¹' (g (ψ j)).ball (incl (ψ j) (q (ψ j) i)) (4*a (ψ j) i), max 0 ((D (ψ j)).scalarCurvature x) βˆ‚(gL (ψ j)).volumeMeasure) / (1 + ∫ x in incl (ψ j) ⁻¹' (g (ψ j)).ball (incl (ψ j) (q (ψ j) i)) (8*a (ψ j) i), K (ψ j) x βˆ‚(gL (ψ j)).volumeMeasure)) atTop atTop := hdiv.comp (tendsto_add_atTop_nat J') refine ⟨i,ψ,hψ,hpos,hposdiv,?_⟩ apply tendsto_atTop.2 intro T filter_upwards [(tendsto_atTop.1 hposdiv) (T+(m:ℝ)^2)] with j hj have hsub : incl (ψ j) ⁻¹' (g (ψ j)).ball (incl (ψ j) (q (ψ j) i)) (4*a (ψ j) i) βŠ† incl (ψ j) ⁻¹' (g (ψ j)).ball (incl (ψ j) (q (ψ j) i)) (8*a (ψ j) i) := by apply preimage_mono rw [← (g (ψ j)).toMetricSpace_ball,← (g (ψ j)).toMetricSpace_ball] exact Metric.ball_subset_ball (by nlinarith only [ha (ψ j) i]) have hcorr := (D (ψ j)).normalized_integral_scalarCurvature_posPart_le_add_of_subset (hmeas _ _ _) hsub (hKn _) (fun x _ => hsec _ x) (hiCrit (ψ j) i) ((hKi _).mono_set (hDoubleBuffer _ i)) linarith end PoincareMT.RiemannianMetric