§2.1, p. 8 — rounding the costs up to powers of changes every expected cost by a factor in
ProvedBatchTesting.PTAS.rounding_sandwichapproximation-schemep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1roundingsequential-testing
Let be an instance of sequential batch testing on variables with , and , and let . Let be the cost rounded up: is replaced by the nearest power of at or above it. Write for the expected cost of a testing scheme under individual costs . Then for every testing scheme ,
This is the first step of the algorithm: after rounding, the optimal expected cost grows by a factor of at most , and the variables fall into cost classes of identical cost.
Formalization Note. The rounded costs are in the original units ( times a power of ), so both sides compare the same set-up cost . and are used; is a mission-wide hypothesis, not needed here.
Preamble
import Mathlib import Definitions.Def_BatchTesting_PTAS_Model
Formal statement
namespace BatchTesting.PTAS
theorem rounding_sandwich {n : ℕ} (I : Instance n) (hI : I.Standing) (eps : ℝ) (h0 : 0 < eps) (h1 : eps ≤ 1)
(S : List (Finset (Fin n))) (hS : IsTestingScheme S) :
expectedCost I S ≤ expectedCostWith I (roundedCost I eps) S ∧
expectedCostWith I (roundedCost I eps) S ≤ (1 + eps) * expectedCost I S := 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. 8, §2.1 (Creating cost classes)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.