Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition C.4, p. 33 — global solutions between lower and upper solutions of y′ = α(x, y) on a half-line

Proved
LiqProvision.Oligopoly.proposition_C_4

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

existenceodep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1upper-lower-solutions

Let I=[0,∞)I=[0,\infty)I=[0,∞) or I=(−∞,0]I=(-\infty,0]I=(−∞,0]. Let v≤wv\le wv≤w be differentiable on III, put Γ={(x,y):x∈I, v(x)≤y≤w(x)}\Gamma=\{(x,y): x\in I,\ v(x)\le y\le w(x)\}Γ={(x,y):x∈I, v(x)≤y≤w(x)}, and let α:Γ→R\alpha:\Gamma\to\mathbb Rα:Γ→R be continuous with a partial derivative αy\alpha_yαy​ that is continuous on Γ\GammaΓ up to the boundary. Suppose either I=[0,∞)I=[0,\infty)I=[0,∞) and

w′(x)−α(x,w(x))≤0≤v′(x)−α(x,v(x))(x∈I),(C.3)w'(x)-\alpha(x,w(x))\le0\le v'(x)-\alpha(x,v(x))\qquad(x\in I),\qquad (C.3)w′(x)−α(x,w(x))≤0≤v′(x)−α(x,v(x))(x∈I),(C.3)

or I=(−∞,0]I=(-\infty,0]I=(−∞,0] and

v′(x)−α(x,v(x))≤0≤w′(x)−α(x,w(x))(x∈I).(C.4)v'(x)-\alpha(x,v(x))\le0\le w'(x)-\alpha(x,w(x))\qquad(x\in I).\qquad(C.4)v′(x)−α(x,v(x))≤0≤w′(x)−α(x,w(x))(x∈I).(C.4)

Then the differential equation y′(x)=α(x,y(x))y'(x)=\alpha(x,y(x))y′(x)=α(x,y(x)) has a solution φ\varphiφ on all of III with v≤φ≤wv\le\varphi\le wv≤φ≤w.

It is the existence tool for the ODE (3.8) on each half-line.

Formalization Note. Generic statement. α\alphaα and αy\alpha_yαy​ are functions on R2\mathbb R^2R2 of which only the values on Γ\GammaΓ matter; αy(x,y)\alpha_y(x,y)αy​(x,y) is required to be the derivative of y↦α(x,y)y\mapsto\alpha(x,y)y↦α(x,y) within [v(x),w(x)][v(x),w(x)][v(x),w(x)]. Derivatives of v,w,φv,w,\varphiv,w,φ at the endpoint 000 are one-sided (within III). The inequality directions are exactly those of the page.

Preamble
import Mathlib
Formal statement
namespace LiqProvision.Oligopoly
theorem proposition_C_4 (I : Set ℝ) (v w : ℝ → ℝ) (α αy : ℝ → ℝ → ℝ)
    (hv : DifferentiableOn ℝ v I) (hw : DifferentiableOn ℝ w I) (hvw : ∀ x ∈ I, v x ≤ w x)
    (hα : ContinuousOn (Function.uncurry α) {q : ℝ × ℝ | q.1 ∈ I ∧ v q.1 ≤ q.2 ∧ q.2 ≤ w q.1})
    (hαy : ContinuousOn (Function.uncurry αy) {q : ℝ × ℝ | q.1 ∈ I ∧ v q.1 ≤ q.2 ∧ q.2 ≤ w q.1})
    (hαy' : ∀ x ∈ I, ∀ y, v x ≤ y → y ≤ w x →
      HasDerivWithinAt (α x) (αy x y) (Set.Icc (v x) (w x)) y)
    (hcase : (I = Set.Ici 0 ∧ ∀ x ∈ I,
        derivWithin w I x - α x (w x) ≤ 0 ∧ 0 ≤ derivWithin v I x - α x (v x)) ∨
      (I = Set.Iic 0 ∧ ∀ x ∈ I,
        derivWithin v I x - α x (v x) ≤ 0 ∧ 0 ≤ derivWithin w I x - α x (w x))) :
    ∃ φ : ℝ → ℝ, (∀ x ∈ I, HasDerivWithinAt φ (α x (φ x)) I x) ∧
      ∀ x ∈ I, v x ≤ φ x ∧ φ x ≤ w x := by sorry
end LiqProvision.Oligopoly
Source
Herdegen, Muhle-Karbe and Stebegg, Liquidity Provision with Adverse Selection and Inventory Costs, arXiv:2107.12094v1, p. 33, Proposition C.4, (C.2)–(C.4)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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