Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 5, pp. 18–19 (PDF 20–21) — the optimal sample size grows as the square root of the post-adoption population (Case III constant corrected)

Proved
ValueTrial.Asymptotic.proposition_5

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

asymptoticsclinical-trialsoptimal-sample-sizep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1value-of-information

Consider the value-based trial model under its standing assumptions, without discounting (ρ=0\rho=0ρ=0), with setup cost ccap(r)=cfix+crrc_{cap}(r)=c_{fix}+c_rrccap​(r)=cfix​+cr​r, cfix≥0c_{fix}\ge0cfix​≥0, cr≥0c_r\ge0cr​≥0, and

C=c−δon(1−2pN)μ0/2>0.C=c-\delta_{on}(1-2p_N)\mu_0/2>0 .C=c−δon​(1−2pN​)μ0​/2>0.

Write ϕ\phiϕ for the standard normal density, Ψ\PsiΨ for the standard normal linear loss, σ0=σX/n0\sigma_0=\sigma_X/\sqrt{n_0}σ0​=σX​/n0​​, and

v∞=(1−pN)σ0Ψ(−μ0/σ0)+pNσ0Ψ(μ0/σ0).v_\infty=(1-p_N)\sigma_0\Psi(-\mu_0/\sigma_0)+p_N\sigma_0\Psi(\mu_0/\sigma_0).v∞​=(1−pN​)σ0​Ψ(−μ0​/σ0​)+pN​σ0​Ψ(μ0​/σ0​).

The decision sets are those of §3.6.1: in Cases I and II the rate is fixed at 0<r=rmax⁡≤ζ0<r=r_{\max}\le\zeta0<r=rmax​≤ζ and T≥0T\ge0T≥0 is free; in Case III the duration is fixed at T=Tmax⁡>0T=T_{\max}>0T=Tmax​>0 and r≥0r\ge0r≥0 is free; in Case IV both are free; under the fixed horizon P(T)=ζ(H−T−1T>0Δ)P(T)=\zeta(H-T-\mathbf 1_{T>0}\Delta)P(T)=ζ(H−T−1T>0​Δ) the trial ends by H−ΔH-\DeltaH−Δ. In each case, optimal designs exist for all sufficiently large PPP (resp. HHH), and every choice of optimal designs, with Q∗=T∗r∗/2Q^*=T^*r^*/2Q∗=T∗r∗/2, satisfies:

  1. Case I (cr=0c_r=0cr​=0, fixed patient pool PPP): lim⁡P→∞Q∗P=(n0σX2 ϕ(μ0/σ0)4C)1/2\displaystyle\lim_{P\to\infty}\frac{Q^*}{\sqrt P}=\left(\frac{\sqrt{n_0\sigma_X^2}\,\phi(\mu_0/\sigma_0)}{4C}\right)^{1/2}P→∞lim​P​Q∗​=(4Cn0​σX2​​ϕ(μ0​/σ0​)​)1/2 and lim⁡P→∞V∗P=v∞\displaystyle\lim_{P\to\infty}\frac{V^*}{P}=v_\inftyP→∞lim​PV∗​=v∞​.
  2. Case III (cr>0c_r>0cr​>0, fixed patient pool PPP): lim⁡P→∞Q∗P=(n0σX2 ϕ(μ0/σ0)4(C+cr/Tmax⁡))1/2\displaystyle\lim_{P\to\infty}\frac{Q^*}{\sqrt P}=\left(\frac{\sqrt{n_0\sigma_X^2}\,\phi(\mu_0/\sigma_0)}{4(C+c_r/T_{\max})}\right)^{1/2}P→∞lim​P​Q∗​=(4(C+cr​/Tmax​)n0​σX2​​ϕ(μ0​/σ0​)​)1/2 and lim⁡P→∞V∗P=v∞\displaystyle\lim_{P\to\infty}\frac{V^*}{P}=v_\inftyP→∞lim​PV∗​=v∞​.
  3. Case II (cr=0c_r=0cr​=0, fixed horizon): lim⁡H→∞V∗ζ(H−Δ)=v∞\displaystyle\lim_{H\to\infty}\frac{V^*}{\zeta(H-\Delta)}=v_\inftyH→∞lim​ζ(H−Δ)V∗​=v∞​ and
lim⁡H→∞Q∗ζ(H−Δ)=(n0σX2 ϕ(μ0/σ0)4C+4ζσ0(Ψ(μ0/σ0)+(1−pN)μ0/σ0)/rmax⁡)1/2.\lim_{H\to\infty}\frac{Q^*}{\sqrt{\zeta(H-\Delta)}}=\left(\frac{\sqrt{n_0\sigma_X^2}\,\phi(\mu_0/\sigma_0)}{4C+4\zeta\sigma_0\big(\Psi(\mu_0/\sigma_0)+(1-p_N)\mu_0/\sigma_0\big)/r_{\max}}\right)^{1/2}.H→∞lim​ζ(H−Δ)​Q∗​=(4C+4ζσ0​(Ψ(μ0​/σ0​)+(1−pN​)μ0​/σ0​)/rmax​n0​σX2​​ϕ(μ0​/σ0​)​)1/2.
  1. Case IV (cr>0c_r>0cr​>0, fixed horizon): lim⁡H→∞V∗ζ(H−Δ)=v∞\displaystyle\lim_{H\to\infty}\frac{V^*}{\zeta(H-\Delta)}=v_\inftyH→∞lim​ζ(H−Δ)V∗​=v∞​ and lim⁡H→∞Q∗ζ(H−Δ)=(n0σX2 ϕ(μ0/σ0)4C)1/2\displaystyle\lim_{H\to\infty}\frac{Q^*}{\sqrt{\zeta(H-\Delta)}}=\left(\frac{\sqrt{n_0\sigma_X^2}\,\phi(\mu_0/\sigma_0)}{4C}\right)^{1/2}H→∞lim​ζ(H−Δ)​Q∗​=(4Cn0​σX2​​ϕ(μ0​/σ0​)​)1/2.

The optimal sample size grows like the square root of the post-adoption population, the optimal value per post-adoption patient tends to the same v∞v_\inftyv∞​ under a fixed pool and a fixed horizon, and the switching costs IN,ISI_N,I_SIN​,IS​ drop out of every limit.

Formalization Note (i) The page prints the Case I constant for Case III as well; with T=Tmax⁡T=T_{\max}T=Tmax​ fixed the cost of QQQ pairs is cfix+2Q(C+cr/Tmax⁡)c_{fix}+2Q(C+c_r/T_{\max})cfix​+2Q(C+cr​/Tmax​), so CCC must be replaced by C+cr/Tmax⁡C+c_r/T_{\max}C+cr​/Tmax​ (numerically, at pN=0.3,μ0=0.4,n0=2,σX=3,c=1,δon=1,cr=2,Tmax⁡=3p_N=0.3,\mu_0=0.4,n_0=2,\sigma_X=3,c=1,\delta_{on}=1,c_r=2,T_{\max}=3pN​=0.3,μ0​=0.4,n0​=2,σX​=3,c=1,δon​=1,cr​=2,Tmax​=3: Q∗/P=0.5118Q^*/\sqrt P=0.5118Q∗/P​=0.5118 at P=1010P=10^{10}P=1010 against the corrected 0.51180.51180.5118 and the printed 0.67220.67220.6722). The statement uses the corrected constant. (ii) "Q∗Q^*Q∗" presupposes an optimal design; the limits hold for every selection of optimizers, and existence for large PPP (resp. HHH) is asserted as an extra conjunct so that the statement is not vacuous. (iii) The cap T≤H−ΔT\le H-\DeltaT≤H−Δ under the fixed horizon keeps P(T)≥0P(T)\ge0P(T)≥0 (§2.4.1, Table EC.1). (iv) cfix≥0c_{fix}\ge0cfix​≥0 is the model's nonnegative setup cost.

Preamble
import Mathlib
import Definitions.Def_ValueTrial_Asymptotic_Model

open MeasureTheory ProbabilityTheory Filter
Formal statement
namespace ValueTrial.Asymptotic

/-- Proposition 5, pp. 18–19 (PDF 20–21), Case III constant corrected. Assume
`c - δon(1 - 2pN)µ0/2 > 0`, `ρ = 0` and `ccap(r) = cfix + cr r` with `cr ≥ 0`, and use the decision sets of
§3.6.1 (Cases I and II: `r = rmax` with `0 < rmax ≤ ζ`, `T` free; Case III: `T = Tmax`, `r` free; Case IV: both free; with
a fixed horizon the trial ends by `H - ∆`). In each case optimal designs exist for all large `P`
(resp. `H`), and every selection of optimal designs, with `Q* = T* r*/2`, satisfies:
* Case I (`cr = 0`, fixed pool): `Q*/√P → (√(n0σX²) ϕ(µ0/σ0) / (4C))^{1/2}`, `V*/P → v∞`;
* Case III (`cr > 0`, fixed pool): `Q*/√P → (√(n0σX²) ϕ(µ0/σ0) / (4(C + cr/Tmax)))^{1/2}`
  (the page prints the Case I constant), `V*/P → v∞`;
* Case II (`cr = 0`, fixed horizon): `V*/(ζ(H - ∆)) → v∞` and
  `Q*/√(ζ(H - ∆)) → (√(n0σX²) ϕ(µ0/σ0) / (4C + 4ζσ0(Ψ(µ0/σ0) + (1 - pN)µ0/σ0)/rmax))^{1/2}`;
* Case IV (`cr > 0`, fixed horizon): `V*/(ζ(H - ∆)) → v∞` and
  `Q*/√(ζ(H - ∆)) → (√(n0σX²) ϕ(µ0/σ0) / (4C))^{1/2}`;
where `C = c - δon(1 - 2pN)µ0/2` and `v∞ = (1 - pN)σ0Ψ(-µ0/σ0) + pNσ0Ψ(µ0/σ0)`. -/
theorem proposition_5 (θ : Params) (hS : θ.Standing) (hρ : θ.rho = 0) (cfix cr : ℝ)
    (hcfix : 0 ≤ cfix) (hcr : 0 ≤ cr) (hC : 0 < Cnet θ) :
    -- Case I: cr = 0, fixed patient pool, r = rmax
    (cr = 0 → ∀ rmax : ℝ, 0 < rmax → rmax ≤ θ.zeta →
      (∀ᶠ P in atTop, ∃ x : ℝ × ℝ,
          IsOptOn (V θ (fun r => cfix + cr * r) (fixedPool P)) {x | 0 ≤ x.1 ∧ x.2 = rmax} x) ∧
      ∀ xs : ℝ → ℝ × ℝ,
        (∀ᶠ P in atTop, IsOptOn (V θ (fun r => cfix + cr * r) (fixedPool P))
            {x | 0 ≤ x.1 ∧ x.2 = rmax} (xs P)) →
        Tendsto (fun P => (xs P).1 * (xs P).2 / 2 / Real.sqrt P) atTop
            (nhds (Real.sqrt (Real.sqrt (θ.n0 * θ.sigX ^ 2) * phi0 θ / (4 * Cnet θ)))) ∧
          Tendsto (fun P => V θ (fun r => cfix + cr * r) (fixedPool P) (xs P) / P) atTop
            (nhds (vInf θ))) ∧
    -- Case III (constant corrected): cr > 0, fixed patient pool, T = Tmax
    (0 < cr → ∀ Tmax : ℝ, 0 < Tmax →
      (∀ᶠ P in atTop, ∃ x : ℝ × ℝ,
          IsOptOn (V θ (fun r => cfix + cr * r) (fixedPool P)) {x | x.1 = Tmax ∧ 0 ≤ x.2} x) ∧
      ∀ xs : ℝ → ℝ × ℝ,
        (∀ᶠ P in atTop, IsOptOn (V θ (fun r => cfix + cr * r) (fixedPool P))
            {x | x.1 = Tmax ∧ 0 ≤ x.2} (xs P)) →
        Tendsto (fun P => (xs P).1 * (xs P).2 / 2 / Real.sqrt P) atTop
            (nhds (Real.sqrt (Real.sqrt (θ.n0 * θ.sigX ^ 2) * phi0 θ /
              (4 * (Cnet θ + cr / Tmax))))) ∧
          Tendsto (fun P => V θ (fun r => cfix + cr * r) (fixedPool P) (xs P) / P) atTop
            (nhds (vInf θ))) ∧
    -- Case II: cr = 0, fixed horizon, r = rmax
    (cr = 0 → ∀ rmax : ℝ, 0 < rmax → rmax ≤ θ.zeta →
      (∀ᶠ H in atTop, ∃ x : ℝ × ℝ,
          IsOptOn (V θ (fun r => cfix + cr * r) (fixedHorizon θ H))
            {x | 0 ≤ x.1 ∧ x.1 ≤ H - θ.Del ∧ x.2 = rmax} x) ∧
      ∀ xs : ℝ → ℝ × ℝ,
        (∀ᶠ H in atTop, IsOptOn (V θ (fun r => cfix + cr * r) (fixedHorizon θ H))
            {x | 0 ≤ x.1 ∧ x.1 ≤ H - θ.Del ∧ x.2 = rmax} (xs H)) →
        Tendsto (fun H => V θ (fun r => cfix + cr * r) (fixedHorizon θ H) (xs H) /
            (θ.zeta * (H - θ.Del))) atTop (nhds (vInf θ)) ∧
          Tendsto (fun H => (xs H).1 * (xs H).2 / 2 / Real.sqrt (θ.zeta * (H - θ.Del))) atTop
            (nhds (Real.sqrt (Real.sqrt (θ.n0 * θ.sigX ^ 2) * phi0 θ /
              (4 * Cnet θ + 4 * θ.zeta * sig0 θ *
                (InventoryControl.normalLoss (θ.mu0 / sig0 θ)
                  + (1 - θ.pN) * θ.mu0 / sig0 θ) / rmax))))) ∧
    -- Case IV: cr > 0, fixed horizon, T and r free
    (0 < cr →
      (∀ᶠ H in atTop, ∃ x : ℝ × ℝ,
          IsOptOn (V θ (fun r => cfix + cr * r) (fixedHorizon θ H))
            {x | 0 ≤ x.1 ∧ x.1 ≤ H - θ.Del ∧ 0 ≤ x.2} x) ∧
      ∀ xs : ℝ → ℝ × ℝ,
        (∀ᶠ H in atTop, IsOptOn (V θ (fun r => cfix + cr * r) (fixedHorizon θ H))
            {x | 0 ≤ x.1 ∧ x.1 ≤ H - θ.Del ∧ 0 ≤ x.2} (xs H)) →
        Tendsto (fun H => V θ (fun r => cfix + cr * r) (fixedHorizon θ H) (xs H) /
            (θ.zeta * (H - θ.Del))) atTop (nhds (vInf θ)) ∧
          Tendsto (fun H => (xs H).1 * (xs H).2 / 2 / Real.sqrt (θ.zeta * (H - θ.Del))) atTop
            (nhds (Real.sqrt (Real.sqrt (θ.n0 * θ.sigX ^ 2) * phi0 θ / (4 * Cnet θ))))) := by sorry

end ValueTrial.Asymptotic
Source
Alban, Chick & Forster, Value-based clinical trials, accepted manuscript (Management Science 69(6), 2023; IRIS UniBo 11585/879132), pp. 18–19 (PDF 20–21), §3.6.1, Proposition 5 (Case III constant corrected); proof App. C.4, pp. ec10–ec16 (PDF 47–53)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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