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)
ProvedValueTrial.Asymptotic.proposition_5Consider the value-based trial model under its standing assumptions, without discounting (), with setup cost , , , and
Write for the standard normal density, for the standard normal linear loss, , and
The decision sets are those of §3.6.1: in Cases I and II the rate is fixed at and is free; in Case III the duration is fixed at and is free; in Case IV both are free; under the fixed horizon the trial ends by . In each case, optimal designs exist for all sufficiently large (resp. ), and every choice of optimal designs, with , satisfies:
- Case I (, fixed patient pool ): and .
- Case III (, fixed patient pool ): and .
- Case II (, fixed horizon): and
- Case IV (, fixed horizon): and .
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 under a fixed pool and a fixed horizon, and the switching costs drop out of every limit.
Formalization Note (i) The page prints the Case I constant for Case III as well; with fixed the cost of pairs is , so must be replaced by (numerically, at : at against the corrected and the printed ). The statement uses the corrected constant. (ii) "" presupposes an optimal design; the limits hold for every selection of optimizers, and existence for large (resp. ) is asserted as an extra conjunct so that the statement is not vacuous. (iii) The cap under the fixed horizon keeps (§2.4.1, Table EC.1). (iv) is the model's nonnegative setup cost.
import Mathlib import Definitions.Def_ValueTrial_Asymptotic_Model open MeasureTheory ProbabilityTheory Filter
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.