Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma C.2, p. 32 — integration by parts against a survival function

Proved
LiqProvision.Oligopoly.lemma_C_2

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

calculusintegration-by-partsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1survival-function

Let f≥0f\ge0f≥0 be integrable on (0,∞)(0,\infty)(0,∞) and put Fˉ(x)=∫x∞f(t) dt\bar F(x)=\int_x^\infty f(t)\,dtFˉ(x)=∫x∞​f(t)dt. Let ggg be integrable on every [0,y][0,y][0,y] and put G(x)=∫0xg(t) dtG(x)=\int_0^x g(t)\,dtG(x)=∫0x​g(t)dt. Suppose there is a nonnegative, nondecreasing HHH on [0,∞)[0,\infty)[0,∞) with ∣G∣≤H|G|\le H∣G∣≤H and ∫0∞H(x)f(x) dx<∞\int_0^\infty H(x)f(x)\,dx<\infty∫0∞​H(x)f(x)dx<∞. Then

∫0∞G(x)f(x) dx=lim⁡y→∞∫0yg(x)Fˉ(x) dx.\int_0^\infty G(x)f(x)\,dx=\lim_{y\to\infty}\int_0^y g(x)\bar F(x)\,dx .∫0∞​G(x)f(x)dx=y→∞lim​∫0y​g(x)Fˉ(x)dx.

It is the integration by parts used to rewrite the dealers' goal functionals.

Formalization Note. Generic statement. The page states the conclusion with a minus sign, ∫0∞Gf=−∫0∞gFˉ\int_0^\infty Gf=-\int_0^\infty g\bar F∫0∞​Gf=−∫0∞​gFˉ, which is false (take f(x)=e−xf(x)=e^{-x}f(x)=e−x, g≡1g\equiv1g≡1, G(x)=H(x)=xG(x)=H(x)=xG(x)=H(x)=x: both sides of the corrected identity equal 111). The proof on p. 32 derives the identity with a plus sign. The right side is stated as an improper integral, as the proof obtains it, because gFˉg\bar FgFˉ need not be absolutely integrable. Absolute continuity of Fˉ\bar FFˉ and GGG follows from their integral forms and is not a separate hypothesis. "Borel" is subsumed by integrability.

Preamble
import Mathlib
Formal statement
namespace LiqProvision.Oligopoly
open Filter Topology in
theorem lemma_C_2 (f g H : ℝ → ℝ) (hf0 : ∀ x, 0 ≤ x → 0 ≤ f x)
    (hfint : MeasureTheory.IntegrableOn f (Set.Ioi 0))
    (hgloc : ∀ y, 0 ≤ y → MeasureTheory.IntegrableOn g (Set.Icc 0 y))
    (hH0 : ∀ x, 0 ≤ x → 0 ≤ H x) (hHmono : MonotoneOn H (Set.Ici 0))
    (hGH : ∀ x, 0 ≤ x → |∫ t in (0 : ℝ)..x, g t| ≤ H x)
    (hHf : MeasureTheory.IntegrableOn (fun x => H x * f x) (Set.Ici 0)) :
    Tendsto (fun y => ∫ x in (0 : ℝ)..y, g x * ∫ t in Set.Ioi x, f t) atTop
      (𝓝 (∫ x in Set.Ioi 0, (∫ t in (0 : ℝ)..x, g t) * f x)) := by sorry
end LiqProvision.Oligopoly
Source
Herdegen, Muhle-Karbe and Stebegg, Liquidity Provision with Adverse Selection and Inventory Costs, arXiv:2107.12094v1, p. 32, Lemma C.2
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