lemmalevelBarrier_boundedLip {u : X→ℝ} (hu : BoundedLip u) (a : ℝ≥0) (t : ℝ) :
BoundedLip (levelBarrier a t u) :=by
proof · 17
lines
obtain ⟨K,hK⟩ := hu.1havehv : BoundedLip (fun x => |u x-t|) :=by
obtain ⟨M,hM⟩ := hu.2
refine ⟨⟨K,?_⟩, M+|t|, fun x => ?_⟩
· apply LipschitzWith.of_dist_le_mul
intro x y
rw [Real.dist_eq]
calc
_ ≤ |(u x-t)-(u y-t)| := abs_abs_sub_abs_le_abs_sub _ _
_ = dist (u x) (u y) :=by rw [Real.dist_eq]; congr 1; ring
_ ≤K*dist x y := hK.dist_le_mul x y
· rw [abs_abs]
exact (abs_sub (u x) t).trans (by linarith [hM x])
have h := (BoundedLip.const (X:=X) 1).add
((profile_comp_boundedLip hv a 0).const_mul (-1))
change BoundedLip (fun x =>1-profile a 0 |u x-t|)
simpa only [Function.comp_def,neg_one_mul,sub_eq_add_neg] using h
lemmaprofile_error_le_levelBarrier (a : ℝ≥0) (t : ℝ) (u : X→ℝ) (x : X) :
|profile a t (u x)-({x | t < u x}.indicator (fun _ => (1:ℝ)) x)| ≤
levelBarrier a t u x :=by
proof · 7
lines
by_cases hx : t < u x
· rw [indicator_of_mem (show x ∈ {x | t < u x} from hx),abs_of_nonpos (by linarith [(profile_bounds a t (u x)).2])]
dsimp only [levelBarrier,profile]
rw [abs_of_pos (sub_pos.mpr hx),sub_zero]
linarith
· rw [indicator_of_notMem (show x ∉ {x | t < u x} from hx),profile_zero a (le_of_not_gt hx),sub_self,abs_zero]
exact (levelBarrier_bounds a t u x).1
lemmarestriction_profile_error_bound {k : ℕ} {T : FunctionalX k}
(hT : IsMetricCurrentT) (μ : MeasureX) [IsFiniteMeasure μ] (hμ : ControlsT μ)
{u : X→ℝ} (hu : BoundedLip u) (a : ℝ≥0) (t : ℝ)
{b : X→ℝ} (hb : BoundedLip b) (π : Fin k →X→ℝ) (K : Fin k →ℝ≥0)
(hK : ∀ i, LipschitzWith (K i) (π i)) (M : ℝ) (hM : ∀ x, |b x| ≤M) :
|restrictCurrent hT {x | t < u x} b π - T (fun x => profile a t (u x)*b x) π| ≤
((∏ i, (Ki : ℝ))*M) * ∫ x, levelBarrier a t u x ∂μ :=by
proof · 23
lines
havehab : Admissible b π := ⟨hb,fun i => ⟨K i,hK i⟩⟩
havehE : MeasurableSet {x | t < u x} := measurableSet_lt measurable_const hu.continuous.measurable
havehpb : BoundedLip (fun x => profile a t (u x)*b x) := (profile_comp_boundedLip hu a t).mul hb
rw [restrictCurrent_apply_of_controls hT μ hμ hE hab,
←borelAction_eq μ hT hμ ⟨hpb,hab.2⟩]
apply (borelAction_difference_bound μ hT hμ ((integrable_boundedLip μ hb).indicator hE)
(integrable_boundedLip μ hpb) π K hK).trans
havehi : ∫ x, |({x | t < u x}.indicator b x)-profile a t (u x)*b x| ∂μ ≤M*∫ x, levelBarrier a t u x ∂μ :=by
rw [←integral_const_mul]
apply integral_mono ((integrable_boundedLip μ hb).indicator hE |>.sub
(integrable_boundedLip μ hpb) |>.abs)
((integrable_boundedLip μ (levelBarrier_boundedLip hu a t)).const_mul M)
intro x
havehe : ({x | t < u x}.indicator b x)-profile a t (u x)*b x =
(profile a t (u x)-({x | t < u x}.indicator (fun _ => (1:ℝ)) x)) * (-b x) :=byby_cases hx : t < u x <;> simp [hx]
ring
change |({x | t < u x}.indicator b x)-profile a t (u x)*b x| ≤M*levelBarrier a t u x
rw [he,abs_mul,abs_neg,mul_comm]
exact mul_le_mul (hM x) (profile_error_le_levelBarrier a t u x) (abs_nonneg _)
(le_trans (abs_nonneg _) (hM x))
exact (mul_le_mul_of_nonneg_left hi (by positivity)).trans_eq (by ring)
theoremrestrictCurrent_weak_tendsto {ι : Type*} {l : Filter ι} {k : ℕ}
{Ts : ι →FunctionalX k} {T : FunctionalX k}
(hTs : ∀ j, IsMetricCurrent (Ts j)) (hT : IsMetricCurrentT)
(μs : ι →FiniteMeasureX) (μ : FiniteMeasureX)
(hμs : ∀ j, Controls (Ts j) (μs j)) (hμ : ControlsT μ)
(hμlim : Tendsto μs l (𝓝 μ))
(hlim : ∀ b π, Tendsto (fun j =>Ts j b π) l (𝓝 (T b π)))
{u : X→ℝ} (hu : BoundedLip u) (t : ℝ) (ht : (μ : MeasureX) {x | u x = t} = 0)
(b : X→ℝ) (π : Fin k →X→ℝ) :
Tendsto (fun j => restrictCurrent (hTs j) {x | t < u x} b π) l
(𝓝 (restrictCurrent hT {x | t < u x} b π)) :=by
proof · 34
lines
by_cases hab : Admissible b π
swap
· simp only [restrictCurrent,ite_eq_right hab]
exact tendsto_const_nhds
choose K hK using hab.2
obtain ⟨M,hM⟩ := hab.1.2letC:= (∏ i, (Ki : ℝ)) * max M0havehC : 0≤C:=by dsimp [C]; positivity
have hbound (x : X) : |b x| ≤ max M0:= (hM x).trans (le_max_left _ _)
letP (n : ℕ) (U : FunctionalX k) :=U (fun x => profile ((n:ℝ≥0)+1) t (u x)*b x) π
letA (n : ℕ) (ν : FiniteMeasureX) :=C*∫ x, levelBarrier ((n:ℝ≥0)+1) t u x ∂(ν : MeasureX)
havehA : Tendsto (fun n =>A n μ) atTop (𝓝 0) :=by
simpa only [A,mul_zero] using (levelBarrier_integral_tendsto (μ : MeasureX) hu t ht).const_mul Chave hAlim (n : ℕ) : Tendsto (fun j =>A n (μs j)) l (𝓝 (A n μ)) :=byletf : C(X,ℝ) := ⟨levelBarrier ((n:ℝ≥0)+1) t u,(levelBarrier_boundedLip hu _ t).continuous⟩
exact ((FiniteMeasure.continuous_integral_continuousMap f).tendsto μ |>.comp hμlim).const_mul Chave hbT (n : ℕ) : dist (restrictCurrent hT {x | t < u x} b π) (P n T) ≤A n μ :=
restriction_profile_error_bound hT μ hμ hu _ t hab.1 π K hK _ hbound
have hbTs (n : ℕ) (j : ι) : dist (restrictCurrent (hTs j) {x | t < u x} b π) (P n (Ts j)) ≤A n (μs j) :=
restriction_profile_error_bound (hTs j) (μs j) (hμs j) hu _ t hab.1 π K hK _ hbound
apply Metric.tendsto_nhds.mpr
intro ε hε
obtain ⟨n,hn⟩ := ((hA.eventually (gt_mem_nhds (show (0:ℝ) < ε/4by positivity))).exists)
havehe1 : ∀ᶠ j in l, A n (μs j) < ε/3:=
(hAlim n).eventually (gt_mem_nhds (showA n μ < ε/3by linarith))
havehe2 : ∀ᶠ j in l, dist (P n (Ts j)) (P n T) < ε/3:=Metric.tendsto_nhds.mp (hlim _ _) (ε/3) (by positivity)
filter_upwards [he1,he2] with j hj1 hj2
have htri := dist_triangle (restrictCurrent (hTs j) {x | t < u x} b π) (P n (Ts j)) (P n T)
have htri2 := dist_triangle (restrictCurrent (hTs j) {x | t < u x} b π) (P n T)
(restrictCurrent hT {x | t < u x} b π)
have hb := hbT n
rw [dist_comm] at hb
linarith [hbTs n j]