Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1(a)–(b), pp. 8–9 — buying in state x implies buying in state x+1, under either outside option

Proved
BuyXFree.Threshold.corollary_1

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. JJJ denotes any solution of the optimality equations (1)–(2) of the consumer facing price ppp and threshold XXX. For any price ppp and 0≤x≤X−20\le x\le X-20≤x≤X−2:

  1. if v−p+δJ(x+1)≥δJ(x)v-p+\delta J(x+1)\ge\delta J(x)v−p+δJ(x+1)≥δJ(x), then v−p+δJ(x+2)≥δJ(x+1)v-p+\delta J(x+2)\ge\delta J(x+1)v−p+δJ(x+2)≥δJ(x+1) (outside option 000);
  2. if v−p+δJ(x+1)≥vˉ+δJ(x)v-p+\delta J(x+1)\ge\bar v+\delta J(x)v−p+δJ(x+1)≥vˉ+δJ(x), then v−p+δJ(x+2)≥vˉ+δJ(x+1)v-p+\delta J(x+2)\ge\bar v+\delta J(x+1)v−p+δJ(x+2)≥vˉ+δJ(x+1) (outside option vˉ\bar vvˉ).
buying in state x ⟹ buying in state x+1.\text{buying in state }x\ \Longrightarrow\ \text{buying in state }x+1.buying in state x ⟹ buying in state x+1.

Purchase decisions are therefore of threshold type in the point inventory, under either value of the outside option.

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

/-- Corollary 1, pp. 8–9: for any price `p` and `0 ≤ x ≤ X − 2`, (a) with outside option `0`
and (b) with outside option `v̄`, buying in state `x` implies buying in state `x + 1`. -/
theorem corollary_1 (P : Params) (hP : P.Standing) (p : ℝ) (X : ℕ) (hX : 1 ≤ X)
    (J : ℕ → ℝ) (hJ : IsValueFn P p X J) (x : ℕ) (hx : x + 2 ≤ X) :
    (P.δ * J x ≤ P.v - p + P.δ * J (x + 1) →
        P.δ * J (x + 1) ≤ P.v - p + P.δ * J (x + 2)) ∧
      (P.vbar + P.δ * J x ≤ P.v - p + P.δ * J (x + 1) →
        P.vbar + P.δ * J (x + 1) ≤ P.v - p + P.δ * J (x + 2)) := 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), pp. 8–9, Corollary 1
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