Lemma 3, p. 23 (sparsity as read on p. 41; universal constant in place of 2) — |f*_ij − f̂_ij| ≤ min(Cδ/(x*_ij + y*_ij), 1) on Ω
OpenInventoryAnomaly.EW.lemma_3_spmaxThroughout, the standing assumptions of §2 (pp. 8–10) are in force (as in the InventoryAnomaly_EW_Model definition: , rank- SVD with condition number , , -incoherence, the sparsity condition , , and the three assumptions on with constants ). In addition we assume the sparsity condition in the form in which the proof of Theorem 2 reads it (p. 41): for the maximal entry ,
The paper derives this from §2 ("By the assumption in Section 2"), which is only valid when is bounded; the milestone Theorem 2 is formalized with this hypothesis (SparsityMax), so every result that rests on Theorem 2 must carry it too.
Assume Lemma 1's regularity conditions (constant ), let be a best rank- approximation and any estimator with . Let , let (8) and (9). There are constants depending only on such that, with probability at least , for every ,
(The paper states the constant ; as in the milestone formalization, a universal constant is used.) The paper's proof (p. 47) is a corollary of Lemmas 18 and 19.
import Mathlib import Definitions.Def_InventoryAnomaly_EW_Model open MeasureTheory ProbabilityTheory open scoped NNReal
namespace InventoryAnomaly.EW
theorem lemma_3_spmax (d : ℕ) (cM cA CRC : ℝ) (hcM : 0 < cM) (hcA : 0 < cA) (hcA1 : cA < 1)
(hCRC : 0 < CRC) :
∃ Csp C C' : ℝ, 0 < Csp ∧ 0 < C ∧ 0 < C' ∧
∀ (I : Instance d) (K L μ : ℝ) (hI : I.Model cM cA Csp K L μ),
I.SparsityMax hI.r_pos Csp μ L →
I.Regular hI.r_pos cA CRC K L μ →
∀ (svdr : Matrix (Fin I.n) (Fin I.m) ℝ → Matrix (Fin I.n) (Fin I.m) ℝ)
(θhat : I.Obs → EuclideanSpace ℝ (Fin (d + 1))),
IsBestRankApprox I.r svdr → I.ThetaSel cA svdr θhat →
1 - C' / (I.n * I.m) ≤ I.law.real {ω | ∀ ij ∈ I.omega (I.obs ω),
|I.fstar (I.obs ω) ij.1 ij.2 - I.fhat svdr θhat (I.obs ω) ij.1 ij.2| ≤
min (C * ((K + L) ^ 3 * L * I.δ' hI.r_pos μ L) /
(I.xstar (I.obs ω) ij.1 ij.2 + I.ystar (I.obs ω) ij.1 ij.2)) 1} := by sorry
end InventoryAnomaly.EW