§2.2, p. 10 and eq. (3), p. 13 — the scheme read off a DP path is a testing scheme whose rounded expected cost is the path cost
ProvedBatchTesting.PTAS.pathCost_eq_expectedCostdynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sequential-testing
Let be an instance with , , , , let , and let be any set of states. Let be a -path, and let be its testing scheme, whose -th batch is . Then is a testing scheme of , and its expected cost under the rounded costs is
This is the path form (3) of the recursion (1)–(2): the value of the dynamic program on any restricted state space is the expected cost of an actual testing scheme, which is how the algorithm turns its optimal path into its output.
Formalization Note. The factor converts the normalized units of (p. 8) back to the original units.
Preamble
import Mathlib import Definitions.Def_BatchTesting_PTAS_Model
Formal statement
namespace BatchTesting.PTAS
theorem pathCost_eq_expectedCost {n : ℕ} (I : Instance n) (hI : I.Standing) (eps : ℝ) (h0 : 0 < eps) (h1 : eps ≤ 1)
(G : Finset (State I eps)) (hG : G ⊆ F I eps) (π : List (State I eps)) (hπ : IsPath I eps G π) :
IsTestingScheme (schemeOf I eps π) ∧
expectedCostWith I (roundedCost I eps) (schemeOf I eps π) = cmin I * pathCost I eps π := 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. 10, §2.2, eq. (1); p. 11, eq. (2); p. 13, eq. (3)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.