Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, p. 12 — technology A is preferred to B iff c_K^A/e^A < c_K^B/e^B; storage is profitable iff c_K/e < g − √(2c_Q g)

Proved
OffGridStorage.TechChoice.theorem_2

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

capacity-investmentenergy-storagep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1technology-choicethreshold

Consider the tracking model of an off-grid utility with T≥1T\ge 1T≥1 periods, day and night demands DH,DL>0D_H,D_L>0DH​,DL​>0, generation cost cQ>0c_Q>0cQ​>0 and backup cost g>2cQg>2c_Qg>2cQ​. A storage technology is a pair (e,cK)(e,c_K)(e,cK​) with efficiency 0<e≤10<e\le 10<e≤1 and cost cK≥0c_K\ge 0cK​≥0.

  1. Comparison of technologies. For all admissible technologies A=(eA,cKA)A=(e^A,c_K^A)A=(eA,cKA​) and B=(eB,cKB)B=(e^B,c_K^B)B=(eB,cKB​), AAA is preferred to BBB in the sense of Definition 1 if and only if
cKAeA<cKBeB.\frac{c_K^A}{e^A}<\frac{c_K^B}{e^B}.eAcKA​​<eBcKB​​.
  1. Profitability. A given technology (e,cK)(e,c_K)(e,cK​) can profitably be invested in, i.e. the optimal storage investment of the tracking model is positive, if and only if
cKe<g−2cQg.\frac{c_K}{e}<g-\sqrt{2c_Qg}.ecK​​<g−2cQ​g​.

Here "preferred" means that the set ΓA\Gamma^AΓA of market parameters (cQ,DH,DL,g)(c_Q,D_H,D_L,g)(cQ​,DH​,DL​,g) at which positive storage is optimal under AAA strictly contains ΓB\Gamma^BΓB, and "the optimal storage investment is positive" means that an optimal tracking plan exists and every optimal tracking plan has positive storage. The theorem shows that the storage-cost-to-efficiency ratio cK/ec_K/ecK​/e alone ranks technologies and decides their profitability.

Formalization Note The superset in Definition 1 is read as proper; with a non-strict superset, equal ratios would make each technology preferred to the other and the "only if" direction of part 1 would fail. Part 1 holds for every fixed T≥1T\ge 1T≥1; Γ\GammaΓ ranges over tuples satisfying the market part of the standing assumptions.

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

/-- Theorem 2, p. 12. (a) For every number of periods `T ≥ 1` and admissible technologies `A`,
`B`, `A` is preferred to `B` (Definition 1) iff `c_K^A/e^A < c_K^B/e^B`. (b) Under the standing
assumptions, the optimal tracking storage investment is positive iff `c_K/e < g - √(2 c_Q g)`. -/
theorem theorem_2 :
    (∀ T : ℕ, 1 ≤ T → ∀ A B : Tech, ValidTech A → ValidTech B →
      (Preferred T A B ↔ A.cK / A.e < B.cK / B.e)) ∧
    (∀ p : Params, Standing p →
      (OptimalStoragePos p ↔ p.cK / p.e < p.g - Real.sqrt (2 * p.cQ * p.g))) := 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. 12, Theorem 2 (with Definition 1, p. 11); proof Appendix A.2, p. 37
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