Theorem 2, p. 13 β for m = 0 the unique minimax-optimal regular design is π* = [T]; for T = nm, m β₯ 1, n β₯ 4 it is π* = {1, 2m+1, β¦, (nβ2)m+1}; both with fair coins
ProvedSwitchbackExp.Design.theorem_2Let and consider regular switchback designs under Assumptions 1β3 with bound , with estimand and estimator of lag .
- If and , the regular design with randomization points and fair coins solves the minimax problem
and every solution of (6) has and . 2. If and for an integer , the regular design with
and fair coins solves (6), and every solution of (6) has and .
The optimal design randomizes once every periods, except for the first and the last epoch, which last periods each; the optimal randomization frequency depends on the physical duration of the carryover effect.
Formalization Note The statement combines Theorem 2's closed form with Theorem 1's fair coins, and asserts both existence and uniqueness of the optimum ("the optimal solution"). The comparison class in (6) is every regular design with , not only fair-coin designs. in the case is the page's requirement that be a positive integer: has . The first sentence of Theorem 2 (equivalence of (6) with (7)) is a separate item, because as printed it fails for short horizons.
import Mathlib import Definitions.Def_SwitchbackExp_Design_Model import Definitions.Def_SwitchbackExp_Design_Setting
namespace SwitchbackExp.Design
/-- Theorem 2 (p. 13), closed form, with Theorem 1: for `m = 0` (and `T β₯ 2`) the unique minimax-optimal
regular design is `π* = [T]` with fair coins; for `m β₯ 1` and `T = n m`, `n β₯ 4`, it is
`π* = {1, 2m+1, 3m+1, β¦, (nβ2)m+1}` with fair coins. -/
theorem theorem_2 (m T : β) (B : β) (hB : 0 < B) :
(m = 0 β 2 β€ T β
IsMinimaxOptimal 0 T B (Finset.Icc 1 T) half β§
β (P : Finset β) (q : β β β), IsMinimaxOptimal 0 T B P q β
P = Finset.Icc 1 T β§ β t β P, q t = 1 / 2) β§
(β n : β, 1 β€ m β 4 β€ n β T = n * m β
IsMinimaxOptimal m T B (optPoints m n) half β§
β (P : Finset β) (q : β β β), IsMinimaxOptimal m T B P q β
P = optPoints m n β§ β t β P, q t = 1 / 2) := by sorry
end SwitchbackExp.Design
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.