Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 19 — BNB(ε) terminates and returns a price vector with revenue at least (1 − ε) times the maximum, for any valid locally Lipschitz bounding rule

Proved
FMLPricing.BranchBound.theorem_1

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmbranch-and-boundmixed-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1price-optimization

Fix an FML instance satisfying the standing assumptions and let ε>0\varepsilon > 0ε>0. Run Algorithm 1, BNB(ε)\mathrm{BNB}(\varepsilon)BNB(ε), with:

  1. a bounding rule U(x,r)U(x, r)U(x,r) in place of πu\pi^uπu (line 13–14) that, for some constant K0K_0K0​ and all x∈Xx \in Xx∈X, r>0r > 0r>0, satisfies
(U1)  π(x~)≤U(x,r)  for all x~∈R(x,r)∩X,(U2)  U(x,r)≤π(x)+rK0;\text{(U1)}\ \ \pi(\tilde x) \le U(x, r) \ \text{ for all } \tilde x \in R(x, r) \cap X, \qquad \text{(U2)}\ \ U(x, r) \le \pi(x) + r K_0;(U1)  π(x~)≤U(x,r)  for all x~∈R(x,r)∩X,(U2)  U(x,r)≤π(x)+rK0​;
  1. any choice of solution of LP(x,r)\mathrm{LP}(x, r)LP(x,r) on line 9, whenever xxx has positive entries, r>0r > 0r>0 and the LP is feasible;
  2. any order of visiting the centers of X1\mathcal X_1X1​ on line 8.

Then the while loop of line 5 exits after finitely many passes. At the first exit the incumbent x⋆x^\starx⋆ lies in XXX, and cnstr-rev(x⋆)\texttt{cnstr-rev}(x^\star)cnstr-rev(x⋆) has a maximizer. Π\PiΠ has a global maximizer, and for every maximizer z′z'z′ of cnstr-rev(x⋆)\texttt{cnstr-rev}(x^\star)cnstr-rev(x⋆) the price vector p′=(−log⁡z1′/b1,…,−log⁡zn′/bn)p' = (-\log z'_1 / b_1, \dots, -\log z'_n / b_n)p′=(−logz1′​/b1​,…,−logzn′​/bn​) satisfies

Π(p′)≥(1−ε)max⁡p∈RnΠ(p).(20)\Pi(p') \ge (1 - \varepsilon) \max_{p \in \mathbb R^n} \Pi(p). \tag{20}Π(p′)≥(1−ε)p∈Rnmax​Π(p).(20)

This is the paper's approximation guarantee: branch and bound over no-purchase probabilities yields (1−ε)(1 - \varepsilon)(1−ε)-optimal prices for the non-concave FML revenue.

Formalization Note The paper's own rule πu\pi^uπu (12) is the minimum of three bounds (Propositions 4, 5 and 6). Its Proposition 4 is false as printed: for m=n=2m = n = 2m=n=2, a=((0.07,−2.6),(−0.32,−0.3))a = ((0.07, -2.6), (-0.32, -0.3))a=((0.07,−2.6),(−0.32,−0.3)), b=(1.6,1.57)b = (1.6, 1.57)b=(1.6,1.57), w=(0.17,0.83)w = (0.17, 0.83)w=(0.17,0.83) r=0.001r = 0.001r=0.001 and x=q0(p)x = q_0(p)x=q0​(p) with pj=p‾j+(0.4,0.7)j(pˉj−p‾j)p_j = \underline p_j + (0.4, 0.7)_j (\bar p_j - \underline p_j)pj​=p​j​+(0.4,0.7)j​(pˉ​j​−p​j​), the point x+r(1,1)∈R(x,r)∩Xx + r(1,1) \in R(x, r) \cap Xx+r(1,1)∈R(x,r)∩X has larger π\piπ than π(x)+rL(x,r)\pi(x) + r L(x, r)π(x)+rL(x,r). So πu\pi^uπu is not posed. The proof of Theorem 1 uses only (U1) (line 13 never discards a box holding a maximizer, and the final chain (c)–(d)) and (U2) (step (a) of (44)–(45)), so the theorem is stated for every rule with these two properties. (U1) and (U2) hold together exactly when π\piπ is K0K_0K0​-Lipschitz on XXX in the sup norm, e.g. with U(x,r)=π(x)+rK0U(x, r) = \pi(x) + r K_0U(x,r)=π(x)+rK0​. Such a K0K_0K0​ exists because the polyhedral feasible sets of cnstr-rev\texttt{cnstr-rev}cnstr-rev move Lipschitz-continuously with μ(x)\mu(x)μ(x), and Proposition 5 claims an explicit one. Other conventions are as in the definitions file: the line-8 loop is a left fold over an enumeration of the finite set X1\mathcal X_1X1​, and πˉ\bar\piπˉ lives in [−∞,∞][-\infty, \infty][−∞,∞]. For ε≥1\varepsilon \ge 1ε≥1 the loop exits at once, and p′=p‾p' = \underline pp′=p​ satisfies (20) because Π(p‾)>0\Pi(\underline p) > 0Π(p​)>0. Further departures: x⋆x^\starx⋆ starts at q0(p‾)q_0(\underline p)q0​(p​), and LP(x,r)\mathrm{LP}(x, r)LP(x,r) uses the two-sided form of (15)–(16) (see Proposition 7). With the printed form, line 9 has no solution at the first pass on some instances, e.g. m=2m = 2m=2, n=1n = 1n=1, a=(−3,3)a = (-3, 3)a=(−3,3), b=1b = 1b=1. The maximum in (20) is read at every global maximizer p⋆p^\starp⋆, whose existence is part of the conclusion.

Preamble
import Mathlib
import Definitions.Def_FMLPricing_BranchBound_Model
Formal statement
namespace FMLPricing.BranchBound

/-- Theorem 1, p. 19, for Algorithm 1 `BNB(ε)` (p. 18) run with any bounding rule `U` that
is valid on `R(x, r) ∩ X` (U1) and exceeds `π(x)` by at most `r K₀` (U2), any choice of LP
solution on line 9, and any visiting order on line 8: the `while` loop exits after finitely
many passes, and every maximizer `z'` of `cnstr-rev(x⋆)` gives a price vector
`p' = (−b_j⁻¹ log z'_j)_j` with `Π(p') ≥ (1 − ε) max_{p ∈ ℝⁿ} Π(p)`. -/
theorem theorem_1 {m n : ℕ} (I : FML m n) (hI : Standing I) (ε : ℝ) (hε : 0 < ε)
    (U : (Fin m → ℝ) → ℝ → ℝ) (K₀ : ℝ)
    (hU1 : ∀ x ∈ Xset I, ∀ r > 0, ∀ x' ∈ Rbox I x r ∩ Xset I, piX I x' ≤ U x r)
    (hU2 : ∀ x ∈ Xset I, ∀ r > 0, U x r ≤ piX I x + r * K₀)
    (sol : (Fin m → ℝ) → ℝ → LPVars m n)
    (hsol : ∀ x r, (∀ c, 0 < x c) → 0 < r → LPFeasible I x r → IsLPSolution I x r (sol x r))
    (enum : Finset (Fin m → ℝ) → List (Fin m → ℝ))
    (henum : ∀ S, (enum S).Nodup ∧ (enum S).toFinset = S) :
    ∃ k : ℕ, ¬ bnbCond ε (bnbRun I U sol enum k) ∧
      (∀ j < k, bnbCond ε (bnbRun I U sol enum j)) ∧
      (bnbRun I U sol enum k).xs ∈ Xset I ∧
      (∃ z', IsCnstrMax I (bnbRun I U sol enum k).xs z') ∧
      (∃ pstar : Fin n → ℝ, ∀ p, Pi I p ≤ Pi I pstar) ∧
      ∀ z', IsCnstrMax I (bnbRun I U sol enum k).xs z' →
        ∀ pstar : Fin n → ℝ, (∀ p, Pi I p ≤ Pi I pstar) →
          (1 - ε) * Pi I pstar ≤ Pi I (priceOf I z') := by sorry

end FMLPricing.BranchBound
Source
van de Geer & den Boer, Price Optimization Under the Finite-Mixture Logit Model, SSRN 3235432 (version of August 26, 2021), p. 19, Theorem 1 and Algorithm 1 p. 18 (proof pp. 45–46)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

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