Proof of Lemma 3, Component 2, pp. ec8–ec10 — the unmatched and the last T − τ subjects contribute O(T^{η/2}(log T)^{1/2})
ProvedPigeonholeDesign.Upper.component_2Fix . There are a constant and a threshold such that for every even and every arrival sequence the following holds. Run the pigeonhole design with the uniform pigeonholes of , and let be the set of matched subjects, so that its complement consists of the unmatched subjects together with the last subjects. Then
This is the second component of the proof of Lemma 3. Together with Component 1, and since a matching of the whole groups can be assembled from a matching inside and one outside it, it yields Lemma 3.
Formalization Note Only the component's conclusion is stated. The paper's intermediate claim that, conditional on , is not literally true because is read at the coin-dependent time ; it is not posed. The expectation is the average over all coin vectors; the complement of is balanced on every run (both the whole run and are balanced). and may depend on only. The logarithm is natural.
import Mathlib import Definitions.Def_PigeonholeDesign_Upper_Setting import Definitions.Def_PigeonholeDesign_Upper_Stopping
namespace PigeonholeDesign.Upper
theorem component_2 (η : ℝ) (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) →
(∑ coin : Fin T → Bool,
discrepancyOn x (assign (uniformHole ⌈(T : ℝ) ^ η⌉₊) x coin)
(matched (uniformHole ⌈(T : ℝ) ^ η⌉₊) x coin)ᶜ) / 2 ^ T
≤ C * ((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.