Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma C.3, pp. 32–33 — strict monotonicity of C¹ functions and its stability under small perturbations

Proved
LiqProvision.Oligopoly.lemma_C_3

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

calculusmonotonicityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1perturbation

Let I=(a,b)I=(a,b)I=(a,b) with −∞≤a<b≤∞-\infty\le a<b\le\infty−∞≤a<b≤∞, and let f:I→Rf:I\to\mathbb Rf:I→R be continuously differentiable.

  1. fff is increasing on III if and only if f′≥0f'\ge0f′≥0 on III and {x∈I:f′(x)=0}\{x\in I: f'(x)=0\}{x∈I:f′(x)=0} is nowhere dense.
  2. If fff is increasing on III, then for every compact K⊂{f′>0}K\subset\{f'>0\}K⊂{f′>0} and every continuously differentiable g:I→Rg:I\to\mathbb Rg:I→R vanishing outside KKK, there is ε′>0\varepsilon'>0ε′>0 such that
f+εg  is increasing on Ifor all ε∈[−ε′,ε′].f+\varepsilon g\ \text{ is increasing on } I\qquad\text{for all }\varepsilon\in[-\varepsilon',\varepsilon'] .f+εg  is increasing on Ifor all ε∈[−ε′,ε′].

It justifies the local perturbation argument in the derivation of the ODE (3.8).

Formalization Note. Generic statement. III is a nonempty open order-connected subset of R\mathbb RR, i.e. an open interval with possibly infinite ends. In (b) the page does not state that fff is increasing, but its proof uses {f′<0}=∅\{f'<0\}=\emptyset{f′<0}=∅ and the nowhere density of {f′=0}\{f'=0\}{f′=0}; without it (b) is false (take f(x)=−xf(x)=-xf(x)=−x and g=0g=0g=0). The statement adds that hypothesis.

Preamble
import Mathlib
Formal statement
namespace LiqProvision.Oligopoly
theorem lemma_C_3 (I : Set ℝ) (hIo : IsOpen I) (hIc : I.OrdConnected) (hIne : I.Nonempty)
    (f : ℝ → ℝ) (hf : ContDiffOn ℝ 1 f I) :
    (StrictMonoOn f I ↔
      (∀ x ∈ I, 0 ≤ deriv f x) ∧ IsNowhereDense {x | x ∈ I ∧ deriv f x = 0}) ∧
    (StrictMonoOn f I → ∀ Kc : Set ℝ, IsCompact Kc → Kc ⊆ {x | x ∈ I ∧ 0 < deriv f x} →
      ∀ g : ℝ → ℝ, ContDiffOn ℝ 1 g I → (∀ x ∈ I, x ∉ Kc → g x = 0) →
        ∃ ε' > 0, ∀ ε ∈ Set.Icc (-ε') ε', StrictMonoOn (fun x => f x + ε * g x) I) := by sorry
end LiqProvision.Oligopoly
Source
Herdegen, Muhle-Karbe and Stebegg, Liquidity Provision with Adverse Selection and Inventory Costs, arXiv:2107.12094v1, pp. 32–33, Lemma C.3
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