Theorem 3.3, pp. 7–8 (corrected) — changing oracle answers on pairs of total query magnitude ≤ ε²/T moves the final state by ≤ 2ε
ProvedBBBV.RandomOracle.theorem_3_3Let be a -query algorithm with workspace , query strings and answers , and let be an oracle. Write for the state of at time when every query is answered by , and for the query magnitude of in (Definition 3.2). Let and let be a set of time–string pairs with
Modify the answer to each query to an arbitrary fixed value , and keep the answer for ; the modified answers need not come from a single oracle. If is the final state of under the modified answers, then
This is the hybrid argument: an algorithm cannot notice a change of the oracle on queries it makes with small total amplitude. Corollary 3.4 and the lower bound of Theorem 3.5 rest on it.
Formalization Note The paper prints the conclusion , which is false. Counterexample: one query string , answers in , trivial workspace, , , initial state , , , , : then , but the two final states are the initial state, at distance . The proof's step "the sum of squared magnitudes of all of the is equal to " omits a factor (the error of one step is applied to the querying part, of norm up to twice that part); with it the same argument gives , which the counterexample shows is sharp. The modified answers are a time-dependent family equal to off . At the bound is in Lean and is empty, so the statement holds trivially there as it does on the page.
import Mathlib import Definitions.Def_BBBV_RandomOracle_QueryModel
namespace BBBV.RandomOracle
theorem theorem_3_3 {X R W : Type} [Fintype X] [DecidableEq X] [Fintype R] [DecidableEq R]
[AddCommGroup R] [Fintype W] [DecidableEq W] {T : ℕ} (M : QueryAlg X R W T)
(A : X → R) (F : Finset (Fin T × X)) (a : Fin T → X → R)
(ha : ∀ i y, (i, y) ∉ F → a i y = A y) (ε : ℝ) (hε : 0 < ε)
(hF : ∑ p ∈ F, queryMag p.2 (state M (fun _ => A) p.1) ≤ ε ^ 2 / (T : ℝ)) :
‖final M (fun _ => A) - final M a‖ ≤ 2 * ε := by sorry
end BBBV.RandomOracle
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.