Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 2, p. 270 — an affine substitution of the variables preserves the c.p.f. property

Proved
FlexCommitRO.BoxExt.isCPF_comp_affine

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

convexityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedral-function

Let g:Rk→R∪{+∞}g : \mathbb R^k \to \mathbb R \cup \{+\infty\}g:Rk→R∪{+∞} be a convex polyhedral function, M∈Rk×mM \in \mathbb R^{k \times m}M∈Rk×m and v∈Rkv \in \mathbb R^kv∈Rk. Then

s⟼g(Ms+v)s \longmapsto g(Ms + v)s⟼g(Ms+v)

is a convex polyhedral function on Rm\mathbb R^mRm.

In the proof of Lemma 2 this makes ΦT(sT,dT)=val⁡(BT+1dT+CT+1sT+bT+1)\Phi_T(s_T, d_T) = \operatorname{val}(B_{T+1}d_T + C_{T+1}s_T + b_{T+1})ΦT​(sT​,dT​)=val(BT+1​dT​+CT+1​sT​+bT+1​) a c.p.f. in each argument.

Preamble
import Mathlib
import Definitions.Def_FlexCommitRO_BoxExt_WorstCaseDP
open Matrix
Formal statement
namespace FlexCommitRO.BoxExt

theorem isCPF_comp_affine {m k : ℕ} (g : (Fin k → ℝ) → EReal) (hg : IsCPF g)
    (M : Matrix (Fin k) (Fin m) ℝ) (v : Fin k → ℝ) :
    IsCPF (fun s : Fin m → ℝ => g (M *ᵥ s + v)) := by sorry

end FlexCommitRO.BoxExt
Source
Ben-Tal, Golany, Nemirovski & Vial, Retailer-supplier flexible commitments contracts: a robust optimization approach, MSOM 7(3) (2005), p. 270, Appendix, proof of Lemma 2 ("an affine transformation of the variables … retain its c.p.f. property")
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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