Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(271), pp. 87–88 — a unique K with Σ_{i>K} P(m_i) < c ≤ Σ_{i≥K} P(m_i), and it is the smallest i with Σ_{>i} < c

Proved
AVRideHail.MonopolyCapacity.eq271_fractile_index

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

critical-fractilenewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let I≥1I \ge 1I≥1 and let P(m1),…,P(mI)≥0P(m_1), \dots, P(m_I) \ge 0P(m1​),…,P(mI​)≥0 be probabilities summing to 111. Let 0<c<10 < c < 10<c<1 (in the application, ccc is the critical fractile cf/(w0−cv)c_f/(w_0 - c_v)cf​/(w0​−cv​), which lies in (0,1)(0,1)(0,1) by Assumption 1). Then:

  1. there is exactly one index KKK with
∑i=K+1IP(mi)<c≤∑i=KIP(mi);\sum_{i=K+1}^I P(m_i) < c \le \sum_{i=K}^I P(m_i);i=K+1∑I​P(mi​)<c≤i=K∑I​P(mi​);
  1. the smallest index KKK with ∑i=K+1IP(mi)<c\sum_{i=K+1}^I P(m_i) < c∑i=K+1I​P(mi​)<c satisfies this double inequality.

This is the discrete critical-fractile condition that identifies the optimal capacity index of Proposition 8.

Formalization Note. Indices are 0-based (Fin I): ∑i=K+1I\sum_{i=K+1}^I∑i=K+1I​ is the sum over indices strictly above KKK and ∑i=KI\sum_{i=K}^I∑i=KI​ over indices at least KKK. Uniqueness is proved on the page from "∑i=KIP(mi)\sum_{i=K}^I P(m_i)∑i=KI​P(mi​) is strictly decreasing in KKK", which needs positive masses; the statement assumes only P(mi)≥0P(m_i) \ge 0P(mi​)≥0, under which uniqueness still holds.

Preamble
import Mathlib
import Definitions.Def_AVRideHail_MonopolyCapacity_Model
Formal statement
namespace AVRideHail.MonopolyCapacity

theorem eq271_fractile_index (I : ℕ) (hI : 0 < I) (prob : Fin I → ℝ)
    (hprob : ∀ i, 0 ≤ prob i) (hsum : ∑ i, prob i = 1) (c : ℝ) (hc0 : 0 < c) (hc1 : c < 1) :
    (∃! K : Fin I, ∑ j ∈ Finset.Ioi K, prob j < c ∧ c ≤ ∑ j ∈ Finset.Ici K, prob j) ∧
      ∀ K : Fin I, IsLeast {k : Fin I | ∑ j ∈ Finset.Ioi k, prob j < c} K →
        (∑ j ∈ Finset.Ioi K, prob j < c ∧ c ≤ ∑ j ∈ Finset.Ici K, prob j) := by sorry

end AVRideHail.MonopolyCapacity
Source
Lian & van Ryzin, Capturing the Benefits of Autonomous Vehicles in Ride-Hailing: The Role of Market Configuration, SSRN 3716491 (version of 23 August 2023), pp. 87–88, (271), App. E.1.3
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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