Lemma 3, p. 17 — the two-point finite differences of round i are within ½K₁Δ_i²/12 of d′ at the midpoints
ProvedSLPEPricing.Regret.lemma_3Consider round of SLPE, with prices spaced apart, on a noise realisation and pair selector for which Assumption 2 holds in round : the selected periods lie in the -, -, - and -blocks and , . Write for the demands observed at these periods. Let be three times continuously differentiable with () on , and suppose , , , . Then
and
Because each pair carries identical noise, the finite differences are free of stochastic error and approximate the demand gradient to order ; this is the source of SLPE's fast shrinking of the price range.
Formalization Note Rounds are 1-based, periods 0-based. The observations are those the policy records in round (roundObs), at round 's block price. The paper takes on and the prices as feasible; since SLPE can charge prices outside , the bound is taken on and the containment is a hypothesis. The "Furthermore" sentence of the lemma (the pairs satisfy Assumption 2) is the hypothesis on round .
import Mathlib import Definitions.Def_SLPEPricing_Regret_Model
namespace SLPEPricing.Regret
/-- Lemma 3 (p. 17), for round `i ≥ 1` of SLPE. If the selected periods
`(a, b, b', c) = sel i` satisfy Assumption 2 in round `i` and round `i`'s price range lies in
`[-1, 2]`, where `K₁` bounds `|d^{(k)}|`, `k ≤ 3`, then the two-point finite differences
`(D_{M₁*}(p^M_i) - D_{L*}(p^L_i))/(p^M_i - p^L_i)` and `(D_{H*}(p^H_i) - D_{M₂*}(p^M_i))/Δ_i`
are within `(1/2) K₁ Δ_i²/12` of `d'` at the midpoints. -/
theorem lemma_3 (d : ℝ → ℝ) (K₁ μ ρ : ℝ) (hd : ContDiff ℝ 3 d)
(hK₁ : ∀ k ≤ 3, ∀ p ∈ Set.Icc (-1 : ℝ) 2, |iteratedDeriv k d p| ≤ K₁)
(hμ : 0 < μ) (hρ : 0 < ρ)
(amax : (ℝ → ℝ) → ℝ → ℝ → ℝ) (sel : ℕ → ℕ × ℕ × ℕ × ℕ) (ε : ℕ → ℝ)
(T : ℕ) (hT : 2 ≤ T) (i : ℕ) (hi : 1 ≤ i)
(hA2 : Assumption2At μ ρ T sel ε i)
(hdom : Set.Icc (pL d μ ρ amax sel ε T i) (pH d μ ρ amax sel ε T i) ⊆ Set.Icc (-1) 2) :
|(roundObs d μ ρ amax sel ε T i (sel i).2.1 - roundObs d μ ρ amax sel ε T i (sel i).1) /
(pM d μ ρ amax sel ε T i - pL d μ ρ amax sel ε T i) -
deriv d ((pM d μ ρ amax sel ε T i + pL d μ ρ amax sel ε T i) / 2)| ≤
1 / 2 * K₁ * (Delta μ i ^ 2 / 12) ∧
|(roundObs d μ ρ amax sel ε T i (sel i).2.2.2 - roundObs d μ ρ amax sel ε T i (sel i).2.2.1) /
Delta μ i -
deriv d ((pM d μ ρ amax sel ε T i + pH d μ ρ amax sel ε T i) / 2)| ≤
1 / 2 * K₁ * (Delta μ i ^ 2 / 12) := by sorry
end SLPEPricing.Regret
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.