Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.1 Step 2a, p. 14 (C = 2) — R(z_1, z_2) equals the printed rational function and is at least 4/5

Proved
StaticReusable.Guarantee.step_2a_C2

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polynomial-inequalityreusable-resourcesstatic-pricing

For C=2C = 2C=2 and all z1,z2≥0z_1, z_2 \ge 0z1​,z2​≥0,

R(z1,z2)=z12+4z1z2+3z1+4z22+6z2+2z12+4z1z2+2z1+5z22+6z2+2≥45.R(z_1, z_2) = \frac{z_1^2 + 4z_1z_2 + 3z_1 + 4z_2^2 + 6z_2 + 2}{z_1^2 + 4z_1z_2 + 2z_1 + 5z_2^2 + 6z_2 + 2} \ge \frac45 .R(z1​,z2​)=z12​+4z1​z2​+2z1​+5z22​+6z2​+2z12​+4z1​z2​+3z1​+4z22​+6z2​+2​≥54​.

This is the case C=2C = 2C=2 of the bound on the stock-in ratio; 4/5>15/194/5 > 15/194/5>15/19.

Formalization Note The closed form is included as a conjunct; it equals the general definition of RRR with a0=1a_0 = 1a0​=1, a1=2a_1 = 2a1​=2, a2=2a_2 = 2a2​=2, after dividing numerator and denominator by 444.

Preamble
import Mathlib
import Definitions.Def_StaticReusable_Guarantee_Setting

open Finset
Formal statement
namespace StaticReusable.Guarantee

theorem step_2a_C2 (z : ℕ → ℝ) (hz1 : 0 ≤ z 1) (hz2 : 0 ≤ z 2) :
    R 2 z = (z 1 ^ 2 + 4 * z 1 * z 2 + 3 * z 1 + 4 * z 2 ^ 2 + 6 * z 2 + 2) /
        (z 1 ^ 2 + 4 * z 1 * z 2 + 2 * z 1 + 5 * z 2 ^ 2 + 6 * z 2 + 2) ∧
      (4 / 5 : ℝ) ≤ R 2 z := by sorry
end StaticReusable.Guarantee
Source
Besbes, Elmachtoub and Sun, Static Pricing: Universal Guarantees for Reusable Resources, arXiv:1905.00731v3, p. 14, §3.1, Step 2a (case C = 2)
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

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