Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, first sentence, p. 13 — the full-discharge objective is jointly concave over its domain Q ≥ 0, K ≥ 0

Proved
OffGridStorage.TechChoice.theorem_3_concave

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

concavityenergy-storagep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Under the standing assumptions, let ΠF\Pi_FΠF​ be the full-discharge expected profit of eq. (5),

ΠF(Q,K)=T(g E[min⁡[q,DH]+min⁡[e(q−DH)+,K]]−cKeK−cQQ),q∼U[0,Q].\Pi_F(Q,K)=T\Bigl(g\,E\bigl[\min[q,D_H]+\min[e(q-D_H)^+,K]\bigr]-\frac{c_K}{e}K-c_QQ\Bigr),\qquad q\sim U[0,Q].ΠF​(Q,K)=T(gE[min[q,DH​]+min[e(q−DH​)+,K]]−ecK​​K−cQ​Q),q∼U[0,Q].

Then (Q,K)↦ΠF(Q,K)(Q,K)\mapsto\Pi_F(Q,K)(Q,K)↦ΠF​(Q,K) is jointly concave on its whole domain {(Q,K):Q≥0, K≥0}\{(Q,K): Q\ge 0,\ K\ge 0\}{(Q,K):Q≥0, K≥0}.

This is the concavity statement with which Theorem 3 opens; the paper proves it by signing the Hessian of the closed form (20), eqs. (21)–(22), and then finds the optimum from the first-order conditions.

Formalization Note The statement is about ΠF\Pi_FΠF​ itself (eq. (5), the expectation written as q=Qvq=Qvq=Qv with vvv uniform on [0,1][0,1][0,1]), not only about the closed form (20), which equals ΠF\Pi_FΠF​ only where DH+K/e≤QD_H+K/e\le QDH​+K/e≤Q. The paper's "domain" is read as all plans Q≥0Q\ge 0Q≥0, K≥0K\ge 0K≥0. The hypotheses cQ>0c_Q>0cQ​>0, cK≥0c_K\ge 0cK​≥0, T≥1T\ge 1T≥1 of the standing assumptions are added relative to the page.

Preamble
import Mathlib
import Definitions.Def_OffGridStorage_TechChoice_Model
Formal statement
namespace OffGridStorage.TechChoice

/-- Theorem 3, first sentence, p. 13: the full-discharge objective `Π_F` of eq. (5) is jointly
concave in `(Q, K)` over its whole domain `{(Q, K) : Q ≥ 0, K ≥ 0}`. -/
theorem theorem_3_concave (p : Params) (hp : Standing p) :
    ConcaveOn ℝ {x : ℝ × ℝ | 0 ≤ x.1 ∧ 0 ≤ x.2}
      (fun x => profitF p x.1 x.2) := by sorry

end OffGridStorage.TechChoice
Source
Kaps, Marinesi & Netessine, When Should the Off-grid Sun Shine at Night?, SSRN 3761397 (version of May 11, 2023), p. 13, Theorem 3 (first sentence); proof pp. 37–38, Appendix A.3, eqs. (21)–(22)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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