Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter I, Lemma 1 — maximizing a jointly concave G(x,y)G(x,y)G(x,y) over 0≤y≤x0\le y\le x0≤y≤x gives a concave function

Proved
BellmanDP.Allocation.max_of_jointly_concave_is_concave

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

convexitydynamic-programmingp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1

Let G(x,y)G(x,y)G(x,y) be concave jointly in (x,y)(x,y)(x,y) on the quadrant x,y≥0x, y \ge 0x,y≥0, i.e. for 0≤λ≤10 \le \lambda \le 10≤λ≤1,

G(λx1+(1−λ)x2, λy1+(1−λ)y2)≥λG(x1,y1)+(1−λ)G(x2,y2).G\big(\lambda x_1 + (1-\lambda)x_2,\ \lambda y_1 + (1-\lambda)y_2\big) \ge \lambda G(x_1,y_1) + (1-\lambda) G(x_2,y_2).G(λx1​+(1−λ)x2​, λy1​+(1−λ)y2​)≥λG(x1​,y1​)+(1−λ)G(x2​,y2​).

Suppose that for every x≥0x \ge 0x≥0 the maximum

f(x)=max⁡0≤y≤xG(x,y)f(x) = \max_{0 \le y \le x} G(x,y)f(x)=0≤y≤xmax​G(x,y)

is attained. Then fff is concave on [0,∞)[0,\infty)[0,∞).

This lemma is the device by which concavity of the returns g,hg,hg,h is transferred through each stage of the recurrence to the solution of the allocation equation (Theorem 5).

Formalization Note "f(x)f(x)f(x) as defined by Max" is encoded by requiring, for every x≥0x\ge 0x≥0, that f(x)f(x)f(x) be the greatest element of {G(x,y):0≤y≤x}\{G(x,y) : 0\le y\le x\}{G(x,y):0≤y≤x}.

Preamble
import Mathlib
Formal statement
namespace BellmanDP.Allocation

/-- Ch. I, Lemma 1, p. 21. If `G(x, y)` is concave jointly in `(x, y)` on `x, y ≥ 0` and
`f(x) = Max_{0 ≤ y ≤ x} G(x, y)` (the maximum being attained for every `x ≥ 0`), then `f` is
concave on `x ≥ 0`. -/
theorem max_of_jointly_concave_is_concave (G : ℝ → ℝ → ℝ)
    (hG : ConcaveOn ℝ (Set.Ici (0 : ℝ) ×ˢ Set.Ici (0 : ℝ)) (fun p : ℝ × ℝ => G p.1 p.2))
    (f : ℝ → ℝ) (hf : ∀ x : ℝ, 0 ≤ x → IsGreatest ((G x) '' Set.Icc 0 x) (f x)) :
    ConcaveOn ℝ (Set.Ici 0) f := by sorry

end BellmanDP.Allocation
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter I, Lemma 1 and footnote 4, p. 21
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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