Theorem 2 (upper bound, EC 2) — 𝒥^D(θ) − 𝒥^RFF(θ) ≤ M√θ for all large θ
ProvedFramingFulfillment.RFF.rff_gap_upperConsider a JFF instance satisfying the standing assumptions, scaled by (horizon , inventories ). Let be the optimal value of DET' and let be the exact expected profit of the Randomized Framing and Fulfillment policy of p. 23. The policy is built from an optimal DET' solution and from framing decompositions of the matrices used by ConstrDist, and it includes the policy's stock-out handling (hiding products that are out of stock everywhere, re-routing orders to the cheapest FC with stock).
Claim. There are a constant and a threshold , depending only on the instance, such that for every , every optimal DET' solution and every choice of decompositions,
This is the upper half of Theorem 2, part 1. The source's proof (EC 2) compares RFF with a variant that ignores stock-outs and pays a penalty per unit of excess demand. It then bounds the expected excess by , using Lemma 3. The constant is left existential here: with hiding and re-routing, one stock-out can push extra demand onto other products and FCs, so the explicit constant of EC 2 is not claimed.
import Mathlib import Definitions.Def_FramingFulfillment_RFF_Model
namespace FramingFulfillment.RFF
theorem rff_gap_upper (P : Inst) (hP : P.Standing) :
∃ M : ℝ, 0 < M ∧ ∃ θ₀ : ℕ, ∀ θ : ℕ, θ₀ ≤ θ →
∀ s, (P.scale θ).IsDETOpt s →
∀ dec : ∀ (t : Fin (P.scale θ).T) (j : Fin (P.scale θ).J), FramingDecomp (s.x t j),
(P.scale θ).JD - (P.scale θ).JRFF s dec ≤ M * Real.sqrt (θ : ℝ) := by sorry
end FramingFulfillment.RFF