Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (4): Jensen step R(q)≤Rs(q~)R(q)\le R_s(\tilde q)R(q)≤Rs​(q~​)

Proved
VehShare.MultiNet.jensen_reward_le

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

markov-chainsoperations-researchqueueing-theoryvehicle-sharing

Let qqq be a dynamic pricing policy and π\piπ a probability distribution on the states. Define the averaged fractions q~ij=∑x∈Sπ(x)qij(x)\tilde q_{ij}=\sum_{x\in S}\pi(x)q_{ij}(x)q~​ij​=∑x∈S​π(x)qij​(x). Then

∑x∈Sπ(x)∑(i,j)∈AΛijqij(x)Iij(qij(x)) ≤ ∑(i,j)∈AΛijq~ijIij(q~ij)=Rs(q~).\sum_{x\in S}\pi(x)\sum_{(i,j)\in\mathcal A}\Lambda_{ij}q_{ij}(x)I_{ij}(q_{ij}(x))\ \le\ \sum_{(i,j)\in\mathcal A}\Lambda_{ij}\tilde q_{ij}I_{ij}(\tilde q_{ij})=R_s(\tilde q).x∈S∑​π(x)(i,j)∈A∑​Λij​qij​(x)Iij​(qij​(x)) ≤ (i,j)∈A∑​Λij​q~​ij​Iij​(q~​ij​)=Rs​(q~​).

This is display (4) in the proof of Proposition 1: it follows from the concavity of q↦qIij(q)q\mapsto qI_{ij}(q)q↦qIij​(q) and Jensen's inequality. It bounds the reward of any dynamic policy by the fluid reward of its averaged fractions.

Differences from the source:

  • reading: trip durations i.i.d. with a general distribution with rational Laplace transform and mean 1/μij, represented by a network of exponential stages (p. 4) → a phase-type law per pair: finitely many stages, entry probabilities β (total ≤ 1; the defect is a zero-length trip), rates r between stages, exit rates e, an exit reachable from every stage; 1/μij = β(−T)⁻¹𝟙; reason: the paper's state counts vehicles at each stage of the transit queue (footnote 1), so the model exists exactly for laws with such a stage network, i.e. phase-type laws; the general (not only Coxian) form is taken
  • encoding: demand, prices, rewards and travel data on the pairs (i,j) ∈ 𝒜 (Λij > 0) → all of them given on every pair of locations; reason: pairs with Λij = 0 enter every rate, sum and constraint with factor 0; no instance changes
  • encoding: prices pij with acceptance fractions qij = 1 − Fij(pij) (p. 5) → the fractions q ∈ [0,1] and the per-trip rewards Iij(q) as primitives, q·Iij(q) concave on [0,1]; reason: the paper reformulates the policy in terms of the quantiles q (p. 5); concavity of q·I is its only requirement
  • generalization: the optimal policy q* and its steady-state probability π* → any dynamic policy q and any probability vector π on the states; reason: Jensen's inequality uses only π ≥ 0 and Σπ = 1; q* and π* are a special case
  • generalization: the network generated by 𝒩 and 𝒜 is strongly connected (p. 4, without loss of generality) → no connectivity assumption on the demand graph; reason: no step uses it; strongly connected instances are a special case
Preamble
import Mathlib
import Definitions.Def_VehShare_MultiNet_reward
import Definitions.Def_VehShare_MultiNet_Rs
Formal statement
namespace VehShare.MultiNet

/-- **Jensen step (4).**
Benjaafar, Shen, *Pricing in On-Demand (and One-Way) Vehicle Sharing Networks*, SSRN 3998297
(version of 2023-01-10), proof of Proposition 1, display (4), p. 6.

For every dynamic policy `q` and every probability vector `π` on the states,
`R(q, π) ≤ R_s(q̃)` with `q̃_ij = ∑_x π(x) q_ij(x)`, because `q ↦ q I_ij(q)` is concave on `[0, 1]`.

**Formalization Note.** Stationarity of `π` is not needed (a generalization); `π` is any probability
vector. -/
theorem jensen_reward_le (P : Instance) (K : ℕ) (q : Policy P K) (π : State P K → ℝ)
    (hπ0 : ∀ z, 0 ≤ π z) (hπ1 : ∑ z, π z = 1) :
    reward q π ≤ Rs P (fun i j => ∑ z, π z * q.1 z i j) := by sorry

end VehShare.MultiNet
Source
Benjaafar, Shen, Pricing in On-Demand (and One-Way) Vehicle Sharing Networks, SSRN 3998297 (version of 2023-01-10), https://ssrn.com/abstract=3998297, proof of Proposition 1, eq. (4), pp. 6–7

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