Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A right-derivative limit preserves a closed lower bound on secants

Proved
NestedSeatAlloc.IntPolicy.right_derivative_preserves_secant_lower_bound

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

airline-revenue-managementcalculus-helperright-derivativesecant-slopetheorem1

If every strictly rightward secant slope of a real function from a point is at least c, then any right derivative at that point is also at least c.

Preamble
import Mathlib

open Filter
open scoped Topology
Formal statement
namespace NestedSeatAlloc.IntPolicy

theorem right_derivative_preserves_secant_lower_bound
    (g : ℝ → ℝ) (a r c : ℝ)
    (hderiv : HasDerivWithinAt g r (Set.Ici a) a)
    (hsec : ∀ y, a < y → c ≤ slope g a y) :
    c ≤ r := by sorry

end NestedSeatAlloc.IntPolicy
Source
Source-faithful closed-limit calculus lemma used in the base-fare argument for theorem1_global_optimality_step_all_seats (d9b68cbf-156f-4fa7-a4ac-4abe5f223739). The source proof converts HasDerivWithinAt on Ici a to convergence of the slope map on the punctured right filter, transfers membership in the closed interval Ici c through the limit, and concludes c ≤ r.

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