Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.1, p. ec25 (corrected: (EC.2.6) linear term over t = j, …, j_ℓ with b_{ℓ,t} = (T_ℓ+1−2t)/T_ℓ) — ω* minimizes f₁ over nondecreasing ω ∈ [−1, 1]^T

Proved
StaggeredRollout.TOpt.omega_star_minimizes_f1

by mikedeng1 · Oct 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

experimental-designkkt-conditionsp2o-batch-pfp2ap2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-v1quadratic-programmingstaggered-rollout

ω∗\omega^*ω∗ solves the relaxed fraction problem (proof of Theorem 3.1, p. ec25).

Let ℓ≥0\ell\ge0ℓ≥0, and if ℓ>0\ell>0ℓ>0 let T>(ℓ3+13ℓ2+7ℓ+3)/(8ℓ)T>(\ell^3+13\ell^2+7\ell+3)/(8\ell)T>(ℓ3+13ℓ2+7ℓ+3)/(8ℓ). For a path ω∈RT\omega\in\mathbb R^Tω∈RT let

f1(ω)=∑j=1ℓ+1[∑t=jT−ℓ−1+jωt2−1T−ℓ(∑t=jT−ℓ−1+jωt)2+∑t=jT−ℓ−1+j2(T−ℓ−1+2j−2t)T−ℓ ωt],f_1(\omega)=\sum_{j=1}^{\ell+1}\Big[\sum_{t=j}^{T-\ell-1+j}\omega_t^2-\frac1{T-\ell}\Big(\sum_{t=j}^{T-\ell-1+j}\omega_t\Big)^2+\sum_{t=j}^{T-\ell-1+j}\frac{2(T-\ell-1+2j-2t)}{T-\ell}\,\omega_t\Big],f1​(ω)=j=1∑ℓ+1​[t=j∑T−ℓ−1+j​ωt2​−T−ℓ1​(t=j∑T−ℓ−1+j​ωt​)2+t=j∑T−ℓ−1+j​T−ℓ2(T−ℓ−1+2j−2t)​ωt​],

which is ∑jfj,1(ω)\sum_j f_{j,1}(\omega)∑j​fj,1​(ω) with the corrected bℓb_\ellbℓ​. Then the S-shaped path ωℓ∗\omega^*_\ellωℓ∗​ of (3.4) is feasible for the relaxed problem

min⁡ f1(ω)s.t.−1≤ωt≤1,  ωt≤ωt+1,\min\ f_1(\omega)\quad\text{s.t.}\quad -1\le\omega_t\le1,\ \ \omega_t\le\omega_{t+1},min f1​(ω)s.t.−1≤ωt​≤1,  ωt​≤ωt+1​,

and minimizes it: f1(ωℓ∗)≤f1(ω)f_1(\omega^*_\ell)\le f_1(\omega)f1​(ωℓ∗​)≤f1​(ω) for every nondecreasing ω∈[−1,1]T\omega\in[-1,1]^Tω∈[−1,1]T.

Since fj,1f_{j,1}fj,1​ depends on a design only through its treated fractions, and every staggered design has a nondecreasing fraction path in [−1,1][-1,1][−1,1], this is the step of Theorem 3.1 that identifies the optimal fractions (1+ωℓ,t∗)/2(1+\omega^*_{\ell,t})/2(1+ωℓ,t∗​)/2.

Formalization Note ω\omegaω is a function Fin T → ℝ (0-based periods); "nondecreasing" is Monotone. Feasibility of ω∗\omega^*ω∗ is stated as part of "optimal solution".

Differences from the source:

  • correction: (EC.2.6): linear term Σ_{t=1}^{T−ℓ−1+j} 2(T−ℓ−1+2j−2t)/(T−ℓ) ω_t, and f_{j,1} with b_{ℓ,t} = (T_ℓ+2−2t)/T_ℓ in (EC.1.7) → f1 = Σ_j f1j with linear term 2 b_ℓ⊤ω_{j:j_ℓ} over the window t = j, …, j_ℓ and b_{ℓ,t} = (T_ℓ+1−2t)/T_ℓ; reason: with the printed sum from t = 1, ω* is not a minimizer: ℓ = 2, T = 6 (threshold 77/16) gives −11.446 at ω* and about −12.089 at the feasible ω ≈ (−1, −1, −0.393, 0.107, 0.571, 1); the window form is the one of the display closing the proof of Lemma EC.1.2 (p. ec20), and the printed b_ℓ is false by the counterexample in Lemma EC.1.2
  • reading: 'the ω* defined in Equation (3.5)' → omegaStar ℓ T, the ω* of (3.4); reason: (3.5) is the definition of 𝔸_opt; ω* is defined in (3.4)
  • reading: 'ω* is an optimal solution that minimizes f_{j,1}(Z)' over the constraints −1 ≤ ω_t ≤ 1, ω_t ≤ ω_{t+1} of the Lagrangian (p. ec21) → Monotone ω* ∧ −1 ≤ ω* ≤ 1 ∧ ∀ ω monotone with values in [−1, 1], f1 ω* ≤ f1 ω; reason: an optimal solution is feasible and attains the minimum; the minimized function is the sum over j, as in (EC.2.6)
  • reading: T > (ℓ³ + 13ℓ² + 7ℓ + 3)/(8ℓ) → 0 < ℓ → (ℓ³ + 13ℓ² + 7ℓ + 3)/(8ℓ) < T; reason: the expression is undefined at ℓ = 0, where Example 3.2 gives ω* for every T and the proof needs no condition
  • encoding: periods 1, …, T and adoption time ∞ → Fin T (0-based: period t is index t − 1) and ⊤ of WithTop (Fin T); reason: Lean convention; same instances, and ⊤ keeps 'larger = later' (footnote 6)
Preamble
import Mathlib
import Definitions.Def_StaggeredRollout_TOpt_Setting
import Definitions.Def_StaggeredRollout_TOpt_Quadratic
Formal statement
namespace StaggeredRollout.TOpt
open Matrix

theorem omega_star_minimizes_f1 (ℓ T : ℕ)
    (hT : 0 < ℓ → ((ℓ : ℝ) ^ 3 + 13 * (ℓ : ℝ) ^ 2 + 7 * (ℓ : ℝ) + 3) / (8 * (ℓ : ℝ)) < (T : ℝ)) :
    Monotone (omegaStar ℓ T) ∧ (∀ t, -1 ≤ omegaStar ℓ T t ∧ omegaStar ℓ T t ≤ 1) ∧
    ∀ ω : Fin T → ℝ, Monotone ω → (∀ t, -1 ≤ ω t ∧ ω t ≤ 1) →
      f1 ℓ T (omegaStar ℓ T) ≤ f1 ℓ T ω := by sorry

end StaggeredRollout.TOpt
Source
Xiong, Athey, Bayati, Imbens, Optimal Experimental Design for Staggered Rollouts, arXiv:1911.03764v6, p. ec25 (PDF 61), proof of Theorem 3.1, end of Case 3; feasible set from the Lagrangian on p. ec21, (EC.2.6)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me