Corollary 3.4, p. 8 (corrected) — all but 4T²/ε² strings y can be changed in the oracle while moving the final state by ≤ ε
ProvedBBBV.RandomOracle.corollary_3_4Let be a -query algorithm and an oracle; write for the final state of with oracle , and for and any oracle that agrees with on every , write for the final state with oracle . Then for every there is a set with
such that for every and every such .
The set depends only on , and , not on or on the new answer at . The corollary says that a -query algorithm is sensitive to the oracle's value at only strings, which is what makes a search over strings need queries.
Formalization Note The paper prints the cardinality bound , which is false. Counterexample: query strings, an algorithm with querying the uniform superposition of all strings with answer register in one answer bit, , and flipping that bit at ; then for every , so with every must lie in , while . The bound printed follows from the uncorrected Theorem 3.3; with the corrected Theorem 3.3 (bound ) the proof's threshold becomes and the count .
import Mathlib import Definitions.Def_BBBV_RandomOracle_QueryModel
namespace BBBV.RandomOracle
theorem corollary_3_4 {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) (ε : ℝ) (hε : 0 < ε) :
∃ S : Finset X, (S.card : ℝ) ≤ 4 * (T : ℝ) ^ 2 / ε ^ 2 ∧
∀ y ∉ S, ∀ Ay : X → R, (∀ x, x ≠ y → Ay x = A x) →
‖final M (fun _ => A) - final M (fun _ => Ay)‖ ≤ ε := by sorry
end BBBV.RandomOracle
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.