Add lean source and binary files (part 74)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- lean/OAI/Geometry/RCD/Sobolev/BoundedPositiveTail.leanAdded+39
- lean/OAI/Geometry/RCD/Sobolev/BoundedPowerPairContinuity.leanAdded+40
- lean/OAI/Geometry/RCD/Sobolev/BoundedSetTestError.leanAdded+39
- lean/OAI/Geometry/RCD/Sobolev/BoundedSquareLaplacian.leanAdded+51
- lean/OAI/Geometry/RCD/Sobolev/BoundedSquareVariation.leanAdded+55
- lean/OAI/Geometry/RCD/Sobolev/BoundedTestCutoffError.leanAdded+53
- lean/OAI/Geometry/RCD/Sobolev/BoundedTransverseTest.leanAdded+89
- lean/OAI/Geometry/RCD/Sobolev/BoundedWeightIntegralLimit.leanAdded+34
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianApproximation.leanAdded+91
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianConstantShift.leanAdded+92
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianInnerPairing.leanAdded+66
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianLocality.leanAdded+91
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianMassBound.leanAdded+106
- lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianRestriction.leanAdded+61
- lean/OAI/Geometry/RCD/Sobolev/CenteredAffineSobolev.leanAdded+37
- lean/OAI/Geometry/RCD/Sobolev/CenteredHarmonicEnergy.leanAdded+30
- lean/OAI/Geometry/RCD/Sobolev/CenteredPoissonPinching.leanAdded+132
- lean/OAI/Geometry/RCD/Sobolev/ClippedPositivePower.leanAdded+37
- lean/OAI/Geometry/RCD/Sobolev/CoerciveOpenMapping.leanAdded+174
- lean/OAI/Geometry/RCD/Sobolev/CoerciveQuadraticEnvelope.leanAdded+36
- lean/OAI/Geometry/RCD/Sobolev/ColumnGradientValueBound.leanAdded+38
- lean/OAI/Geometry/RCD/Sobolev/CompactBadAverage.leanAdded+74
- lean/OAI/Geometry/RCD/Sobolev/CompactBochnerSobolevMeasure.leanAdded+88
- lean/OAI/Geometry/RCD/Sobolev/CompactBochnerTest.leanAdded+128
- lean/OAI/Geometry/RCD/Sobolev/CompactBoundaryLayerSequence.leanAdded+72
- lean/OAI/Geometry/RCD/Sobolev/CompactCoerciveTruncation.leanAdded+60
- lean/OAI/Geometry/RCD/Sobolev/CompactCoreEnergyExtension.leanAdded+63
- lean/OAI/Geometry/RCD/Sobolev/CompactCutoffSource.leanAdded+74
- lean/OAI/Geometry/RCD/Sobolev/CompactEnergyDensity.leanAdded+111
- lean/OAI/Geometry/RCD/Sobolev/CompactEnergyHarmonic.leanAdded+58
- lean/OAI/Geometry/RCD/Sobolev/CompactFactorScaledEnergy.leanAdded+77
- lean/OAI/Geometry/RCD/Sobolev/CompactGradientRepresentative.leanAdded+48
- lean/OAI/Geometry/RCD/Sobolev/CompactIntegralDerivative.leanAdded+48
- lean/OAI/Geometry/RCD/Sobolev/CompactLaplacian.leanAdded+61
- lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzLocalization.leanAdded+64
- lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzSobolevBound.leanAdded+52
- lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzTests.leanAdded+93
- lean/OAI/Geometry/RCD/Sobolev/CompactMeasureLaplacian.leanAdded+98
- lean/OAI/Geometry/RCD/Sobolev/CompactMixedEnergy.leanAdded+50
- lean/OAI/Geometry/RCD/Sobolev/CompactPointedTestRecovery.leanAdded+109
- lean/OAI/Geometry/RCD/Sobolev/CompactPoissonHessian.leanAdded+92
- lean/OAI/Geometry/RCD/Sobolev/CompactReciprocalMultiplier.leanAdded+33
- lean/OAI/Geometry/RCD/Sobolev/CompactRecoveryGlobalBounds.leanAdded+58
- lean/OAI/Geometry/RCD/Sobolev/CompactRecoveryMixedEnergy.leanAdded+71
- lean/OAI/Geometry/RCD/Sobolev/CompactRestrictedLaw.leanAdded+64
- lean/OAI/Geometry/RCD/Sobolev/CompactScalarPrimitive.leanAdded+63
- lean/OAI/Geometry/RCD/Sobolev/CompactSobolevTests.leanAdded+61
- lean/OAI/Geometry/RCD/Sobolev/CompactTestHarmonicLimits.leanAdded+83
- lean/OAI/Geometry/RCD/Sobolev/CompactTestHarmonicReplacements.leanAdded+76
- lean/OAI/Geometry/RCD/Sobolev/CompactTestPairing.leanAdded+118
123456789101112131415161718192021222324252627282930313233343536373839import OAI.Geometry.RCD.Sobolev.PositiveEnergyExcess
namespace OAI
/-! # A bounded L1 error controls the positive L2 tail -/
open Set MeasureTheorynoncomputable sectionnamespace RegularPointCoordinates
theorem bounded_positive_tail_pointwise {a B : ℝ} (hB : 0 ≤ B) (ha : a ≤ B) : (max (a-1) 0)^2 ≤ B*|a-1| := by by_cases h : a ≤ 1 · rw [max_eq_right (by linarith)] simpa using mul_nonneg hB (abs_nonneg (a-1)) · rw [max_eq_left (by linarith), abs_of_nonneg (by linarith)] nlinarith
theorem bounded_positive_tail_integral {X : Type*} [MeasurableSpace X] (μ : Measure X) (S : Set X) {f : X → ℝ} {B : ℝ} (hB : 0 ≤ B) (hf : AEStronglyMeasurable f (μ.restrict S)) (hi : IntegrableOn (fun x => |f x-1|) S μ) (hb : ∀ᵐ x ∂μ.restrict S, f x ≤ B) : (∫ x in S, (max (f x-1) 0)^2 ∂μ) ≤ B*(∫ x in S, |f x-1| ∂μ) := by have hmeas : AEStronglyMeasurable (fun x => (max (f x-1) 0)^2) (μ.restrict S) := by exact (((hf.sub aestronglyMeasurable_const).sup aestronglyMeasurable_const).pow 2) have hdom := hb.mono fun x hx => bounded_positive_tail_pointwise hB hx have hint : IntegrableOn (fun x => (max (f x-1) 0)^2) S μ := (hi.const_mul B).mono' hmeas (hdom.mono fun x hx => by simpa only [Real.norm_eq_abs, abs_sq] using hx) calc _ ≤ ∫ x in S, B*|f x-1| ∂μ := integral_mono_ae hint (hi.const_mul B) hdom _ = _ := integral_const_mul _ _
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940import OAI.Geometry.RCD.Sobolev.ClippedPositivePower
namespace OAI
/-! # Continuous L2 pairings representing bounded product powers -/
open Set Filter MeasureTheoryopen scoped NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MeasurableSpace X] (μ : Measure X)
def boundedPowerPair (A B : ℝ≥0) (n : ℕ) (f g : Lp ℝ 2 μ) : ℝ := inner ℝ ((clipped_positive_power_lipschitz A n).compLp (clipped_positive_power_zero A n) f) ((clipped_positive_power_lipschitz B n).compLp (clipped_positive_power_zero B n) g)
theorem boundedPowerPair_continuous (A B : ℝ≥0) (n : ℕ) : Continuous (fun fg : Lp ℝ 2 μ × Lp ℝ 2 μ => boundedPowerPair μ A B n fg.1 fg.2) := (((clipped_positive_power_lipschitz A n).continuous_compLp (clipped_positive_power_zero A n)).comp continuous_fst).inner (((clipped_positive_power_lipschitz B n).continuous_compLp (clipped_positive_power_zero B n)).comp continuous_snd)
theorem boundedPowerPair_eq_integral (A B : ℝ≥0) (n : ℕ) (f g : Lp ℝ 2 μ) (hf : ∀ᵐ x ∂μ, |f x| ≤ A) (hg : ∀ᵐ x ∂μ, |g x| ≤ B) : boundedPowerPair μ A B n f g = ∫ x, (f x*g x)^(n+1) ∂μ := by rw [boundedPowerPair,L2.inner_def] apply integral_congr_ae filter_upwards [(clipped_positive_power_lipschitz A n).coeFn_compLp (clipped_positive_power_zero A n) f, (clipped_positive_power_lipschitz B n).coeFn_compLp (clipped_positive_power_zero B n) g,hf,hg] with x hx hy hfx hgx simp only [Real.inner_apply,hx,hy,Function.comp_apply,clipReal_eq_self _ hfx, clipReal_eq_self _ hgx,mul_pow]
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839import OAI.Geometry.RCD.Sobolev.BoundedTestCutoffError
namespace OAI
/-! # Integral error is controlled by the symmetric difference of test domains -/
open Set MeasureTheoryopen scoped symmDiffnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MeasurableSpace X]
theorem bounded_set_test_error (μ : Measure X) [IsFiniteMeasure μ] {s t : Set X} (hs : MeasurableSet s) (ht : MeasurableSet t) {f : X → ℝ} (hf : Integrable f μ) {B : ℝ} (hb : ∀ᵐ x ∂μ, |f x|≤B) : |(∫ x in s, f x ∂μ)-(∫ x in t, f x ∂μ)|≤B*μ.real (s ∆ t) := by have hpoint : ∀ᵐ x ∂μ, ‖s.indicator f x-t.indicator f x‖≤ B*(s ∆ t).indicator (fun _ => (1:ℝ)) x := by filter_upwards [hb] with x hx by_cases hxs : x∈s <;> by_cases hxt : x∈t all_goals simp only [mem_symmDiff,hxs,hxt,and_self,and_false, false_and,not_true_eq_false,not_false_eq_true,true_or,false_or,or_self, indicator_of_mem,indicator_of_notMem,sub_self,sub_zero,zero_sub,norm_neg, Real.norm_eq_abs,mul_one,mul_zero,abs_zero] all_goals first | exact hx | exact le_refl 0 have hd : Integrable (fun x => s.indicator f x-t.indicator f x) μ := (hf.indicator hs).sub (hf.indicator ht) have hi := (norm_integral_le_integral_norm (fun x => s.indicator f x-t.indicator f x)).trans (integral_mono_ae hd.norm (((integrable_const (1:ℝ)).indicator (hs.symmDiff ht)).const_mul B) hpoint) rw [integral_sub (hf.indicator hs) (hf.indicator ht),integral_indicator hs, integral_indicator ht,integral_const_mul,integral_indicator (hs.symmDiff ht),setIntegral_const] at hi simpa only [smul_eq_mul,mul_one,Real.norm_eq_abs] using hi
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051import OAI.Geometry.RCD.Sobolev.WeakLaplacianSquare
namespace OAI
/-! # Constructing the L² Laplacian of a bounded Lipschitz square -/
open Set Filter MeasureTheoryopen scoped NNReal ENNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) (hQ : QuadraticCheegerEnergy μ)
/-- A bounded function with bounded weak gradient has an actual L²square-Laplacian, with the exact carré-du-champ formula. -/theorem exists_weakLaplacian_square (f : SobolevSpace μ hQ) (d : Lp ℝ 2 μ) (C L : ℝ≥0) (hf : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ hQ f x| ≤ C) (hgrad : ∀ᵐ x ∂μ, SobolevSpace.minimalSlope μ hQ f x ≤ L) (hd : IsWeakLaplacian μ hQ f d) : ∃ q : Lp ℝ 2 μ, IsWeakLaplacian μ hQ (SobolevSpace.square μ hQ f C) q ∧ (q =ᵐ[μ] fun x => 2*(SobolevSpace.toLp μ hQ f x*d x+ (SobolevSpace.minimalSlope μ hQ f x)^2)) := by let F := SobolevSpace.toLp μ hQ f let G := SobolevSpace.minimalSlope μ hQ f have hF : MemLp F ∞ μ := memLp_top_of_bound (Lp.aestronglyMeasurable F) C (by simpa only [Real.norm_eq_abs] using hf) have hGs : MemLp (fun x => G x^2) 2 μ := by apply (Lp.memLp G).of_le_mul (c := (L:ℝ)) ((Lp.aestronglyMeasurable G).pow 2) filter_upwards [hgrad,(Lp.coeFn_nonneg _).mpr (SobolevSpace.minimalSlope_nonneg μ hQ f)] with x hx h0 change |G x^2| ≤ (L:ℝ)*|G x| change G x ≤ L at hx change 0 ≤ G x at h0 rw [abs_of_nonneg (sq_nonneg _),abs_of_nonneg h0] nlinarith have hprod : MemLp (fun x => F x*d x) 2 μ := by simpa only [Pi.mul_apply,mul_comm] using! (Lp.memLp d).mul hF have hQ2 : MemLp (fun x => 2*(F x*d x+G x^2)) 2 μ := by simpa only [Pi.add_apply] using (hprod.add hGs).const_mul 2 let q := hQ2.toLp (fun x => 2*(F x*d x+G x^2)) have hq : q =ᵐ[μ] fun x => 2*(F x*d x+G x^2) := hQ2.coeFn_toLp refine ⟨q,weakLaplacian_square μ hQ f d q C hf hd ?_,hq⟩ filter_upwards [hq,localGamma_self μ hQ f] with x hqx hγ rw [hqx,hγ]
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455import OAI.Geometry.RCD.Sobolev.BoundedLpSquareimport OAI.Geometry.RCD.Sobolev.InnerProductVariation
namespace OAI
/-! # Scalar differentiation of a bounded L² square against a varying weight -/
open Filter MeasureTheoryopen scoped ENNReal Topology
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MeasurableSpace X] (μ : Measure X)
/-- Pairing a bounded L² square with a bounded weight agrees with thecontinuous weighted quadratic form. -/theorem inner_boundedLpSquare (f w : Lp ℝ 2 μ) (V : Lp ℝ ∞ μ) (hV : V =ᵐ[μ] w) (C : ℝ) (hC : 0 ≤ C) (hf : ∀ᵐ x ∂μ, |f x| ≤ C) : inner ℝ w (boundedLpSquare μ f C hC hf) = inner ℝ f (lpMultiplier μ V f) := by simp only [L2.inner_def,Real.inner_apply] apply integral_congr_ae filter_upwards [hV,boundedLpSquare_coe μ f C hC hf,lpMultiplier_coe μ V f] with x hv hs hp rw [hs,hp,hv] ring
/-- The derivative uses only L² derivatives of the two paths; boundednesssupplies the extra continuity required for the square. -/theorem boundedSquare_pairing_hasDerivAt {F W : ℝ → Lp ℝ 2 μ} {t C : ℝ} {F' W' : Lp ℝ 2 μ} (hC : 0 ≤ C) (hb : ∀ s, ∀ᵐ x ∂μ, |F s x| ≤ C) (hF : HasDerivAt F F' t) (hW : HasDerivAt W W' t) (V : Lp ℝ ∞ μ) (hV : V =ᵐ[μ] W t) : HasDerivAt (fun s => inner ℝ (W s) (boundedLpSquare μ (F s) C hC (hb s))) (inner ℝ W' (boundedLpSquare μ (F t) C hC (hb t))+ 2*inner ℝ F' (lpMultiplier μ V (F t))) t := by apply hasDerivAt_inner_of_frozen hW (boundedLpSquare_continuousAt μ hC hF.continuousAt hb) have hd := hF.inner ℝ ((lpMultiplier μ V).hasFDerivAt.comp_hasDerivAt t hF) have he : inner ℝ (F t) (lpMultiplier μ V F') = inner ℝ F' (lpMultiplier μ V (F t)) := by rw [lpMultiplier_inner_symm] exact real_inner_comm _ _ rw [he] at hd have hfun : (fun s => inner ℝ (W t) (boundedLpSquare μ (F s) C hC (hb s))) = (fun s => inner ℝ (F s) (lpMultiplier μ V (F s))) := by funext s exact inner_boundedLpSquare μ (F s) (W t) V hV C hC (hb s) rw [hfun] dsimp only [Function.comp_apply] at hd convert! hd using 1 ring
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253import OAI.Geometry.RCD.Metric.MeasuredBallLawimport OAI.Geometry.RCD.Sobolev.NestedBallCutoff
namespace OAI
/-! # The exact mass deficit controls bounded test localization -/
open Set Metric Filter MeasureTheoryopen scoped Topology BoundedContinuousFunctionnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MeasurableSpace X] [TopologicalSpace X] [OpensMeasurableSpace X]
theorem bounded_test_cutoff_error (μ : Measure X) [IsFiniteMeasure μ] {s : Set X} (hs : MeasurableSet s) (φ χ : X →ᵇ ℝ) (hχ : ∀ x, 0≤χ x ∧ χ x≤1) (hχ0 : ∀ x, x∉s → χ x=0) : |(∫ x in s, φ x ∂μ)-(∫ x, χ x*φ x ∂μ)|≤ ‖φ‖*(μ.real s-(∫ x, χ x ∂μ)) := by let I : X → ℝ := s.indicator (fun _ => 1) have hI : Integrable I μ := (integrable_const (1:ℝ)).indicator hs have hφ := φ.integrable (μ := μ) have hp := (χ*φ).integrable (μ := μ) have hd : ∀ x, 0≤I x-χ x := by intro x by_cases hx : x∈s · simpa only [I,indicator_of_mem hx] using sub_nonneg.mpr (hχ x).2 · simp only [I,indicator_of_notMem hx,hχ0 x hx,sub_self,le_refl] have hpoint : ∀ x, ‖s.indicator (fun x => φ x) x-χ x*φ x‖≤‖φ‖*(I x-χ x) := by intro x have he : s.indicator (fun x => φ x) x-χ x*φ x=(I x-χ x)*φ x := by by_cases hx : x∈s · simp only [I,indicator_of_mem hx]; ring · simp only [I,indicator_of_notMem hx,zero_sub,neg_mul] rw [he,norm_mul,Real.norm_eq_abs,abs_of_nonneg (hd x),mul_comm] exact mul_le_mul_of_nonneg_right (φ.norm_coe_le_norm x) (hd x) have hi := (norm_integral_le_integral_norm (s.indicator (fun x => φ x)-(fun x => χ x*φ x))).trans (integral_mono_ae ((hφ.indicator hs).sub hp).norm ((hI.sub (χ.integrable (μ := μ))).const_mul ‖φ‖) (Eventually.of_forall hpoint)) change ‖∫ x, s.indicator (fun x => φ x) x-χ x*φ x ∂μ‖≤ ∫ x, ‖φ‖*(I x-χ x) ∂μ at hi have hp' : Integrable (fun x => χ x*φ x) μ := hp rw [integral_sub (hφ.indicator hs) hp',integral_indicator hs, integral_const_mul,integral_sub hI (χ.integrable (μ := μ))] at hi simpa only [I,integral_indicator hs,setIntegral_const,smul_eq_mul,mul_one, Real.norm_eq_abs] using hi
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889import OAI.Geometry.RCD.Harmonic.TransversePositivePart
namespace OAI
/-! # The compact barrier uses an actual product of bounded Sobolev functions -/
open Set Filter MeasureTheoryopen scoped NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) (Q : QuadraticCheegerEnergy μ)
omit [BorelSpace X] [ProperSpace X] intheorem bounded_positive_affine_bound (f g : SobolevSpace μ Q) (A B : ℝ≥0) (hf : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q f x|≤A) (hg : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q g x|≤B) (a : ℝ) : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q ((f+a • g).upperPositivePart μ Q (le_refl (0:ℝ))) x|≤A+‖a‖₊*B := by have hc : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q (f+a • g) x|≤A+‖a‖₊*B := by simp only [map_add,map_smul] filter_upwards [hf,hg,Lp.coeFn_add (SobolevSpace.toLp μ Q f) (a • SobolevSpace.toLp μ Q g), Lp.coeFn_smul a (SobolevSpace.toLp μ Q g)] with x hx hy ha hs rw [ha] simp only [Pi.add_apply,hs,Pi.smul_apply,smul_eq_mul, coe_nnnorm,Real.norm_eq_abs] exact (abs_add_le _ _).trans (add_le_add hx (by rw [abs_mul]; exact mul_le_mul_of_nonneg_left hy (abs_nonneg _))) filter_upwards [hc,(f+a • g).upperPositivePart_coe μ Q (le_refl (0:ℝ))] with x hx hy rw [hy] simp only [upperLevelPart,sub_zero] rw [abs_of_nonneg (le_max_right _ _)] exact max_le ((le_abs_self _).trans hx) (by positivity)
theorem exists_bounded_transverse_test (w s η : SobolevSpace μ Q) (Ω : Set X) (W S : X → ℝ) (A B E : ℝ≥0) (hw : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q w x|≤A) (hs : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q s x|≤B) (he : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q η x|≤E) (hW : SobolevSpace.toLp μ Q w =ᵐ[μ.restrict Ω] W) (hS : SobolevSpace.toLp μ Q s =ᵐ[μ.restrict Ω] S) (hη : SobolevSpace.toLp μ Q η =ᵐ[μ.restrict Ω] fun _ => (1:ℝ)) (hww : localGamma μ Q w w =ᵐ[μ.restrict Ω] fun _ => (1:ℝ)) (hsw : localGamma μ Q s w =ᵐ[μ.restrict Ω] fun _ => (0:ℝ)) (δ c : ℝ) : ∃ f : SobolevSpace μ Q, (SobolevSpace.toLp μ Q f =ᵐ[μ.restrict Ω] fun x => max (W x+δ) 0*max (c-S x) 0) ∧ (localGamma μ Q f w =ᵐ[μ.restrict Ω] fun x => if -δ<W x then max (c-S x) 0 else 0) := by let P := (w+δ • η).upperPositivePart μ Q (le_refl (0:ℝ)) let T := (c • η-s).upperPositivePart μ Q (le_refl (0:ℝ)) let C := A+‖δ‖₊*E let D := B+‖c‖₊*E have hP : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q P x|≤C := bounded_positive_affine_bound μ Q w η A E hw he δ have hneg : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q (-s) x|≤B := by simp only [map_neg] filter_upwards [hs,Lp.coeFn_neg (SobolevSpace.toLp μ Q s)] with x hx hy simpa only [hy,Pi.neg_apply,abs_neg] using hx have hT : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ Q T x|≤D := by simpa only [T,D,sub_eq_neg_add,NNReal.coe_add,NNReal.coe_mul] using bounded_positive_affine_bound μ Q (-s) η B E hneg he c refine ⟨SobolevSpace.product μ Q P T C D,?_, transverse_positive_test μ Q w s η Ω W S hW hS hη hww hsw δ c C D hP hT⟩ have hU : SobolevSpace.toLp μ Q (w+δ • η) =ᵐ[μ.restrict Ω] fun x => W x+δ := by simp only [map_add,map_smul] filter_upwards [hW,hη,ae_restrict_of_ae (Lp.coeFn_add (SobolevSpace.toLp μ Q w) (δ • SobolevSpace.toLp μ Q η)),ae_restrict_of_ae (Lp.coeFn_smul δ (SobolevSpace.toLp μ Q η))] with x hx hy ha hm simp only [ha,Pi.add_apply,hm,Pi.smul_apply,smul_eq_mul,hx,hy,mul_one] have hV : SobolevSpace.toLp μ Q (c • η-s) =ᵐ[μ.restrict Ω] fun x => c-S x := by simp only [map_sub,map_smul] filter_upwards [hS,hη,ae_restrict_of_ae (Lp.coeFn_sub (c • SobolevSpace.toLp μ Q η) (SobolevSpace.toLp μ Q s)),ae_restrict_of_ae (Lp.coeFn_smul c (SobolevSpace.toLp μ Q η))] with x hx hy ha hm simp only [ha,Pi.sub_apply,hm,Pi.smul_apply,smul_eq_mul,hx,hy,mul_one] filter_upwards [ae_restrict_of_ae (SobolevSpace.product_coe μ Q P T C D hP hT),hU,hV, ae_restrict_of_ae ((w+δ • η).upperPositivePart_coe μ Q (le_refl (0:ℝ))), ae_restrict_of_ae ((c • η-s).upperPositivePart_coe μ Q (le_refl (0:ℝ)))] with x hx hu hv hp ht rw [hx] change SobolevSpace.toLp μ Q ((w+δ • η).upperPositivePart μ Q (le_refl (0:ℝ))) x * SobolevSpace.toLp μ Q ((c • η-s).upperPositivePart μ Q (le_refl (0:ℝ))) x = _ rw [hp,ht] simp only [upperLevelPart,hu,hv,sub_zero]
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334import OAI.Geometry.RCD.Sobolev.WeightedEnergyWeightLimit
namespace OAI
/-! # Integrable pairings with uniformly bounded convergent weights -/
open Set Filter MeasureTheoryopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates
theorem bounded_weight_integral_tendsto {X : Type*} [MeasurableSpace X] (μ : Measure X) (w : ℕ → X → ℝ) (v : X → ℝ) (hw : ∀ k, AEStronglyMeasurable (w k) μ) {M : ℝ≥0} (hM : ∀ k, ∀ᵐ x ∂μ, ‖w k x‖ ≤ M) (hc : ∀ᵐ x ∂μ, Tendsto (fun k => w k x) atTop (𝓝 (v x))) (f : X → ℝ) (hf : Integrable f μ) : Tendsto (fun k => ∫ x, w k x*f x ∂μ) atTop (𝓝 (∫ x, v x*f x ∂μ)) := by apply tendsto_integral_of_dominated_convergence (fun x => (M:ℝ)*|f x|) · intro k exact (hw k).mul hf.aestronglyMeasurable · exact hf.abs.const_mul M · intro k filter_upwards [hM k] with x hx rw [norm_mul,Real.norm_eq_abs (f x)] exact mul_le_mul_of_nonneg_right hx (abs_nonneg _) · filter_upwards [hc] with x hx exact hx.mul_const _
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091import OAI.Geometry.RCD.Heat.CanonicalHeatHessianimport OAI.Geometry.RCD.Sobolev.BoundedHessianApproximationIndependence
namespace OAI
/-! # Every bounded regular gradient approximation has the canonical Hessian limit -/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped Topology NNReal ENNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (p : X) [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] [(hausdorff n X).Regular]
include hn intheorem hessian_limit_eq_canonical (hK : K ≤ 0) (f : Lp ℝ 2 (hausdorff n X)) (A : ℝ≥0) (hf : ∀ᵐ x ∂hausdorff n X, |f x| ≤ A) {a r : ℝ} (ha : 0 < a) (hr : 0 < r) (u : ℕ → SobolevSpace (hausdorff n X) hX.quadratic) (du : ℕ → Lp ℝ 2 (hausdorff n X)) (hdu : ∀ k, IsWeakLaplacian (hausdorff n X) hX.quadratic (u k) (du k)) (U : ℕ → X → ℝ) (L B : ℕ → ℝ≥0) (hU : ∀ k, LipschitzWith (L k) (U k)) (hu : ∀ k, SobolevSpace.toLp (hausdorff n X) hX.quadratic (u k) =ᵐ[hausdorff n X] U k) (huB : ∀ k, ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic (u k) x| ≤ B k) (v : SobolevSpace (hausdorff n X) hX.quadratic) (V : X → ℝ) (Lv Av : ℝ≥0) (hV : LipschitzWith Lv V) (hc : HasCompactSupport V) (hv : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[hausdorff n X] V) (hAv : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic v x| ≤ Av) {P : ℝ} (hP : 0 ≤ P) (hgu : ∀ k, ∀ᵐ x ∂(hausdorff n X).restrict (closedBall p r), localGamma (hausdorff n X) hX.quadratic (u k) (u k) x ≤ P) (φ : X → ℝ) (hφ : AEStronglyMeasurable φ (hausdorff n X)) (D : ℝ≥0) (hD : ∀ᵐ x ∂hausdorff n X, |φ x| ≤ D) (hzero : ∀ x ∉ closedBall p r, φ x = 0) (henergy : Tendsto (fun k => weightedGamma (hausdorff n X) hX.quadratic (fun x => (φ x)^2) (u k-v) (u k-v)) atTop (𝓝 0)) (WU UU : ℕ → SobolevSpace (hausdorff n X) hX.quadratic) (hWU : ∀ k, SobolevSpace.toLp (hausdorff n X) hX.quadratic (WU k) =ᵐ[(hausdorff n X).restrict (closedBall p r)] localGamma (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic a ha f) (u k)) (hUU : ∀ k, SobolevSpace.toLp (hausdorff n X) hX.quadratic (UU k) =ᵐ[(hausdorff n X).restrict (closedBall p r)] localGamma (hausdorff n X) hX.quadratic (u k) (u k)) (I J : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p r))) (hI : Tendsto (fun k => ∫ x in closedBall p r, |φ x*localHessianAction (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic a ha f) (u k) (u k) (WU k) (WU k) (UU k) x-I x| ∂hausdorff n X) atTop (𝓝 0)) (hcan : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic a ha f) v p r φ J) : I=J := by let m := hausdorff n X let q := hX.quadratic let w := heatSobolev m q a ha f obtain ⟨uc,dc,Uc,Mc,Pc,huc,hdc,hUc,hrepc,hBc,hPc,hgc,hconv⟩ := hX.compact_lipschitz_heat_directions hn p v V Lv Av hV hc hv hAv obtain ⟨CW,CC,hCW,hCC,hJC⟩ := hcan have hCWr (k : ℕ) : SobolevSpace.toLp m q (CW k) =ᵐ[m.restrict (closedBall p r)] localGamma m q w (uc k) := by rw [huc k]; exact hCW k have hCCr (k : ℕ) : SobolevSpace.toLp m q (CC k) =ᵐ[m.restrict (closedBall p r)] localGamma m q (uc k) (uc k) := by rw [huc k]; exact hCC k have hJCr : Tendsto (fun k => ∫ x in closedBall p r, |φ x*localHessianAction m q w (uc k) (uc k) (CW k) (CW k) (CC k) x-J x| ∂m) atTop (𝓝 0) := by simpa only [huc] using hJC have hnconv : Tendsto (fun k => ‖uc k-v‖) atTop (𝓝 0) := by simpa only [sub_self,norm_zero] using (hconv.sub (tendsto_const_nhds (x := v))).norm have hD2 : ∀ᵐ x ∂m, ‖(φ x)^2‖ ≤ (D^2:ℝ≥0) := by filter_upwards [hD] with x hx simpa only [norm_pow,Real.norm_eq_abs,NNReal.coe_pow] using pow_le_pow_left₀ (abs_nonneg _) hx 2 have hEc : Tendsto (fun k => weightedGamma m q (fun x => (φ x)^2) (uc k-v) (uc k-v)) atTop (𝓝 0) := by apply squeeze_zero_norm (fun k => weightedGamma_norm_le m q hD2 (uc k-v) (uc k-v)) simpa only [mul_zero] using (hnconv.const_mul ((D^2:ℝ≥0):ℝ)).mul hnconv have hgu' (k : ℕ) : ∀ᵐ x ∂m.restrict (closedBall p r), localGamma m q (u k) (u k) x ≤ max P Pc := (hgu k).mono fun x hx => hx.trans (le_max_left _ _) have hgc' (k : ℕ) : ∀ᵐ x ∂m.restrict (closedBall p r), localGamma m q (uc k) (uc k) x ≤ max P Pc := (ae_restrict_of_ae (hgc k)).mono fun x hx => hx.trans (le_max_right _ _) exact hX.bounded_heat_hessian_approximation_independent hn p hK f A hf ha hr u uc du dc hdu hdc U Uc L Mc B (fun _ => Av) hU hUc hu hrepc huB hBc (hP.trans (le_max_left _ _)) hgu' hgc' φ hφ D hD hzero v henergy hEc WU CW UU CC hWU hCWr hUU hCCr I J hI hJCr
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192import OAI.Geometry.RCD.Sobolev.CanonicalHessianApproximation
namespace OAI
/-! # Local constant shifts preserve the canonical Hessian direction -/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (p : X) [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] [(hausdorff n X).Regular]
include hn intheorem canonical_hessian_locality_of_constant (hK : K ≤ 0) (f : Lp ℝ 2 (hausdorff n X)) (A : ℝ≥0) (hf : ∀ᵐ x ∂hausdorff n X, |f x| ≤ A) {s r : ℝ} (hs : 0 < s) (hr : 0 < r) (v z : SobolevSpace (hausdorff n X) hX.quadratic) (V Z : X → ℝ) (Lv Lz Av Az : ℝ≥0) (hV : LipschitzWith Lv V) (hZ : LipschitzWith Lz Z) (hVc : HasCompactSupport V) (hZc : HasCompactSupport Z) (hv : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[hausdorff n X] V) (hz : SobolevSpace.toLp (hausdorff n X) hX.quadratic z =ᵐ[hausdorff n X] Z) (hAv : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic v x| ≤ Av) (hAz : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic z x| ≤ Az) (c : ℝ) (hvz : (fun x => SobolevSpace.toLp (hausdorff n X) hX.quadratic z x- SobolevSpace.toLp (hausdorff n X) hX.quadratic v x) =ᵐ[(hausdorff n X).restrict (closedBall p r)] fun _ => c) (φ : X → ℝ) (hφ : AEStronglyMeasurable φ (hausdorff n X)) (D : ℝ≥0) (hD : ∀ᵐ x ∂hausdorff n X, |φ x| ≤ D) (hφz : ∀ x∉closedBall p r, φ x=0) (I J : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p r))) (hI : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) v p r φ I) (hJ : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) z p r φ J) : I=J := by let m := hausdorff n X let q := hX.quadratic let w := heatSobolev m q s hs f obtain ⟨u,du,U,Lu,Pu,hu,hdu,hU,hur,huA,hPu,hgu,huc⟩ := hX.compact_lipschitz_heat_directions hn p v V Lv Av hV hVc hv hAv obtain ⟨y,dy,Y,Ly,Py,hy,hdy,hY,hyr,hyA,hPy,hgy,hyc⟩ := hX.compact_lipschitz_heat_directions hn p z Z Lz Az hZ hZc hz hAz obtain ⟨AU,UU,hAU,hUU,hIl⟩ := hI obtain ⟨AY,YY,hAY,hYY,hJl⟩ := hJ have hD2 : ∀ᵐ x ∂m, ‖(φ x)^2‖ ≤ (D^2:ℝ≥0) := by filter_upwards [hD] with x hx simpa only [norm_pow,Real.norm_eq_abs,NNReal.coe_pow] using pow_le_pow_left₀ (abs_nonneg _) hx 2 let P := weightedGammaCLM m q (hφ.pow 2) hD2 have hPc : Continuous (fun b : SobolevSpace m q => P (b-v) (b-v)) := by fun_prop have hezero : P (z-v) (z-v)=0 := by have hvz' : SobolevSpace.toLp m q (z-v) =ᵐ[m.restrict (closedBall p r)] fun _ => c := by simp only [map_sub] filter_upwards [hvz,ae_restrict_of_ae (Lp.coeFn_sub (SobolevSpace.toLp m q z) (SobolevSpace.toLp m q v))] with x hx he exact he.trans hx change (∫ x, (φ x)^2*localGamma m q (z-v) (z-v) x ∂m)=0 apply integral_eq_zero_of_ae filter_upwards [(ae_restrict_iff' measurableSet_closedBall).mp hvz', localGamma_zero_on_level m q (z-v) (z-v) c] with x hx hh change (φ x)^2*localGamma m q (z-v) (z-v) x = (0:ℝ) by_cases hm : x∈closedBall p r · rw [hh (hx hm),mul_zero] · rw [hφz x hm,zero_pow (by decide : (2:ℕ)≠0),zero_mul] have huE : Tendsto (fun k => weightedGamma m q (fun x => (φ x)^2) (u k-v) (u k-v)) atTop (𝓝 0) := by have hh := (hPc.tendsto v).comp huc change Tendsto (fun k => P (u k-v) (u k-v)) atTop (𝓝 0) simpa only [Function.comp_apply,sub_self,map_zero,zero_apply] using! hh have hyE : Tendsto (fun k => weightedGamma m q (fun x => (φ x)^2) (y k-v) (y k-v)) atTop (𝓝 0) := by change Tendsto (fun k => P (y k-v) (y k-v)) atTop (𝓝 0) simpa only [Function.comp_apply,hezero] using! (hPc.tendsto z).comp hyc exact hX.bounded_heat_hessian_approximation_independent hn p hK f A hf hs hr u y du dy hdu hdy U Y Lu Ly (fun _ => Av) (fun _ => Az) hU hY hur hyr huA hyA (hPu.trans (le_max_left Pu Py)) (fun k => (ae_restrict_of_ae (hgu k)).mono fun x hx => hx.trans (le_max_left Pu Py)) (fun k => (ae_restrict_of_ae (hgy k)).mono fun x hx => hx.trans (le_max_right Pu Py)) φ hφ D hD hφz v huE hyE AU AY UU YY (fun k => by simpa only [hu k] using hAU k) (fun k => by simpa only [hy k] using hAY k) (fun k => by simpa only [hu k] using hUU k) (fun k => by simpa only [hy k] using hYY k) I J (by simpa only [hu] using hIl) (by simpa only [hy] using hJl)
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566import OAI.Geometry.RCD.Sobolev.CanonicalHessianRestrictionimport OAI.Geometry.RCD.Sobolev.CanonicalHessianLocality
namespace OAI
/-! # The same intrinsic Hessian pairing on a smaller supported law -/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (p : X) [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] [(hausdorff n X).Regular]
include hn intheorem canonical_hessian_inner_pairing (hK : K ≤ 0) (f : Lp ℝ 2 (hausdorff n X)) (A : ℝ≥0) (hf : ∀ᵐ x ∂hausdorff n X, |f x| ≤ A) {s r R : ℝ} (hs : 0 < s) (hr : 0 < r) (hrR : r ≤ R) (v z : SobolevSpace (hausdorff n X) hX.quadratic) (V Z : X → ℝ) (Lv Lz Av Az : ℝ≥0) (hV : LipschitzWith Lv V) (hZ : LipschitzWith Lz Z) (hVc : HasCompactSupport V) (hZc : HasCompactSupport Z) (hv : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[hausdorff n X] V) (hz : SobolevSpace.toLp (hausdorff n X) hX.quadratic z =ᵐ[hausdorff n X] Z) (hAv : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic v x| ≤ Av) (hAz : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic z x| ≤ Az) (hvz : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[(hausdorff n X).restrict (closedBall p r)] SobolevSpace.toLp (hausdorff n X) hX.quadratic z) (ψ φ : X → ℝ) (hψ : AEStronglyMeasurable ψ (hausdorff n X)) (hφ : AEStronglyMeasurable φ (hausdorff n X)) (B D : ℝ≥0) (hB : ∀ᵐ x ∂hausdorff n X, |ψ x| ≤ B) (hD : ∀ᵐ x ∂hausdorff n X, |φ x| ≤ D) (hψone : ∀ x∈closedBall p r, ψ x=1) (hφz : ∀ x∉closedBall p r, φ x=0) (J : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p R))) (I : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p r))) (hJ : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) v p R ψ J) (hI : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) z p r φ I) (ν : Measure X) (hν : ν ≪ hausdorff n X) (hstay : ∀ᵐ x ∂ν, x∈closedBall p r) (hone : φ =ᵐ[ν] fun _ => 1) : (∫ x in closedBall p r, I x ∂ν) = ∫ x in closedBall p R, J x ∂ν := by let m := hausdorff n X let q := hX.quadratic obtain ⟨Jr,hJr,he⟩ := hJ.restrict_weight m q hrR hψ B hB hψone φ hφ D hD have hsame := hX.canonical_hessian_locality hn p hK f A hf hs hr v z V Z Lv Lz Av Az hV hZ hVc hZc hv hz hAv hAz hvz φ hφ D hD hφz Jr I hJr hI rw [hsame] at he have hsmall : ν.restrict (closedBall p r)=ν := Measure.restrict_eq_self_of_ae_mem hstay have hlarge : ν.restrict (closedBall p R)=ν := Measure.restrict_eq_self_of_ae_mem (hstay.mono fun _ hx => (closedBall_subset_closedBall hrR) hx) have heν := (hν.restrict (closedBall p r)).ae_eq he rw [hsmall] at heν rw [hsmall,hlarge] apply integral_congr_ae filter_upwards [heν,hone] with x hx hφx simpa only [hφx,one_mul] using hx
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091import OAI.Geometry.RCD.Sobolev.CanonicalHessianApproximation
namespace OAI
/-! # Locality of the canonical Hessian in its compact Lipschitz direction -/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (p : X) [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] [(hausdorff n X).Regular]
include hn intheorem canonical_hessian_locality (hK : K ≤ 0) (f : Lp ℝ 2 (hausdorff n X)) (A : ℝ≥0) (hf : ∀ᵐ x ∂hausdorff n X, |f x| ≤ A) {s r : ℝ} (hs : 0 < s) (hr : 0 < r) (v z : SobolevSpace (hausdorff n X) hX.quadratic) (V Z : X → ℝ) (Lv Lz Av Az : ℝ≥0) (hV : LipschitzWith Lv V) (hZ : LipschitzWith Lz Z) (hVc : HasCompactSupport V) (hZc : HasCompactSupport Z) (hv : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[hausdorff n X] V) (hz : SobolevSpace.toLp (hausdorff n X) hX.quadratic z =ᵐ[hausdorff n X] Z) (hAv : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic v x| ≤ Av) (hAz : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic z x| ≤ Az) (hvz : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[(hausdorff n X).restrict (closedBall p r)] SobolevSpace.toLp (hausdorff n X) hX.quadratic z) (φ : X → ℝ) (hφ : AEStronglyMeasurable φ (hausdorff n X)) (D : ℝ≥0) (hD : ∀ᵐ x ∂hausdorff n X, |φ x| ≤ D) (hφz : ∀ x∉closedBall p r, φ x=0) (I J : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p r))) (hI : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) v p r φ I) (hJ : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic (heatSobolev (hausdorff n X) hX.quadratic s hs f) z p r φ J) : I=J := by let m := hausdorff n X let q := hX.quadratic let w := heatSobolev m q s hs f obtain ⟨u,du,U,Lu,Pu,hu,hdu,hU,hur,huA,hPu,hgu,huc⟩ := hX.compact_lipschitz_heat_directions hn p v V Lv Av hV hVc hv hAv obtain ⟨y,dy,Y,Ly,Py,hy,hdy,hY,hyr,hyA,hPy,hgy,hyc⟩ := hX.compact_lipschitz_heat_directions hn p z Z Lz Az hZ hZc hz hAz obtain ⟨AU,UU,hAU,hUU,hIl⟩ := hI obtain ⟨AY,YY,hAY,hYY,hJl⟩ := hJ have hD2 : ∀ᵐ x ∂m, ‖(φ x)^2‖ ≤ (D^2:ℝ≥0) := by filter_upwards [hD] with x hx simpa only [norm_pow,Real.norm_eq_abs,NNReal.coe_pow] using pow_le_pow_left₀ (abs_nonneg _) hx 2 let P := weightedGammaCLM m q (hφ.pow 2) hD2 have hPc : Continuous (fun b : SobolevSpace m q => P (b-v) (b-v)) := by fun_prop have hezero : P (z-v) (z-v)=0 := by have hvz' : SobolevSpace.toLp m q (z-v) =ᵐ[m.restrict (closedBall p r)] fun _ => 0 := by simp only [map_sub] filter_upwards [hvz,ae_restrict_of_ae (Lp.coeFn_sub (SobolevSpace.toLp m q z) (SobolevSpace.toLp m q v))] with x hx he change SobolevSpace.toLp m q v x= SobolevSpace.toLp m q z x at hx simp only [he,Pi.sub_apply,hx,sub_self] change (∫ x, (φ x)^2*localGamma m q (z-v) (z-v) x ∂m)=0 apply integral_eq_zero_of_ae filter_upwards [(ae_restrict_iff' measurableSet_closedBall).mp hvz', localGamma_zero_on_level m q (z-v) (z-v) 0] with x hx hh change (φ x)^2*localGamma m q (z-v) (z-v) x = (0:ℝ) by_cases hm : x∈closedBall p r · rw [hh (hx hm),mul_zero] · rw [hφz x hm,zero_pow (by decide : (2:ℕ)≠0),zero_mul] have huE : Tendsto (fun k => weightedGamma m q (fun x => (φ x)^2) (u k-v) (u k-v)) atTop (𝓝 0) := by have hh := (hPc.tendsto v).comp huc change Tendsto (fun k => P (u k-v) (u k-v)) atTop (𝓝 0) simpa only [Function.comp_apply,sub_self,map_zero,zero_apply] using! hh have hyE : Tendsto (fun k => weightedGamma m q (fun x => (φ x)^2) (y k-v) (y k-v)) atTop (𝓝 0) := by change Tendsto (fun k => P (y k-v) (y k-v)) atTop (𝓝 0) simpa only [Function.comp_apply,hezero] using! (hPc.tendsto z).comp hyc exact hX.bounded_heat_hessian_approximation_independent hn p hK f A hf hs hr u y du dy hdu hdy U Y Lu Ly (fun _ => Av) (fun _ => Az) hU hY hur hyr huA hyA (hPu.trans (le_max_left Pu Py)) (fun k => (ae_restrict_of_ae (hgu k)).mono fun x hx => hx.trans (le_max_left Pu Py)) (fun k => (ae_restrict_of_ae (hgy k)).mono fun x hx => hx.trans (le_max_right Pu Py)) φ hφ D hD hφz v huE hyE AU AY UU YY (fun k => by simpa only [hu k] using hAU k) (fun k => by simpa only [hy k] using hAY k) (fun k => by simpa only [hu k] using hUU k) (fun k => by simpa only [hy k] using hYY k) I J (by simpa only [hu] using hIl) (by simpa only [hy] using hJl)
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106import OAI.Geometry.RCD.Heat.CanonicalHeatHessianimport OAI.Geometry.RCD.Coordinates.BoundedRegularPrescribedHessianimport OAI.Geometry.RCD.Sobolev.ScalarBochnerConstructionimport OAI.Geometry.RCD.Sobolev.HessianL1MassBound
namespace OAI
/-! # The canonical Hessian is controlled by the prescribed full Bochner mass -/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {n : ℕ} (hX : NoncollapsedRCD 0 n X) (hn : 2 ≤ n) (p : X) [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] [(hausdorff n X).Regular]
include hn intheorem canonical_hessian_young_bound (w dw G : SobolevSpace (hausdorff n X) hX.quadratic) (hw : IsWeakLaplacian (hausdorff n X) hX.quadratic w (SobolevSpace.toLp (hausdorff n X) hX.quadratic dw)) (W : X → ℝ) (Lw Aw Bw : ℝ≥0) (hW : LipschitzWith Lw W) (hwr : SobolevSpace.toLp (hausdorff n X) hX.quadratic w =ᵐ[hausdorff n X] W) (hwA : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic w x| ≤ Aw) (hdB : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic dw x| ≤ Bw) (hG : SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic w w) {r : ℝ} (hr : 0 < r) (σ : Measure X) [IsFiniteMeasure σ] (hσ : IsMeasureLaplacianOn (hausdorff n X) hX.quadratic (ball p (2*r)) G (bochnerGramSource (hausdorff n X) hX.quadratic 0 w w dw dw σ.toSignedMeasure)) (v : SobolevSpace (hausdorff n X) hX.quadratic) (V : X → ℝ) (Lv Av : ℝ≥0) (hV : LipschitzWith Lv V) (hVc : HasCompactSupport V) (hv : SobolevSpace.toLp (hausdorff n X) hX.quadratic v =ᵐ[hausdorff n X] V) (hAv : ∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic v x| ≤ Av) (φ : X → ℝ) (hφ : AEStronglyMeasurable φ (hausdorff n X)) (D : ℝ≥0) (hD : ∀ᵐ x ∂hausdorff n X, |φ x| ≤ D) (J : Lp ℝ 1 ((hausdorff n X).restrict (closedBall p r))) (hJ : IsCanonicalHeatHessian (hausdorff n X) hX.quadratic w v p r φ J) {a : ℝ} (ha : 0 < a) : 4*a*(∫ x in closedBall p r, |J x| ∂hausdorff n X) ≤ 4*a^2*(hausdorff n X).real (closedBall p r)+((D:ℝ)*(Lv:ℝ)^2)^2*σ.real (closedBall p r) := by let m := hausdorff n X let q := hX.quadratic obtain ⟨u,du,U,M,_P,hu,hdu,hU,hur,huA,_hP,_hgu,_hconv⟩ := hX.compact_lipschitz_heat_directions hn p v V Lv Av hV hVc hv hAv have hgu (k : ℕ) : ∀ᵐ x ∂m, localGamma m q (u k) (u k) x ≤ (Lv:ℝ)^2 := by have ht : 0 < 1/((k:ℝ)+1) := by positivity have hg := hX.heat_compact_slope_bdd 0 n hn hV hVc p (SobolevSpace.toLp m q v) hv.symm (1/((k:ℝ)+1)) ht have he : u k=heatSobolev m q (1/((k:ℝ)+1)) ht (SobolevSpace.toLp m q v) := by rw [hu k] simp only [heatH1,dite_eq_left ht] rfl rw [he] filter_upwards [hg,localGamma_self m q _, (Lp.coeFn_nonneg _).mpr (SobolevSpace.minimalSlope_nonneg m q _)] with x hx hs h0 rw [hs] have hx' : SobolevSpace.minimalSlope m q (heatSobolev m q (1/((k:ℝ)+1)) ht (SobolevSpace.toLp m q v)) x ≤ Lv := by simpa only [neg_zero,zero_mul,Real.exp_zero,mul_one] using hx exact pow_le_pow_left₀ h0 hx' 2 obtain ⟨A,B,hA,hB,hlim⟩ := hJ have hAr (k : ℕ) : SobolevSpace.toLp m q (A k) =ᵐ[m.restrict (closedBall p r)] localGamma m q w (u k) := by simpa only [hu k] using hA k have hBr (k : ℕ) : SobolevSpace.toLp m q (B k) =ᵐ[m.restrict (closedBall p r)] localGamma m q (u k) (u k) := by simpa only [hu k] using hB k let F k x := φ x*localHessianAction m q w (u k) (u k) (A k) (A k) (B k) x have hF (k : ℕ) : Integrable (F k) (m.restrict (closedBall p r)) := ((localHessianAction_integrable m q w (u k) (u k) (A k) (A k) (B k)).bdd_mul hφ (hD.mono fun x hx => by simpa only [Real.norm_eq_abs] using hx)).integrableOn apply L1_limit_radon_young_bound m σ (isCompact_closedBall p r).measure_lt_top.ne F hF J (by simpa only [F,hu] using hlim) ((D:ℝ)*(Lv:ℝ)^2) _ ha intro k obtain ⟨A',B',C',hA',hB',hC',hh⟩ := hX.bounded_regular_prescribed_hessian hn (hX.scalarBochner_nonpositive 0 n hn le_rfl p) w dw hw W hW hwr hwA hdB G hG p hr σ hσ (u k) (du k) (hdu k) (U k) (M k) Av (hU k) (hur k) (huA k) (u k) (du k) (hdu k) (U k) (M k) Av (hU k) (hur k) (huA k) have he := localHessianAction_congr_of_grams m q w (u k) (u k) (u k) (u k) (A k) A' (A k) B' (B k) C' EventuallyEq.rfl EventuallyEq.rfl (hAr k) hA' (hAr k) hB' (hBr k) hC' filter_upwards [he,hh,ae_restrict_of_ae (hgu k),ae_restrict_of_ae hD, ae_restrict_of_ae (localGamma_self m q (u k))] with x he hh hg hφx hself have h0 : 0 ≤ localGamma m q (u k) (u k) x := by rw [hself]; positivity have hsq := mul_le_mul_of_nonneg_left (pow_le_pow_left₀ h0 hg 2) (ENNReal.toReal_nonneg (a := σ.rnDeriv m x)) have hH : (localHessianAction m q w (u k) (u k) (A k) (A k) (B k) x)^2 ≤ (σ.rnDeriv m x).toReal*((Lv:ℝ)^2)^2 := by rw [he] exact hh.trans (by simpa only [pow_two,mul_assoc] using hsq) have hφsq : (φ x)^2 ≤ (D:ℝ)^2 := by simpa only [sq_abs] using pow_le_pow_left₀ (abs_nonneg (φ x)) hφx 2 dsimp only [F] calc _ = (φ x)^2*(localHessianAction m q w (u k) (u k) (A k) (A k) (B k) x)^2 := mul_pow _ _ _ _ ≤ (φ x)^2*((σ.rnDeriv m x).toReal*((Lv:ℝ)^2)^2) := mul_le_mul_of_nonneg_left hH (sq_nonneg _) _ ≤ (D:ℝ)^2*((σ.rnDeriv m x).toReal*((Lv:ℝ)^2)^2) := mul_le_mul_of_nonneg_right hφsq (mul_nonneg ENNReal.toReal_nonneg (sq_nonneg _)) _ = _ := by ring
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061import OAI.Geometry.RCD.Heat.CanonicalHeatHessianimport OAI.Geometry.RCD.Sobolev.L1LimitLocalization
namespace OAI
/-! # Restricting the canonical Hessian to a smaller physical ball -/
open Set Filter MeasureTheory Metricopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) [μ.Regular] (Q : QuadraticCheegerEnergy μ)
theorem IsCanonicalHeatHessian.restrict_weight {w v : SobolevSpace μ Q} {p : X} {r R : ℝ} (hrR : r ≤ R) {ψ : X → ℝ} (hψ : AEStronglyMeasurable ψ μ) (B : ℝ≥0) (hB : ∀ᵐ x ∂μ, |ψ x| ≤ B) (hψone : ∀ x∈closedBall p r, ψ x=1) {J : Lp ℝ 1 (μ.restrict (closedBall p R))} (hJ : IsCanonicalHeatHessian μ Q w v p R ψ J) (φ : X → ℝ) (hφ : AEStronglyMeasurable φ μ) (D : ℝ≥0) (hD : ∀ᵐ x ∂μ, |φ x| ≤ D) : ∃ I : Lp ℝ 1 (μ.restrict (closedBall p r)), IsCanonicalHeatHessian μ Q w v p r φ I ∧ I =ᵐ[μ.restrict (closedBall p r)] fun x => φ x*J x := by have hsub : closedBall p r⊆closedBall p R := closedBall_subset_closedBall hrR have hJi : IntegrableOn (fun x => J x) (closedBall p R) μ := memLp_one_iff_integrable.mp (Lp.memLp J) have hJsmall := hJi.mono_set hsub have hφJ : Integrable (fun x => φ x*J x) (μ.restrict (closedBall p r)) := hJsmall.bdd_mul hφ.restrict ((ae_restrict_of_ae hD).mono fun x hx => by simpa only [Real.norm_eq_abs] using hx) let I := hφJ.toL1 (fun x => φ x*J x) have hIr : I =ᵐ[μ.restrict (closedBall p r)] fun x => φ x*J x := hφJ.coeFn_toL1 obtain ⟨A,C,hA,hC,hlim⟩ := hJ let u (k : ℕ) := heatH1 μ Q (1/(k+1:ℝ)) v let F (k : ℕ) (x : X) := ψ x*localHessianAction μ Q w (u k) (u k) (A k) (A k) (C k) x have hFi (k : ℕ) : Integrable (F k) μ := (localHessianAction_integrable μ Q w (u k) (u k) (A k) (A k) (C k)).bdd_mul hψ (hB.mono fun x hx => by simpa only [Real.norm_eq_abs] using hx) have hlimsmall : Tendsto (fun k => ∫ x in closedBall p r, |F k x-J x| ∂μ) atTop (𝓝 0) := by apply squeeze_zero (fun k => integral_nonneg fun x => abs_nonneg _) ?_ hlim intro k exact setIntegral_mono_set ((hFi k).integrableOn.sub hJi).abs (Eventually.of_forall fun _ => abs_nonneg _) (Eventually.of_forall hsub) have hweighted := integral_abs_bdd_mul_tendsto_zero (μ.restrict (closedBall p r)) F (fun x => J x) (fun k => (hFi k).integrableOn) hJsmall hlimsmall φ hφ.restrict D (ae_restrict_of_ae hD) refine ⟨I,?_,hIr⟩ refine ⟨A,C,fun k => ae_restrict_of_ae_restrict_of_subset hsub (hA k), fun k => ae_restrict_of_ae_restrict_of_subset hsub (hC k),?_⟩ apply hweighted.congr' refine Eventually.of_forall fun k => integral_congr_ae ?_ filter_upwards [hIr,ae_restrict_mem measurableSet_closedBall] with x hx hm dsimp only [F] rw [hψone x hm,one_mul,hx]
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637import OAI.Geometry.RCD.Coordinates.AffineFitPerturbation
namespace OAI
/-! # Sobolev representatives of the centered radial affine fits -/
open Set MeasureTheoryopen scoped InnerProductSpace ENNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] (μ : Measure X) (hQ : QuadraticCheegerEnergy μ)
def centeredAffineSobolev {n : ℕ} (u : Fin n → SobolevSpace μ hQ) (η : SobolevSpace μ hQ) (v a : Euclidean n) : SobolevSpace μ hQ := (-⟪v, a⟫_ℝ) • η + sobolevColumnMap μ hQ u a
theorem centeredAffineSobolev_harmonic {n : ℕ} (u : Fin n → SobolevSpace μ hQ) (η : SobolevSpace μ hQ) (v a : Euclidean n) (s : Set X) (hu : ∀ i, IsSobolevHarmonicOn μ hQ s (u i)) (hη : IsSobolevHarmonicOn μ hQ s η) : IsSobolevHarmonicOn μ hQ s (centeredAffineSobolev μ hQ u η v a) := (hη.smul μ hQ (-⟪v, a⟫_ℝ)).add μ hQ (IsSobolevHarmonicOn.linearCombination μ hQ hu a)
theorem centeredAffineSobolev_restrict {n : ℕ} (u : Fin n → SobolevSpace μ hQ) (η : SobolevSpace μ hQ) (v a : Euclidean n) (s : Set X) (hs : μ s ≠ ∞) (hη : SobolevSpace.restrictLp μ hQ s η = restrictedOne μ s hs) : SobolevSpace.restrictLp μ hQ s (centeredAffineSobolev μ hQ u η v a) = affineCoordinateMap μ hQ u s hs (-⟪v, a⟫_ℝ, a) := by rw [centeredAffineSobolev, map_add, map_smul, hη, affineCoordinateMap_apply]
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930import OAI.Geometry.RCD.Harmonic.CenteredHarmonicDirection
namespace OAI
/-! # Centering preserves the actual rescaled mixed energy -/
open Set MeasureTheorynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
omit [ProperSpace X] intheorem rescaled_local_pairing_of_centering (μ : Measure X) (hQ : QuadraticCheegerEnergy μ) (s : Set X) {r : ℝ} (hr : r ≠ 0) (u v w z : SobolevSpace μ hQ) (hw : ∀ q : SobolevSpace μ hQ, localGamma μ hQ w q =ᵐ[μ.restrict s] fun x => r⁻¹*localGamma μ hQ u q x) (hz : ∀ q : SobolevSpace μ hQ, localGamma μ hQ z q =ᵐ[μ.restrict s] fun x => r⁻¹*localGamma μ hQ v q x) : (fun x => r^2*localGamma μ hQ w z x) =ᵐ[μ.restrict s] localGamma μ hQ u v := by filter_upwards [hw z,hz u,ae_restrict_of_ae (localGamma_comm μ hQ u z), ae_restrict_of_ae (localGamma_comm μ hQ v u)] with x h1 h2 h3 h4 rw [h1,h3,h2,h4] field_simp
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132import OAI.Geometry.RCD.Harmonic.PinchingPairingRestrictionimport OAI.Geometry.RCD.Harmonic.FullMassPinching
namespace OAI
/-! # Full Bochner mass from the centered Poisson pair estimates -/
open Set Metric MeasureTheoryopen scoped NNReal ENNReal InnerProductSpace
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) [IsFiniteMeasureOnCompacts μ] (hQ : QuadraticCheegerEnergy μ)
omit [BorelSpace X] [ProperSpace X] [IsFiniteMeasureOnCompacts μ] in/-- A local scalar multiple of the common cutoff is the indicated constant. -/theorem local_cutoff_smul_representative (S : Set X) (eta : SobolevSpace μ hQ) (heta : SobolevSpace.toLp μ hQ eta =ᵐ[μ.restrict S] fun _ => (1 : ℝ)) (c : ℝ) : SobolevSpace.toLp μ hQ (c • eta) =ᵐ[μ.restrict S] fun _ => c := by change SobolevSpace.toLpCLM μ hQ (c • eta) =ᵐ[μ.restrict S] _ rw [map_smul] filter_upwards [heta, ae_restrict_of_ae (Lp.coeFn_smul c (SobolevSpace.toLp μ hQ eta))] with x hx hc change (c • SobolevSpace.toLp μ hQ eta) x = c simp only [hc, Pi.smul_apply, smul_eq_mul, hx, mul_one]
/-- Centering and exact frame changes preserve every input to the fullmass estimate. The mass tested here is the actual joint Poisson measure. -/theorem centered_poisson_directional_mass {n : ℕ} (u : Fin n → SobolevSpace μ hQ) (f : Fin 2 → SobolevSpace μ hQ) (eta : SobolevSpace μ hQ) (z delta b : Euclidean n) (c : ℝ) (F N : Euclidean n ≃L[ℝ] Euclidean n) (Hpair : Euclidean n →L[ℝ] SobolevSpace μ hQ) (M : PositiveBilinearMeasure X (Euclidean (n + 2))) {p : X} {r rho C κ beta P H D : ℝ} {L : ℝ≥0} (chi : GoodLaplacianCutoff μ hQ p rho C) (hrho : 0 < rho) (hroom : rho < r) (hC : 0 ≤ C) (hκ : 0 ≤ κ) (hH : 0 ≤ H) (hD : 0 ≤ D) (hvol : 0 < μ.real (ball p rho)) (heta : SobolevSpace.toLp μ hQ eta =ᵐ[μ.restrict (closedBall p (2 * rho))] fun _ => (1 : ℝ)) (hN : IsExactMeanNormalization μ hQ ((centeredSobolevMap μ hQ u eta z).comp F.toContinuousLinearMap) (ball p rho) measurableSet_ball N) (G : ∀ v, LocalHarmonicEnergy μ hQ (sobolevColumnMap μ hQ (poissonSpan μ hQ u f)) M κ p r L v) (hgradient : ∀ᵐ x ∂μ.restrict (closedBall p (2 * rho)), localGamma μ hQ (f 1 - f 0 - (c • eta + centeredSobolevMap μ hQ u eta z (F b))) (f 1 - f 0 - (c • eta + centeredSobolevMap μ hQ u eta z (F b))) x ≤ beta) (hcoordinates : ∀ v, ∀ᵐ x ∂μ.restrict (closedBall p (2 * rho)), localGamma μ hQ (centeredSobolevMap μ hQ u eta z (F (N v))) (centeredSobolevMap μ hQ u eta z (F (N v))) x ≤ H * ‖v‖ ^ 2) (hrep : ∀ v, SobolevSpace.toLp μ hQ (Hpair v) =ᵐ[μ.restrict (ball p rho)] localGamma μ hQ (f 1 - f 0) (centeredSobolevMap μ hQ u eta z (F (N v)))) (herror : ∀ v, ‖normalizeLocalL2 μ (ball p rho) (ne_of_lt (measure_ball_lt_top (μ := μ))) (SobolevSpace.restrictLp μ hQ (ball p rho) (Hpair v) - ⟪N.toContinuousLinearMap.adjoint delta, v⟫_ℝ • restrictedOne μ (ball p rho) (ne_of_lt (measure_ball_lt_top (μ := μ))))‖ ≤ D * ‖v‖) (hraw : let a : Euclidean (n + 2) := EuclideanSpace.single (Fin.natAdd n (1 : Fin 2)) 1 - EuclideanSpace.single (Fin.natAdd n (0 : Fin 2)) 1 ⟪a, M.massOperator (ball p rho) a⟫_ℝ ≤ P) : let v := poissonCoordinateLift (F (N (N.toContinuousLinearMap.adjoint delta))) let Q := ((C / rho ^ 2) / 2 + κ) * μ.real (closedBall p (2 * rho)) ⟪v, M.massOperator (ball p rho) v⟫_ℝ ≤ 4 * (P + Q * beta) + 4 * (Q * H) * (D ^ 2 + beta) := by let U := sobolevColumnMap μ hQ (poissonSpan μ hQ u f) let A := (poissonCoordinateLiftLinear n).comp (F.toContinuousLinearMap.comp N.toContinuousLinearMap) let a : Euclidean (n + 2) := EuclideanSpace.single (Fin.natAdd n (1 : Fin 2)) 1 - EuclideanSpace.single (Fin.natAdd n (0 : Fin 2)) 1 have ha : U a = f 1 - f 0 := by rw [map_sub] exact congrArg₂ HSub.hSub (poissonSpanMap_right μ hQ u f 1) (poissonSpanMap_right μ hQ u f 0) have hA (v : Euclidean n) : U (A v) = sobolevColumnMap μ hQ u (F (N v)) := poissonSpanMap_lift μ hQ u f (F (N v)) have hAb : U (A (N.symm b)) = sobolevColumnMap μ hQ u (F b) := by rw [hA, N.apply_symm_apply] have hclosed : ball p rho ⊆ closedBall p (2 * rho) := ball_subset_closedBall.trans (closedBall_subset_closedBall (by linarith)) have heta' := ae_restrict_of_ae_restrict_of_subset hclosed heta have hnormal : sobolevMeanGram μ hQ (U.comp A) (ball p rho) measurableSet_ball = ContinuousLinearMap.id ℝ (Euclidean n) := by have hcomp : U.comp A = (sobolevColumnMap μ hQ u).comp (F.toContinuousLinearMap.comp N.toContinuousLinearMap) := by apply ContinuousLinearMap.ext intro v exact hA v rw [hcomp] exact uncentered_frame_normalization μ hQ u eta z F N _ measurableSet_ball heta' hN have hgrad : ∀ᵐ x ∂μ.restrict (closedBall p (2 * rho)), localGamma μ hQ (U (a - A (N.symm b))) (U (a - A (N.symm b))) x ≤ beta := by have heq : U (a - A (N.symm b)) - (f 1 - f 0 - (c • eta + centeredSobolevMap μ hQ u eta z (F b))) = (c - ⟪z, F b⟫_ℝ) • eta := by rw [map_sub, ha, hAb] simp only [centeredSobolevMap_apply, centeredAffineSobolev] module have he := localGamma_self_eq_of_constant_difference μ hQ (closedBall p (2 * rho)) (U (a - A (N.symm b))) (f 1 - f 0 - (c • eta + centeredSobolevMap μ hQ u eta z (F b))) (c - ⟪z, F b⟫_ℝ) (by rw [heq] exact local_cutoff_smul_representative μ hQ _ eta heta _) filter_upwards [he, hgradient] with x hx hb exact hx.trans_le hb have hcoord (v : Euclidean n) : ∀ᵐ x ∂μ.restrict (closedBall p (2 * rho)), localGamma μ hQ (U (A v)) (U (A v)) x ≤ H * ‖v‖ ^ 2 := by rw [hA] have he := localGamma_self_eq_of_constant_difference μ hQ (closedBall p (2 * rho)) (centeredSobolevMap μ hQ u eta z (F (N v))) (sobolevColumnMap μ hQ u (F (N v))) (-⟪z, F (N v)⟫_ℝ) (centered_sobolev_constant_difference μ hQ _ u eta z (F (N v)) heta) filter_upwards [he, hcoordinates v] with x hx hb exact hx.symm.trans_le hb have hpair (v : Euclidean n) : SobolevSpace.toLp μ hQ (Hpair v) =ᵐ[μ.restrict (ball p rho)] localGamma μ hQ (U a) ((U.comp A) v) := by rw [ContinuousLinearMap.comp_apply, ha, hA] have he := localGamma_eq_of_constant_difference μ hQ (ball p rho) (centeredSobolevMap μ hQ u eta z (F (N v))) (sobolevColumnMap μ hQ u (F (N v))) (f 1 - f 0) (-⟪z, F (N v)⟫_ℝ) (centered_sobolev_constant_difference μ hQ _ u eta z (F (N v)) heta') filter_upwards [hrep v, he, ae_restrict_of_ae (localGamma_comm μ hQ (f 1 - f 0) (centeredSobolevMap μ hQ u eta z (F (N v)))), ae_restrict_of_ae (localGamma_comm μ hQ (sobolevColumnMap μ hQ u (F (N v))) (f 1 - f 0))] with x h1 h2 h3 h4 exact h1.trans (h3.trans (h2.trans h4)) exact directional_mass_from_pairing_bounds μ hQ U A Hpair M a (N.symm b) (N.toContinuousLinearMap.adjoint delta) chi hrho hroom hC hκ hH hD hvol (ne_of_lt (measure_ball_lt_top (μ := μ))) (ne_of_gt (ENNReal.toReal_pos_iff.mp hvol).1) hnormal G hgrad hcoord hpair herror hraw
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637import OAI.Geometry.RCD.Sobolev.PoissonLocality
namespace OAI
/-! # A globally Lipschitz extension of each bounded positive integer power -/
open MeasureTheoryopen scoped NNRealnoncomputable sectionnamespace RegularPointCoordinates
theorem clipped_positive_power_lipschitz (A : ℝ≥0) (n : ℕ) : LipschitzWith ((n+1:ℕ)*A^n) (fun x : ℝ => (clipReal A x)^(n+1)) := by apply LipschitzWith.of_dist_le_mul intro x y rw [Real.dist_eq] have h₁ := abs_pow_sub_pow_le (clipReal A x) (clipReal A y) (n+1) have hM : max |clipReal A x| |clipReal A y| ≤ A := max_le (clipReal_abs_le _ _) (clipReal_abs_le _ _) have hp := pow_le_pow_left₀ (le_max_of_le_left (abs_nonneg _)) hM n have hd := (clipReal_lipschitz A).dist_le_mul x y simp only [Real.dist_eq,NNReal.coe_one,one_mul] at hd simp only [Nat.add_sub_cancel,Nat.cast_add,Nat.cast_one] at h₁ calc _ ≤ |clipReal A x-clipReal A y| *(n+1:ℝ)*(A:ℝ)^n := h₁.trans (mul_le_mul_of_nonneg_left hp (by positivity)) _ ≤ |x-y| *(n+1:ℝ)*(A:ℝ)^n := by gcongr _ = _ := by push_cast; rw [Real.dist_eq]; ring
theorem clipped_positive_power_zero (A : ℝ≥0) (n : ℕ) : (clipReal A 0)^(n+1) = 0 := by rw [clipReal_zero]; simp
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174import Mathlib.Analysis.Calculus.LocalExtr.Basicimport Mathlib.Analysis.Calculus.Deriv.Mulimport Mathlib.Analysis.InnerProductSpace.Calculusimport Mathlib.Analysis.SpecialFunctions.Sqrtimport Mathlib.LinearAlgebra.FiniteDimensional.Basic
namespace OAI
/-! # A quantitative open-image lemma for the finite coordinate maps
Minimizing distance to the target plus a smooth distance penalty proveslocal surjectivity from a uniform lower differential bound. This is thefinite-dimensional special case needed to pass openness to the limit.-/
open Set Metric Filteropen scoped Topology InnerProductSpace
noncomputable sectionnamespace RegularPointCoordinates
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E]
/-- A lower bound on every differential forces a definite ball in the image.No injectivity or global inverse is required. -/theorem ball_subset_image_of_differential_bound {f : E → E} {x : E} {r M : ℝ} (hr : 0 < r) (hM : 0 < M) (hf : ContinuousOn f (closedBall x r)) (hd : ∀ z ∈ ball x r, DifferentiableAt ℝ f z) (hb : ∀ z ∈ ball x r, ∀ v, ‖v‖ ≤ M * ‖fderiv ℝ f z v‖) : ball (f x) (r / (8*M)) ⊆ f '' closedBall x r := by intro y hy let a := 1 / (2*M) let penalty : E → ℝ := fun z => Real.sqrt (‖z-x‖^2+(r/2)^2) let q : E → ℝ := fun z => ‖f z-y‖+a*penalty z have ha : 0 < a := by dsimp only [a]; positivity have hp (z : E) : 0 < penalty z := Real.sqrt_pos.mpr (by positivity) have hpnorm (z : E) : ‖z-x‖ ≤ penalty z := by dsimp only [penalty] exact Real.le_sqrt_of_sq_le (by nlinarith [sq_nonneg (r/2)]) have hpc : Continuous penalty := by dsimp only [penalty]; fun_prop have hqc : ContinuousOn q (closedBall x r) := (hf.sub continuousOn_const).norm.add (continuousOn_const.mul hpc.continuousOn) have hx : x ∈ closedBall x r := mem_closedBall_self hr.le obtain ⟨z, hz, hmin⟩ := (isCompact_closedBall x r).exists_isMinOn ⟨x,hx⟩ hqc have hqx : q x < a*r := by have hp0 : penalty x = r/2 := by simp [penalty, Real.sqrt_sq (by linarith : 0≤r/2)] have hxy : ‖f x-y‖ < r/(8*M) := by simpa only [mem_ball, dist_eq_norm, norm_sub_rev] using hy dsimp only [q] rw [hp0] have he : r/(8*M) = a*r/4 := by dsimp only [a]; field_simp; ring rw [he] at hxy nlinarith have hqz : q z < a*r := (hmin hx).trans_lt hqx have hzi : z ∈ ball x r := by have hlow : a*‖z-x‖ ≤ q z := by dsimp only [q] exact (mul_le_mul_of_nonneg_left (hpnorm z) ha.le).trans (le_add_of_nonneg_left (norm_nonneg _)) rw [mem_ball, dist_eq_norm] nlinarith by_contra hnot have hne : f z-y ≠ 0 := by intro he exact hnot ⟨z,hz,sub_eq_zero.mp he⟩ let J := fderiv ℝ f z have hJinj : Function.Injective J := by apply (injective_iff_map_eq_zero J.toLinearMap).mpr intro v hv change J v = 0 at hv have hh := hb z hzi v change ‖v‖ ≤ M*‖J v‖ at hh rw [hv, norm_zero, mul_zero] at hh exact norm_eq_zero.mp (le_antisymm hh (norm_nonneg _)) obtain ⟨v, hv⟩ := (LinearMap.surjective_of_injective (f := J.toLinearMap) hJinj) (y-f z) change J v = y-f z at hv have hvb : ‖v‖ ≤ M*‖f z-y‖ := by have hh := hb z hzi v change ‖v‖ ≤ M*‖J v‖ at hh rw [hv, norm_sub_rev] at hh exact hh let c : ℝ → E := fun t => z+t • v have hc : HasDerivAt c v 0 := by simpa only [c, one_smul, id_eq] using ((hasDerivAt_id (0:ℝ)).smul_const v).const_add z have hc0 : c 0 = z := by simp [c] have hfc : HasDerivAt (fun t => f (c t)-y) (y-f z) 0 := by have hdf : HasFDerivAt f J (c 0) := by simpa only [hc0] using (hd z hzi).hasFDerivAt have hh := (hdf.comp_hasDerivAt 0 hc).sub_const y simpa only [hv, Function.comp_def] using hh have hnorm : HasDerivAt (fun t => ‖f (c t)-y‖) (-‖f z-y‖) 0 := by have hh := hfc.norm_sq.sqrt (by simpa only [hc0] using pow_ne_zero 2 (norm_ne_zero_iff.mpr hne)) simp only [hc0, ← neg_sub (f z) y, inner_neg_right, real_inner_self_eq_norm_sq, Real.sqrt_sq (norm_nonneg _)] at hh convert hh using 1 field_simp [norm_ne_zero_iff.mpr hne] have hpcd : HasDerivAt (fun t => penalty (c t)) (⟪z-x,v⟫_ℝ / penalty z) 0 := by have hh := ((hc.sub_const x).norm_sq.add_const ((r/2)^2)).sqrt (by simp only [hc0]; positivity) simpa only [penalty, hc0, mul_div_mul_left _ _ (by norm_num : (2:ℝ)≠0)] using hh have hinner : ⟪z-x,v⟫_ℝ / penalty z ≤ ‖v‖ := by apply (div_le_iff₀ (hp z)).mpr calc _ ≤ ‖z-x‖*‖v‖ := real_inner_le_norm _ _ _ ≤ penalty z*‖v‖ := mul_le_mul_of_nonneg_right (hpnorm z) (norm_nonneg _) _ = _ := mul_comm _ _ have hloc : IsLocalMin q z := hmin.isLocalMin (closedBall_mem_nhds_of_mem hzi) have hlocc : IsLocalMin (q ∘ c) 0 := (show IsLocalMin q (c 0) by simpa only [hc0] using hloc).comp_continuous hc.continuousAt have hqd := hnorm.add (hpcd.const_mul a) have hzero := hlocc.hasDerivAt_eq_zero hqd have hlt : -‖f z-y‖+a*(⟪z-x,v⟫_ℝ / penalty z) < 0 := by have hstep := mul_le_mul_of_nonneg_left (hinner.trans hvb) ha.le have he : a*M = 1/2 := by dsimp only [a]; field_simp rw [← mul_assoc, he] at hstep have hpos : 0 < ‖f z-y‖ := norm_pos_iff.mpr hne nlinarith [he] exact (ne_of_lt hlt) hzero
/-- A uniform limit of maps with a uniform lower differential bound hasopen image, provided the limit is continuous. -/theorem isOpen_image_of_uniform_limit_differential_bound {O : Set E} (hO : IsOpen O) {f : ℕ → E → E} {H : E → E} (hH : ContinuousOn H O) {M : ℝ} (hM : 0 < M) (hd : ∀ i z, z ∈ O → DifferentiableAt ℝ (f i) z) (hb : ∀ i z, z ∈ O → ∀ v, ‖v‖ ≤ M*‖fderiv ℝ (f i) z v‖) {e : ℕ → ℝ} (he : Tendsto e atTop (𝓝 0)) (herr : ∀ i z, z ∈ O → dist (f i z) (H z) ≤ e i) : IsOpen (H '' O) := by apply Metric.isOpen_iff.mpr rintro _ ⟨x,hx,rfl⟩ obtain ⟨s, hs, hball⟩ := Metric.isOpen_iff.mp hO x hx let r := s/2 have hr : 0 < r := by dsimp only [r]; positivity have hK : closedBall x r ⊆ O := by intro z hz apply hball have hh : dist z x ≤ r := hz change dist z x < s dsimp only [r] at hh linarith let R := r/(8*M) have hR : 0 < R := by dsimp only [R]; positivity refine ⟨R/2, by positivity, ?_⟩ intro y hy have hxy : dist y (H x) < R/2 := hy have hgap : 0 < R-dist y (H x) := by linarith have hclosed : IsClosed (H '' closedBall x r) := ((isCompact_closedBall x r).image_of_continuousOn (hH.mono hK)).isClosed apply Set.image_mono hK apply hclosed.closure_subset apply Metric.mem_closure_iff.mpr intro ε hε obtain ⟨i,hi⟩ := (he.eventually (gt_mem_nhds (lt_min hε hgap))).exists have htarget : y ∈ ball (f i x) R := by rw [mem_ball] calc dist y (f i x) ≤ dist y (H x)+dist (H x) (f i x) := dist_triangle _ _ _ _ = dist y (H x)+dist (f i x) (H x) := by rw [dist_comm (H x)] _ ≤ dist y (H x)+e i := add_le_add_right (herr i x hx) _ _ < R := by linarith [lt_of_lt_of_le hi (min_le_right _ _)] obtain ⟨z,hz,hzy⟩ := ball_subset_image_of_differential_bound hr hM (fun z hz => (hd i z (hK hz)).continuousAt.continuousWithinAt) (fun z hz => hd i z (hK (ball_subset_closedBall hz))) (fun z hz => hb i z (hK (ball_subset_closedBall hz))) htarget refine ⟨H z, ⟨z,hz,rfl⟩, ?_⟩ rw [← hzy] exact (herr i z (hK hz)).trans_lt (lt_of_lt_of_le hi (min_le_left _ _))
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536import Mathlib
namespace OAI
/-! # Coercivity of a quadratic envelope with bounded sources -/
open Set Metricnamespace RegularPointCoordinatesvariable {X Y : Type*} [MetricSpace X]
theorem quadratic_envelope_coercive (p : X) {R t B A : ℝ} (hR : 0 ≤ R) (ht : 0 < t) (point : Y → X) (F : Y → ℝ) (hF : ∀ a, F a ≤ B) (hd : ∀ a, dist p (point a) ≤ R) (Φ : X → ℝ) (hΦ : ∀ x, ∃ a, Φ x = dist x (point a) ^ 2 / 2 - t * F a + t * A) (M : ℝ) : ∃ L : ℝ, 0 ≤ L ∧ ∀ x, L ≤ dist p x → M ≤ Φ x := by let L := R + |M| + t * |B| + t * |A| + 2 refine ⟨L, by dsimp [L]; positivity, ?_⟩ intro x hx obtain ⟨a, ha⟩ := hΦ x have htri := dist_triangle p (point a) x have hda := hd a rw [dist_comm (point a) x] at htri have hFB : t * F a ≤ t * |B| := mul_le_mul_of_nonneg_left ((hF a).trans (le_abs_self B)) ht.le have hAA : -(t * |A|) ≤ t * A := by nlinarith [mul_le_mul_of_nonneg_left (neg_abs_le A) ht.le] have hMM := le_abs_self M have hsq := sq_nonneg (dist x (point a) - 1) dsimp [L] at hx rw [ha] nlinarith
end RegularPointCoordinates
end OAI1234567891011121314151617181920212223242526272829303132333435363738import OAI.Geometry.RCD.Sobolev.ContinuousLocalGradientBoundimport OAI.Geometry.RCD.Harmonic.ColumnRepresentatives
namespace OAI
/-! # Pointwise oscillation of the actual coordinate directions -/
open Set Metric MeasureTheoryopen scoped InnerProductSpace NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
omit [ProperSpace X] intheorem NoncollapsedRCD.column_value_bound_of_gradient {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (u : Fin n → SobolevSpace (hausdorff n X) hX.quadratic) (v : X → Euclidean n) (p : X) {R : ℝ} (hR : 0 < R) (hv : ContinuousOn v (ball p (8*R))) (hrep : ∀ i, SobolevSpace.toLp (hausdorff n X) hX.quadratic (u i) =ᵐ[ (hausdorff n X).restrict (ball p (8*R))] fun x => v x i) (z : Euclidean n) (L : ℝ≥0) (hgrad : ∀ᵐ x ∂(hausdorff n X).restrict (ball p (8*R)), localGamma (hausdorff n X) hX.quadratic (sobolevColumnMap (hausdorff n X) hX.quadratic u z) (sobolevColumnMap (hausdorff n X) hX.quadratic u z) x ≤ (L : ℝ)^2) : ∀ x ∈ ball p R, |⟪v x-v p,z⟫_ℝ| ≤ (L : ℝ)*dist x p := by have hb := hX.continuous_local_gradient_bound hn (sobolevColumnMap (hausdorff n X) hX.quadratic u z) (fun x => ⟪v x,z⟫_ℝ) p hR L (hv.inner continuousOn_const) (sobolevColumnMap_representative (hausdorff n X) hX.quadratic u (ball p (8*R)) v hrep z) hgrad simpa only [inner_sub_left] using hb
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374import OAI.Geometry.RCD.Sobolev.FiniteDisjointIntegralimport Mathlib.MeasureTheory.Covering.Vitaliimport Mathlib.MeasureTheory.Measure.Real
namespace OAI
/-! # The finite Vitali estimate for points with a large ball average
This is the covering step of De Philippis--Gigli (2018), Proposition 3.2,Step 2.1. The containing region and the radius cutoff remain explicit.-/
open Set Metric MeasureTheorynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
theorem compact_bad_average (μ : Measure X) {H Ω : Set X} (hH : IsCompact H) {f : X → ℝ} (hf : IntegrableOn f Ω μ) (hf0 : ∀ᵐ x ∂μ.restrict Ω, 0 ≤ f x) (hfin : ∀ x r, μ (ball x r) ≠ ⊤) {R D t : ℝ} (hD : 0 ≤ D) (ht : 0 ≤ t) (hdoub : ∀ x r, 0 < r → r ≤ R → μ.real (ball x (5*r)) ≤ D*μ.real (ball x r)) (hbad : ∀ x ∈ H, ∃ r : ℝ, 0 < r ∧ r ≤ R ∧ ball x r ⊆ Ω ∧ t*μ.real (ball x r) ≤ ∫ y in ball x r, f y ∂μ) : t*μ.real H ≤ D*∫ y in Ω, f y ∂μ := by classical choose r hr hR hΩ hav using (fun x : H => hbad x.1 x.2) obtain ⟨I,hI⟩ := hH.elim_finite_subcover (fun x : H => ball x.1 (r x)) (fun _ => isOpen_ball) (by intro x hx exact mem_iUnion_of_mem ⟨x,hx⟩ (mem_ball_self (hr ⟨x,hx⟩))) obtain ⟨J,hJI,hdisj,hcover⟩ := Vitali.exists_disjoint_subfamily_covering_enlargement_ball (I : Set H) (fun x => x.1) r R (fun x _ => hR x) 5 (by norm_num) have hJ : J.Finite := I.finite_toSet.subset hJI let ι := J let : Fintype ι := hJ.fintype let B : ι → Set X := fun i => ball i.1.1 (r i.1) let E : ι → Set X := fun i => ball i.1.1 (5*r i.1) have hcov : H ⊆ ⋃ i, E i := by intro x hx obtain ⟨i,hi,hxi⟩ := mem_iUnion₂.mp (hI hx) obtain ⟨j,hj,hij⟩ := hcover i hi exact mem_iUnion_of_mem (⟨j,hj⟩ : ι) (hij hxi) have hEfin : μ (⋃ i, E i) ≠ ⊤ := by simpa only [Set.mem_univ,iUnion_true] using (measure_biUnion_ne_top (s := (Set.univ : Set ι)) (Set.toFinite _) (fun i _ => hfin i.1.1 (5*r i.1))) have hmass : μ.real H ≤ D*∑ i : ι, μ.real (B i) := by calc _ ≤ μ.real (⋃ i, E i) := measureReal_mono hcov hEfin _ ≤ ∑ i, μ.real (E i) := measureReal_iUnion_fintype_le _ _ ≤ ∑ i : ι, D*μ.real (B i) := Finset.sum_le_sum (fun i _ => hdoub i.1.1 (r i.1) (hr i.1) (hR i.1)) _ = _ := (Finset.mul_sum _ _ _).symm have havsum : t*(∑ i : ι, μ.real (B i)) ≤ ∑ i : ι, ∫ y in B i, f y ∂μ := by rw [Finset.mul_sum] exact Finset.sum_le_sum (fun i _ => hav i.1) have hisum : (∑ i : ι, ∫ y in B i, f y ∂μ) ≤ ∫ y in Ω, f y ∂μ := by apply finite_disjoint_setIntegral_le μ (s := B) hf hf0 (fun _ => measurableSet_ball) (fun i : ι => hΩ i.1) intro i j hij exact hdisj i.2 j.2 (fun h => hij (Subtype.ext h)) calc _ ≤ t*(D*∑ i : ι, μ.real (B i)) := mul_le_mul_of_nonneg_left hmass ht _ = D*(t*∑ i : ι, μ.real (B i)) := by ring _ ≤ D*∑ i : ι, ∫ y in B i, f y ∂μ := mul_le_mul_of_nonneg_left havsum hD _ ≤ _ := mul_le_mul_of_nonneg_left hisum hD
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788import OAI.Geometry.RCD.Sobolev.CompactBochnerTestimport OAI.Geometry.RCD.Sobolev.BochnerSourceFunctionalsimport OAI.Geometry.RCD.Sobolev.PositiveSobolevTestMeasure
namespace OAI
/-! # The full Bochner measure on continuous Sobolev tests
Positivity on continuous compact Sobolev tests gives a finite measure on eachinterior ball. The formula retains the square of the L² Laplacian and thegradient pairing, and hence needs no derivative of that Laplacian.-/
open Set Filter Metric MeasureTheoryopen scoped NNReal BoundedContinuousFunction CompactlySupported
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_bochner_sobolev_measure {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) {φ : X → ℝ} {L : ℝ≥0} (hφ : LipschitzWith L φ) (hs : HasCompactSupport φ) (p : X) (u : SobolevSpace (hausdorff n X) hX.quadratic) (hu : SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] φ) (d : Lp ℝ 2 (hausdorff n X)) (hd : IsWeakLaplacian (hausdorff n X) hX.quadratic u d) (G : SobolevSpace (hausdorff n X) hX.quadratic) (hG : SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic u u) {R : ℝ} (hR : 0 < R) : ∃ σ : Measure X, IsFiniteMeasure σ ∧ ∀ (ψ : SobolevSpace (hausdorff n X) hX.quadratic) (v : X → ℝ), Continuous v → HasCompactSupport v → tsupport v ⊆ ball p R → SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ =ᵐ[hausdorff n X] v → (∫ x, v x ∂σ) = -(1 / 2 : ℝ) * energyForm (hausdorff n X) hX.quadratic G ψ - K * inner ℝ (SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ) (SobolevSpace.toLp (hausdorff n X) hX.quadratic G) + (∫ x, v x * (d x) ^ 2 ∂hausdorff n X) + weightedGamma (hausdorff n X) hX.quadratic d u ψ := by let := hX.separable let := locallyFinite_of_finiteOnBounded (hausdorff n X) hX.finiteOnBounded let μ := hausdorff n X have huL := SobolevSpace.minimalSlope_le_lipschitz μ hX.quadratic u hφ hu let H := SobolevSpace.toLp μ hX.quadratic G let q := (-(1 / 2 : ℝ)) • G let ρ := (-K) • H let T := compactSobolevTestLift μ hX.quadratic (ball p (3 * R / 2)) let J := (boundedIntegralFunctional μ (fun x => (d x) ^ 2) (Lp.memLp d).integrable_sq).comp (compactSobolevTests μ hX.quadratic (ball p (3 * R / 2))).subtype let Φ := (sobolevSourceFunctional μ hX.quadratic q ρ).comp T + J + (gammaSourceFunctional μ hX.quadratic d u L huL).comp T have hformula (b : compactSobolevTests μ hX.quadratic (ball p (3 * R / 2))) : Φ b = -(1 / 2 : ℝ) * energyForm μ hX.quadratic G (T b) - K * inner ℝ (SobolevSpace.toLp μ hX.quadratic (T b)) H + (∫ x, (b : X →ᵇ ℝ) x * (d x) ^ 2 ∂μ) + weightedGamma μ hX.quadratic d u (T b) := by change energyForm μ hX.quadratic ((-(1 / 2 : ℝ)) • G) (T b) + inner ℝ ((-K) • H) (SobolevSpace.toLp μ hX.quadratic (T b)) + (∫ x, (b : X →ᵇ ℝ) x * (d x) ^ 2 ∂μ) + weightedGamma μ hX.quadratic d u (T b) = _ rw [energyForm_smul_left, real_inner_smul_left, real_inner_comm H] ring have hΦ (b : compactSobolevTests μ hX.quadratic (ball p (3 * R / 2))) (hb : 0 ≤ (b : X →ᵇ ℝ)) : 0 ≤ Φ b := by rw [hformula] exact hX.compact_bochner_sobolev_test hn hφ hs p u hu d hd G hG (T b) (b : X →ᵇ ℝ).continuous.measurable (compactSobolevTestLift_coe μ hX.quadratic _ b) ‖(b : X →ᵇ ℝ)‖₊ (fun x => (b : X →ᵇ ℝ).norm_coe_le_norm x) (fun x => hb x) obtain ⟨σ, hσ, hσrep⟩ := exists_positive_sobolev_test_measure μ hX.quadratic p hR Φ hΦ refine ⟨σ, hσ, ?_⟩ intro ψ v hv hvc hsup hrep let cv : C_c(X, ℝ) := ⟨⟨v, hv⟩, hvc⟩ let b : compactSobolevTests μ hX.quadratic (ball p R) := ⟨cv.toBoundedContinuousFunction, hvc, hsup, ψ, hrep⟩ let b' : compactSobolevTests μ hX.quadratic (ball p (3 * R / 2)) := ⟨cv.toBoundedContinuousFunction, hvc, hsup.trans (ball_subset_ball (by linarith)), ψ, hrep⟩ have heq : T b' = ψ := by apply Subtype.ext apply Lp.ext exact (compactSobolevTestLift_coe μ hX.quadratic _ b').trans hrep.symm have hh := hσrep b change (∫ x, v x ∂σ) = Φ b' at hh rw [hformula, heq] at hh exact hh
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128import OAI.Geometry.RCD.Sobolev.CompactEnergyDensityimport OAI.Geometry.RCD.Sobolev.BochnerSobolevLimit
namespace OAI
/-! # Bochner positivity for compact Lipschitz functions with L² Laplacian
The mixed derivative is integrated by parts before taking the heat-timelimit. Only the L² Laplacian occurs in the resulting formula.-/
open Set Filter MeasureTheoryopen scoped NNReal Topology
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_bochner_sobolev_test {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) {φ : X → ℝ} {L : ℝ≥0} (hφ : LipschitzWith L φ) (hs : HasCompactSupport φ) (p : X) (u : SobolevSpace (hausdorff n X) hX.quadratic) (hu : SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] φ) (d : Lp ℝ 2 (hausdorff n X)) (hd : IsWeakLaplacian (hausdorff n X) hX.quadratic u d) (G : SobolevSpace (hausdorff n X) hX.quadratic) (hG : SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic u u) (w : SobolevSpace (hausdorff n X) hX.quadratic) {v : X → ℝ} (hv : Measurable v) (hw : SobolevSpace.toLp (hausdorff n X) hX.quadratic w =ᵐ[hausdorff n X] v) (C : ℝ≥0) (hvb : ∀ x, |v x| ≤ C) (hv0 : ∀ x, 0 ≤ v x) : 0 ≤ -(1 / 2 : ℝ) * energyForm (hausdorff n X) hX.quadratic G w - K * inner ℝ (SobolevSpace.toLp (hausdorff n X) hX.quadratic w) (SobolevSpace.toLp (hausdorff n X) hX.quadratic G) + (∫ x, v x * (d x) ^ 2 ∂hausdorff n X) + weightedGamma (hausdorff n X) hX.quadratic d u w := by let := hX.separable let := locallyFinite_of_finiteOnBounded (hausdorff n X) hX.finiteOnBounded let μ := hausdorff n X let M : ℝ≥0 := ⟨(L : ℝ) * Real.exp |K|, mul_nonneg L.coe_nonneg (Real.exp_pos _).le⟩ let B := 4 * |K| * ((M : ℝ) * ‖u‖) ^ 2 + 8 * (M : ℝ) ^ 2 * ‖d‖ ^ 2 have hB : 0 ≤ B := by dsimp only [B]; positivity have hLM : (L : ℝ) ≤ M := by change (L : ℝ) ≤ (L : ℝ) * Real.exp |K| nlinarith [Real.one_le_exp (abs_nonneg K), L.coe_nonneg] have huM : ∀ᵐ x ∂μ, SobolevSpace.minimalSlope μ hX.quadratic u x ≤ M := (SobolevSpace.minimalSlope_le_lipschitz μ hX.quadratic u hφ hu).mono fun _ hx => hx.trans hLM have hwC : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ hX.quadratic w x| ≤ C := hw.mono fun x hx => hx ▸ hvb x have hw0 : 0 ≤ SobolevSpace.toLp μ hX.quadratic w := by apply (Lp.coeFn_nonneg _).mp exact hw.mono fun x hx => hx ▸ hv0 x let s (k : ℕ) : ℝ := 1 / ((k : ℝ) + 1) have hs0 (k : ℕ) : 0 < s k := by dsimp only [s]; positivity have hs1 (k : ℕ) : s k ≤ 1 := by dsimp only [s] apply (div_le_one (by positivity)).mpr linarith [Nat.cast_nonneg (α := ℝ) k] let us (k : ℕ) := heatSobolev μ hX.quadratic (s k) (hs0 k) (SobolevSpace.toLp μ hX.quadratic u) let ds (k : ℕ) := heatAt μ hX.quadratic (s k) d let Ds (k : ℕ) := heatSobolevMap μ hX.quadratic (s k / 2) (half_pos (hs0 k)) (-heatGeneratorAt μ hX.quadratic (s k - s k / 2) (SobolevSpace.toLp μ hX.quadratic u)) have hDs (k : ℕ) : SobolevSpace.toLp μ hX.quadratic (Ds k) = ds k := heatTail_laplacian_toLp μ hX.quadratic u d hd (hs0 k) have hus (k : ℕ) : ∀ᵐ x ∂μ, SobolevSpace.minimalSlope μ hX.quadratic (us k) x ≤ M := hX.heat_compact_uniform_slope hn hφ hs p _ hu.symm (hs0 k) (hs1 k) have hconv : Tendsto us atTop (𝓝 u) := by have ht := ((heatH1_continuous μ hX.quadratic u).tendsto 0).comp (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)) simpa only [heatH1_zero, Function.comp_def, heatH1, dite_eq_left (hs0 _), lt_self_iff_false, dite_false, us, s] using ht have hdconv : Tendsto ds atTop (𝓝 d) := by have ht := ((heatAt_continuous μ hX.quadratic d).tendsto 0).comp (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)) simpa only [heatAt_zero, one_apply_eq_self, Function.comp_def, ds, s] using ht have hex (k : ℕ) := hX.heat_compact_energy_density hn hφ hs p (SobolevSpace.toLp μ hX.quadratic u) hu.symm (hs0 k) choose Gs hGs hGsb using hex have hGsΓ (k : ℕ) : SobolevSpace.toLp μ hX.quadratic (Gs k) =ᵐ[μ] localGamma μ hX.quadratic (us k) (us k) := (hGs k).trans (localGamma_self μ hX.quadratic (us k)).symm have hE (k : ℕ) : energyForm μ hX.quadratic (Gs k) (Gs k) ≤ B := hX.heat_compact_uniform_gamma_energy hn hφ hs p u hu d hd (hs0 k) (hs1 k) (Gs k) (hGs k) have hb (k : ℕ) : energyForm μ hX.quadratic (Gs k) w + 2 * K * inner ℝ (SobolevSpace.toLp μ hX.quadratic w) (SobolevSpace.toLp μ hX.quadratic (Gs k)) - 2 * (∫ x, v x * (ds k x) ^ 2 ∂μ) - 2 * weightedGamma μ hX.quadratic (ds k) (us k) w ≤ 0 := by have hboch := hX.heat_bochner_sobolev_test hn p _ (hs0 k) (Gs k) M (hGs k) (hus k) w C hw0 hwC have hmix := weakLaplacian_mixed_identity_L2 μ hX.quadratic (us k) (Ds k) w C M hwC (hus k) (heatTail_weak_laplacian μ hX.quadratic (s k) (hs0 k) (SobolevSpace.toLp μ hX.quadratic u)) rw [hDs] at hmix have hi : (∫ x, SobolevSpace.toLp μ hX.quadratic w x * (ds k x) ^ 2 ∂μ) = ∫ x, v x * (ds k x) ^ 2 ∂μ := by apply integral_congr_ae exact hw.mono fun x hx => congrArg (fun a => a * (ds k x) ^ 2) hx rw [hi] at hmix change energyForm μ hX.quadratic (Gs k) w + 2 * K * inner ℝ (SobolevSpace.toLp μ hX.quadratic w) (SobolevSpace.toLp μ hX.quadratic (Gs k)) + 2 * weightedGamma μ hX.quadratic (SobolevSpace.toLp μ hX.quadratic w) (us k) (Ds k) ≤ 0 at hboch linarith have hlim := bochner_sobolev_limit μ hX.quadratic M hus huM hconv hdconv hGsΓ hG hB hE w hv C hvb K hb linarith
theorem NoncollapsedRCD.compact_bochner_test {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) {φ : X → ℝ} {L : ℝ≥0} (hφ : LipschitzWith L φ) (hs : HasCompactSupport φ) (p : X) (u : SobolevSpace (hausdorff n X) hX.quadratic) (hu : SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] φ) (d : Lp ℝ 2 (hausdorff n X)) (hd : IsWeakLaplacian (hausdorff n X) hX.quadratic u d) (G : SobolevSpace (hausdorff n X) hX.quadratic) (hG : SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic u u) (w : SobolevSpace (hausdorff n X) hX.quadratic) {v : X → ℝ} {A : ℝ≥0} (hv : LipschitzWith A v) (hw : SobolevSpace.toLp (hausdorff n X) hX.quadratic w =ᵐ[hausdorff n X] v) (C : ℝ≥0) (hvb : ∀ x, |v x| ≤ C) (hv0 : ∀ x, 0 ≤ v x) : 0 ≤ -(1 / 2 : ℝ) * energyForm (hausdorff n X) hX.quadratic G w - K * inner ℝ (SobolevSpace.toLp (hausdorff n X) hX.quadratic w) (SobolevSpace.toLp (hausdorff n X) hX.quadratic G) + (∫ x, v x * (d x) ^ 2 ∂hausdorff n X) + weightedGamma (hausdorff n X) hX.quadratic d u w := by exact hX.compact_bochner_sobolev_test hn hφ hs p u hu d hd G hG w hv.continuous.measurable hw C hvb hv0
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172import OAI.Geometry.RCD.Sobolev.CompactTestHarmonicLimitsimport OAI.Geometry.RCD.Harmonic.HarmonicBoundaryLayer
namespace OAI
/-! # The same compactness subsequence retains the boundary-layer estimate -/
open Set Metric Filter MeasureTheoryopen scoped Topologynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
omit [ProperSpace X] intheorem CompactHarmonicBoundaryLimit.difference_converges {K : ℝ} {n : ℕ} {hX : NoncollapsedRCD K n X} {p : ℕ → X} {r : ℕ → ℝ} {V : ℕ → X → Euclidean n} {S R : ℝ} {ψ : Euclidean n → ℝ} (d : CompactHarmonicBoundaryLimit hX p r V S R ψ) (hr : ∀ k, 0<r k) (hRS : R≤S) : ∀ W : ℝ, 0<W → W<R → ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p (d.subsequence k+d.shift)) (W*r (d.subsequence k+d.shift))), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (d.target (d.subsequence k)-d.boundary (d.subsequence k)) x- (d.value (V (d.subsequence k+d.shift) x)-ψ (V (d.subsequence k+d.shift) x))|≤δ := by intro W hW hWR δ hδ filter_upwards [d.convergence W hW hWR (δ/2) (half_pos hδ), d.strictMono.tendsto_atTop.eventually (d.recovery (δ/2) (half_pos hδ))] with k hk hrec have hsub : ball (p (d.subsequence k+d.shift)) (W*r (d.subsequence k+d.shift))⊆ ball (p (d.subsequence k+d.shift)) (S*r (d.subsequence k+d.shift)) := ball_subset_ball (mul_le_mul_of_nonneg_right (hWR.le.trans hRS) (hr _).le) have he : SobolevSpace.toLp (hausdorff n X) hX.quadratic (d.target (d.subsequence k)-d.boundary (d.subsequence k))=ᵐ[hausdorff n X] fun x => SobolevSpace.toLp (hausdorff n X) hX.quadratic (d.target (d.subsequence k)) x- SobolevSpace.toLp (hausdorff n X) hX.quadratic (d.boundary (d.subsequence k)) x := by rw [map_sub] exact Lp.coeFn_sub _ _ filter_upwards [hk,ae_restrict_of_ae_restrict_of_subset hsub hrec,ae_restrict_of_ae he] with x hx hy hex rw [hex] rcases abs_le.mp hx with ⟨hx₀,hx₁⟩ rcases abs_le.mp hy with ⟨hy₀,hy₁⟩ exact abs_le.mpr ⟨by linarith,by linarith⟩
theorem CompactHarmonicBoundaryLimit.boundary_layer {K : ℝ} {n : ℕ} {hX : NoncollapsedRCD K n X} (hn : 2≤n) {p : ℕ → X} {r ε : ℕ → ℝ} {V : ℕ → X → Euclidean n} {S R : ℝ} {ψ : Euclidean n → ℝ} (d : CompactHarmonicBoundaryLimit hX p r V S R ψ) (hr : ∀ k, 0<r k) (hcurv : ∀ k, -1≤K*(S*r k)^2) (hε : ∀ k, 0≤ε k) (hεlim : Tendsto ε atTop (𝓝 0)) (hV : ∀ k, IsMeasuredEuclideanApproximation (hausdorff n X) n (p k) (r k) S (ε k) (V k)) : ∃ A : ℝ, 0<A ∧ ∀ δ : ℝ, 0<δ → 4*δ≤R → R+2*δ≤S → ∀ᶠ k in atTop, ((hausdorff n X).real (ball (p (d.subsequence k+d.shift)) (S*r (d.subsequence k+d.shift))))⁻¹* (∫ z in closedBall (p (d.subsequence k+d.shift)) (R*r (d.subsequence k+d.shift)) \ ball (p (d.subsequence k+d.shift)) ((R-δ)*r (d.subsequence k+d.shift)), (SobolevSpace.toLp (hausdorff n X) hX.quadratic (d.target (d.subsequence k)-d.boundary (d.subsequence k)) z)^2 ∂hausdorff n X)≤A*δ^2 := by obtain ⟨C,hC,hbound⟩ := hX.harmonic_replacement_boundary_layer hn have hE := d.energy_nonneg refine ⟨C*d.energyConstant+1,by positivity,?_⟩ intro δ hδ hR hS have hlim := (hεlim.comp (tendsto_add_atTop_nat d.shift)).comp d.strictMono.tendsto_atTop filter_upwards [hlim.eventually (Iio_mem_nhds (show 0<δ/8 by positivity))] with k hk have hh := hbound (p (d.subsequence k+d.shift)) (r (d.subsequence k+d.shift)) S R δ (ε (d.subsequence k+d.shift)) (hr _) hδ hR hS (hε _) hk.le (V _) (hV _).metric (hcurv _) (d.boundary (d.subsequence k)) (d.target (d.subsequence k)) (d.dirichlet _) (d.harmonic _) d.energyConstant (d.boundary_energy _) exact hh.trans (by nlinarith [sq_nonneg δ])
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960import OAI.Geometry.RCD.Sobolev.CompactLipschitzLocalization
namespace OAI
/-! # Compact Lipschitz truncation preserving a prescribed working ball -/
open Set Metricopen scoped NNRealnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [ProperSpace X]
theorem compact_coercive_truncation (p : X) (Φ : X → ℝ) (hlip : ∀ r : ℝ, 0 < r → ∃ L : ℝ≥0, LipschitzOnWith L Φ (closedBall p r)) (hcoerce : ∀ M : ℝ, ∃ r : ℝ, 0 ≤ r ∧ ∀ x, r ≤ dist p x → M ≤ Φ x) {R : ℝ} (hR : 0 ≤ R) : ∃ (M r : ℝ) (L : ℝ≥0), 0 ≤ r ∧ LipschitzWith L (fun x => min (Φ x) M - M) ∧ HasCompactSupport (fun x => min (Φ x) M - M) ∧ (∀ x, r < dist p x → min (Φ x) M - M = 0) ∧ ∀ x ∈ closedBall p R, min (Φ x) M - M = Φ x - M := by obtain ⟨L₀,hL₀⟩ := hlip (R+1) (by linarith) let M := Φ p + (L₀ : ℝ) * (R+1) + 1 obtain ⟨r,hr,hout⟩ := hcoerce M obtain ⟨L₁,hL₁⟩ := hlip (r+1) (by linarith) let f : X → ℝ := fun x => min (Φ x) M - M have hfl : LipschitzOnWith L₁ f (closedBall p (r+1)) := by apply LipschitzOnWith.of_dist_le_mul intro x hx y hy have hm := (LipschitzWith.id.min_const M).dist_le_mul (Φ x) (Φ y) have he : dist (f x) (f y) = dist (min (Φ x) M) (min (Φ y) M) := by simp only [f, Real.dist_eq] congr 1 ring rw [he] have hm' : dist (min (Φ x) M) (min (Φ y) M) ≤ dist (Φ x) (Φ y) := by simpa only [id_eq,NNReal.coe_one,one_mul] using hm exact hm'.trans (hL₁.dist_le_mul x hx y hy) have hf0 (x : X) (hx : r < dist p x) : f x = 0 := by dsimp [f] rw [min_eq_right (hout x hx.le),sub_self] obtain ⟨L,hL⟩ := lipschitz_of_ball_and_zero p hr hfl hf0 refine ⟨M,r,L,hr,hL,?_,hf0,?_⟩ · apply HasCompactSupport.intro (isCompact_closedBall p r) intro x hx apply hf0 x simpa only [mem_closedBall,dist_comm,not_le] using hx · intro x hx have hx' : x ∈ closedBall p (R+1) := by exact closedBall_subset_closedBall (by linarith) hx have hp : p ∈ closedBall p (R+1) := mem_closedBall_self (by linarith) have hdist : dist x p ≤ R := hx have hh := hL₀.le_add_mul hx' hp have hm : Φ x ≤ M := by dsimp [M] nlinarith [mul_le_mul_of_nonneg_left hdist L₀.coe_nonneg] rw [min_eq_left hm]
end RegularPointCoordinates
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263import OAI.Geometry.RCD.Metric.PositiveCoreAELimitimport OAI.Geometry.RCD.Sobolev.IntervalEnergyWeightLimitimport OAI.Geometry.RCD.Sobolev.BoundedWeightIntegralLimit
namespace OAI
/-! # Extending the energy inequality to all compact Lipschitz tests
The same Sobolev family is retained. Positivity and one uniform bound onthe test sequence allow dominated convergence in space and then time.-/
open Set Filter MeasureTheory Metricopen scoped NNReal Topologynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_core_energy_extension {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) [(hausdorff n X).Regular] (z : X) {r a b s t : ℝ} (hsub : Icc s t ⊆ Ioo a b) (u : Ioo a b → SobolevSpace (hausdorff n X) hX.quadratic) (hu : AEStronglyMeasurable u (volume.comap Subtype.val)) {C : ℝ} (hC : 0 ≤ C) (hb : ∀ q, ‖u q‖ ≤ C) (F G : X → ℝ) (hF : Continuous F) (hG : Continuous G) (hcore : ∀ ψ : SobolevSpace (hausdorff n X) hX.quadratic, ψ ∈ compactLaplacianCore (hausdorff n X) hX.quadratic (ball z r) → ∀ B : ℝ≥0, (∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ x| ≤ B) → (∀ᵐ x ∂hausdorff n X, 0 ≤ SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ x) → (∫ q in Icc s t, intervalExtension (fun τ => weightedGamma (hausdorff n X) hX.quadratic (SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ) (u τ) (u τ)) q) ≤ 2*((∫ x in closedBall z r, SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ x*G x ∂hausdorff n X) - (∫ x in closedBall z r, SobolevSpace.toLp (hausdorff n X) hX.quadratic ψ x*F x ∂hausdorff n X))) (φ : X → ℝ) {L B : ℝ≥0} (hφ : LipschitzWith L φ) (hφc : HasCompactSupport φ) (hφs : tsupport φ ⊆ ball z r) (hφ0 : ∀ x, 0 ≤ φ x) (hφB : ∀ x, |φ x| ≤ B) : (∫ q in Icc s t, intervalExtension (fun τ => weightedGamma (hausdorff n X) hX.quadratic φ (u τ) (u τ)) q) ≤ 2*((∫ x in closedBall z r, φ x*G x ∂hausdorff n X) - (∫ x in closedBall z r, φ x*F x ∂hausdorff n X)) := by let μ := hausdorff n X let Q := hX.quadratic obtain ⟨v,hv,hvB,-,hvc⟩ := hX.positive_core_ae_limit hn isOpen_ball φ hφ hφc hφs hφ0 hφB let w : ℕ → X → ℝ := fun k => SobolevSpace.toLp μ Q (v k) have hw (k : ℕ) : AEStronglyMeasurable (w k) μ := Lp.aestronglyMeasurable _ have hwb (k : ℕ) : ∀ᵐ x ∂μ, ‖w k x‖ ≤ B := (hvB k).mono fun x hx => by simpa only [Real.norm_eq_abs] using hx.2 have he := weighted_energy_interval_weight_tendsto μ Q w φ hw hwb hvc hsub u hu hC hb have hp (f : X → ℝ) (hf : Continuous f) : Tendsto (fun k => ∫ x in closedBall z r, w k x*f x ∂μ) atTop (𝓝 (∫ x in closedBall z r, φ x*f x ∂μ)) := bounded_weight_integral_tendsto (μ.restrict (closedBall z r)) w φ (fun k => (hw k).restrict) (fun k => ae_restrict_of_ae (hwb k)) (ae_restrict_of_ae hvc) f (hf.continuousOn.integrableOn_compact (isCompact_closedBall z r)) apply le_of_tendsto_of_tendsto he (((hp G hG).sub (hp F hF)).const_mul 2) exact Eventually.of_forall fun k => hcore (v k) (hv k) B ((hvB k).mono fun _ hx => hx.2) ((hvB k).mono fun _ hx => hx.1)
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374import OAI.Geometry.RCD.Sobolev.MeasureLaplacianProduct
namespace OAI
/-! # Compact support of the full cutoff source -/
open Set MeasureTheoryopen scoped BoundedContinuousFunction NNReal
noncomputable section
namespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) (hQ : QuadraticCheegerEnergy μ)
omit [MetricSpace X] [BorelSpace X] [ProperSpace X] in/-- An integrable density vanishing off a measurable set has its wholesigned variation supported there. -/theorem signedDensity_variation_compl {f : X → ℝ} (hf : Integrable f μ) {K : Set X} (hK : MeasurableSet K) (hs : ∀ᵐ x ∂μ, x ∉ K → f x = 0) : (μ.withDensityᵥ f).variation Kᶜ = 0 := by apply (VectorMeasure.variation_apply_eq_zero hK.compl).2 intro s hsK hsm rw [withDensityᵥ_apply hf hsm] apply integral_eq_zero_of_ae filter_upwards [ae_restrict_of_ae hs, ae_restrict_mem hsm] with x hx hxs exact hx (hsK hxs)
theorem cutoffSourceDensity_zero_off (g c : SobolevSpace μ hQ) (q : Lp ℝ 2 μ) (χ : X →ᵇ ℝ) (hc : SobolevSpace.toLp μ hQ c =ᵐ[μ] χ) {K : Set X} (hχ : ∀ x ∉ K, χ x = 0) (hq : ∀ᵐ x ∂μ, x ∉ K → q x = 0) : ∀ᵐ x ∂μ, x ∉ K → cutoffSourceDensity μ hQ g c q x = 0 := by filter_upwards [hc, hq, localGamma_zero_on_level μ hQ c g 0, localGamma_comm μ hQ g c] with x hcx hqx hz hcomm hx have hc0 : SobolevSpace.toLp μ hQ c x = 0 := hcx.trans (hχ x hx) simp only [cutoffSourceDensity, hqx hx, hcomm, hz hc0, mul_zero, add_zero]
/-- Both the cutoff function and its full measure Laplacian have thesame support bound as the cutoff and its weak Laplacian. -/theorem cutoffMeasureSource_variation_compl (g c : SobolevSpace μ hQ) (q : Lp ℝ 2 μ) (ν : SignedMeasure X) (χ : X →ᵇ ℝ) (hc : SobolevSpace.toLp μ hQ c =ᵐ[μ] χ) {K : Set X} (hK : MeasurableSet K) (hχ : ∀ x ∉ K, χ x = 0) (hq : ∀ᵐ x ∂μ, x ∉ K → q x = 0) : (cutoffMeasureSource μ hQ g c q ν χ).variation Kᶜ = 0 := by have hw := signedSourceWeight_variation_compl ν χ hK hχ have hd := signedDensity_variation_compl μ (cutoffSourceDensity_integrable μ hQ g c q) hK (cutoffSourceDensity_zero_off μ hQ g c q χ hc hχ hq) apply (VectorMeasure.variation_apply_eq_zero hK.compl).2 intro s hs hsm rw [cutoffMeasureSource, add_apply, (VectorMeasure.variation_apply_eq_zero hK.compl).mp hw s hs hsm, (VectorMeasure.variation_apply_eq_zero hK.compl).mp hd s hs hsm, add_zero]
omit [ProperSpace X] [BorelSpace X] intheorem cutoffProduct_zero_off (g c : SobolevSpace μ hQ) (χ : X →ᵇ ℝ) (hc : SobolevSpace.toLp μ hQ c =ᵐ[μ] χ) (D : ℝ≥0) (hg : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ hQ g x| ≤ D) {K : Set X} (hχ : ∀ x ∉ K, χ x = 0) : ∀ᵐ x ∂μ, x ∉ K → SobolevSpace.toLp μ hQ (SobolevSpace.product μ hQ g c D ‖χ‖₊) x = 0 := by have hcb : ∀ᵐ x ∂μ, |SobolevSpace.toLp μ hQ c x| ≤ (‖χ‖₊ : ℝ) := by filter_upwards [hc] with x hx simpa only [hx, Real.norm_eq_abs, coe_nnnorm] using χ.norm_coe_le_norm x filter_upwards [SobolevSpace.product_coe μ hQ g c D ‖χ‖₊ hg hcb, hc] with x hx hcx hKx rw [hx, hcx, hχ x hKx, mul_zero]
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111import OAI.Geometry.RCD.Heat.HeatCompactUniformimport OAI.Geometry.RCD.Heat.HeatEnergyDensityimport OAI.Geometry.RCD.Sobolev.GammaL2Stability
namespace OAI
/-! # Energy densities for compact Lipschitz functions with L² Laplacian
Heat approximation, the uniform energy estimate, and lower semicontinuityconstruct the energy density in the Sobolev space itself.-/
open Set Filter MeasureTheoryopen scoped NNReal Topology ENNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_energy_density {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) {φ : X → ℝ} {L : ℝ≥0} (hφ : LipschitzWith L φ) (hs : HasCompactSupport φ) (p : X) (u : SobolevSpace (hausdorff n X) hX.quadratic) (hu : SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] φ) (d : Lp ℝ 2 (hausdorff n X)) (hd : IsWeakLaplacian (hausdorff n X) hX.quadratic u d) : ∃ G : SobolevSpace (hausdorff n X) hX.quadratic, SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic u u ∧ (∀ᵐ x ∂hausdorff n X, |SobolevSpace.toLp (hausdorff n X) hX.quadratic G x| ≤ (L : ℝ) ^ 2) ∧ energyForm (hausdorff n X) hX.quadratic G G ≤ 4 * |K| * ((L : ℝ) * Real.exp |K| * ‖u‖) ^ 2 + 8 * ((L : ℝ) * Real.exp |K|) ^ 2 * ‖d‖ ^ 2 := by let := hX.separable let := locallyFinite_of_finiteOnBounded (hausdorff n X) hX.finiteOnBounded let μ := hausdorff n X let M : ℝ≥0 := ⟨(L : ℝ) * Real.exp |K|, mul_nonneg L.coe_nonneg (Real.exp_pos _).le⟩ let B := 4 * |K| * ((M : ℝ) * ‖u‖) ^ 2 + 8 * (M : ℝ) ^ 2 * ‖d‖ ^ 2 have hB : 0 ≤ B := by dsimp only [B]; positivity have hLM : (L : ℝ) ≤ M := by change (L : ℝ) ≤ (L : ℝ) * Real.exp |K| nlinarith [Real.one_le_exp (abs_nonneg K), L.coe_nonneg] have huL := SobolevSpace.minimalSlope_le_lipschitz μ hX.quadratic u hφ hu have huM : ∀ᵐ x ∂μ, SobolevSpace.minimalSlope μ hX.quadratic u x ≤ M := huL.mono fun _ hx => hx.trans hLM let s (k : ℕ) : ℝ := 1 / ((k : ℝ) + 1) have hs0 (k : ℕ) : 0 < s k := by dsimp only [s]; positivity have hs1 (k : ℕ) : s k ≤ 1 := by dsimp only [s] apply (div_le_one (by positivity)).mpr linarith [Nat.cast_nonneg (α := ℝ) k] let us (k : ℕ) := heatSobolev μ hX.quadratic (s k) (hs0 k) (SobolevSpace.toLp μ hX.quadratic u) have hus (k : ℕ) : ∀ᵐ x ∂μ, SobolevSpace.minimalSlope μ hX.quadratic (us k) x ≤ M := hX.heat_compact_uniform_slope hn hφ hs p _ hu.symm (hs0 k) (hs1 k) have hconv : Tendsto us atTop (𝓝 u) := by have ht := ((heatH1_continuous μ hX.quadratic u).tendsto 0).comp (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)) simpa only [heatH1_zero, Function.comp_def, heatH1, dite_eq_left (hs0 _), lt_self_iff_false, dite_false, us, s] using ht have hex (k : ℕ) := hX.heat_compact_energy_density hn hφ hs p (SobolevSpace.toLp μ hX.quadratic u) hu.symm (hs0 k) choose Gs hGs hGsb using hex let hΓ := localGamma_memLp_of_bounded_gradient μ hX.quadratic u u M huM let H := hΓ.toLp (localGamma μ hX.quadratic u u) have hGs_eq (k : ℕ) : SobolevSpace.toLp μ hX.quadratic (Gs k) = (localGamma_memLp_of_bounded_gradient μ hX.quadratic (us k) (us k) M (hus k)).toLp (localGamma μ hX.quadratic (us k) (us k)) := by apply Lp.ext filter_upwards [hGs k, localGamma_self μ hX.quadratic (us k), (localGamma_memLp_of_bounded_gradient μ hX.quadratic (us k) (us k) M (hus k)).coeFn_toLp] with x hx hy hz exact hx.trans (hy.symm.trans hz.symm) have hGconv : Tendsto (fun k => SobolevSpace.toLp μ hX.quadratic (Gs k)) atTop (𝓝 H) := by exact (gammaL2_tendsto μ hX.quadratic M hus huM hconv).congr' (Eventually.of_forall fun k => (hGs_eq k).symm) have hE (k : ℕ) : energyForm μ hX.quadratic (Gs k) (Gs k) ≤ B := hX.heat_compact_uniform_gamma_energy hn hφ hs p u hu d hd (hs0 k) (hs1 k) (Gs k) (hGs k) have henergy : energyLp μ H ≤ ENNReal.ofReal (B / 2) := by apply (energyLp_le_liminf μ hGconv).trans apply liminf_le_of_frequently_le' apply Eventually.frequently apply Eventually.of_forall intro k have hh := hE k rw [energyForm_self] at hh have he : energyLp μ (SobolevSpace.toLp μ hX.quadratic (Gs k)) = ENNReal.ofReal (SobolevSpace.energy μ hX.quadratic (Gs k)) := (ENNReal.ofReal_toReal (Gs k).property).symm rw [he] exact ENNReal.ofReal_le_ofReal (by linarith) let G : SobolevSpace μ hX.quadratic := ⟨H, ne_top_of_le_ne_top ENNReal.ofReal_ne_top henergy⟩ refine ⟨G, hΓ.coeFn_toLp, ?_, ?_⟩ · filter_upwards [hΓ.coeFn_toLp, localGamma_self μ hX.quadratic u, huL, (Lp.coeFn_nonneg _).mpr (SobolevSpace.minimalSlope_nonneg μ hX.quadratic u)] with x hx hy hL h0 change |H x| ≤ (L : ℝ) ^ 2 rw [hx, hy, abs_of_nonneg (sq_nonneg _)] exact pow_le_pow_left₀ h0 hL 2 · have he := ENNReal.toReal_mono ENNReal.ofReal_ne_top henergy rw [ENNReal.toReal_ofReal (by positivity)] at he change SobolevSpace.energy μ hX.quadratic G ≤ B / 2 at he rw [energyForm_self] change 2 * SobolevSpace.energy μ hX.quadratic G ≤ B linarith
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758import OAI.Geometry.RCD.Sobolev.LocalLipschitzGreenTraceimport OAI.Geometry.RCD.Sobolev.GradientQuadraticEnergyimport OAI.Geometry.RCD.Sobolev.EnergyAffineRigidity
namespace OAI
/-! # Sharp compact-test energy variation forces the weak harmonic equation -/
open Set Filter MeasureTheory Metric InnerProductSpace Laplacianopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinates
theorem compact_energy_variation_harmonic {n : ℕ} {g ψ : Euclidean n → ℝ} {S ρ M : ℝ} (hS : 0<S) (hρS : ρ<S) (hg : ∀ W<S, ∃ L : ℝ≥0, LipschitzOnWith L g (closedBall 0 W)) (hψ : InteriorSmoothTest n S ψ) (hs : tsupport ψ⊆ball 0 ρ) (hvary : ∀ t : ℝ, (∫ z in ball 0 ρ, ‖fderiv ℝ (fun y => g y+t*ψ y) z‖^2)≤ M+t^2*(∫ z in ball 0 S, ‖fderiv ℝ ψ z‖^2)) : (∫ z, g z*(Δ ψ) z)=0 := by obtain ⟨L,hL⟩ := ContDiff.lipschitzWith_of_hasCompactSupport hψ.2.1 hψ.1 (by simp) have hψlocal : ∀ W<S, ∃ B : ℝ≥0, LipschitzOnWith B ψ (closedBall 0 W) := fun _ _ => ⟨L,hL.lipschitzOnWith⟩ have hgd := local_lipschitz_derivative hρS hg have hψd := local_lipschitz_derivative hρS hψlocal have hzero (A : Set (Euclidean n)) (hA : tsupport ψ⊆A) : (∫ z in A, ‖fderiv ℝ ψ z‖^2)=∫ z, ‖fderiv ℝ ψ z‖^2 := by apply setIntegral_eq_integral_of_forall_compl_eq_zero intro z hz rw [fderiv_of_notMem_tsupport ℝ (fun hx => hz (hA hx)),norm_zero,zero_pow (by decide : 2≠0)] have henergy : (∫ z in ball 0 S, ‖fderiv ℝ ψ z‖^2)= ∫ z in ball 0 ρ, ‖fderiv ℝ ψ z‖^2 := by rw [hzero _ hψ.2.2,hzero _ hs] have hcross : (∫ z in ball 0 ρ, inner ℝ (gradient g z) (gradient ψ z))=0 := by apply energy_affine_rigidity (E := ∫ z in ball 0 ρ, ‖fderiv ℝ g z‖^2) (M := M) (P := ∫ z in ball 0 ρ, ‖fderiv ℝ ψ z‖^2) intro t have hh := hvary t rw [(gradient_quadratic_energy g ψ (ball 0 ρ) hgd.1 hψd.1 hgd.2 hψd.2 t).2.2, henergy] at hh exact hh have hcrossall : (∫ z, inner ℝ (gradient g z) (gradient ψ z))=0 := by rw [← hcross] symm apply setIntegral_eq_integral_of_forall_compl_eq_zero intro z hz have hz' : z∉tsupport ψ := fun hx => hz (hs hx) simp only [gradient,fderiv_of_notMem_tsupport ℝ hz',map_zero,inner_zero_right] have hgreen := local_lipschitz_green_trace hS hg hψ rw [hcrossall] at hgreen linarith only [hgreen]
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677import OAI.Geometry.RCD.Sobolev.ScaledCompactFactorGradientimport OAI.Geometry.RCD.Heat.ScaledLogarithmSelfGammaimport OAI.Geometry.RCD.Heat.BoundedHeatMixedGramBoundsimport OAI.Geometry.RCD.Metric.CompactFactorL2
namespace OAI
/-! # Quantitative energy of the original compact heat factors
The coefficient is independent of the scaling function, noise and compactregion. No derivative of a logarithmic extension remains in the conclusion.-/
open Set Filter MeasureTheory Metric TopologicalSpaceopen scoped NNReal ENNRealnoncomputable sectionnamespace RegularPointCoordinates.NoncollapsedRCDvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] [SeparableSpace X] [IsLocallyFiniteMeasure (hausdorff n X)] (hn : 2 ≤ n) (p : X)
include hn p intheorem compact_factor_scaled_energy : ∃ C D : ℝ, 0 ≤ C ∧ 0 < D ∧ ∀ {S : Set X} [CompactSpace S] (ν : Measure S) [IsProbabilityMeasure ν] (ρ : X → ℝ) (hρ : Measurable ρ) (hρ0 : ∀ x, 0 ≤ ρ x) {B : ℝ≥0}, (∀ᵐ x ∂hausdorff n X, |ρ x| ≤ B) → ν.map Subtype.val=(hausdorff n X).withDensity (fun x => ENNReal.ofReal (ρ x)) → ∀ (F : C(S,ℝ)), (∀ y, 0 < F y) → ∀ {ε s δ : ℝ} (hε : 0 < ε), ε ≤ 1 → (hδ : 0 < δ) → (hδs : δ ≤ s) → s ≤ 1 → ∀ (z : X) (R : ℝ), 0 ≤ R → (∀ y : S, dist z y ≤ R) → ∀ (Ω : Set X), IsCompact Ω → ∀ u : SobolevSpace (hausdorff n X) hX.quadratic, (SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] hX.compactHeatFactor hn p ν F (ε*s/2) (div_pos (mul_pos hε (hδ.trans_le hδs)) (by norm_num))) → ∀ᵐ x ∂(hausdorff n X).restrict Ω, ε^2*localGamma (hausdorff n X) hX.quadratic u u x ≤ (SobolevSpace.toLp (hausdorff n X) hX.quadratic u x)^2* (Real.exp |K| *(4*C/δ+16*D*(R+dist z x)^2/δ^2)) := by obtain ⟨C,D,hC,hD,hdata⟩ := hX.compact_heat_factor_scaled_gradient hn p refine ⟨C,D,hC,hD,?_⟩ intro S _ ν _ ρ hρ hρ0 B hB hν F hF ε s δ hε hε1 hδ hδs hs1 z R hR hdist Ω hΩ u hu let μ := hausdorff n X let Q := hX.quadratic have ht : 0 < ε*s/2 := div_pos (mul_pos hε (hδ.trans_le hδs)) (by norm_num) obtain ⟨P,q,_hq,hP,hgrad⟩ := hdata ν ρ hρ hρ0 hB hν F hF hε hε1 hδ hδs hs1 z R hR hdist Ω hΩ obtain ⟨f,⟨A,hA⟩,he⟩ := hX.compact_heat_factor_L2 hn p ν ρ hρ hρ0 hB hν F let hk := hX.canonicalHeatKernel_isContinuousHeatKernel hn p have hpos (x : X) (_hx : x ∈ Ω) : 0 < kernelHeat μ Q hk (ε*s/2) f x := by rw [← he _ ht x] exact hX.compactHeatFactor_positive hn p ν F hF _ ht x have heq : u=heatSobolev μ Q (ε*s/2) ht f := by apply Subtype.ext apply Lp.ext filter_upwards [hu,kernelHeat_represents_L2 μ Q hk ht f] with x hx hy exact hx.trans ((he _ ht x).trans hy) obtain ⟨a,b,ha,hab,hrange⟩ := hX.bounded_heat_positive_range hn p f A hA ht hΩ hpos have hurange : ∀ᵐ x ∂μ.restrict Ω, SobolevSpace.toLp μ Q u x ∈ Icc a b := by rw [heq] exact hrange have hlog : SobolevSpace.toLp μ Q P =ᵐ[μ.restrict Ω] fun x => ε*Real.log (SobolevSpace.toLp μ Q u x) := by filter_upwards [hP,ae_restrict_of_ae hu] with x hx hy rw [hy] exact hx have henergy := scaled_logarithm_self_gamma μ Q u P ha hab hε hurange hlog filter_upwards [henergy,hgrad,ae_restrict_of_ae (localGamma_self μ Q P)] with x hx hg hs rw [hx,hs] exact mul_le_mul_of_nonneg_left hg (sq_nonneg _)
end RegularPointCoordinates.NoncollapsedRCD
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748import OAI.Geometry.RCD.Sobolev.BoundedGradientLipschitz
namespace OAI
/-! # Compact Lipschitz representatives from bounded weak gradients -/
open Set Filter Metric MeasureTheory TopologicalSpaceopen scoped NNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_lipschitz_of_gradient {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2 ≤ n) (u : SobolevSpace (hausdorff n X) hX.quadratic) (L : ℝ≥0) (hL : ∀ᵐ x ∂hausdorff n X, SobolevSpace.minimalSlope (hausdorff n X) hX.quadratic u x ≤ L) (p : X) (R : ℝ) (hz : ∀ᵐ x ∂hausdorff n X, R < dist p x → SobolevSpace.toLp (hausdorff n X) hX.quadratic u x = 0) : ∃ v : X → ℝ, LipschitzWith L v ∧ HasCompactSupport v ∧ tsupport v ⊆ closedBall p R ∧ SobolevSpace.toLp (hausdorff n X) hX.quadratic u =ᵐ[hausdorff n X] v := by let μ := hausdorff n X let := hX.separable let := locallyFinite_of_finiteOnBounded μ hX.finiteOnBounded let : μ.IsOpenPosMeasure := hX.openPos K n obtain ⟨v, hv, hrep⟩ := hX.lipschitz_of_bounded_gradient K n hn (SobolevSpace.minimalSlope_isRelaxed μ hX.quadratic u) L hL have hzero : v =ᵐ[μ.restrict (closedBall p R)ᶜ] fun _ => 0 := by apply (ae_restrict_iff' measurableSet_closedBall.compl).mpr filter_upwards [hz, hrep] with x hx hr hxc exact hr.symm.trans (hx (by simpa only [mem_compl_iff, mem_closedBall, not_le, dist_comm] using hxc)) have heq := Measure.eqOn_open_of_ae_eq hzero isClosed_closedBall.isOpen_compl hv.continuous.continuousOn continuous_const.continuousOn have hs : tsupport v ⊆ closedBall p R := by apply closure_minimal _ isClosed_closedBall intro x hx by_contra hnot exact hx (heq hnot) exact ⟨v, hv, (isCompact_closedBall p R).of_isClosed_subset (isClosed_tsupport _) hs, hs, hrep⟩
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748import Mathlib.Analysis.Calculus.ParametricIntegralimport Mathlib.MeasureTheory.Function.LocallyIntegrable
namespace OAI
/-! # Differentiation on a compact spatial cylinder -/
open Set Filter MeasureTheory TopologicalSpaceopen scoped Topologynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [TopologicalSpace X] [T2Space X] [MeasurableSpace X] [BorelSpace X] {μ : Measure X} [IsFiniteMeasureOnCompacts μ]
theorem compact_integral_hasDerivAt {a b t : ℝ} (ht : t ∈ Ioo a b) {Ω : Set X} (hΩ : IsCompact Ω) (F G : ℝ → X → ℝ) (hF : ContinuousOn (Function.uncurry F) (Icc a b ×ˢ Ω)) (hG : ContinuousOn (Function.uncurry G) (Icc a b ×ˢ Ω)) (hder : ∀ s ∈ Ioo a b, ∀ x ∈ Ω, HasDerivAt (fun r => F r x) (G s x) s) : HasDerivAt (fun s => ∫ x in Ω, F s x ∂μ) (∫ x in Ω, G t x ∂μ) t := by have hFs (s : ℝ) (hs : s ∈ Icc a b) : ContinuousOn (F s) Ω := hF.comp (continuous_const.prodMk continuous_id).continuousOn (fun x hx => ⟨hs,hx⟩) have hGs (s : ℝ) (hs : s ∈ Icc a b) : ContinuousOn (G s) Ω := hG.comp (continuous_const.prodMk continuous_id).continuousOn (fun x hx => ⟨hs,hx⟩) obtain ⟨M,hM⟩ := (isCompact_Icc.prod hΩ).exists_bound_of_continuousOn hG have hfin : IsFiniteMeasure (μ.restrict Ω) := ⟨by rw [Measure.restrict_apply_univ] exact hΩ.measure_lt_top⟩ have hm : ∀ᶠ s in 𝓝 t, AEStronglyMeasurable (F s) (μ.restrict Ω) := by filter_upwards [Ioo_mem_nhds ht.1 ht.2] with s hs exact (hFs s (Ioo_subset_Icc_self hs)).aestronglyMeasurable hΩ.measurableSet exact (hasDerivAt_integral_of_dominated_loc_of_deriv_le (Ioo_mem_nhds ht.1 ht.2) hm ((hFs t (Ioo_subset_Icc_self ht)).integrableOn_compact hΩ) ((hGs t (Ioo_subset_Icc_self ht)).aestronglyMeasurable hΩ.measurableSet) (by filter_upwards [ae_restrict_mem hΩ.measurableSet] with x hx intro s hs exact hM (s,x) ⟨Ioo_subset_Icc_self hs,hx⟩) (integrable_const M) (by filter_upwards [ae_restrict_mem hΩ.measurableSet] with x hx exact fun s hs => hder s hs x hx)).2
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061import OAI.Analysis.RCDHeat.ExistingAnalytic
namespace OAI
/-!# Zero total mass of a compactly supported weak Laplacian
A radial Sobolev cutoff supplies the test function equal to one on bothsupports. Locality makes its energy pairing vanish. No constant globalSobolev function or finiteness of the ambient measure is needed.-/
open Set MeasureTheoryopen scoped InnerProductSpace
noncomputable section
namespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) [IsFiniteMeasureOnCompacts μ] (hQ : QuadraticCheegerEnergy μ)
/-- The integral of a weak Laplacian vanishes when the function and sourceare both supported in a fixed ball. -/theorem integral_weakLaplacian_eq_zero (u : SobolevSpace μ hQ) (q : Lp ℝ 2 μ) (hd : IsWeakLaplacian μ hQ u q) (p : X) {R : ℝ} (hR : 0 < R) (hu : ∀ᵐ x ∂μ, R < dist p x → SobolevSpace.toLp μ hQ u x = 0) (hq : ∀ᵐ x ∂μ, R < dist p x → q x = 0) : ∫ x, q x ∂μ = 0 := by let η := radialSobolevCutoff μ hQ p hR have hη : SobolevSpace.toLp μ hQ η =ᵐ[μ] radialCutoff p R := radialSobolevCutoff_coe μ hQ p hR have hgamma : localGamma μ hQ u η =ᵐ[μ] fun _ => 0 := by filter_upwards [localGamma_zero_on_level μ hQ u η 0, localGamma_zero_on_level μ hQ η u 1, localGamma_comm μ hQ u η, hη, hu] with x hzu hzη hc he hx by_cases hin : dist p x ≤ R · exact hc.trans (hzη (he.trans (radialCutoff_eq_one p hR hin))) · exact hzu (hx (lt_of_not_ge hin)) have henergy : energyForm μ hQ u η = 0 := by rw [← integral_localGamma_eq_energyForm] exact (integral_congr_ae hgamma).trans (by simp) have hinner : ⟪q, SobolevSpace.toLp μ hQ η⟫_ℝ = ∫ x, q x ∂μ := by rw [L2.inner_def] apply integral_congr_ae filter_upwards [hη, hq] with x he hx by_cases hin : dist p x ≤ R · rw [he, radialCutoff_eq_one p hR hin] simp · rw [hx (lt_of_not_ge hin)] simp have he := hd η rw [henergy, hinner] at he linarith
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364import Mathlib
namespace OAI
/-! # Global Lipschitz bounds from one ball and vanishing outside it -/
open Set Metricopen scoped NNRealnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X]
theorem lipschitz_of_ball_and_zero (p : X) {R : ℝ} (hR : 0 ≤ R) {f : X → ℝ} {L : ℝ≥0} (hf : LipschitzOnWith L f (closedBall p (R + 1))) (hz : ∀ x, R < dist p x → f x = 0) : ∃ C : ℝ≥0, LipschitzWith C f := by let B : ℝ := |f p| + (L : ℝ) * (R + 1) have hB : 0 ≤ B := by dsimp [B]; positivity have hb (x : X) : |f x| ≤ B := by by_cases hx : dist p x ≤ R · have hxp : x ∈ closedBall p (R + 1) := by rw [mem_closedBall, dist_comm]; linarith have hpp : p ∈ closedBall p (R + 1) := mem_closedBall_self (by linarith) have hh := (lipschitzOnWith_iff_dist_le_mul.mp hf) x hxp p hpp rw [Real.dist_eq, dist_comm x p] at hh have he := abs_add_le (f x - f p) (f p) rw [sub_add_cancel] at he dsimp [B] nlinarith [mul_le_mul_of_nonneg_left hx L.coe_nonneg] · rw [hz x (lt_of_not_ge hx), abs_zero] exact hB let C : ℝ≥0 := max L ⟨B,hB⟩ have hLC : (L : ℝ) ≤ C := by exact_mod_cast le_max_left L (⟨B,hB⟩ : ℝ≥0) have hBC : B ≤ C := by exact_mod_cast le_max_right L (⟨B,hB⟩ : ℝ≥0) refine ⟨C, LipschitzWith.of_dist_le_mul fun x y => ?_⟩ have hnear (a b : X) (ha : a ∈ closedBall p (R + 1)) (hb : b ∈ closedBall p (R + 1)) : dist (f a) (f b) ≤ (C : ℝ) * dist a b := ((lipschitzOnWith_iff_dist_le_mul.mp hf) a ha b hb).trans (mul_le_mul_of_nonneg_right hLC dist_nonneg) by_cases hx : x ∈ closedBall p (R + 1) · by_cases hy : y ∈ closedBall p (R + 1) · exact hnear x y hx hy · have hyp : R + 1 < dist p y := by simpa [mem_closedBall,dist_comm] using hy have hy0 := hz y (by linarith) by_cases hxR : dist p x ≤ R · have hxy : 1 ≤ dist x y := by linarith [dist_triangle p x y] rw [hy0,Real.dist_eq,sub_zero] exact (hb x).trans (hBC.trans (by nlinarith [C.coe_nonneg])) · rw [hz x (lt_of_not_ge hxR),hy0,dist_self] positivity · have hxp : R + 1 < dist p x := by simpa [mem_closedBall,dist_comm] using hx have hx0 := hz x (by linarith) by_cases hyR : dist p y ≤ R · have hxy : 1 ≤ dist x y := by have hh := dist_triangle p y x rw [dist_comm y x] at hh linarith rw [hx0,Real.dist_eq,zero_sub,abs_neg] exact (hb y).trans (hBC.trans (by nlinarith [C.coe_nonneg])) · rw [hx0,hz y (lt_of_not_ge hyR),dist_self] positivity
end RegularPointCoordinates
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152import OAI.Analysis.RCDHeat.ExistingAnalytic
namespace OAI
/-! # A uniform Sobolev bound from compact support and Lipschitz bounds -/
open Set Filter MeasureTheoryopen scoped Topology NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) [IsFiniteMeasureOnCompacts μ] (Q : QuadraticCheegerEnergy μ)
theorem compact_lipschitz_sobolev_uniform_bound {s : Set X} (hs : IsCompact s) (A L : ℝ≥0) : ∃ C : ℝ, 0 ≤ C ∧ ∀ (u : SobolevSpace μ Q) (f : X → ℝ), LipschitzWith L f → (∀ x, |f x| ≤ A) → (∀ x ∉ s, f x = 0) → SobolevSpace.toLp μ Q u =ᵐ[μ] f → ‖u‖ ≤ C := by let U : Lp ℝ 2 μ := indicatorConstLp 2 hs.measurableSet hs.measure_lt_top.ne (A:ℝ) let V : Lp ℝ 2 μ := indicatorConstLp 2 hs.measurableSet hs.measure_lt_top.ne (L:ℝ) have hU : U =ᵐ[μ] s.indicator (fun _ => (A:ℝ)) := indicatorConstLp_coeFn have hV : V =ᵐ[μ] s.indicator (fun _ => (L:ℝ)) := indicatorConstLp_coeFn refine ⟨‖U‖+‖V‖,by positivity,?_⟩ intro u f hf hb hz he have hv : ‖SobolevSpace.toLp μ Q u‖ ≤ ‖U‖ := by apply Lp.norm_le_norm_of_ae_le filter_upwards [he,hU] with x hx hux rw [hx,hux,Real.norm_eq_abs,Real.norm_eq_abs] by_cases hxs : x ∈ s · simpa only [indicator_of_mem hxs,abs_of_nonneg A.coe_nonneg] using hb x · simp only [indicator_of_notMem hxs,hz x hxs,abs_zero,le_refl] have hd : ‖SobolevSpace.minimalSlope μ Q u‖ ≤ ‖V‖ := by apply Lp.norm_le_norm_of_ae_le filter_upwards [SobolevSpace.minimalSlope_le_lipschitz μ Q u hf he, (Lp.coeFn_nonneg _).mpr (SobolevSpace.minimalSlope_nonneg μ Q u), SobolevSpace.minimalSlope_zero_on_zero μ Q u,he,hV] with x hx hn hzero heq hvx rw [Real.norm_eq_abs,abs_of_nonneg hn,hvx,Real.norm_eq_abs] by_cases hxs : x ∈ s · simpa only [indicator_of_mem hxs,abs_of_nonneg L.coe_nonneg] using hx · rw [indicator_of_notMem hxs,abs_zero,hzero (heq.trans (hz x hxs))] have hnorm := SobolevSpace.norm_sq μ Q u rw [SobolevSpace.normSq,← SobolevSpace.minimalSlope_norm_sq] at hnorm have hu := norm_nonneg (SobolevSpace.toLp μ Q u) have hd0 := norm_nonneg (SobolevSpace.minimalSlope μ Q u) nlinarith [norm_nonneg u,norm_nonneg U,norm_nonneg V]
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293import OAI.Geometry.RCD.Sobolev.LocalizedGradientPairimport OAI.Geometry.RCD.Sobolev.BoundaryMaximumimport Mathlib.Topology.ContinuousMap.CompactlySupported
namespace OAI
/-! # Compact Lipschitz tests and their Sobolev classes -/
open Set Filter MeasureTheoryopen scoped NNReal BoundedContinuousFunction
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
def compactLipschitzTests (Ω : Set X) : Submodule ℝ (X →ᵇ ℝ) where carrier := {f | ∃ L : ℝ≥0, LipschitzWith L f ∧ HasCompactSupport ((f : X →ᵇ ℝ) : X → ℝ) ∧ tsupport f ⊆ Ω} zero_mem' := ⟨0, LipschitzWith.const 0, HasCompactSupport.zero, by simp⟩ add_mem' := by rintro f g ⟨L, hL, hf, hs⟩ ⟨M, hM, hg, ht⟩ refine ⟨L + M, hL.add hM, hf.add hg, ?_⟩ exact (tsupport_add _ _).trans (union_subset hs ht) smul_mem' := by rintro c f ⟨L, hL, hf, hs⟩ refine ⟨‖c‖₊ * L, (lipschitzWith_smul c).comp hL, hf.smul_left, ?_⟩ exact (tsupport_smul_subset_right (fun _ => c) _).trans hs
omit [MeasurableSpace X] [BorelSpace X] intheorem compactLipschitzTests_sup_zero {Ω : Set X} (f : compactLipschitzTests Ω) : (f : X →ᵇ ℝ) ⊔ 0 ∈ compactLipschitzTests Ω := by obtain ⟨L, hL, hc, hs⟩ := f.property have hsupport : tsupport ((f : X →ᵇ ℝ) ⊔ 0) ⊆ tsupport (f : X →ᵇ ℝ) := by apply closure_mono intro x hx change max ((f : X →ᵇ ℝ) x) 0 ≠ 0 at hx change (f : X →ᵇ ℝ) x ≠ 0 intro hz exact hx (by simp [hz]) exact ⟨L, hL.max_const 0, hc.of_isClosed_subset (isClosed_tsupport _) hsupport, hsupport.trans hs⟩
variable (μ : Measure X) [IsFiniteMeasureOnCompacts μ] (hQ : QuadraticCheegerEnergy μ)
private def testSobolev (Ω : Set X) (f : compactLipschitzTests Ω) : SobolevSpace μ hQ := SobolevSpace.ofLipschitzCompact μ hQ f.property.choose_spec.1 f.property.choose_spec.2.1
private theorem testSobolev_coe (Ω : Set X) (f : compactLipschitzTests Ω) : SobolevSpace.toLp μ hQ (testSobolev μ hQ Ω f) =ᵐ[μ] ((f : X →ᵇ ℝ) : X → ℝ) := SobolevSpace.ofLipschitzCompact_coe μ hQ _ _
/-- The lift is linear because its actual L² representative is the test. -/def compactTestSobolev (Ω : Set X) : compactLipschitzTests Ω →ₗ[ℝ] SobolevSpace μ hQ where toFun := testSobolev μ hQ Ω map_add' f g := by apply Subtype.ext apply Lp.ext exact (testSobolev_coe μ hQ Ω (f + g)).trans ((testSobolev_coe μ hQ Ω f).add (testSobolev_coe μ hQ Ω g) |>.symm.trans (Lp.coeFn_add _ _).symm) map_smul' c f := by apply Subtype.ext apply Lp.ext exact (testSobolev_coe μ hQ Ω (c • f)).trans ((testSobolev_coe μ hQ Ω f).const_smul c |>.symm.trans (Lp.coeFn_smul c _).symm)
theorem compactTestSobolev_coe (Ω : Set X) (f : compactLipschitzTests Ω) : SobolevSpace.toLp μ hQ (compactTestSobolev μ hQ Ω f) =ᵐ[μ] ((f : X →ᵇ ℝ) : X → ℝ) := testSobolev_coe μ hQ Ω f
/-- A local distribution of the form energy pairing plus a constant density. -/def compactTestEnergy (Ω : Set X) (q : SobolevSpace μ hQ) (a : ℝ) : compactLipschitzTests Ω →ₗ[ℝ] ℝ where toFun f := energyForm μ hQ q (compactTestSobolev μ hQ Ω f) + a * ∫ x, (f : X →ᵇ ℝ) x ∂μ map_add' f g := by rw [map_add, energyForm_add_right] have hf : Integrable (f : X →ᵇ ℝ) μ := (f : X →ᵇ ℝ).continuous.integrable_of_hasCompactSupport f.property.choose_spec.2.1 have hg : Integrable (g : X →ᵇ ℝ) μ := (g : X →ᵇ ℝ).continuous.integrable_of_hasCompactSupport g.property.choose_spec.2.1 change _ + a * ∫ x, (f : X →ᵇ ℝ) x + (g : X →ᵇ ℝ) x ∂μ = _ rw [integral_add hf hg] ring map_smul' c f := by rw [map_smul, energyForm_smul_right] change _ + a * ∫ x, c * (f : X →ᵇ ℝ) x ∂μ = _ rw [integral_const_mul] simp only [smul_eq_mul, RingHom.id_apply] ring
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798import OAI.Geometry.RCD.Heat.HeatKernelRowsimport OAI.Geometry.RCD.Coordinates.WeightedBilinearMeasure
namespace OAI
/-!# Compactly supported measure Laplacians and continuous Sobolev tests
`IsMeasureLaplacian` records the distributional integration-by-parts identityon continuous compactly supported Sobolev tests. It is a definition, not anexistence assumption. The cutoff argument extends this identity to arbitrarycontinuous Sobolev representatives when the function and its full signedLaplacian have compact support. In particular it applies to positive-timekernel rows without removing singular mass.-/
open Set MeasureTheoryopen scoped InnerProductSpace BoundedContinuousFunction NNReal
noncomputable section
namespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X] (μ : Measure X) (hQ : QuadraticCheegerEnergy μ)
/-- The weak measure-valued Laplacian, tested on continuous compactlysupported Sobolev representatives. -/def IsMeasureLaplacian (u : SobolevSpace μ hQ) (ν : SignedMeasure X) : Prop := ∀ (φ : SobolevSpace μ hQ) (v : X → ℝ), Continuous v → HasCompactSupport v → SobolevSpace.toLp μ hQ φ =ᵐ[μ] v → energyForm μ hQ u φ = -(∫ᵛ x, v x ∂<•ν)
/-- Compact support of both the function and the full signed source allowsall continuous Sobolev representatives as tests. -/theorem IsMeasureLaplacian.test_continuous {u : SobolevSpace μ hQ} {ν : SignedMeasure X} (hν : IsMeasureLaplacian μ hQ u ν) (c : X) {R : ℝ} (hR : 0 < R) (hu : ∀ᵐ x ∂μ, R < dist c x → SobolevSpace.toLp μ hQ u x = 0) (hsν : ν.variation (Metric.closedBall c R)ᶜ = 0) (φ : SobolevSpace μ hQ) {v : X → ℝ} (hv : Continuous v) (hφ : SobolevSpace.toLp μ hQ φ =ᵐ[μ] v) : energyForm μ hQ u φ = -(∫ᵛ x, v x ∂<•ν) := by let η := radialCutoff c R have hη : LipschitzWith _ η := radialCutoff_lipschitz c hR have hsη : HasCompactSupport η := radialCutoff_hasCompactSupport c hR have hbη (x : X) : |η x| ≤ ((1 : ℝ≥0) : ℝ) := by rw [abs_of_nonneg (radialCutoff_bounds c R x).1] exact (radialCutoff_bounds c R x).2 have hnη (x : X) : 0 ≤ η x := (radialCutoff_bounds c R x).1 let ψ := SobolevSpace.cutoffCLM μ hQ hη hsη hbη hnη φ have hψ : SobolevSpace.toLp μ hQ ψ =ᵐ[μ] fun x => η x * v x := by filter_upwards [SobolevSpace.cutoffCLM_coe μ hQ hη hsη hbη hnη φ, hφ] with x hx he exact hx.trans (by rw [he]) have hg : localGamma μ hQ u ψ =ᵐ[μ] localGamma μ hQ u φ := by filter_upwards [localGamma_eq_on_eq μ hQ ψ φ u, localGamma_comm μ hQ u ψ, localGamma_comm μ hQ u φ, localGamma_zero_on_level μ hQ u ψ 0, localGamma_zero_on_level μ hQ u φ 0, hψ, hφ, hu] with x he hc hc' hz hz' hx hx' hux by_cases hin : dist c x ≤ R · rw [hc, hc'] apply he rw [hx, hx'] change radialCutoff c R x * v x = v x rw [radialCutoff_eq_one c hR hin, one_mul] · rw [hz (hux (lt_of_not_ge hin)), hz' (hux (lt_of_not_ge hin))] have henergy : energyForm μ hQ u ψ = energyForm μ hQ u φ := by rw [← integral_localGamma_eq_energyForm, ← integral_localGamma_eq_energyForm] exact integral_congr_ae hg have hae : (fun x => η x * v x) =ᵐ[ν.variation] v := by have hm : ∀ᵐ x ∂ν.variation, x ∈ Metric.closedBall c R := ae_iff.mpr hsν filter_upwards [hm] with x hx change radialCutoff c R x * v x = v x rw [radialCutoff_eq_one c hR (by simpa only [Metric.mem_closedBall, dist_comm] using hx), one_mul] have he := hν ψ (fun x => η x * v x) (hη.continuous.mul hv) hsη.mul_right hψ rw [henergy, VectorMeasure.integral_congr_ae hae] at he exact he
variable [μ.Regular] {p : ℝ → X → X → ℝ} (hp : IsContinuousHeatKernel μ hQ p)
/-- Integration by parts against the actual continuous heat-kernel row. -/theorem IsMeasureLaplacian.test_heatKernel {u : SobolevSpace μ hQ} {ν : SignedMeasure X} (hν : IsMeasureLaplacian μ hQ u ν) (c : X) {R : ℝ} (hR : 0 < R) (hu : ∀ᵐ x ∂μ, R < dist c x → SobolevSpace.toLp μ hQ u x = 0) (hsν : ν.variation (Metric.closedBall c R)ᶜ = 0) {t : ℝ} (ht : 0 < t) (x : X) : energyForm μ hQ u (heatKernelSobolev μ hQ hp t ht x) = -(∫ᵛ z, p t x z ∂<•ν) := hν.test_continuous μ hQ c hR hu hsν _ (hp.continuous_right t ht x) (heatKernelSobolev_coe μ hQ hp ht x)
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950import OAI.Geometry.RCD.Sobolev.CompactEnergyDensityimport OAI.Geometry.RCD.Sobolev.FiniteEnergyRepresentativesimport OAI.Geometry.RCD.Sobolev.WeakLaplacianDomain
namespace OAI
/-! # Sobolev representatives of mixed gradients of regular compact functions -/
open Set Filter MeasureTheoryopen scoped NNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_mixed_energy {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) (p : X) (f g : SobolevSpace (hausdorff n X) hX.quadratic) {φ ψ : X → ℝ} {L M : ℝ≥0} (hφ : LipschitzWith L φ) (hcφ : HasCompactSupport φ) (hf : SobolevSpace.toLp (hausdorff n X) hX.quadratic f =ᵐ[hausdorff n X] φ) (hψ : LipschitzWith M ψ) (hcψ : HasCompactSupport ψ) (hg : SobolevSpace.toLp (hausdorff n X) hX.quadratic g =ᵐ[hausdorff n X] ψ) (df dg : Lp ℝ 2 (hausdorff n X)) (hdf : IsWeakLaplacian (hausdorff n X) hX.quadratic f df) (hdg : IsWeakLaplacian (hausdorff n X) hX.quadratic g dg) : ∃ G : SobolevSpace (hausdorff n X) hX.quadratic, SobolevSpace.toLp (hausdorff n X) hX.quadratic G =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic f g := by let μ := hausdorff n X obtain ⟨A,hA,-,-⟩ := hX.compact_energy_density hn hφ hcφ p f hf df hdf obtain ⟨B,hB,-,-⟩ := hX.compact_energy_density hn hψ hcψ p g hg dg hdg have hab : SobolevSpace.toLp μ hX.quadratic (f+g) =ᵐ[μ] φ+ψ := by simpa only [map_add] using (Lp.coeFn_add (SobolevSpace.toLp μ hX.quadratic f) (SobolevSpace.toLp μ hX.quadratic g)).trans (hf.add hg) obtain ⟨C,hC,-,-⟩ := hX.compact_energy_density hn (hφ.add hψ) (hcφ.add hcψ) p (f+g) hab (df+dg) (hdf.add μ hX.quadratic hdg) refine ⟨(1/2 : ℝ) • (C-A-B),?_⟩ have h := polarized_energy_representative μ hX.quadratic (Ω := univ) f g A B C (by simpa only [Measure.restrict_univ] using hA) (by simpa only [Measure.restrict_univ] using hB) (by simpa only [Measure.restrict_univ] using hC) simpa only [Measure.restrict_univ] using h
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109import OAI.Geometry.RCD.Sobolev.PointedTestRecoveryimport OAI.Geometry.RCD.Sobolev.NestedBallCutoff
namespace OAI
/-! # Compactly supported recovery of Euclidean test functions -/
open Set Metricopen scoped NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [ProperSpace X]
omit [ProperSpace X] inprivate theorem bounded_product_lipschitz {f g : X → ℝ} {L M A B : ℝ≥0} (hf : LipschitzWith L f) (hg : LipschitzWith M g) (hA : ∀ x, |f x|≤A) (hB : ∀ x, |g x|≤B) : LipschitzWith (B*L+A*M) (fun x => f x*g x) := by apply LipschitzWith.of_dist_le_mul intro x y rw [Real.dist_eq] have he : f x*g x-f y*g y=(f x-f y)*g x+f y*(g x-g y) := by ring rw [he] calc _ ≤ |(f x-f y)*g x|+|f y*(g x-g y)| := abs_add_le _ _ _ = |f x-f y| * |g x|+|f y| * |g x-g y| := by rw [abs_mul,abs_mul] _ ≤ ((L:ℝ)*dist x y)*B+A*((M:ℝ)*dist x y) := by gcongr · simpa only [Real.dist_eq] using hf.dist_le_mul x y · exact hB x · exact hA y · simpa only [Real.dist_eq] using hg.dist_le_mul x y _ = (B*L+A*M:ℝ≥0)*dist x y := by push_cast; ring
theorem compact_pointed_test_recovery_support {n : ℕ} {p : X} {r S ρ a b ε B : ℝ} (hr : 0<r) (hρ : 0≤ρ) (hρa : ρ<a) (hab : a<b) (hbS : b<S) (hε : 0≤ε) (hsmall : 2*ε<a-ρ) (hB : 0≤B) {v : X → Euclidean n} (hv : IsPointedApproximation p 0 r S ε v) {ψ : Euclidean n → ℝ} {M : ℝ≥0} (hψ : LipschitzWith M ψ) (hψb : ∀ z, |ψ z|≤B) (hψ0 : ∀ z, ρ≤‖z‖ → ψ z=0) : ∃ (w : X → ℝ) (L : ℝ≥0), LipschitzWith L w ∧ HasCompactSupport w ∧ tsupport w ⊆ closedBall p (b*r) ∧ (∀ x, |w x|≤B+M*ε) ∧ r*(L:ℝ)≤M+(B+M*ε)/(b-a) ∧ ∀ x, dist x p≤S*r → |w x-ψ (v x)|≤M*ε := by have hS : 0≤S := by linarith obtain ⟨F,hF,hFb,hFe⟩ := pointed_lipschitz_test_recovery hr hS hε hB hv hψ hψb let χ := nestedBallCutoff p (a*r) (b*r) have harbr : a*r<b*r := mul_lt_mul_of_pos_right hab hr have hχ := nestedBallCutoff_lipschitz p harbr have hχb (x : X) : |χ x|≤(1:ℝ≥0) := by rw [abs_of_nonneg (nestedBallCutoff_bounds p (a*r) (b*r) x).1] exact (nestedBallCutoff_bounds p (a*r) (b*r) x).2 let A : ℝ≥0 := ⟨B+M*ε,add_nonneg hB (mul_nonneg M.coe_nonneg hε)⟩ have hprod := bounded_product_lipschitz (A := 1) (B := A) hχ hF hχb hFb refine ⟨fun x => χ x*F x,_,hprod,?_,?_,?_,?_,?_⟩ · exact (nestedBallCutoff_hasCompactSupport p harbr).mul_right · exact tsupport_mul_subset_left.trans (nestedBallCutoff_tsupport p harbr) · intro x rw [abs_mul] exact (mul_le_mul (hχb x) (hFb x) (abs_nonneg _) (by positivity)).trans_eq (one_mul _) · change r*((B+(M:ℝ)*ε)*(b*r-a*r)⁻¹+1*((M:ℝ)/r))≤M+(B+M*ε)/(b-a) have hgap : b*r-a*r=(b-a)*r := by ring rw [hgap] apply le_of_eq field_simp [hr.ne',(sub_pos.mpr hab).ne'] ring · intro x hx change |χ x*F x-ψ (v x)|≤M*ε by_cases hz : ψ (v x)=0 · have he := hFe x hx rw [hz,sub_zero] at he ⊢ rw [abs_mul] exact (mul_le_mul (hχb x) he (abs_nonneg _) (by positivity)).trans_eq (one_mul _) · have hn : ‖v x‖<ρ := lt_of_not_ge (fun h => hz (hψ0 _ h)) have hd := (abs_le.mp (hv.2.1 x p hx (by simpa only [dist_self] using mul_nonneg hS hr.le))).1 have ht := dist_triangle (v x) 0 (v p) have hc := hv.1 rw [dist_comm 0 (v p)] at ht simp only [dist_zero_right] at ht hc have hxa : dist p x≤a*r := by rw [dist_comm] apply (div_le_iff₀ hr).mp linarith rw [show χ x=1 from nestedBallCutoff_eq_one p harbr hxa,one_mul] exact hFe x hx
/-- Compactly supported smooth tests on an open ball admit harmonic recovery. -/theorem compact_pointed_test_recovery {n : ℕ} {p : X} {r S ρ a b ε B : ℝ} (hr : 0<r) (hρ : 0≤ρ) (hρa : ρ<a) (hab : a<b) (hbS : b<S) (hε : 0≤ε) (hsmall : 2*ε<a-ρ) (hB : 0≤B) {v : X → Euclidean n} (hv : IsPointedApproximation p 0 r S ε v) {ψ : Euclidean n → ℝ} {M : ℝ≥0} (hψ : LipschitzWith M ψ) (hψb : ∀ z, |ψ z|≤B) (hψ0 : ∀ z, ρ≤‖z‖ → ψ z=0) : ∃ (w : X → ℝ) (L : ℝ≥0), LipschitzWith L w ∧ HasCompactSupport w ∧ tsupport w ⊆ ball p (S*r) ∧ (∀ x, |w x|≤B+M*ε) ∧ r*(L:ℝ)≤M+(B+M*ε)/(b-a) ∧ ∀ x, dist x p≤S*r → |w x-ψ (v x)|≤M*ε := by obtain ⟨w,L,hw,hc,hs,hb,hL,he⟩ := compact_pointed_test_recovery_support hr hρ hρa hab hbS hε hsmall hB hv hψ hψb hψ0 exact ⟨w,L,hw,hc,hs.trans (closedBall_subset_ball (mul_lt_mul_of_pos_right hbS hr)),hb,hL,he⟩
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192import OAI.Geometry.RCD.Sobolev.CompactMixedEnergyimport OAI.Geometry.RCD.Sobolev.SobolevCompactSupportimport OAI.Geometry.RCD.Coordinates.RegularDirichletCoreimport OAI.Geometry.RCD.Sobolev.WeakRadialCancellation
namespace OAI
/-! # The integrated Hessian formula for regular Poisson functions -/
open Set Filter MeasureTheoryopen scoped NNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_test_gradient {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) (p : X) {Ω : Set X} (hΩ : IsOpen Ω) (f : SobolevSpace (hausdorff n X) hX.quadratic) {v : X → ℝ} {L : ℝ≥0} (hv : LipschitzWith L v) (hc : HasCompactSupport v) (hf : SobolevSpace.toLp (hausdorff n X) hX.quadratic f =ᵐ[hausdorff n X] v) (df : Lp ℝ 2 (hausdorff n X)) (hdf : IsWeakLaplacian (hausdorff n X) hX.quadratic f df) (φ : regularDirichletCore (hausdorff n X) hX.quadratic Ω) : ∃ G : SobolevSpace.dirichlet (hausdorff n X) hX.quadratic Ω, SobolevSpace.toLp (hausdorff n X) hX.quadratic G.val =ᵐ[hausdorff n X] localGamma (hausdorff n X) hX.quadratic f φ.val.val := by obtain ⟨w,M,hw,hwc,hws,hwr⟩ := φ.property.1 obtain ⟨dφ,hdφ⟩ := φ.property.2 obtain ⟨G,hG⟩ := hX.compact_mixed_energy hn p f φ.val.val hv hc hf hw hwc hwr df dφ hdf hdφ exact ⟨⟨G,hX.gamma_representative_mem_dirichlet hn hΩ f φ.val.val G hwc hws hwr hG⟩,hG⟩
/-- All Sobolev representatives in the Koszul identity are constructedfrom the RCD energy-density theorem and a proved dense compact core. -/theorem NoncollapsedRCD.compact_poisson_hessian_pairing {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2 ≤ n) (p : X) {Ω : Set X} (hΩ : IsOpen Ω) (f a : SobolevSpace (hausdorff n X) hX.quadratic) {v w : X → ℝ} {L M : ℝ≥0} (hv : LipschitzWith L v) (hvc : HasCompactSupport v) (hfr : SobolevSpace.toLp (hausdorff n X) hX.quadratic f =ᵐ[hausdorff n X] v) (hw : LipschitzWith M w) (hwc : HasCompactSupport w) (har : SobolevSpace.toLp (hausdorff n X) hX.quadratic a =ᵐ[hausdorff n X] w) (df da : Lp ℝ 2 (hausdorff n X)) (hdf : IsWeakLaplacian (hausdorff n X) hX.quadratic f df) (hda : IsWeakLaplacian (hausdorff n X) hX.quadratic a da) (c d : ℝ) (hf : IsConstantLaplacianOn (hausdorff n X) hX.quadratic Ω f c) (ha : IsConstantLaplacianOn (hausdorff n X) hX.quadratic Ω a d) : Nonempty (LocalHessianPairing (hausdorff n X) hX.quadratic Ω f a) := by let μ := hausdorff n X obtain ⟨G,hG⟩ := hX.compact_mixed_energy hn p f a hv hvc hfr hw hwc har df da hdf hda choose γf hγf using hX.compact_test_gradient hn p hΩ f hv hvc hfr df hdf choose γa hγa using hX.compact_test_gradient hn p hΩ a hw hwc har da hda let H : SobolevSpace.dirichlet μ hX.quadratic Ω →L[ℝ] ℝ := (1/2 : ℝ) • ((sobolevEnergyForm μ hX.quadratic G).comp (SobolevSpace.dirichlet μ hX.quadratic Ω).subtypeL) refine ⟨{ mixed := G mixed_rep := ae_restrict_of_ae hG core := regularDirichletCore μ hX.quadratic Ω core_dense := hX.regularDirichletCore_dense hn hΩ gammaF := γf gammaA := γa gammaF_rep := hγf gammaA_rep := hγa hessian := H koszul := ?_ }⟩ intro φ have hif : (∫ x in Ω, SobolevSpace.toLp μ hX.quadratic (γf φ).val x ∂μ) = energyForm μ hX.quadratic f φ.val.val := by rw [integral_congr_ae (ae_restrict_of_ae (hγf φ))] exact integral_localGamma_dirichlet μ hX.quadratic Ω hΩ.measurableSet f φ.val have hia : (∫ x in Ω, SobolevSpace.toLp μ hX.quadratic (γa φ).val x ∂μ) = energyForm μ hX.quadratic a φ.val.val := by rw [integral_congr_ae (ae_restrict_of_ae (hγa φ))] exact integral_localGamma_dirichlet μ hX.quadratic Ω hΩ.measurableSet a φ.val have heq : energyForm μ hX.quadratic a (γf φ).val = energyForm μ hX.quadratic f (γa φ).val := by rw [ha _ (γf φ).property,hf _ (γa φ).property,hif,hia, hf _ φ.val.property,ha _ φ.val.property] ring change 2*((1/2 : ℝ)*energyForm μ hX.quadratic G φ.val.val) = _ rw [heq,energyForm_comm μ hX.quadratic G φ.val.val] ring
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233import Mathlib
namespace OAI
/-! # A compact multiplier divided by a locally positive continuous function -/
open Set Metricnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [TopologicalSpace X]
theorem compact_reciprocal_multiplier_bound (φ F : X → ℝ) (hφ : Continuous φ) (hs : HasCompactSupport φ) (hF : Continuous F) (hpos : ∀ x ∈ tsupport φ, 0 < F x) : ∃ C : ℝ, 0 ≤ C ∧ ∀ x, |φ x/F x| ≤ C := by obtain ⟨M,hM⟩ := hs.exists_bound_of_continuous hφ obtain ⟨a,ha,haF⟩ := hs.exists_forall_le' hF.continuousOn hpos refine ⟨max 0 (M/a),le_max_left _ _,?_⟩ intro x by_cases hx : x ∈ tsupport φ · have hFx := ha.trans_le (haF x hx) rw [abs_div,abs_of_pos hFx] exact ((div_le_div_of_nonneg_left (abs_nonneg _) ha (haF x hx)).trans (div_le_div_of_nonneg_right (by simpa only [Real.norm_eq_abs] using hM x) ha.le)).trans (le_max_right _ _) · rw [image_eq_zero_of_notMem_tsupport hx,zero_div,abs_zero] exact le_max_left _ _
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758import OAI.Geometry.RCD.Sobolev.SupportedGammaIntegralimport OAI.Geometry.RCD.Metric.ContainingMassUniformL2import OAI.Geometry.RCD.Sobolev.DirichletPoincare
namespace OAI
/-! # Global normalized L2 and energy bounds for the compact recoveries -/
open Set Metric Filter MeasureTheoryopen scoped Topologynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem compact_recovery_global_bounds (μ : Measure X) (hQ : QuadraticCheegerEnergy μ) {S c B Q : ℝ} (hcS : c≤S) (p : ℕ → X) (r : ℕ → ℝ) (hr : ∀ k, 0≤r k) [∀ k, IsFiniteMeasure (μ.restrict (ball (p k) (S*r k)))] (u : ℕ → SobolevSpace μ hQ) (v : ℕ → X → ℝ) (hv : ∀ k x, |v k x|≤B) (hconv : ∀ᶠ k in atTop, ∀ᵐ x ∂μ.restrict (ball (p k) (S*r k)), |SobolevSpace.toLp μ hQ (u k) x-v k x|≤1) (hz : ∀ k, ∀ᵐ x ∂μ, x∉ball (p k) (c*r k) → SobolevSpace.toLp μ hQ (u k) x=0) (hg : ∀ᶠ k in atTop, ∀ᵐ x ∂μ, r k^2*localGamma μ hQ (u k) (u k) x≤Q^2) : ∀ᶠ k in atTop, ‖SobolevSpace.toLp μ hQ (u k)‖^2≤(B+1)^2*μ.real (ball (p k) (S*r k)) ∧ r k^2*energyForm μ hQ (u k) (u k)≤Q^2*μ.real (ball (p k) (S*r k)) := by filter_upwards [hconv,hg] with k hk hkg let U := ball (p k) (S*r k) have hzU : ∀ᵐ x ∂μ, x∉U → SobolevSpace.toLp μ hQ (u k) x=0 := (hz k).mono fun x hx hn => hx (fun hh => hn ((ball_subset_ball (mul_le_mul_of_nonneg_right hcS (hr k))) hh)) have hLp : (∫ x in U, (SobolevSpace.toLp μ hQ (u k) x)^2 ∂μ)=‖SobolevSpace.toLp μ hQ (u k)‖^2 := by rw [setIntegral_eq_integral_of_ae_compl_eq_zero (hzU.mono fun x hx hn => by rw [hx hn]; norm_num), lp_integral_square_eq_norm_square] constructor · rw [← hLp] have hbnd : ∀ᵐ x ∂μ.restrict U, (SobolevSpace.toLp μ hQ (u k) x)^2≤(B+1)^2 := by filter_upwards [hk] with x hx have hnorm : |SobolevSpace.toLp μ hQ (u k) x|≤B+1 := by calc _ = |(SobolevSpace.toLp μ hQ (u k) x-v k x)+v k x| := by congr 1; ring _ ≤ |SobolevSpace.toLp μ hQ (u k) x-v k x|+|v k x| := abs_add_le _ _ _ ≤ B+1 := by linarith [hv k x] simpa only [sq_abs] using pow_le_pow_left₀ (abs_nonneg _) hnorm 2 have hi := integral_mono_ae (((Lp.memLp (SobolevSpace.toLp μ hQ (u k))).restrict U).integrable_sq) (integrable_const ((B+1)^2)) hbnd simpa only [integral_const,Measure.real,Measure.restrict_apply_univ,smul_eq_mul,mul_comm] using hi · have hint : (∫ x in U, localGamma μ hQ (u k) (u k) x ∂μ)=energyForm μ hQ (u k) (u k) := by rw [supported_gamma_integral μ hQ (u k) (u k) U hzU,integral_localGamma_eq_energyForm] have hi := integral_mono_ae (((localGamma_memL1 μ hQ (u k) (u k)).restrict (s := U)).const_mul (r k^2)) (integrable_const (Q^2)) (ae_restrict_of_ae hkg) rw [integral_const_mul,hint] at hi simpa only [integral_const,Measure.real,Measure.restrict_apply_univ,smul_eq_mul,mul_comm] using hi
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071import OAI.Geometry.RCD.Sobolev.WeightedMixedEnergy
namespace OAI
/-! # Mixed energies of two actual compact test recoveries -/
open Set Metric Filter MeasureTheoryopen scoped Topology BoundedContinuousFunctionnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_recovery_mixed_energy {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2≤n) {S : ℝ} (hS : 0<S) (p : ℕ → X) (r ε : ℕ → ℝ) (V : ℕ → X → Euclidean n) (hr : ∀ k, 0<r k) (hcurv : ∀ k, -1≤K*r k^2) (hε : ∀ k, 0≤ε k) (hε1 : ∀ k, ε k≤1) (hεlim : Tendsto ε atTop (𝓝 0)) (hV : ∀ k, IsMeasuredEuclideanApproximation (hausdorff n X) n (p k) (r k) S (ε k) (V k)) (u q : ℕ → SobolevSpace (hausdorff n X) hX.quadratic) {ψ G : Euclidean n → ℝ} (hψ : InteriorSmoothTest n S ψ) (hG : InteriorSmoothTest n S G) (huv : ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p k) (S*r k)), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (u k) x-ψ (V k x)|≤δ) (hqv : ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p k) (S*r k)), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (q k) x-G (V k x)|≤δ) {M Q : ℝ} (hM : 0≤M) (hQ : 0≤Q) (hub : ∀ᶠ k in atTop, ∀ᵐ x ∂hausdorff n X, r k^2*localGamma (hausdorff n X) hX.quadratic (u k) (u k) x≤M) (hqb : ∀ᶠ k in atTop, ∀ᵐ x ∂hausdorff n X, r k^2*localGamma (hausdorff n X) hX.quadratic (q k) (q k) x≤Q) (φ : Euclidean n →ᵇ ℝ) (hφ : ∀ z, 0≤φ z) (hs : tsupport φ⊆ball 0 S) (huenergy : Tendsto (fun k => r k^2*((hausdorff n X).real (ball (p k) (S*r k)))⁻¹* ∫ x in ball (p k) (S*r k), φ (V k x)*localGamma (hausdorff n X) hX.quadratic (u k) (u k) x ∂hausdorff n X) atTop (𝓝 ((volume.real (ball (0:Euclidean n) S))⁻¹*∫ z in ball 0 S, φ z*‖fderiv ℝ ψ z‖^2))) (hqenergy : Tendsto (fun k => r k^2*((hausdorff n X).real (ball (p k) (S*r k)))⁻¹* ∫ x in ball (p k) (S*r k), φ (V k x)*localGamma (hausdorff n X) hX.quadratic (q k) (q k) x ∂hausdorff n X) atTop (𝓝 ((volume.real (ball (0:Euclidean n) S))⁻¹*∫ z in ball 0 S, φ z*‖fderiv ℝ G z‖^2))) : Tendsto (fun k => r k^2*((hausdorff n X).real (ball (p k) (S*r k)))⁻¹* ∫ x in ball (p k) (S*r k), φ (V k x)*localGamma (hausdorff n X) hX.quadratic (u k) (q k) x ∂hausdorff n X) atTop (𝓝 ((volume.real (ball (0:Euclidean n) S))⁻¹* ∫ z in ball 0 S, φ z*inner ℝ (gradient ψ z) (gradient G z))) := by obtain ⟨ρ,hρ,hρs⟩ := exists_pos_lt_subset_ball hS (isClosed_tsupport φ) hs let τ := (2*ρ+S)/3 let R := (ρ+2*S)/3 have hρτ : ρ<τ := by dsimp only [τ]; linarith [hρ.2] have hτR : τ<R := by dsimp only [τ,R]; linarith [hρ.2] have hRS : R<S := by dsimp only [R]; linarith [hρ.2] refine hX.weighted_mixed_energy_tendsto hn hS (hρ.1.le.trans hρτ.le) hρτ hτR hRS p r ε V hr hcurv hε hε1 hεlim hV u q ψ G hψ hG ?_ ?_ hM hQ (hub.mono fun _ hk => ae_restrict_of_ae hk) (hqb.mono fun _ hk => ae_restrict_of_ae hk) φ hφ ((subset_tsupport φ).trans hρs) ?_ ?_ · intro W _ hWS δ hδ exact (huv δ hδ).mono fun k hk => ae_restrict_of_ae_restrict_of_subset (ball_subset_ball (mul_le_mul_of_nonneg_right hWS.le (hr k).le)) hk · intro W _ hWS δ hδ exact (hqv δ hδ).mono fun k hk => ae_restrict_of_ae_restrict_of_subset (ball_subset_ball (mul_le_mul_of_nonneg_right hWS.le (hr k).le)) hk · intro δ hδ exact (huenergy.eventually (Iio_mem_nhds (lt_add_of_pos_right _ hδ))).mono fun _ hk => hk.le · intro δ hδ exact (hqenergy.eventually (Iio_mem_nhds (lt_add_of_pos_right _ hδ))).mono fun _ hk => hk.le
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364import OAI.Analysis.RCDHeat.HeatTest
namespace OAI
/-! # Probability laws on a measurable compact support
The subtype law has the exact normalized restriction as its ambient law,and an explicit bounded nonnegative density. Compactness is supplied onlywhere the heat-factor construction uses it.-/
open Set Filter MeasureTheoryopen scoped ENNReal NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MeasurableSpace X]
theorem restricted_probability_law (μ : Measure X) (S : Set X) (hS : MeasurableSet S) (hS0 : μ S ≠ 0) (hSf : μ S ≠ ∞) : ∃ (ν : Measure S) (ρ : X → ℝ) (B : ℝ≥0), IsProbabilityMeasure ν ∧ ν.map Subtype.val = uniformOn μ S ∧ Measurable ρ ∧ (∀ x, 0 ≤ ρ x) ∧ (∀ x, |ρ x| ≤ B) ∧ ν.map Subtype.val = μ.withDensity (fun x => ENNReal.ofReal (ρ x)) := by let m := uniformOn μ S let := uniformOn_probability μ S hS0 hSf have hs : ∀ᵐ x ∂m, x ∈ S := uniformOn_ae_mem μ S hS let ν : Measure S := m.comap Subtype.val have hprob : IsProbabilityMeasure ν := (MeasurableEmbedding.subtype_coe hS).isProbabilityMeasure_comap (by simpa only [Subtype.range_coe] using hs) have hmap : ν.map Subtype.val = m := by rw [show ν = m.comap Subtype.val from rfl,map_comap_subtype_coe hS] exact Measure.restrict_eq_self_of_ae_mem hs let c : ℝ := (μ.real S)⁻¹ have hc : 0 ≤ c := inv_nonneg.mpr measureReal_nonneg let ρ : X → ℝ := S.indicator (fun _ => c) have hmρ : Measurable ρ := measurable_const.indicator hS have hpρ (x : X) : 0 ≤ ρ x := by by_cases hx : x ∈ S <;> simp [ρ,hx,hc] have hbρ (x : X) : |ρ x| ≤ (⟨c,hc⟩ : ℝ≥0) := by rw [abs_of_nonneg (hpρ x)] by_cases hx : x ∈ S <;> simp [ρ,hx,hc] refine ⟨ν,ρ,⟨c,hc⟩,hprob,hmap,hmρ,hpρ,hbρ,?_⟩ rw [hmap] have he : (fun x => ENNReal.ofReal (ρ x)) = S.indicator (fun _ => (μ S)⁻¹) := by funext x by_cases hx : x ∈ S · simp only [ρ,Set.indicator_of_mem hx,c,measureReal_def] rw [ENNReal.ofReal_inv_of_pos (ENNReal.toReal_pos hS0 hSf),ENNReal.ofReal_toReal hSf] · simp [ρ,hx] rw [he,withDensity_indicator hS,withDensity_const] rfl
theorem restricted_law_integral {S : Set X} (μ : Measure X) (ν : Measure S) (hν : ν.map Subtype.val = uniformOn μ S) (f : X → ℝ) (hf : Measurable f) : (∫ a : S, f a ∂ν) = (μ.real S)⁻¹*(∫ x in S, f x ∂μ) := by rw [← integral_map measurable_subtype_coe.aemeasurable hf.aestronglyMeasurable,hν] simp only [uniformOn,integral_smul_measure,ENNReal.toReal_inv,measureReal_def,smul_eq_mul]
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculusimport Mathlib.MeasureTheory.Function.LocallyIntegrableimport Mathlib.Analysis.Calculus.MeanValue
namespace OAI
/-! # Two primitives of a compact scalar second derivative
Only continuity and compact support of the prescribed second derivativeare needed. Both primitives vanish at zero and have global Lipschitz bounds.-/
open Set Filter MeasureTheoryopen scoped NNReal Intervalnoncomputable sectionnamespace RegularPointCoordinates
theorem compact_scalar_two_primitives {ψ : ℝ → ℝ} (hc : Continuous ψ) (hs : HasCompactSupport ψ) : ∃ (Φ φ : ℝ → ℝ) (C D B E : ℝ≥0), LipschitzWith C Φ ∧ LipschitzWith D φ ∧ Φ 0=0 ∧ φ 0=0 ∧ (∀ a, HasDerivAt Φ (φ a) a) ∧ (∀ a, HasDerivAt φ (ψ a) a) ∧ (∀ a, |φ a| ≤ B) ∧ (∀ a, |ψ a| ≤ E) ∧ (∀ a, φ a=∫ s in 0..a, ψ s) ∧ (∀ a, Φ a=∫ s in 0..a, φ s) := by let φ := fun a => ∫ s in 0..a, ψ s let Φ := fun a => ∫ s in 0..a, φ s have hi : Integrable ψ volume := hc.integrable_of_hasCompactSupport hs let B : ℝ≥0 := ⟨∫ s, ‖ψ s‖,integral_nonneg fun _ => norm_nonneg _⟩ obtain ⟨E,hE⟩ := hs.exists_bound_of_continuous hc let En : ℝ≥0 := ⟨E,(norm_nonneg (ψ 0)).trans (hE 0)⟩ have hdφ (a : ℝ) : HasDerivAt φ (ψ a) a := intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable _ _) hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt have hφ : Continuous φ := continuous_iff_continuousAt.mpr fun a => (hdφ a).continuousAt have hdΦ (a : ℝ) : HasDerivAt Φ (φ a) a := intervalIntegral.integral_hasDerivAt_right (hφ.intervalIntegrable _ _) hφ.aestronglyMeasurable.stronglyMeasurableAtFilter hφ.continuousAt have hb (a : ℝ) : |φ a| ≤ B := by calc |φ a| = ‖φ a‖ := (Real.norm_eq_abs _).symm _ ≤ ∫ s in Ι (0 : ℝ) a, ‖ψ s‖ := intervalIntegral.norm_integral_le_integral_norm_uIoc _ ≤ ∫ s, ‖ψ s‖ := integral_mono_measure Measure.restrict_le_self (Eventually.of_forall fun _ => norm_nonneg _) hi.norm _ = B := rfl have hlφ : LipschitzWith En φ := lipschitzWith_of_nnnorm_deriv_le (fun a => (hdφ a).differentiableAt) (fun a => by rw [(hdφ a).deriv] exact NNReal.coe_le_coe.mp (hE a)) have hlΦ : LipschitzWith B Φ := lipschitzWith_of_nnnorm_deriv_le (fun a => (hdΦ a).differentiableAt) (fun a => by rw [(hdΦ a).deriv] apply NNReal.coe_le_coe.mp simpa only [coe_nnnorm,Real.norm_eq_abs] using hb a) refine ⟨Φ,φ,B,En,B,En,hlΦ,hlφ,?_,?_,hdΦ,hdφ,hb,?_,fun _ => rfl,fun _ => rfl⟩ · exact intervalIntegral.integral_same · exact intervalIntegral.integral_same · intro a; exact hE a
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061import OAI.Geometry.RCD.Sobolev.CompactLipschitzTests
namespace OAI
/-! # Continuous compact Sobolev tests and their canonical lift -/
open Set Filter MeasureTheoryopen scoped BoundedContinuousFunction NNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] (μ : Measure X) (hQ : QuadraticCheegerEnergy μ)
def compactSobolevTests (Ω : Set X) : Submodule ℝ (X →ᵇ ℝ) where carrier := {v | HasCompactSupport ((v : X →ᵇ ℝ) : X → ℝ) ∧ tsupport v ⊆ Ω ∧ ∃ u : SobolevSpace μ hQ, SobolevSpace.toLp μ hQ u =ᵐ[μ] ((v : X →ᵇ ℝ) : X → ℝ)} zero_mem' := ⟨HasCompactSupport.zero, by simp, 0, by simpa only [map_zero, BoundedContinuousFunction.coe_zero] using (Lp.coeFn_zero ℝ 2 μ)⟩ add_mem' := by rintro f g ⟨hf, hfs, u, hu⟩ ⟨hg, hgs, v, hv⟩ refine ⟨hf.add hg, (tsupport_add _ _).trans (union_subset hfs hgs), u + v, ?_⟩ exact (Lp.coeFn_add _ _).trans (hu.add hv) smul_mem' := by rintro c f ⟨hf, hfs, u, hu⟩ refine ⟨hf.smul_left, (tsupport_smul_subset_right (fun _ => c) _).trans hfs, c • u, ?_⟩ exact (Lp.coeFn_smul c _).trans (hu.const_smul c)
private def sobolevTestLift (Ω : Set X) (v : compactSobolevTests μ hQ Ω) : SobolevSpace μ hQ := v.property.2.2.choose
omit [BorelSpace X] inprivate theorem sobolevTestLift_coe (Ω : Set X) (v : compactSobolevTests μ hQ Ω) : SobolevSpace.toLp μ hQ (sobolevTestLift μ hQ Ω v) =ᵐ[μ] ((v : X →ᵇ ℝ) : X → ℝ) := v.property.2.2.choose_spec
def compactSobolevTestLift (Ω : Set X) : compactSobolevTests μ hQ Ω →ₗ[ℝ] SobolevSpace μ hQ where toFun := sobolevTestLift μ hQ Ω map_add' f g := by apply Subtype.ext apply Lp.ext exact (sobolevTestLift_coe μ hQ Ω (f + g)).trans ((sobolevTestLift_coe μ hQ Ω f).add (sobolevTestLift_coe μ hQ Ω g) |>.symm.trans (Lp.coeFn_add _ _).symm) map_smul' c f := by apply Subtype.ext apply Lp.ext exact (sobolevTestLift_coe μ hQ Ω (c • f)).trans ((sobolevTestLift_coe μ hQ Ω f).const_smul c |>.symm.trans (Lp.coeFn_smul c _).symm)
omit [BorelSpace X] intheorem compactSobolevTestLift_coe (Ω : Set X) (v : compactSobolevTests μ hQ Ω) : SobolevSpace.toLp μ hQ (compactSobolevTestLift μ hQ Ω v) =ᵐ[μ] ((v : X →ᵇ ℝ) : X → ℝ) := sobolevTestLift_coe μ hQ Ω v
end RegularPointCoordinates
end
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283import OAI.Geometry.RCD.Sobolev.CompactTestHarmonicReplacementsimport OAI.Geometry.RCD.Harmonic.InnerHarmonicLimit
namespace OAI
/-! # Actual recovered boundary data and their classical harmonic limits -/
open Set Metric Filter MeasureTheoryopen scoped Topology ContDiff NNRealnoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
structure CompactHarmonicBoundaryLimit {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (p : ℕ → X) (r : ℕ → ℝ) (V : ℕ → X → Euclidean n) (S R : ℝ) (ψ : Euclidean n → ℝ) where shift : ℕ boundary : ℕ → SobolevSpace (hausdorff n X) hX.quadratic target : ℕ → SobolevSpace (hausdorff n X) hX.quadratic energyConstant : ℝ energy_nonneg : 0≤energyConstant dirichlet : ∀ k, target k-boundary k∈SobolevSpace.dirichlet (hausdorff n X) hX.quadratic (ball (p (k+shift)) (R*r (k+shift))) harmonic : ∀ k, IsSobolevHarmonicOn (hausdorff n X) hX.quadratic (ball (p (k+shift)) (R*r (k+shift))) (target k) boundary_energy : ∀ k, r (k+shift)^2*energyForm (hausdorff n X) hX.quadratic (boundary k) (boundary k)≤ energyConstant*(hausdorff n X).real (ball (p (k+shift)) (S*r (k+shift))) recovery : ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p (k+shift)) (S*r (k+shift))), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (boundary k) x-ψ (V (k+shift) x)|≤δ subsequence : ℕ → ℕ strictMono : StrictMono subsequence value : Euclidean n → ℝ measurable : Measurable value continuous : ContinuousOn value (ball 0 R) weak : EuclideanWeakHarmonicOn value R smooth : ContDiffOn ℝ ∞ value (ball 0 R) localLipschitz : ∀ W<R, ∃ L : ℝ≥0, LipschitzOnWith L value (closedBall 0 W) convergence : ∀ W : ℝ, 0<W → W<R → ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p (subsequence k+shift)) (W*r (subsequence k+shift))), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (target (subsequence k)) x- value (V (subsequence k+shift) x)|≤δ
theorem NoncollapsedRCD.compact_test_harmonic_limits {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) [(hausdorff n X).Regular] (hn : 2≤n) {S R : ℝ} (hS : 0<S) (hR : 0<R) (hRS : 2*R≤S) (p : ℕ → X) (r ε : ℕ → ℝ) (V : ℕ → X → Euclidean n) (hr : ∀ k, 0<r k) (hcurv : ∀ k, -1≤K*r k^2) (hcurvR : ∀ k, -1≤K*(2*(R*r k))^2) (hε : ∀ k, 0≤ε k) (hε1 : ∀ k, ε k≤1) (hεlim : Tendsto ε atTop (𝓝 0)) (hV : ∀ k, IsMeasuredEuclideanApproximation (hausdorff n X) n (p k) (r k) S (ε k) (V k)) {ψ : Euclidean n → ℝ} (hψ : InteriorSmoothTest n S ψ) : Nonempty (CompactHarmonicBoundaryLimit hX p r V S R ψ) := by obtain ⟨C,E,hC,hE,N,u,w,hw,hu⟩ := hX.compact_test_harmonic_replacements hn hS hR hRS p r ε V hr hcurv hcurvR hε hε1 hεlim hV hψ obtain ⟨a,ha,g,hgm,hgc,hgw,hgs,hgL,hconv⟩ := hX.inner_harmonic_limit hn hS hR (by linarith) hC (fun k => p (k+N)) (fun k => r (k+N)) (fun k => ε (k+N)) (fun k => V (k+N)) (fun k => hr (k+N)) (fun k => hcurv (k+N)) (fun k => hε (k+N)) (hεlim.comp (tendsto_add_atTop_nat N)) (fun k => hV (k+N)) w (fun k => (hw k).2.1) (fun k => (hw k).2.2.2.1) exact ⟨{ shift := N boundary := u target := w energyConstant := E energy_nonneg := hE dirichlet := fun k => (hw k).1 harmonic := fun k => (hw k).2.1 boundary_energy := fun k => (hw k).2.2.2.2.2 recovery := hu subsequence := a strictMono := ha value := g measurable := hgm continuous := hgc weak := hgw smooth := hgs localLipschitz := hgL convergence := hconv }⟩
end RegularPointCoordinates
end
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576import OAI.Geometry.RCD.Harmonic.HarmonicReplacementFamilyimport OAI.Geometry.RCD.Sobolev.CompactRecoveryGlobalBoundsimport OAI.Geometry.RCD.Sobolev.SharpWeightedTestRecoveryimport OAI.Geometry.RCD.Sobolev.SmoothRecoveryGradientBound
namespace OAI
/-! # Actual harmonic candidates built from prescribed Euclidean tests
The recovered boundary values and harmonic replacements live in theoriginal Sobolev spaces. Both global L2 and rescaled energy bounds retainthe physical outer-ball normalization.-/
open Set Metric Filter MeasureTheoryopen scoped Topologynoncomputable sectionnamespace RegularPointCoordinatesvariable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [ProperSpace X]
theorem NoncollapsedRCD.compact_test_harmonic_replacements {K : ℝ} {n : ℕ} (hX : NoncollapsedRCD K n X) (hn : 2≤n) {S R : ℝ} (hS : 0<S) (hR : 0<R) (hRS : 2*R≤S) (p : ℕ → X) (r ε : ℕ → ℝ) (V : ℕ → X → Euclidean n) (hr : ∀ k, 0<r k) (hcurv : ∀ k, -1≤K*r k^2) (hcurvR : ∀ k, -1≤K*(2*(R*r k))^2) (hε : ∀ k, 0≤ε k) (hε1 : ∀ k, ε k≤1) (hεlim : Tendsto ε atTop (𝓝 0)) (hV : ∀ k, IsMeasuredEuclideanApproximation (hausdorff n X) n (p k) (r k) S (ε k) (V k)) {ψ : Euclidean n → ℝ} (hψ : InteriorSmoothTest n S ψ) : ∃ C E : ℝ, 0<C ∧ 0≤E ∧ ∃ N : ℕ, ∃ u w : ℕ → SobolevSpace (hausdorff n X) hX.quadratic, (∀ k, w k-u k∈SobolevSpace.dirichlet (hausdorff n X) hX.quadratic (ball (p (k+N)) (R*r (k+N))) ∧ IsSobolevHarmonicOn (hausdorff n X) hX.quadratic (ball (p (k+N)) (R*r (k+N))) (w k) ∧ energyForm (hausdorff n X) hX.quadratic (w k) (w k)≤ energyForm (hausdorff n X) hX.quadratic (u k) (u k) ∧ ‖SobolevSpace.toLp (hausdorff n X) hX.quadratic (w k)‖^2≤ C*(hausdorff n X).real (ball (p (k+N)) (S*r (k+N))) ∧ r (k+N)^2*energyForm (hausdorff n X) hX.quadratic (w k) (w k)≤ E*(hausdorff n X).real (ball (p (k+N)) (S*r (k+N))) ∧ r (k+N)^2*energyForm (hausdorff n X) hX.quadratic (u k) (u k)≤ E*(hausdorff n X).real (ball (p (k+N)) (S*r (k+N)))) ∧ ∀ δ : ℝ, 0<δ → ∀ᶠ k in atTop, ∀ᵐ x ∂(hausdorff n X).restrict (ball (p (k+N)) (S*r (k+N))), |SobolevSpace.toLp (hausdorff n X) hX.quadratic (u k) x-ψ (V (k+N) x)|≤δ := by obtain ⟨c,hc,hcS,N,u,huv,hug,huz,_⟩ := hX.sharp_weighted_test_recovery hn hS p r ε V hr hcurv hε hε1 hεlim hV hψ obtain ⟨Q,_hQ,hub⟩ := compact_recovery_scaled_gradient_bound (hausdorff n X) hX.quadratic (hψ.1.of_le (by simp)) hψ.2.1 (fun k => p (k+N)) (fun k => r (k+N)) (fun k => hr (k+N)) (fun k => V (k+N)) (fun k => (u k).val) huz (hug c hc.le hcS) obtain ⟨B,hB⟩ := hψ.2.1.exists_bound_of_continuous hψ.1.continuous let μ := hausdorff n X let : ∀ k, IsFiniteMeasure (μ.restrict (ball (p (k+N)) (S*r (k+N)))) := fun k => ⟨by simpa only [Measure.restrict_apply_univ] using hX.finiteOnBounded _ isBounded_ball⟩ have hbounds := compact_recovery_global_bounds μ hX.quadratic hcS.le (fun k => p (k+N)) (fun k => r (k+N)) (fun k => (hr (k+N)).le) (fun k => (u k).val) (fun k x => ψ (V (k+N) x)) (fun k x => by simpa only [Real.norm_eq_abs] using hB (V (k+N) x)) (huv 1 zero_lt_one) huz hub obtain ⟨C,hC,M,w,hw⟩ := hX.harmonic_replacement_family hn hS hR hRS (sq_nonneg (B+1)) (sq_nonneg Q) (fun k => p (k+N)) (fun k => r (k+N)) (fun k => ε (k+N)) (fun k => V (k+N)) (fun k => hr (k+N)) (fun k => hcurvR (k+N)) (fun k => hV (k+N)) (hεlim.comp (tendsto_add_atTop_nat N)) (fun k => (u k).val) hbounds refine ⟨C,Q^2,hC,sq_nonneg Q,M+N,(fun k => (u (k+M)).val),w,?_,?_⟩ · intro k simpa only [Nat.add_assoc] using hw k · intro δ hδ simpa only [Nat.add_assoc] using (tendsto_add_atTop_nat M).eventually (huv δ hδ)
end RegularPointCoordinates
end
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118import OAI.Geometry.RCD.Coordinates.NormalizedPairingimport OAI.Geometry.RCD.Harmonic.LocalRadialDerivativeimport Mathlib.Topology.ContinuousMap.BoundedCompactlySupported
namespace OAI
/-! # Compact Euclidean test functions on the actual rescaled spaces -/
open Set MeasureTheoryopen scoped InnerProductSpace ENNReal
noncomputable sectionnamespace RegularPointCoordinates
variable {X : Type*} [MeasurableSpace X] (μ : Measure X)
def compactTestBound {n : ℕ} (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : ℝ := ‖ofCompactSupport ψ hc hs‖
theorem compactTestBound_nonneg {n : ℕ} (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : 0 ≤ compactTestBound ψ hc hs := norm_nonneg _
theorem compactTestBound_spec {n : ℕ} (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) (x : Euclidean n) : |ψ x| ≤ compactTestBound ψ hc hs := (ofCompactSupport ψ hc hs).norm_coe_le_norm x
def compactTestLp {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : Lp ℝ 2 (μ.restrict s) := by let : IsFiniteMeasure (μ.restrict s) := ⟨by simpa only [Measure.restrict_apply_univ] using hfin.lt_top⟩ have hmem : MemLp (fun x => ψ (V x)) 2 (μ.restrict s) := MemLp.of_bound (hc.measurable.comp hV).aestronglyMeasurable (compactTestBound ψ hc hs) (Filter.Eventually.of_forall (fun x => compactTestBound_spec ψ hc hs (V x))) exact hmem.toLp (fun x => ψ (V x))
theorem compactTestLp_coe {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : compactTestLp μ s hfin V hV ψ hc hs =ᵐ[μ.restrict s] fun x => ψ (V x) := by unfold compactTestLp exact MemLp.coeFn_toLp _
theorem compactTestLp_normalized_norm {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : ‖normalizeLocalL2 μ s hfin (compactTestLp μ s hfin V hV ψ hc hs)‖ ≤ compactTestBound ψ hc hs := by apply normalized_norm_le_of_bound μ s hfin _ (compactTestBound_nonneg ψ hc hs) filter_upwards [compactTestLp_coe μ s hfin V hV ψ hc hs] with x hx rw [hx] exact compactTestBound_spec ψ hc hs (V x)
theorem compactTest_one_pairing {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) : ⟪normalizeLocalL2 μ s hfin (compactTestLp μ s hfin V hV ψ hc hs), normalizeLocalL2 μ s hfin (restrictedOne μ s hfin)⟫_ℝ = (μ.real s)⁻¹ * ∫ x in s, ψ (V x) ∂μ := by have hone : restrictedOne μ s hfin =ᵐ[μ.restrict s] fun _ => (1 : ℝ) := by simpa only [restrictedOne, indicator_univ] using (indicatorConstLp_coeFn (p := (2 : ℝ≥0∞)) (μ := μ.restrict s) (hs := MeasurableSet.univ) (hμs := by simpa using hfin) (c := (1 : ℝ))) simpa only [mul_one] using normalized_inner_of_representatives μ s hfin (compactTestLp μ s hfin V hV ψ hc hs) (restrictedOne μ s hfin) (fun x => ψ (V x)) (fun _ => (1 : ℝ)) (compactTestLp_coe μ s hfin V hV ψ hc hs) hone
variable [MetricSpace X] [BorelSpace X] [ProperSpace X] (hQ : QuadraticCheegerEnergy μ)
omit [BorelSpace X] [ProperSpace X] intheorem compactTest_sobolev_pairing {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) (w : SobolevSpace μ hQ) : ⟪normalizeLocalL2 μ s hfin (compactTestLp μ s hfin V hV ψ hc hs), normalizeLocalL2 μ s hfin (SobolevSpace.restrictLp μ hQ s w)⟫_ℝ = (μ.real s)⁻¹ * ∫ x in s, ψ (V x) * SobolevSpace.toLp μ hQ w x ∂μ := normalized_inner_of_representatives μ s hfin _ _ _ _ (compactTestLp_coe μ s hfin V hV ψ hc hs) (SobolevSpace.restrictLp_coe μ hQ s w)
omit [MetricSpace X] [BorelSpace X] [ProperSpace X] in/-- Normalization preserves the full finite affine Euler identity. -/theorem normalized_euler_identity {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (w e d one : Lp ℝ 2 (μ.restrict s)) (u : Fin n → Lp ℝ 2 (μ.restrict s)) (ell : Fin n → ℝ) (k a : ℝ) (hid : a • d = w + ∑ j, ell j • u j + k • one + e) : a • normalizeLocalL2 μ s hfin d = normalizeLocalL2 μ s hfin w + ∑ j, ell j • normalizeLocalL2 μ s hfin (u j) + k • normalizeLocalL2 μ s hfin one + normalizeLocalL2 μ s hfin e := by have hh := congrArg (normalizeLocalL2 μ s hfin) hid simpa only [normalizeLocalL2, smul_add, Finset.smul_sum, smul_comm a, smul_comm k, smul_comm _ (‖restrictedOne μ s hfin‖⁻¹)] using hh
/-- The normalized radial pairing is exactly the rescaled test integralappearing in Ambrosio--Honda's weak gradient convergence. -/theorem compactTest_radial_pairing {n : ℕ} (s : Set X) (hfin : μ s ≠ ∞) (V : X → Euclidean n) (hV : Measurable V) (ψ : Euclidean n → ℝ) (hc : Continuous ψ) (hs : HasCompactSupport ψ) (f w : SobolevSpace μ hQ) {B : ℝ} (hf : ∀ᵐ x ∂μ.restrict s, localGamma μ hQ f f x ≤ B) (a : ℝ) : ⟪normalizeLocalL2 μ s hfin (compactTestLp μ s hfin V hV ψ hc hs), a • normalizeLocalL2 μ s hfin (localRadialDerivative μ hQ s f hf w)⟫_ℝ = (μ.real s)⁻¹ * ∫ x in s, ψ (V x) * (a * localGamma μ hQ f w x) ∂μ := by have hg : (a • localRadialDerivative μ hQ s f hf w : Lp ℝ 2 (μ.restrict s)) =ᵐ[μ.restrict s] fun x => a * localGamma μ hQ f w x := by filter_upwards [Lp.coeFn_smul a (localRadialDerivative μ hQ s f hf w), localRadialDerivative_representative μ hQ s f w hf] with x hs hg simp only [hs, Pi.smul_apply, smul_eq_mul, hg] have hh := normalized_inner_of_representatives μ s hfin (compactTestLp μ s hfin V hV ψ hc hs) (a • localRadialDerivative μ hQ s f hf w) (fun x => ψ (V x)) (fun x => a * localGamma μ hQ f w x) (compactTestLp_coe μ s hfin V hV ψ hc hs) hg simpa only [normalizeLocalL2, smul_comm a] using hh
end RegularPointCoordinates
end
end OAIlean/OAI/Geometry/RCD/Sobolev/BoundedPositiveTail.leanAdded+39
lean/OAI/Geometry/RCD/Sobolev/BoundedPowerPairContinuity.leanAdded+40
lean/OAI/Geometry/RCD/Sobolev/BoundedSetTestError.leanAdded+39
lean/OAI/Geometry/RCD/Sobolev/BoundedSquareLaplacian.leanAdded+51
lean/OAI/Geometry/RCD/Sobolev/BoundedSquareVariation.leanAdded+55
lean/OAI/Geometry/RCD/Sobolev/BoundedTestCutoffError.leanAdded+53
lean/OAI/Geometry/RCD/Sobolev/BoundedTransverseTest.leanAdded+89
lean/OAI/Geometry/RCD/Sobolev/BoundedWeightIntegralLimit.leanAdded+34
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianApproximation.leanAdded+91
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianConstantShift.leanAdded+92
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianInnerPairing.leanAdded+66
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianLocality.leanAdded+91
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianMassBound.leanAdded+106
lean/OAI/Geometry/RCD/Sobolev/CanonicalHessianRestriction.leanAdded+61
lean/OAI/Geometry/RCD/Sobolev/CenteredAffineSobolev.leanAdded+37
lean/OAI/Geometry/RCD/Sobolev/CenteredHarmonicEnergy.leanAdded+30
lean/OAI/Geometry/RCD/Sobolev/CenteredPoissonPinching.leanAdded+132
lean/OAI/Geometry/RCD/Sobolev/ClippedPositivePower.leanAdded+37
lean/OAI/Geometry/RCD/Sobolev/CoerciveOpenMapping.leanAdded+174
lean/OAI/Geometry/RCD/Sobolev/CoerciveQuadraticEnvelope.leanAdded+36
lean/OAI/Geometry/RCD/Sobolev/ColumnGradientValueBound.leanAdded+38
lean/OAI/Geometry/RCD/Sobolev/CompactBadAverage.leanAdded+74
lean/OAI/Geometry/RCD/Sobolev/CompactBochnerSobolevMeasure.leanAdded+88
lean/OAI/Geometry/RCD/Sobolev/CompactBochnerTest.leanAdded+128
lean/OAI/Geometry/RCD/Sobolev/CompactBoundaryLayerSequence.leanAdded+72
lean/OAI/Geometry/RCD/Sobolev/CompactCoerciveTruncation.leanAdded+60
lean/OAI/Geometry/RCD/Sobolev/CompactCoreEnergyExtension.leanAdded+63
lean/OAI/Geometry/RCD/Sobolev/CompactCutoffSource.leanAdded+74
lean/OAI/Geometry/RCD/Sobolev/CompactEnergyDensity.leanAdded+111
lean/OAI/Geometry/RCD/Sobolev/CompactEnergyHarmonic.leanAdded+58
lean/OAI/Geometry/RCD/Sobolev/CompactFactorScaledEnergy.leanAdded+77
lean/OAI/Geometry/RCD/Sobolev/CompactGradientRepresentative.leanAdded+48
lean/OAI/Geometry/RCD/Sobolev/CompactIntegralDerivative.leanAdded+48
lean/OAI/Geometry/RCD/Sobolev/CompactLaplacian.leanAdded+61
lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzLocalization.leanAdded+64
lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzSobolevBound.leanAdded+52
lean/OAI/Geometry/RCD/Sobolev/CompactLipschitzTests.leanAdded+93
lean/OAI/Geometry/RCD/Sobolev/CompactMeasureLaplacian.leanAdded+98
lean/OAI/Geometry/RCD/Sobolev/CompactMixedEnergy.leanAdded+50
lean/OAI/Geometry/RCD/Sobolev/CompactPointedTestRecovery.leanAdded+109
lean/OAI/Geometry/RCD/Sobolev/CompactPoissonHessian.leanAdded+92
lean/OAI/Geometry/RCD/Sobolev/CompactReciprocalMultiplier.leanAdded+33
lean/OAI/Geometry/RCD/Sobolev/CompactRecoveryGlobalBounds.leanAdded+58
lean/OAI/Geometry/RCD/Sobolev/CompactRecoveryMixedEnergy.leanAdded+71
lean/OAI/Geometry/RCD/Sobolev/CompactRestrictedLaw.leanAdded+64
lean/OAI/Geometry/RCD/Sobolev/CompactScalarPrimitive.leanAdded+63
lean/OAI/Geometry/RCD/Sobolev/CompactSobolevTests.leanAdded+61
lean/OAI/Geometry/RCD/Sobolev/CompactTestHarmonicLimits.leanAdded+83
lean/OAI/Geometry/RCD/Sobolev/CompactTestHarmonicReplacements.leanAdded+76
lean/OAI/Geometry/RCD/Sobolev/CompactTestPairing.leanAdded+118