Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 13 — the cPDE allocation policy is asymptotically consistent

Proved
CorrelatedTrials.Consistency.theorem_1

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

allocation-policyasymptotic-consistencybayesian-learningclinical-trialsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (μ0,Σ0,λ,c)(\mu^0,\Sigma^0,\lambda,c)(μ0,Σ0,λ,c) be an instance: M≥2M\ge2M≥2 arms, a positive definite prior covariance Σ0\Sigma^0Σ0, sampling variances λi>0\lambda_i>0λi​>0 and costs ci>0c_i>0ci​>0 (Assumption 1). Run the trial forever under the cPDE allocation policy, which at each time samples an arm maximizing the index νi∗(μt,Σt)\nu^*_i(\mu^t,\Sigma^t)νi∗​(μt,Σt) of (EC.8). Then:

  1. for each arm iii, lim⁡T→∞Σi,iT=0\lim_{T\to\infty}\Sigma^T_{i,i}=0limT→∞​Σi,iT​=0 almost surely;
  2. for each arm iii, lim⁡T→∞νi∗(μT,ΣT)=−1\lim_{T\to\infty}\nu^*_i(\mu^T,\Sigma^T)=-1limT→∞​νi∗​(μT,ΣT)=−1 almost surely;
  3. for each arm iii, lim⁡T→∞μiT=θi\lim_{T\to\infty}\mu^T_i=\theta_ilimT→∞​μiT​=θi​ almost surely, and in L2L^2L2: each μiT−θi\mu^T_i-\theta_iμiT​−θi​ is square integrable and
lim⁡T→∞E[(μiT−θi)2]=0;\lim_{T\to\infty}\mathbb E\big[(\mu^T_i-\theta_i)^2\big]=0;T→∞lim​E[(μiT​−θi​)2]=0;
  1. almost surely, θ\thetaθ has a unique maximizing arm i∗i^*i∗, and for all sufficiently large TTT the posterior mean μT\mu^TμT has the same unique maximizing arm i∗i^*i∗.

So cPDE learns every arm's mean and eventually identifies the best intervention; the value per unit cost of further sampling tends to zero (the index tends to −1-1−1, the normalized cost of one sample).

Formalization Note

  1. νi∗\nu^*_iνi∗​ is (EC.8), with the term −1cimax⁡jμj-\frac1{c_i}\max_j\mu_j−ci​1​maxj​μj​ that (15) omits; its supremum is over bounded stopping times, which has the same value.
  2. Assumption 1 iii) holds trivially because every arm is eligible at every time.
  3. Ties in the cPDE argmax go to the least index (the paper: at random).
  4. The kkk-th sample of arm iii is θi+λi εi,k\theta_i+\sqrt{\lambda_i}\,\varepsilon_{i,k}θi​+λi​​εi,k​ with i.i.d. standard normal εi,k\varepsilon_{i,k}εi,k​ independent of θ\thetaθ.
  5. Part ii) is read with (μT,ΣT)(\mu^T,\Sigma^T)(μT,ΣT); part iv), whose printed "for each iii" plays no role, is read as uniqueness of the maximizer of θ\thetaθ plus eventual agreement of the unique maximizer of μT\mu^TμT.
  6. The L2L^2L2 convergence is stated through the L2L^2L2 norm (eLpNorm) with membership in L2L^2L2, not through an integral that would be 000 for a non-integrable function.

Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.

Preamble
import Mathlib
import Definitions.Def_CorrelatedTrials_Consistency_CpdeProcess

open MeasureTheory Filter Topology
Formal statement
namespace CorrelatedTrials.Consistency

/-- Theorem 1 (Chick, Gans, Yapar, Bayesian Sequential Learning for Clinical Trials of Multiple Correlated Medical Interventions, SSRN 3184758 (version of August 31, 2020), p. 13, Theorem 1; proof pp. ec3–ec7):
"Suppose Assumption 1 holds. Then i) lim_{T→∞} Σ^T_{i,i} = 0 almost surely for each i;
ii) lim_{T→∞} ν*_i(µ^t, Σ^t) = −1 almost surely for each i; iii) lim_{T→∞} µ^T_i = θ_i almost
surely and in L² for each i; and iv) lim_{T→∞} arg max{µ^T_i} = arg max{θ_i} almost surely for
each i."

Run the trial forever under the cPDE allocation policy. Then for each arm `i`, almost surely:
i) `Σ^T_{i,i} → 0`; ii) `ν*_i(µ^T, Σ^T) → −1`; iii) `µ^T_i → θ_i`, and also in `L²` (each
`µ^T_i − θ_i` is in `L²` and its `L²` norm tends to `0`); iv) almost surely `θ` has a unique
maximizing arm `i*`, and `µ^T` has the same unique maximizing arm for all large `T`.

Formalization Note:
1. `ν*_i` is (EC.8), not (15) (which lacks `−(1/c_i) max_j µ_j`).
2. The supremum in (EC.8) is over bounded stopping times `1 ≤ T_i ≤ N` (same value).
3. Assumption 1 is the structure `Instance` (`M ≥ 2`, `Σ0` positive definite, `λ_i > 0`,
   `c_i > 0`, `∆ = 1`); Assumption 1 iii) is trivial because every arm is eligible
   (`M_t = M`).
4. Ties in the cPDE argmax are broken toward the least index (the paper: randomly).
5. The `k`-th sample of arm `i` is `θ_i + √λ_i ε_{i,k}` with i.i.d. standard normal
   `ε_{i,k}` independent of `θ`.
6. ii) is read with `(µ^T, Σ^T)`; iv) as "θ has a unique maximizer and `µ^T` eventually has the
   same unique maximizer".
7. Arms are `Fin M`, 0-based; time `t` counts the observations so far. -/
theorem theorem_1 {M : ℕ} (I : Instance M) :
    (∀ i, ∀ᵐ ω ∂(trialMeasure I), Tendsto (fun T => Sig I T ω i i) atTop (𝓝 0)) ∧
      (∀ i, ∀ᵐ ω ∂(trialMeasure I),
        Tendsto (fun T => nuStar I.lam I.c (mu I T ω) (Sig I T ω) i) atTop (𝓝 (-1))) ∧
      (∀ i, (∀ᵐ ω ∂(trialMeasure I), Tendsto (fun T => mu I T ω i) atTop (𝓝 (theta ω i))) ∧
        (∀ T, MemLp (fun ω => mu I T ω i - theta ω i) 2 (trialMeasure I)) ∧
        Tendsto (fun T => eLpNorm (fun ω => mu I T ω i - theta ω i) 2 (trialMeasure I))
          atTop (𝓝 0)) ∧
      (∀ᵐ ω ∂(trialMeasure I), ∃ i, (∀ j, j ≠ i → theta ω j < theta ω i) ∧
        ∀ᶠ T in atTop, ∀ j, j ≠ i → mu I T ω j < mu I T ω i) := by sorry

end CorrelatedTrials.Consistency
Source
Chick, Gans, Yapar, Bayesian Sequential Learning for Clinical Trials of Multiple Correlated Medical Interventions, SSRN 3184758 (version of August 31, 2020), p. 13, Theorem 1 (proof pp. ec3–ec7, B.4)
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 18, 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