Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition A.4 (ii) — the optimal payment rate zSBz_{SB}zSB​ lies in [vx,pr+pvx][v_x,\frac p{r+p}v_x][vx​,r+pp​vx​] for vx≤0v_x\le0vx​≤0 and equals pr+pvx\frac p{r+p}v_xr+pp​vx​ for vx≥0v_x\ge0vx​≥0

Proved
DemandResponse.SecondBest.propA4_ii_minimiser

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

demand-responsep2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1principal-agentstochastic-control

Fix real numbers yyy (standing for vxv_xvx​) and kkk (standing for vxxv_{xx}vxx​), and consider the objective of the producer's HJB equation (A.11) in the limit A↗∞A\nearrow\inftyA↗∞:

Φ(z):=F0(h−k+rz2+p(z−y)2)+μˉ (z−+y)2,z∈R,\Phi(z):=F_0\big(h-k+rz^2+p(z-y)^2\big)+\bar\mu\,(z^-+y)^2,\qquad z\in\mathbb R,Φ(z):=F0​(h−k+rz2+p(z−y)2)+μˉ​(z−+y)2,z∈R,

where F0F_0F0​ is the function of Lemma A.1. Then:

  1. if y≥0y\ge0y≥0, the point z=pr+pyz=\frac p{r+p}yz=r+pp​y minimises Φ\PhiΦ over R\mathbb RR;
  2. if y≤0y\le0y≤0, Φ\PhiΦ has a minimiser over R\mathbb RR in the interval [y,pr+py]\big[y,\frac p{r+p}y\big][y,r+pp​y].

This locates the second-best payment rate for consumption reduction: in off-peak periods it is explicit, and in peak periods it lies between the producer's marginal value vxv_xvx​ and its fraction pr+pvx\frac p{r+p}v_xr+pp​vx​.

Formalization Note. The page states the claim "for large AAA", with the cap term ηA(vx,z)=(vx+(z−−A)+)2−vx2→0\eta_A(v_x,z)=(v_x+(z^--A)^+)^2-v_x^2\to0ηA​(vx​,z)=(vx​+(z−−A)+)2−vx2​→0 as A↗∞A\nearrow\inftyA↗∞ in (A.11); it is formalized with ηA≡0\eta_A\equiv0ηA​≡0, the limit the page names (with ηA\eta_AηA​ at finite AAA the claim can fail). The page's open interval (vx,pr+pvx)(v_x,\frac p{r+p}v_x)(vx​,r+pp​vx​) is empty at vx=0v_x=0vx​=0, where the minimiser is 000; the closed interval is used. "The minimiser" is read as "a minimiser": when μˉ=0\bar\mu=0μˉ​=0 and d=0d=0d=0 the minimiser need not be unique.

Preamble
import Mathlib
import Definitions.Def_DemandResponse_SecondBest_Hamiltonian
Formal statement
namespace DemandResponse.SecondBest

/-- Proposition A.4 (ii), minimiser claim (arXiv:1810.09063v3, p. 30), read in the limit `A ↗ ∞`
(`η_A ≡ 0`) and with the closed interval `[v_x, p v_x / (r+p)]`. Here `y` stands for `v_x` and `k` for
`v_xx`; the objective of (A.11) is `z ↦ F₀(h - k + r z² + p (z - y)²) + μ̄ (z⁻ + y)²`. -/
theorem propA4_ii_minimiser {N d : ℕ} (P : Params N d) (y k : ℝ) :
    let Φ : ℝ → ℝ := fun z =>
      F0 P (P.h - k + P.r * z ^ 2 + P.p * (z - y) ^ 2) + muBar P * (negp z + y) ^ 2
    (0 ≤ y → IsMinOn Φ Set.univ (P.p / (P.r + P.p) * y)) ∧
    (y ≤ 0 → ∃ z ∈ Set.Icc y (P.p / (P.r + P.p) * y), IsMinOn Φ Set.univ z) := by sorry

end DemandResponse.SecondBest
Source
arXiv:1810.09063v3, Appendix A.3, Proposition A.4 (ii) and (A.11) (p. 30)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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