Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(8), p. 9 — one mass-moving step preserves each component's mass, satisfies (8) and keeps the solution feasible

Proved
SampleDrivenOS.Structure.eq_8_moved_feasible

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

continuous-linear-programoptimal-stoppingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let 0≤p<10\le p<10≤p<1 and let qqq be feasible for CLPp_pp​. Write Mq(t)=∫pt∑s≥1q(τ,s) dτM_q(t)=\int_p^t\sum_{s\ge1}q(\tau,s)\,d\tauMq​(t)=∫pt​∑s≥1​q(τ,s)dτ and Gq(t)=1t(1−Mq(t))G_q(t)=\frac1t\bigl(1-M_q(t)\bigr)Gq​(t)=t1​(1−Mq​(t)). Suppose that for every rank ℓ≥1\ell\ge1ℓ≥1 a threshold tℓ∈[p,1]t_\ell\in[p,1]tℓ​∈[p,1] with tℓ>0t_\ell>0tℓ​>0 is given with

∫p1q(t,ℓ) dt=∫tℓ1Gq(t) dt,\int_p^1 q(t,\ell)\,dt=\int_{t_\ell}^1 G_q(t)\,dt ,∫p1​q(t,ℓ)dt=∫tℓ​1​Gq​(t)dt,

and define the moved solution q′(t,ℓ)=Gq(t)q'(t,\ell)=G_q(t)q′(t,ℓ)=Gq​(t) if t≥tℓt\ge t_\ellt≥tℓ​ and q′(t,ℓ)=0q'(t,\ell)=0q′(t,ℓ)=0 if t<tℓt<t_\ellt<tℓ​. Then:

  1. q′q'q′ is feasible for CLPp_pp​;
  2. ∫p1q′(t,ℓ) dt=∫p1q(t,ℓ) dt\int_p^1 q'(t,\ell)\,dt=\int_p^1 q(t,\ell)\,dt∫p1​q′(t,ℓ)dt=∫p1​q(t,ℓ)dt for every ℓ≥1\ell\ge1ℓ≥1;
  3. inequality (8) holds:
1t(1−∫pt∑s≥1q(τ,s) dτ)≤1t(1−∫pt∑s≥1q′(τ,s) dτ)∀t∈[p,1].\frac1t\Bigl(1-\int_p^t\sum_{s\ge1}q(\tau,s)\,d\tau\Bigr)\le\frac1t\Bigl(1-\int_p^t\sum_{s\ge1}q'(\tau,s)\,d\tau\Bigr)\qquad\forall t\in[p,1].t1​(1−∫pt​s≥1∑​q(τ,s)dτ)≤t1​(1−∫pt​s≥1∑​q′(τ,s)dτ)∀t∈[p,1].

This is one step qn−1↦qnq_{n-1}\mapsto q_nqn−1​↦qn​ of the procedure in the proof of Theorem 2: the mass of each component is pushed to the right, as far as the feasibility constraint allows.

Formalization Note The thresholds tℓ(n)t_\ell(n)tℓ​(n) are taken as hypotheses satisfying the defining equality; their existence (an intermediate-value argument) is not posed. The thresholds are required to be positive, tℓ>0t_\ell>0tℓ​>0; this matters only for p=0p=0p=0, where Gq(t)∼1/tG_q(t)\sim1/tGq​(t)∼1/t is not integrable near 000, so the paper's defining equality already forces tℓ(n)>0t_\ell(n)>0tℓ​(n)>0, while Lean's value ∫01Gq=0\int_0^1 G_q=0∫01​Gq​=0 for a non-integrable integrand would otherwise admit the spurious choice tℓ=0t_\ell=0tℓ​=0. At the single point t=0t=0t=0 Lean reads 1/01/01/0 as 000, so (8) there is the trivial 0≤00\le00≤0. The envelope is computed from the extended-real mass converted to a real number; feasibility of q′q'q′ (item 1) guarantees that this mass is finite, so (8) is not a junk comparison.

Preamble
import Mathlib
import Definitions.Def_SampleDrivenOS_Structure_Setting

open MeasureTheory Set
Formal statement
namespace SampleDrivenOS.Structure

theorem eq_8_moved_feasible (p : ℝ) (hp0 : 0 ≤ p) (hp1 : p < 1) (q : ℝ → ℕ → ℝ)
    (hq : IsFeasible p q) (tl : ℕ → ℝ) (htl : ∀ ℓ : ℕ, 1 ≤ ℓ → tl ℓ ∈ Icc p 1)
    (htl0 : ∀ ℓ : ℕ, 1 ≤ ℓ → 0 < tl ℓ)
    (hmass : ∀ ℓ : ℕ, 1 ≤ ℓ → ∫ τ in p..1, q τ ℓ = ∫ τ in (tl ℓ)..1, envelope p q τ) :
    IsFeasible p (movedSolution p q tl) ∧
    (∀ ℓ : ℕ, 1 ≤ ℓ → ∫ τ in p..1, movedSolution p q tl τ ℓ = ∫ τ in p..1, q τ ℓ) ∧
    (∀ τ ∈ Icc p 1, envelope p q τ ≤ envelope p (movedSolution p q tl) τ) := by sorry

end SampleDrivenOS.Structure
Source
Correa, Cristi, Epstein & Soto, Sample-Driven Optimal Stopping: From the Secretary Problem to the i.i.d. Prophet Inequality, arXiv:2011.06516v2, p. 9 (PDF p. 10), proof of Theorem 2, definition of q_n and eq. (8)
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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