Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 8 — for p ≥ 0 the value function J is increasing and convex on {0, …, X}

Proved
BuyXFree.Threshold.proposition_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. If the price is nonnegative, p≥0p\ge0p≥0, then JJJ is increasing and convex on {0,…,X}\{0,\dots,X\}{0,…,X}:

J(x)≤J(x+1)  (0≤x≤X−1),J(x+1)−J(x)≤J(x+2)−J(x+1)  (0≤x≤X−2).J(x)\le J(x+1)\ \ (0\le x\le X-1),\qquad J(x+1)-J(x)\le J(x+2)-J(x+1)\ \ (0\le x\le X-2).J(x)≤J(x+1)  (0≤x≤X−1),J(x+1)−J(x)≤J(x+2)−J(x+1)  (0≤x≤X−2).

Each additional point is worth more the closer the consumer is to the threshold; this drives the threshold structure of her purchases.

Formalization Note "Increasing" is weak (≤\le≤), as in the proof's Case 4. The hypothesis p≥0p\ge0p≥0 is added: for negative prices the statement is false (for instance p=−1p=-1p=−1, λ=0.63\lambda=0.63λ=0.63, q=0.74q=0.74q=0.74, δ=0.8\delta=0.8δ=0.8, v=1v=1v=1, vˉ=0.94\bar v=0.94vˉ=0.94, X=8X=8X=8 gives a strictly decreasing JJJ); the paper treats only nonnegative prices implicitly.

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

/-- Proposition 1, p. 8: for a nonnegative price the value function is increasing on
`{0, …, X}` and convex: `J(x+1) − J(x) ≤ J(x+2) − J(x+1)` for `0 ≤ x ≤ X − 2`. -/
theorem proposition_1 (P : Params) (hP : P.Standing) (p : ℝ) (hp : 0 ≤ p) (X : ℕ) (hX : 1 ≤ X)
    (J : ℕ → ℝ) (hJ : IsValueFn P p X J) :
    (∀ x < X, J x ≤ J (x + 1)) ∧
      ∀ x : ℕ, x + 2 ≤ X → J (x + 1) - J x ≤ J (x + 2) - J (x + 1) := 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. 8, Proposition 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