Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, first bullet, p. 13 — if g ≤ g0, the plan (D_H√(g/2c_Q), 0) is optimal in both models and the profits coincide

Proved
OffGridStorage.TechChoice.theorem_4_i

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

energy-storagemodel-comparisonp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1threshold

Under the standing assumptions, suppose g≤g0=cQ+cK/e+cQ2+2cQcK/eg\le g_0=c_Q+c_K/e+\sqrt{c_Q^2+2c_Qc_K/e}g≤g0​=cQ​+cK​/e+cQ2​+2cQ​cK​/e​ and let Q0=DHg/(2cQ)Q_0=D_H\sqrt{g/(2c_Q)}Q0​=DH​g/(2cQ​)​. Then

  1. (Q0,0)(Q_0,0)(Q0​,0) is an optimal plan of the full-discharge model;
  2. (Q0,0)(Q_0,0)(Q0​,0) is an optimal plan of the tracking model;
  3. ΠTR(Q0,0)=ΠF(Q0,0)\Pi_{TR}(Q_0,0)=\Pi_F(Q_0,0)ΠTR​(Q0​,0)=ΠF​(Q0​,0), so the two optimal profits coincide.

Below the threshold g0g_0g0​ the backup is too cheap for storage to pay, and the full-discharge approximation is exact.

Formalization Note The paper writes KF∗=KTR∗=0K^*_F=K^*_{TR}=0KF∗​=KTR∗​=0, QF∗=QTR∗Q^*_F=Q^*_{TR}QF∗​=QTR∗​ as if the optima were unique, and refers to "the decisions from Theorem 3". Two corrections are made. First, Theorem 3's printed QF∗Q^*_FQF∗​ ignores the constraint K≥0K\ge 0K≥0 and is wrong when KF∗=0K^*_F=0KF∗​=0; the correct no-storage optimum is Q0=DHg/(2cQ)Q_0=D_H\sqrt{g/(2c_Q)}Q0​=DH​g/(2cQ​)​ (eq. (25)). Second, uniqueness can fail: at g=g0g=g_0g=g0​ with e=1e=1e=1 the closed form is linear along a ray from (Q0,0)(Q_0,0)(Q0​,0), so plans with 0<K≤DL0<K\le D_L0<K≤DL​ are optimal too. The statement therefore asserts that (Q0,0)(Q_0,0)(Q0​,0) is optimal in both models, and that the optimal values agree.

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

/-- Theorem 4, first bullet, p. 13 (restated): if `g ≤ g0`, the no-storage plan `(Q0, 0)`,
`Q0 = D_H √(g/(2c_Q))`, is optimal in both the full-discharge and the tracking model, and the two
profits coincide there. -/
theorem theorem_4_i (p : Params) (hp : Standing p) (hg : p.g ≤ g0 p) :
    IsOptimalF p (Q0 p) 0 ∧ IsOptimalTR p (Q0 p) 0 ∧
      profitTR p (Q0 p) 0 = profitF p (Q0 p) 0 := 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 4, first bullet; proof Appendix A.4.1, pp. 38–39
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