Proof sketch of Theorem 1, Step 4, p. 23 — the excess cost equals Σ(1{a≤0} − 1{b≤0})b/|Ω| and is at most Σ|a − b|/|Ω|
ProvedInventoryAnomaly.EW.step4_excess_costexcess-costp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1threshold-rule
Fix an instance whose costs are nonnegative, any rank- selector and any estimator , and an observation . Define
Then
This reduces the excess cost of the EW algorithm to the estimation error , weighted by .
Formalization Note. The costs are those of the closed form (5) with deterministic decisions. Nonnegativity of the costs (assumed on p. 11) is needed: it makes the threshold rule "" equivalent to ; when both costs vanish and the entry contributes nothing.
Preamble
import Mathlib import Definitions.Def_InventoryAnomaly_EW_Model open MeasureTheory ProbabilityTheory open scoped NNReal
Formal statement
namespace InventoryAnomaly.EW
theorem step4_excess_cost {d : ℕ} (I : Instance d)
(hc : ∀ i j, 0 ≤ I.c0 i j ∧ 0 ≤ I.c1 i j)
(svdr : Matrix (Fin I.n) (Fin I.m) ℝ → Matrix (Fin I.n) (Fin I.m) ℝ)
(θhat : I.Obs → EuclideanSpace ℝ (Fin (d + 1))) (x : I.Obs) :
let a := fun i j => -I.c1 i j + (I.c0 i j + I.c1 i j) * I.fhat svdr θhat x i j
let b := fun i j => -I.c1 i j + (I.c0 i j + I.c1 i j) * I.fstar x i j
I.costEW svdr θhat x - I.costStar x =
(1 / ((I.omega x).card : ℝ)) * ∑ ij ∈ I.omega x,
((if a ij.1 ij.2 ≤ 0 then 1 else 0) - (if b ij.1 ij.2 ≤ 0 then 1 else 0)) * b ij.1 ij.2 ∧
I.costEW svdr θhat x - I.costStar x ≤
(1 / ((I.omega x).card : ℝ)) * ∑ ij ∈ I.omega x, |a ij.1 ij.2 - b ij.1 ij.2| := by sorry
end InventoryAnomaly.EW
Source
Farias, Li & Peng, Fixing Inventory Inaccuracies at Scale, arXiv:2006.13126v3, p. 23, proof sketch of Theorem 1, Step 4
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.