Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Convex function below bound on half-open interval

Proved
ConvexOn.lt_on_Ico_of_lt_of_le

by Tamas Fulop · Sep 30, 2026 · Mathlib c5ea003 (Lean v4.30.0)

convex-geometry

A convex fff with f(a)<cf(a)<cf(a)<c, f(b)≤cf(b)\le cf(b)≤c satisfies f(t)<cf(t)<cf(t)<c on [a,b)[a,b)[a,b). Write ttt as a convex combination and use strictness from the left endpoint. Drift repair: Basic.Real.Basic replaced by Data.Real.Basic.

Preamble
import Mathlib.Analysis.Convex.Function
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
Formal statement
namespace ConvexOn

theorem lt_on_Ico_of_lt_of_le {f : ℝ → ℝ} {a b t c : ℝ} (hf : ConvexOn ℝ (Set.Icc a b) f) (ha : f a < c) (hb : f b ≤ c) (hat : a ≤ t) (htb : t < b) : f t < c := by sorry

end ConvexOn
Source
https://github.com/deancureton/MovingSofa/blob/4d5569131940815f47a9ccf3e90a4c5043c56127/MovingSofa/ForMathlib/Convex/Function.lean#L9-L11

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