(LP-int) (corrected: indexing and terminal oracle) — interval-information linear program
DefinitionSinglePointPricing_Det_Supplement_LPintmaximin-ratiop2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1pricingrandomized-mechanismrobust-pricing
Fix , , and . Use the proof's grid , with positive strictly increasing entries and . Set for and otherwise. The row normalizers are
The program is
This is the factor-revealing LP of (F-2), with a genuine supremum of explicit linear constraints. Theorem 4 asserts its attainment and relation to the interval-information maximin ratio. The underlying interval class is also imported.
Formalization Note Main-text indexing is inconsistent and omits the top point; the index ranges follow (F-2), pp. App-40–41. The main-text grid , , is this grid with . The terminal oracle uses the same saturated high-branch convention as the point-information LP, including the infinite endpoint at and the empty high-parameter regime at .
Definition code
import Mathlib
import Definitions.Def_SinglePointPricing_Det_Supplement_LP
import Definitions.Def_SinglePointPricing_Det_Supplement_Interval
namespace SinglePointPricing.Det.Supplement
noncomputable section
/-- (LP-int)/(F-2): low rows use `ql`, high rows use `qh`. -/
def rowQuantile (ql qh : ℝ) (N i : ℕ) : ℝ := if i ≤ N then ql else qh
/-- Low rows use left limits, high rows the next endpoint value; the final
row uses the saturated high-branch oracle, including `α=0`. -/
def lpIntNorm (α w ql qh : ℝ) (a : ℕ → ℝ) (N i : ℕ) : ℝ :=
if i ≤ N then leftOracle α w ql (a (i + 1))
else if i < 2 * N + 1 then optFun (Fbar α w qh (a (i + 1)))
else topOracle α w qh
/-- The proof's zero-based form (F-2) of the interval LP: `2N+2` points/rows. -/
def LPintFeasible (α w ql qh : ℝ) (a : ℕ → ℝ) (N : ℕ)
(p : ℕ → ℝ) (c : ℝ) : Prop :=
(∀ j < 2 * N + 2, 0 ≤ p j) ∧
(∑ j ∈ Finset.range (2 * N + 2), p j) ≤ 1 ∧
∀ i < 2 * N + 2, c ≤
(∑ j ∈ Finset.range (2 * N + 2),
a j * Fbar α w (rowQuantile ql qh N i) (a i) (a j) * p j) /
lpIntNorm α w ql qh a N i
/-- Value of (LP-int), not a surrogate maximin problem. -/
def LPintVal (α w ql qh : ℝ) (a : ℕ → ℝ) (N : ℕ) : ℝ :=
sSup {c : ℝ | ∃ p : ℕ → ℝ, LPintFeasible α w ql qh a N p c}
end
end SinglePointPricing.Det.Supplement
Source
Allouah, Bahamou & Besbes, Optimal Pricing with a Single Point, arXiv:2103.05611v2, (LP-int), p. 30; (F-2), pp. App-40–41