Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Beale (1955), Theorem 3: given x, C is a convex function of (A, β)

Proved
BealeConvexMin.RandomLP.cost_convexOn_data

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexitylinear-programmingp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-programming

Fix constants c∈Rnc\in\mathbb R^nc∈Rn, f∈Rpf\in\mathbb R^pf∈Rp, D∈Rm×pD\in\mathbb R^{m\times p}D∈Rm×p and a non-negative first-stage vector x∈Rnx\in\mathbb R^nx∈Rn, x≥0x\ge 0x≥0. For data (A,β)∈Rm×n×Rm(A,\beta)\in\mathbb R^{m\times n}\times\mathbb R^m(A,β)∈Rm×n×Rm let

C(A,β)=c′x+min⁡{f′y:y≥0, Ax+Dy=β}.C(A,\beta)=c'x+\min\{f'y : y\ge 0,\ Ax+Dy=\beta\}.C(A,β)=c′x+min{f′y:y≥0, Ax+Dy=β}.

Let KKK be a convex set of data pairs (A,β)(A,\beta)(A,β) such that for every (A,β)∈K(A,\beta)\in K(A,β)∈K the minimum over yyy is attained. Then CCC is jointly convex on KKK: for (A1,β1),(A2,β2)∈K(A_1,\beta_1),(A_2,\beta_2)\in K(A1​,β1​),(A2​,β2​)∈K and λ1,λ2≥0\lambda_1,\lambda_2\ge0λ1​,λ2​≥0 with λ1+λ2=1\lambda_1+\lambda_2=1λ1​+λ2​=1,

C(λ1A1+λ2A2, λ1β1+λ2β2)≤λ1C(A1,β1)+λ2C(A2,β2).C(\lambda_1A_1+\lambda_2A_2,\ \lambda_1\beta_1+\lambda_2\beta_2)\le\lambda_1C(A_1,\beta_1)+\lambda_2C(A_2,\beta_2).C(λ1​A1​+λ2​A2​, λ1​β1​+λ2​β2​)≤λ1​C(A1​,β1​)+λ2​C(A2​,β2​).

This is Theorem 3 of the paper, "Given xxx, CCC is a convex function of AAA and β\betaβ". Beale uses it to argue that adding a zero-mean random perturbation to the coefficients cannot decrease E(C)E(C)E(C).

Formalization Note The paper names no domain for (A,β)(A,\beta)(A,β). The statement is made on every convex set of data on which the second-stage minimum is attained, i.e. every convex set on which CCC is defined as a minimum; attainment is needed because the real infimum is a junk 000 elsewhere. The first-stage vector xxx is taken non-negative, as in the paper's model ("choose non-negative xjx_jxj​", p. 181); the page says only "given xxx".

Preamble
import Mathlib
import Definitions.Def_BealeConvexMin_RandomLP_secondStageValue
import Definitions.Def_BealeConvexMin_RandomLP_expectedCost
Formal statement
namespace BealeConvexMin.RandomLP

open Matrix

/-- Beale (1955), §5, p. 182, Theorem 3: given `x`, `C` is a convex function of `A` and `β`
jointly. For a non-negative first-stage `x` (the model's "choose non-negative x_j", p. 181) and
every convex set `K` of data pairs `(A, β)` on which the second-stage minimum is
attained, `(A, β) ↦ C = c′x + min {f′y | y ≥ 0, Ax + Dy = β}` is convex on `K`. -/
theorem cost_convexOn_data {m n p : ℕ} (c : Fin n → ℝ) (f : Fin p → ℝ)
    (D : Matrix (Fin m) (Fin p) ℝ) (x : Fin n → ℝ) (hx : 0 ≤ x)
    (K : Set (Matrix (Fin m) (Fin n) ℝ × (Fin m → ℝ))) (hK : Convex ℝ K)
    (hatt : ∀ q ∈ K, SecondStageAttained D f (q.2 - q.1 *ᵥ x)) :
    ConvexOn ℝ K (fun q => cost c f D q.1 q.2 x) := by sorry

end BealeConvexMin.RandomLP
Source
Beale, On Minimizing a Convex Function Subject to Linear Inequalities, J. R. Statist. Soc. B 17(2), 1955, https://doi.org/10.1111/j.2517-6161.1955.tb00191.x, p. 182 (PDF p. 10), Theorem 3
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me