Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2(a)–(d), p. 10 (with Lemmas 6–9(a)) — the four price ranges and the purchase/redemption rule

Proved
BuyXFree.Threshold.proposition_2

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

dynamic-programmingloyalty-programp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reward-program

Throughout, the standing assumptions of §3 hold: 0≤λ≤10\le\lambda\le10≤λ≤1, 0≤q≤10\le q\le10≤q≤1, 0<δ<10<\delta<10<δ<1, v≥vˉ≥0v\ge\bar v\ge0v≥vˉ≥0, k≥0k\ge0k≥0, and the program has a threshold X≥1X\ge1X≥1. Assume moreover λ>0\lambda>0λ>0 and q>0q>0q>0. JJJ denotes any solution of the optimality equations (1)–(2) of the consumer facing price ppp and threshold XXX. With the boundary prices pD(τ)p^D(\tau)pD(τ), pB(τ)p^B(\tau)pB(τ) of p. 10:

  1. (a) if p≤pD(0)p\le p^D(0)p≤pD(0), the consumer buys in every state x<Xx<Xx<X and redeems in state XXX, under either outside option;
  2. (b) if pD(τ−1)<p≤min⁡{pB(τ),pD(τ)}p^D(\tau-1)<p\le\min\{p^B(\tau),p^D(\tau)\}pD(τ−1)<p≤min{pB(τ),pD(τ)} for a threshold τ∈{1,…,X−1}\tau\in\{1,\dots,X-1\}τ∈{1,…,X−1}, then facing vˉ\bar vvˉ she does not buy in states 0,…,τ−10,\dots,\tau-10,…,τ−1, buys in states τ,…,X−1\tau,\dots,X-1τ,…,X−1, and redeems in state XXX;
  3. (c) if pD(X−1)<p≤min⁡{pB(X),pD(X)}p^D(X-1)<p\le\min\{p^B(X),p^D(X)\}pD(X−1)<p≤min{pB(X),pD(X)}, then facing vˉ\bar vvˉ she buys in no state but redeems in state XXX;
  4. (d) if pD(X)<p≤(1−AX+1)v+AX(1−A)k1−AXp^D(X)<p\le\dfrac{(1-A^{X+1})v+A^X(1-A)k}{1-A^X}pD(X)<p≤1−AX(1−AX+1)v+AX(1−A)k​, then facing vˉ\bar vvˉ she neither buys nor redeems in any state.

In parts (b)–(d), facing the outside option 000 she buys in every state x<Xx<Xx<X and redeems in state XXX (part (a) of Lemmas 7–9, pp. 40–42).

price range ⟹ purchase/redemption rule.\text{price range}\ \Longrightarrow\ \text{purchase/redemption rule}.price range ⟹ purchase/redemption rule.

This is the paper's characterization of the consumer's response to a program (p,X)(p,X)(p,X). For X=1X=1X=1 part (b) is empty.

Formalization Note The hypotheses λ>0\lambda>0λ>0, q>0q>0q>0 (equivalently A>0A>0A>0) are added: pB(X)p^B(X)pB(X) and pD(X)p^D(X)pD(X) divide by quantities that vanish when A=0A=0A=0, and with Lean's convention x/0=0x/0=0x/0=0 part (d) would be false at λ=0\lambda=0λ=0. Each part also records the outside-option-000 behaviour of Lemmas 6–9(a).

Preamble
import Mathlib
import Definitions.Def_BuyXFree_Threshold_Model
Formal statement
namespace BuyXFree.Threshold

/-- Proposition 2, p. 10, with the outside-option-`0` behaviour of parts (a) of Lemmas 6–9
(pp. 39–42): the four price ranges and the decisions they induce. Added hypothesis: `λ > 0`,
`q > 0` (so `A > 0`; the bounds `p^B(X)`, `p^D(X)` divide by terms that vanish at `A = 0`). -/
theorem proposition_2 (P : Params) (hP : P.Standing) (hlam : 0 < P.lam) (hq : 0 < P.q)
    (p : ℝ) (X : ℕ) (hX : 1 ≤ X) (J : ℕ → ℝ) (hJ : IsValueFn P p X J) :
    -- (a)
    (p ≤ pD P X 0 →
      (∀ x < X, BuysHigh P p J x) ∧ RedeemsHigh P X J ∧
        (∀ x < X, BuysLow P p J x) ∧ RedeemsLow P X J) ∧
    -- (b)
    (∀ τ : ℕ, 1 ≤ τ → τ + 1 ≤ X → pD P X (τ - 1) < p → p ≤ min (pB P X τ) (pD P X τ) →
      (∀ x < X, (BuysHigh P p J x ↔ τ ≤ x)) ∧ RedeemsHigh P X J ∧
        (∀ x < X, BuysLow P p J x) ∧ RedeemsLow P X J) ∧
    -- (c)
    (pD P X (X - 1) < p → p ≤ min (pB P X X) (pD P X X) →
      (∀ x < X, ¬ BuysHigh P p J x) ∧ RedeemsHigh P X J ∧
        (∀ x < X, BuysLow P p J x) ∧ RedeemsLow P X J) ∧
    -- (d)
    (pD P X X < p → p ≤ pdUpper P X →
      (∀ x < X, ¬ BuysHigh P p J x) ∧ ¬ RedeemsHigh P X J ∧
        (∀ x < X, BuysLow P p J x) ∧ RedeemsLow P X J) := by sorry
end BuyXFree.Threshold
Source
Liu, Sun & Zhang, An Analysis of "Buy X, Get One Free" Reward Programs, accepted manuscript (Operations Research 69(6), 2021; version of March 26, 2021), p. 10, Proposition 2; pp. 39–42, Lemmas 6–9 part (a)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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