Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.1 — anti-multimodular iff ΔaΔbf≥0\Delta_a\Delta_b f\ge0Δa​Δb​f≥0 on F\mathcal FF

Proved
ProactiveUpgrade.lemma_A_1

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingmultimodularityp2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

A function fff on Nn\mathbb N^nNn is anti-multimodular if and only if

ΔaΔbf≥0for all a,b∈F, a≠b,\Delta_a\Delta_b f\ge0\qquad\text{for all } a,b\in\mathcal F,\ a\ne b,Δa​Δb​f≥0for all a,b∈F, a=b,

where the inequality is required at every point at which the second difference evaluates fff only on Nn\mathbb N^nNn.

This is the second-difference characterization used throughout the proof of Proposition 4.

Differences from the source:

  • reading: anti-multimodularity of f : ℤᵐ → ℝ, (A.1) for all x ∈ ℤᵐ (Definition A.1, p.31) → f on ℕᵐ, (A.1) whenever x, x + a, x + b, x + a + b all lie in ℕᵐ (AntiMultimodular); reason: the value functions are defined only for x ≥ 0 (p.10) and the proof of Proposition 4 treats exactly the quadrant (Case 1, p.37, excludes a, b ∈ {−e₁, d₂} at x₁ = x₂ = 0 because they leave it); this is Definition A.1 for the extension by −∞, the only extension the paper uses
  • encoding: Δₐ for a ∈ 𝓕 and a ≠ b → Gen.toDir.delta with its shift (−e_{i−1} for d_i), a ≠ b as generators; reason: Lean convention; generator vectors are distinct, so a ≠ b as generators iff as vectors
Preamble
import Mathlib
import Definitions.Def_ProactiveUpgrade_Dir
import Definitions.Def_ProactiveUpgrade_Gen
import Definitions.Def_ProactiveUpgrade_AntiMultimodular
Formal statement
namespace ProactiveUpgrade

/-- **Lemma A.1** (Chen et al., SSRN 3777846, p.31). A function `f` is anti-multimodular iff
`∆_a ∆_b f ≥ 0` for all `a, b ∈ 𝓕` with `a ≠ b`.

**Formalization Note** On the quadrant: the second difference is required to be nonnegative at
every `x` whose four evaluation points lie in `ℕⁿ` (`EvalInQuad`), matching `AntiMultimodular`. -/
theorem lemma_A_1 {n : ℕ} (f : (Fin n → ℕ) → ℝ) :
    AntiMultimodular f ↔
      ∀ (a b : Gen n), a ≠ b → ∀ x : Fin n → ℤ, EvalInQuad a.toDir b.toDir x →
        0 ≤ a.toDir.delta (b.toDir.delta (liftZ f)) x := by sorry

end ProactiveUpgrade
Source
Chen, Tang, Wang, Wang & Yu, Offering Free Upgrades Even before Stocks Run out, SSRN 3777846, Lemma A.1, p.31
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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