Download lean/OAI/Analysis/CoulombIonization/Variational/IntegratedLipschitzControl.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
defweightedPatchTestSquare {NM : ℕ} (ψ : FormVector (N+M)) (s : SpinsM)
(Zlam : ℝ) (y : Space) (R : ℝ) {b : ℝ} (hb : 0 < b)
(S : ConfigurationM→Finset (FinM)) (g : TFSpace→ℝ)
(u : ConfigurationM) : ℝ:=
body · 4
lines
formMass (coreSlice ψ s u)*
(∫ x, g x*(retainedPatchLp hb (S u) u y R-
tfPatchMinimizer R tfKinetic tfKinetic_pos (conditionalPatchField ψ s Z lam y R u)) x
∂ballMeasure R)^2
lemmaweightedPatchTestSquare_nonneg {NM : ℕ} (ψ : FormVector (N+M)) (s : SpinsM)
(Zlam : ℝ) (y : Space) (R : ℝ) {b : ℝ} (hb : 0 < b)
(S : ConfigurationM→Finset (FinM)) (g : TFSpace→ℝ)
(u : ConfigurationM) : 0≤ weightedPatchTestSquare ψ s Z lam y R hb S g u :=
lemmaweightedPatchTestSquare_le {NM : ℕ} (ψ : FormVector (N+M)) (s : SpinsM)
(Zlam : ℝ) (y : Space) {Rr : ℝ} (hr : 0 < r) (hR : 2*r < R)
{b : ℝ} (hb : 0 < b) (S : ConfigurationM→Finset (FinM))
{g : TFSpace→ℝ} {L : ℝ≥0} (hg : LipschitzWithL g)
(hs : Function.support g ⊆ closedBall 0 r) (u : ConfigurationM) :
weightedPatchTestSquare ψ s Z lam y R hb S g u ≤
(16*r^3*(L:ℝ)^2)*weightedPatchGap ψ s Z lam y R hb S u :=by
proof · 5
lines
have hh := mul_le_mul_of_nonneg_left
(tfPatchGap_lipschitz_control hr hR tfKinetic tfKinetic_pos
(conditionalPatchField ψ s Z lam y R u) (retainedPatchLp_nonneg hb (S u) u y R) hg hs)
(formMass_nonneg (coreSlice ψ s u))
simpa only [weightedPatchTestSquare,weightedPatchGap,mul_left_comm,mul_assoc] using hh
lemmaweightedPatchTestSquare_aemeasurable {NM : ℕ} {ψ : FormVector (N+M)}
(hψ : SobolevVector ψ) (s : SpinsM) (Zlam : ℝ) (y : Space) (R : ℝ)
{b : ℝ} (hb : 0 < b) (S : ConfigurationM→Finset (FinM))
(hS : ∀ i, MeasurableSet {u | i ∈S u}) {g : TFSpace→ℝ}
(hg : Continuous g) (hcg : HasCompactSupport g) :
AEMeasurable (weightedPatchTestSquare ψ s Z lam y R hb S g) :=by
proof · 7
lines
have hm := (hψ.coreSlice_mass_integrable s).aestronglyMeasurable.aemeasurable
havehs : Measurable (funu : ConfigurationM=> retainedPatchLp hb (S u) u y R) :=
retainedPatchLp_measurable hb S id hS measurable_id y Rhave hr := conditionalPatchMinimizer_aemeasurable hψ s Z lam y Rhave hp := (patch_test_continuous R hg hcg).measurable.comp_aemeasurable
(hs.aemeasurable.sub hr)
exact hm.mul (hp.pow_const 2)
lemmaweightedPatchTestSquare_integrable {NM : ℕ} {ψ : FormVector (N+M)}
(hψ : SobolevVector ψ) (s : SpinsM) (Zlam : ℝ) (y : Space)
{Rr : ℝ} (hr : 0 < r) (hR : 2*r < R)
{b : ℝ} (hb : 0 < b) (S : ConfigurationM→Finset (FinM))
(hS : ∀ i, MeasurableSet {u | i ∈S u}) {g : TFSpace→ℝ} {L : ℝ≥0}
(hg : LipschitzWithL g) (hs : Function.support g ⊆ closedBall 0 r)
(hi : Integrable (weightedPatchGap ψ s Z lam y R hb S)) :
Integrable (weightedPatchTestSquare ψ s Z lam y R hb S g) :=by
proof · 8
lines
havehcg : HasCompactSupport g :=
(isCompact_closedBall (0 : TFSpace) r).of_isClosed_subset isClosed_closure
(closure_minimal hs isClosed_closedBall)
apply (hi.const_mul (16*r^3*(L:ℝ)^2)).mono'
(weightedPatchTestSquare_aemeasurable hψ s Z lam y R hb S hS hg.continuous hcg).aestronglyMeasurable
exact Filter.Eventually.of_forall fun u =>by
rw [Real.norm_eq_abs,abs_of_nonneg (weightedPatchTestSquare_nonneg ψ s Z lam y R hb S g u)]
exact weightedPatchTestSquare_le ψ s Z lam y hr hR hb S hg hs u
lemmaintegral_weightedPatchTestSquare_le {NM : ℕ} {ψ : FormVector (N+M)}
(hψ : SobolevVector ψ) (s : SpinsM) (Zlam : ℝ) (y : Space)
{Rr : ℝ} (hr : 0 < r) (hR : 2*r < R)
{b : ℝ} (hb : 0 < b) (S : ConfigurationM→Finset (FinM))
(hS : ∀ i, MeasurableSet {u | i ∈S u}) {g : TFSpace→ℝ} {L : ℝ≥0}
(hg : LipschitzWithL g) (hs : Function.support g ⊆ closedBall 0 r)
(hi : Integrable (weightedPatchGap ψ s Z lam y R hb S)) :
(∫ u, weightedPatchTestSquare ψ s Z lam y R hb S g u) ≤
(16*r^3*(L:ℝ)^2)*(∫ u, weightedPatchGap ψ s Z lam y R hb S u) :=by
proof · 3
lines
rw [←integral_const_mul]
exact integral_mono (weightedPatchTestSquare_integrable hψ s Z lam y hr hR hb S hS hg hs hi)
(hi.const_mul _) (weightedPatchTestSquare_le ψ s Z lam y hr hR hb S hg hs)
theoremradial_lipschitz_test_control {N : ℕ} {ψ : FormVectorN}
(hψ : SobolevFermion ψ) (y : Space) {t b : ℝ} (ht : 0≤ t) (hb : 0 < b)
(htb : 7*b < t) (hy : t ≤ ‖y‖) {Zlam : ℝ} (hZ : 0≤Z) (hlam : 0 < lam)
{g : Space→ℝ} (hg : ContDiffℝ∞ g) (hcg : HasCompactSupport g)
(hgn : ∫z : Space, (g z)^2 = 1) (hrad : IsRadial g) (hgs : tsupport g ⊆ ball 01)
{q : TFSpace→ℝ} {L : ℝ≥0} (hq : LipschitzWithL q)
{r : ℝ} (hr : 0 < r) (hR : 2*r < t-4*b)
(hs : Function.support q ⊆ closedBall 0 r) :
(∑c : FinN→Fin2, ∑s : Spins (cutOutNumber c), ∫ u,
weightedPatchTestSquare (orderedCutForm (coreFirstRadialCut y ht hb)
(coreFirstRadialCut_partition y ht hb) ψ c) s Z lam y (t-4*b) hb
(radialPatchRetention N y t b c s) q u) ≤
(16*r^3*(L:ℝ)^2)*
(∑c : FinN→Fin2, ∑s : Spins (cutOutNumber c), ∫ u,
weightedPatchGap (orderedCutForm (coreFirstRadialCut y ht hb)
(coreFirstRadialCut_partition y ht hb) ψ c) s Z lam y (t-4*b) hb
(radialPatchRetention N y t b c s) u) :=by
proof · 8
lines
simp only [Finset.mul_sum]
apply Finset.sum_le_sum; intro c _
apply Finset.sum_le_sum; intro s _
exact integral_weightedPatchTestSquare_le
(orderedCutForm_sobolev (coreFirstRadialCut y ht hb)
(coreFirstRadialCut_partition y ht hb) hψ.sobolevVector c)
s Z lam y hr hR hb _ (radialPatchRetention_measurable N y t b c s) hq hs
(radial_weightedPatchGap_integrable hψ y ht hb htb hy hZ hlam hg hcg hgn hrad hgs c s)