Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property C, p. 19 (proof pp. 22–24) — per-step charging with factors 1+3ϵ1+3\epsilon1+3ϵ and 2ϵ22\epsilon^22ϵ2

Proved
BatchTesting.PTAS.property_C

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

approximation-schemecharging-argumentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sequential-testing

In the setting of Lemma 5 — an instance with n≥1n\ge1n≥1, pi∈[0,1]p_i\in[0,1]pi​∈[0,1], ci>0c_i>0ci​>0, β≥0\beta\ge0β≥0, 0<ϵ≤10<\epsilon\le10<ϵ≤1, a path N∗N^*N∗ over the nice-looking states, its bucketed subsequence N⋄N^{\diamond}N⋄ with actions Δ⋄(m)=N⋄(m)−N⋄(m−1)\Delta^{\diamond(m)}=N^{\diamond(m)}-N^{\diamond(m-1)}Δ⋄(m)=N⋄(m)−N⋄(m−1), and the §4.5 actions Δ(m)\Delta^{(m)}Δ(m) — for every 1≤m≤M1\le m\le M1≤m≤M,

∑r=0RΔr(m)(1+ϵ)r ≤ (1+3ϵ)∑r=0RΔr⋄(m)(1+ϵ)r + 2ϵ2∑m′=1m−1∑r=0RΔr⋄(m′)(1+ϵ)r.\sum_{r=0}^{R}\Delta^{(m)}_r(1+\epsilon)^r\ \le\ (1+3\epsilon)\sum_{r=0}^{R}\Delta^{\diamond(m)}_r(1+\epsilon)^r\ +\ 2\epsilon^2\sum_{m'=1}^{m-1}\sum_{r=0}^{R}\Delta^{\diamond(m')}_r(1+\epsilon)^r.r=0∑R​Δr(m)​(1+ϵ)r ≤ (1+3ϵ)r=0∑R​Δr⋄(m)​(1+ϵ)r + 2ϵ2m′=1∑m−1​r=0∑R​Δr⋄(m′)​(1+ϵ)r.

The testing cost of each great-looking step is at most 1+3ϵ1+3\epsilon1+3ϵ times that of the bucketed step plus a 2ϵ22\epsilon^22ϵ2 share of everything tested before; combined with Lemmas 3 and 4 this gives the explicit factor of Theorem 3.

Formalization Note. Δ(m)\Delta^{(m)}Δ(m) is the integer-valued action of §4.5 (the same object as in Lemma 5). The proof uses 1+ϵ≤21+\epsilon\le21+ϵ≤2 (inequality (12), p. 24), covered by the hypothesis ϵ≤1\epsilon\le1ϵ≤1.

Preamble
import Mathlib
import Definitions.Def_BatchTesting_PTAS_Model
Formal statement
namespace BatchTesting.PTAS

theorem property_C {n : ℕ} (I : Instance n) (hI : I.Standing) (eps : ℝ) (h0 : 0 < eps) (h1 : eps ≤ 1)
    (πs : List (State I eps)) (hπs : IsPath I eps (FNice I eps) πs) :
    ∀ m, m + 1 < (bucketed I eps πs).length →
      ∑ r, (greatDeltaZ I eps ((greatSeq I eps (bucketed I eps πs)).getD m 0)
          ((bucketed I eps πs).getD (m + 1) 0) r : ℝ) * (1 + eps) ^ (r : ℕ) ≤
        (1 + 3 * eps) * ∑ r, ((((bucketed I eps πs).getD (m + 1) 0 -
            (bucketed I eps πs).getD m 0) r : ℕ) : ℝ) * (1 + eps) ^ (r : ℕ) +
        2 * eps ^ 2 * ∑ j ∈ Finset.range m, ∑ r, ((((bucketed I eps πs).getD (j + 1) 0 -
            (bucketed I eps πs).getD j 0) r : ℕ) : ℝ) * (1 + eps) ^ (r : ℕ) := by sorry

end BatchTesting.PTAS
Source
Segev & Shaposhnik, A Polynomial-Time Approximation Scheme for Sequential Batch Testing of Series Systems, SSRN preprint 3277805 (Nov. 2018), p. 19, §4.4, Property C (proof pp. 22–24, inequalities (8)–(12))
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