Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7, p. 17 — per-piece bounds for the rounded utility ((d), (e) on the open piece)

Proved
FairRentFPTAS.Approx.lemma_7

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

approximationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rent-divisionrounding

Let I\mathcal II be well formed and 0<ε<10<\varepsilon<10<ε<1. Fix a,ra,ra,r and a bounded piece [x1,x2][x_1,x_2][x1​,x2​] of va(r,⋅)v_a(r,\cdot)va​(r,⋅) (after its zero zraz^a_rzra​ has been made a break point) with slope magnitude λ\lambdaλ, H=va(r,x1)H=v_a(r,x_1)H=va​(r,x1​), B=va(r,x2)B=v_a(r,x_2)B=va​(r,x2​) and λˉ=(1+ε)⌈log⁡1+ελ⌉\bar\lambda=(1+\varepsilon)^{\lceil\log_{1+\varepsilon}\lambda\rceil}λˉ=(1+ε)⌈log1+ε​λ⌉. For all x∈[x1,x2]x\in[x_1,x_2]x∈[x1​,x2​]:

(a) vˉa(r,x)≥va(r,x)\bar v_a(r,x)\ge v_a(r,x)vˉa​(r,x)≥va​(r,x); (b) B+λˉ(x2−x)≥vˉa(r,x)B+\bar\lambda(x_2-x)\ge\bar v_a(r,x)B+λˉ(x2​−x)≥vˉa​(r,x); (c) H−λˉ1+ε(x−x1)≥vˉa(r,x)H-\frac{\bar\lambda}{1+\varepsilon}(x-x_1)\ge\bar v_a(r,x)H−1+ελˉ​(x−x1​)≥vˉa​(r,x);

and for all x∈(x1,x2)x\in(x_1,x_2)x∈(x1​,x2​):

(d) vˉa(r,x)≥0  ⟺  H≥0\bar v_a(r,x)\ge0\iff H\ge0vˉa​(r,x)≥0⟺H≥0 and B≥0B\ge0B≥0; (e) vˉa(r,x)≤0  ⟺  H≤0\bar v_a(r,x)\le0\iff H\le0vˉa​(r,x)≤0⟺H≤0 and B≤0B\le0B≤0.

These are the inequalities used in both cases of the proof of Lemma 9.

Formalization Note The page states (d) and (e) on the closed piece; at an endpoint equal to zraz^a_rzra​ the "only if" directions fail (for v(x)=1−xv(x)=1-xv(x)=1−x, the piece [1,2][1,2][1,2] has H=0H=0H=0, B=−1B=-1B=−1 and vˉ(1)=0≥0\bar v(1)=0\ge0vˉ(1)=0≥0), so they are stated on the open piece.

Preamble
import Mathlib
import Definitions.Def_FairRentFPTAS_Approx_Model
Formal statement
namespace FairRentFPTAS.Approx

/-- Lemma 7, p. 17: for each bounded piece `[x₁, x₂]` (slope `λ`, `H = v(x₁)`, `B = v(x₂)`)
of `v_a(r, ·)` with its zero inserted as a break point, and `λ̄ = (1+ε)^⌈log_{1+ε} λ⌉`:
(a) `v̄ ≥ v`, (b) `B + λ̄ (x₂ − x) ≥ v̄`, (c) `H − λ̄/(1+ε) (x − x₁) ≥ v̄` on `[x₁, x₂]`, and
(d) `v̄ ≥ 0 ⇔ H ≥ 0 ∧ B ≥ 0`, (e) `v̄ ≤ 0 ⇔ H ≤ 0 ∧ B ≤ 0` on `(x₁, x₂)`. -/
theorem lemma_7 {n : ℕ} (I : Instance n) (ε : ℝ) (hI : Standing I) (hε : 0 < ε) (hε1 : ε < 1)
    (a r : Fin n) (e e' : ℝ × ℝ) (hpiece : [e, e'] <:+: (refineZero (I.v a r)).pieces) :
    (∀ x, e.1 ≤ x → x ≤ e'.1 →
      (I.v a r).eval x ≤ ((roundInst ε I).v a r).eval x ∧
      ((roundInst ε I).v a r).eval x ≤ (I.v a r).eval e'.1 + roundUp ε e.2 * (e'.1 - x) ∧
      ((roundInst ε I).v a r).eval x ≤ (I.v a r).eval e.1 - roundUp ε e.2 / (1 + ε) * (x - e.1)) ∧
    (∀ x, e.1 < x → x < e'.1 →
      (0 ≤ ((roundInst ε I).v a r).eval x ↔ 0 ≤ (I.v a r).eval e.1 ∧ 0 ≤ (I.v a r).eval e'.1) ∧
      (((roundInst ε I).v a r).eval x ≤ 0 ↔ (I.v a r).eval e.1 ≤ 0 ∧ (I.v a r).eval e'.1 ≤ 0)) := by sorry

end FairRentFPTAS.Approx
Source
Arunachaleswaran, Barman & Rathi, Fully Polynomial-Time Approximation Schemes for Fair Rent Division, arXiv:1807.04163v1, p. 17, Lemma 7
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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