Number of successful guesses in randomized adaptive singleton search
ProvedSATLocalQuery.Detector.randomized_singleton_success_card_lecombinatoricscomplexity-theorydecision-trees
Let a finite set of seeds index adaptive detectors that query an unknown Boolean oracle and output a guessed target or no guess. Assume each detector makes at most q queries when run with the identically false oracle. Over all ordered seed and target pairs, at most the number of seeds times q plus one, with q plus one taken as a factor, lead to an exact output guess when the oracle is true only at that target.
Preamble
import Definitions.Def_SATLocalQueryDetector open SATLocalQuery SATLocalQuery.Detector
Formal statement
theorem SATLocalQuery.Detector.randomized_singleton_success_card_le {I R : Type*}
[Fintype R] [DecidableEq R] [Fintype I] [DecidableEq I]
(D : R → Detector I (Option I)) (q : ℕ)
(short : ∀ r, (calls (fun _ => false) (D r)).length ≤ q) :
(Finset.univ.filter fun p : R × I => run (onlyAt p.2) (D p.1) = some p.2).card ≤
Fintype.card R * (q+1) := by sorrySource
The oracle transcript argument for searching a singleton.