Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (27) right derivative for one-class expected revenue

Proved
NestedSeatAlloc.IntPolicy.expRevenue_one_right_derivative

by WillR · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

airline-revenue-managementequation-27integer-protection-levelright-derivativetheorem2-base

For an integer-valued one-class demand under the seat model, the right derivative of expected one-class revenue at every nonnegative seat level is fare one times the strict demand tail probability.

Preamble
import Mathlib
import Definitions.Def_NestedSeatAlloc_IntPolicy_Model
Formal statement
namespace NestedSeatAlloc.IntPolicy

open MeasureTheory ProbabilityTheory

theorem expRevenue_one_right_derivative
    {Ω : Type*} [MeasurableSpace Ω]
    (P : Measure Ω) (X : ℕ → Ω → ℝ) (f p : ℕ → ℝ)
    (hM : IsSeatModel P X f)
    (hint : ∀ k ω, ∃ n : ℕ, X k ω = n)
    (hf1 : 0 ≤ f 1) :
    ∀ s, 0 ≤ s →
      HasDerivWithinAt (expRevenue P X f p 1)
        (f 1 * P.real {ω | s < X 1 ω}) (Set.Ici s) s := by sorry

end NestedSeatAlloc.IntPolicy
Source
Source-faithful equation-(27) integrated derivative obligation for the one-class expected revenue. The pointwise truncation derivative is the strict indicator tail; the theorem isolates the remaining one-sided differentiation-under-the-integral argument for the exact theorem2 base-tail proof.

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