Lemma S1, p. 38 — a positively weighted average of points within δ of each other stays within δ
ProvedLuoSunLiu.DIP.lemma_S1inequalitiesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let with finite and nonempty. Suppose for all , and let for . Then for every ,
In the proof of Lemma 3 this bounds the distance between the shadow parameter , a weighted average of past parameters, and the current parameter by the perturbation constant.
Formalization Note The paper states and does not require nonempty; for empty the weighted average is , so nonemptiness (and finiteness) is added. Allowing only generalizes the statement.
Preamble
import Mathlib
Formal statement
namespace LuoSunLiu.DIP
/-- Lemma S1 (Luo, Sun and Liu, arXiv:2109.07340v2, pp. 38–39). If `S₁ ⊆ S₂`, `S₁` is finite and
nonempty, `|a_i - a_j| ≤ δ` for all `i, j ∈ S₂`, and `b_i > 0` for `i ∈ S₁`, then the weighted
average `∑_{i ∈ S₁} b_i a_i / ∑_{i ∈ S₁} b_i` is within `δ` of every `a_j`, `j ∈ S₂`. -/
theorem lemma_S1 (S1 : Finset ℕ) (S2 : Set ℕ) (hS : (S1 : Set ℕ) ⊆ S2) (hne : S1.Nonempty)
(a b : ℕ → ℝ) (δ : ℝ) (ha : ∀ i ∈ S2, ∀ j ∈ S2, |a i - a j| ≤ δ)
(hb : ∀ i ∈ S1, 0 < b i) :
∀ j ∈ S2, |(∑ i ∈ S1, b i * a i) / (∑ i ∈ S1, b i) - a j| ≤ δ := by sorry
end LuoSunLiu.DIP
Source
Luo, Sun and Liu, arXiv:2109.07340v2, pp. 38–39, Lemma S1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.