Lemma 3 — T^η uniform pigeonholes give expected discrepancy O(T^{1/2−η/2} + T^{η/2}(log T)^{1/2})
ProvedPigeonholeDesign.Upper.lemma_3Fix and consider one continuous covariate (, ) with values in . Let the pigeonhole design use the uniform pigeonholes
Then there are a constant and a threshold , depending only on , such that for every even and every arrival sequence chosen in advance, the expected discrepancy of the design satisfies
This is the main upper bound of the paper for one covariate. The first term comes from subjects matched within a pigeonhole and the second from the balancing of the leftover subjects; at the bound is (Corollary 1), against for the completely randomized design (Lemma 2).
Formalization Note The printed partition has cells, which is not an integer in general; the formalization uses cells of length , the last one closed, which coincides with the printed partition when is an integer. The expectation is the average of the discrepancy over all coin vectors (not one run and not the best run), and the bound is uniform over all . "On the order of " is read as before and . The logarithm is natural, and also avoids the degenerate values where .
import Mathlib import Definitions.Def_PigeonholeDesign_Upper_Setting
namespace PigeonholeDesign.Upper
theorem lemma_3 (η : ℝ) (hη0 : 0 < η) (hη1 : η < 1) :
∃ C : ℝ, 0 < C ∧ ∃ T₀ : ℕ, ∀ T : ℕ, T₀ ≤ T → Even T →
∀ x : Fin T → ℝ, (∀ t, x t ∈ Set.Icc (0 : ℝ) 1) →
phdExp (uniformHole ⌈(T : ℝ) ^ η⌉₊) x
≤ C * ((T : ℝ) ^ (1 / 2 - η / 2) + (T : ℝ) ^ (η / 2) * Real.sqrt (Real.log T)) := by sorry
end PigeonholeDesign.Upper
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.