Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(LP-int) (corrected: indexing and terminal oracle) — interval-information linear program

Definition
SinglePointPricing_Det_Supplement_LPint

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

maximin-ratiop2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1pricingrandomized-mechanismrobust-pricing

Fix 0<ql<qh<10<q_l<q_h<10<ql​<qh​<1, α∈[0,1]\alpha\in[0,1]α∈[0,1], w>0w>0w>0 and N≥1N\ge1N≥1. Use the proof's grid A=(a0,…,a2N+1)A=(a_0,\ldots,a_{2N+1})A=(a0​,…,a2N+1​), with positive strictly increasing entries and aN<w=aN+1a_N<w=a_{N+1}aN​<w=aN+1​. Set qi=qlq_i=q_lqi​=ql​ for i≤Ni\le Ni≤N and qi=qhq_i=q_hqi​=qh​ otherwise. The row normalizers are

di={lim⁡r↑ai+1opt⁡(Fα(⋅∣r,(w,ql))),0≤i≤N,opt⁡(Fα(⋅∣ai+1,(w,qh))),N<i<2N+1,wv~α/Γα−1(qh),i=2N+1.d_i=\begin{cases} \lim_{r\uparrow a_{i+1}}\operatorname{opt}(F_\alpha(\cdot\mid r,(w,q_l))),&0\le i\le N,\\ \operatorname{opt}(F_\alpha(\cdot\mid a_{i+1},(w,q_h))),&N<i<2N+1,\\ w\widetilde v_\alpha/\Gamma_\alpha^{-1}(q_h),&i=2N+1. \end{cases}di​=⎩⎨⎧​limr↑ai+1​​opt(Fα​(⋅∣r,(w,ql​))),opt(Fα​(⋅∣ai+1​,(w,qh​))),wvα​/Γα−1​(qh​),​0≤i≤N,N<i<2N+1,i=2N+1.​

The program is

L‾α,ql,qh,A=sup⁡{c:pj≥0, ∑j=02N+1pj≤1,c≤∑j=02N+1ajF‾α(aj∣ai,(w,qi))pjdi(0≤i≤2N+1)}.\underline L_{\alpha,q_l,q_h,A}=\sup\left\{c:p_j\ge0,\ \sum_{j=0}^{2N+1}p_j\le1,\quad c\le\frac{\sum_{j=0}^{2N+1}a_j\overline F_\alpha(a_j\mid a_i,(w,q_i))p_j}{d_i}\quad(0\le i\le2N+1)\right\}.L​α,ql​,qh​,A​=sup{c:pj​≥0, j=0∑2N+1​pj​≤1,c≤di​∑j=02N+1​aj​Fα​(aj​∣ai​,(w,qi​))pj​​(0≤i≤2N+1)}.

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 a1,…,a2na_1,\ldots,a_{2n}a1​,…,a2n​, n>1n>1n>1, is this grid with N=n−1≥1N=n-1\ge1N=n−1≥1. The terminal oracle uses the same saturated high-branch convention as the point-information LP, including the infinite endpoint at α=0\alpha=0α=0 and the empty high-parameter regime at r‾α<w\overline r_\alpha<wrα​<w.

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

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me