Formal verification complete: Theorem 2 and all 12 mission targets are Proved. The main theorem has 0 open proof dependencies, including the zero-multiplier case. These results apply to the formalized independent-box model described below. Paper: arXiv v3. The revised statement formalized here is intended for v4, which will be available on arXiv shortly.
An experiment can be valuable without being worth its price. In Bayesian optimization, a function evaluation may require training a model, running a simulation, or carrying out a laboratory experiment. The decision is therefore both where to evaluate and how much information to buy. A rule that responds only to relative costs can miss the effect of making every evaluation expensive.
Xie, Astudillo, Frazier, Scully, and Terenin connect this question to Pandora's box, a sequential search problem with independent hidden rewards. Their paper uses the exact solution of this simpler model to motivate an acquisition function for Bayesian optimization. This mission formalizes the author-revised version of the paper's fixed expected-budget result, Theorem 2, including its zero-multiplier boundary. Theorem 1, the classical cost-per-sample result attributed to Weitzman, is supporting material. Paper, Sections 2–3.
There are finitely many boxes in a nonempty set . Box contains a real random reward with a known distribution and finite absolute first moment. The rewards are mutually independent. Opening it costs a deterministic amount and reveals its reward exactly.
A policy chooses a first box, then uses its observed history and independent randomization to choose an unopened box or stop. It must open at least one box, cannot reopen a box, and cannot resume after stopping. Its terminal reward is the largest observed reward. There is no outside option of zero. Define
For a fixed real budget , feasibility means . This is an expected-budget constraint; individual runs may exceed . Write
For , the reservation index is the unique finite solution of
At zero multiplier, the formalization defines
This is an explicit extension of the paper's positive-cost definition. A generalized Gittins policy first opens a maximal-index box. It subsequently opens a remaining maximal-index box when its index exceeds the incumbent, and stops when the incumbent exceeds every remaining index. Equality permits either action. Ties between boxes and stopping ties may be randomized. The zero branch is not defined by choosing an arbitrary root of the zero-level improvement equation. Original positive-cost rule, equation (5) and Section 3.2.
Use the budget condition in the author-revised Theorem 2 supplied on 23 October 2026,
There is no upper budget cap: the target includes , as well as budgets below that sum.
Define the dual envelope
The main target is the existence of minimizing this envelope on and a generalized Gittins policy satisfying
Thus the policy is optimal for the fixed expected budget. Positive multipliers require exact expected expenditure; zero multipliers permit slack. No strict reward-gap assumption is imposed on this main target, and no continuity, atomlessness, or boundedness assumption is added to the reward laws.
Correction relative to arXiv v3. Theorem 2 in that version requires a strictly positive multiplier under the numerical budget bounds alone. That conclusion has a counterexample: independent rewards , , unit costs, and . Opening box 2 and then box 1 exactly when achieves within budget, whereas every positive-multiplier index policy has strictly smaller reward. Lemma 9's inference that every zero-penalty optimum must open all boxes is invalid. The mission targets the author-revised statement, which allows zero multipliers and removes the upper budget bound, rather than the strict-positivity claim in arXiv v3. Source statement and proof, Appendix B.5.
Supporting targets include the reservation root; Theorem 1; exact-budget and complementary-slackness certificates; convexity and attainment of the dual minimum; joint expected-cost and expected-reward limits at positive multipliers; budget matching and Gittins cost extrema; a zero-multiplier policy-limit lemma; and a feasible zero-index policy when zero minimizes the dual. Some milestones isolate or strengthen steps used in the revised proof rather than reproducing a numbered statement verbatim. The corrected positivity result remains as a supporting corollary:
Budgeted Pandora’s box is motivated by a common feature of Bayesian optimization in practice: experiments, simulations, and model evaluations must be chosen within a limited resource budget. It asks how to choose evaluations sequentially to maximize the expected best observed reward, subject here to a bound on expected total cost. An optimal index policy for this problem provides a theoretical benchmark for budget-aware Bayesian optimization.
All 12 linked theorem targets have completed Lean proofs, including the zero-multiplier boundary and the supporting probability, policy-limit, and optimization results. The verified development establishes the author-revised expected-budget theorem and supplies reusable components for finite adaptive search and constrained optimization.
The empirical performance of the acquisition function and the extension to correlated Gaussian-process Bayesian optimization are outside the goal. No global Bayes-optimality claim is made for that correlated extension. Paper, Section 3.3.
An optimal penalized policy need not meet a prescribed budget. Atoms and tied indices can make expenditure jump as the multiplier changes. The targets therefore include expected-cost extremes within the index-policy class and randomization that interpolates those costs.
At zero multiplier, finite reservation roots can escape to positive infinity. Arbitrary ties in the resulting extended indices need not respect the budget; the zero-dual-minimum milestone asserts existence of a feasible choice, rather than feasibility of all choices. Finite first moments must suffice throughout.
The convergence target records both expected reward and expected cost, including the slope needed in the envelope argument. The directional derivative of an affine objective uses its linear part; Lemma 13 in the author-revised manuscript includes this correction. Earlier proof in arXiv v3, before the revision, Appendices B.5–B.6.
The Lean model uses boxes, integrable Borel probability laws on , their product measure, and an independent uniform seed on . Measurable policies observe ordered padded histories. Finite recursion enforces irreversible stopping and distinct openings. Terminal maxima start at the first observation, not zero.
Expectations are Bochner integrals; their integrability and the boundedness of real policy suprema are established from the model in the verified supporting lemmas. Zero indices use EReal and the infimum of almost-sure upper bounds. Index conditions apply to all valid histories, including histories of probability zero. Negative multipliers are excluded by the generalized-rule definition. The strict-gap predicate is used only for the positivity corollary.
Definitions contain no proof placeholders. All twelve linked targets have status Proved, and the main theorem has zero open proof dependencies. Verification was performed by Prove2Me's server using Lean 4.33.1 with Mathlib revision 0df444a360eaa60ab8c11dca51a86af692955474.
The paper is available as arXiv v3. The revised statement formalized here is intended for v4, which will be available on arXiv shortly.
namespace PandoraBO.Private20261023
theorem budgeted_pandora_gittins_optimality {n : ℕ} (M : Instance n)
(B : ℝ) (hslater : ∃ i : Box n, M.cost i < B) :
∃ multiplier : ℝ, dualMinimizer M B multiplier ∧ ∃ π : Policy n,
isGeneralizedGittinsPolicy M multiplier π ∧ optimal M multiplier π ∧
complementarySlackness M B multiplier π ∧ budgetOptimal M B π := by sorry
end PandoraBO.Private20261023
Consider a finite nonempty set of boxes . Box has an independent, integrable real reward and a deterministic opening cost . Policies are measurable and choose actions using only observed rewards and independent randomization. They must open at least one box, may open each box at most once, and cannot resume after stopping.
For a policy , let be the random set of boxes it opens. Define its expected terminal reward and expected total opening cost by
The expectation is over the box rewards and the policy's randomization. A fixed expected budget means that a feasible policy satisfies . The actual total cost in an individual run may exceed ; the constraint bounds its expectation.
Assume
There is no upper bound on . For a nonnegative cost multiplier , define the dual objective
where the supremum ranges over all admissible policies, without imposing the budget constraint. Then there exist a multiplier minimizing over and a generalized Gittins policy such that
Thus maximizes expected reward among all policies satisfying the expected-budget constraint.
For , the index is the unique finite solution of , where , and the policy spends exactly in expectation. For , the index is , possibly , and unused budget is permitted. The index policy first opens a maximal-index box, then opens an unopened maximal-index box when its index exceeds the best observed reward, and stops when the best observed reward exceeds every remaining index. Equality permits either action; ties may be randomized.
Paper (arXiv v3). The revised statement formalized here is intended for v4, which will be available on arXiv shortly. No strict reward-gap, bounded-support, continuity, or atomlessness assumption is added. The formal statement and all its proof dependencies have been verified by Prove2Me's Lean 4 server.
No open leaves. Every sub-goal is proved or awaiting decomposition.