Theorem 2, proof, p. 7 — the blue–red schedule detects every adaptive attack with probability exactly V(λ, t, p)
ProvedPerimeterPatrol.Visible.optimalPatrol_detection_eqLet , , , and let be the blue–red schedule of Theorem 2. For every attack — a start-time rule inside a fixed operating window , , that may depend on all patrollers seen up to the moment it starts — the detection probability is exactly the value (2):
In the paper's words (p. 7), each attack meets patrollers with probability and patrollers otherwise, however it uses what it has observed; so the defender guarantees (2). When is an integer, every attack meets exactly patrollers and the detection probability is , which is (2).
Formalization Note. The attack window is and the attacker may use the arrivals in , including a patroller passing exactly at ; observing from time rather than from only enlarges the attacker's options, so this statement is at least as strong as the page's. The page states the guarantee ("guarantees the detection probability in (2)"); the equality stated here is what its argument establishes.
import Mathlib import Definitions.Def_PerimeterPatrol_Visible_Model import Definitions.Def_PerimeterPatrol_Visible_OptimalPatrol
namespace PerimeterPatrol.Visible theorem optimalPatrol_detection_eq (lam t p : ℝ) (hlam : 0 < lam) (ht : 0 < t) (hp0 : 0 < p) (hp1 : p ≤ 1) (τ : (ℕ → ℝ) → ℝ) (hτ : IsAttack t τ) : detectionProb p t (optimalPatrol lam t) τ = patrolValue lam t p := by sorry end PerimeterPatrol.Visible
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.