Theorem 4 proof, Eq. (13) — a fixed query list recovers on Construction 2 w.p.
ProvedCyclicForrelation.Even.fixed_queries_success_boundLet , , and . Draw the seed of Construction 2 uniformly: shifts , sign functions , and a sign . This yields the oracle tuple , for , and . Fix any list of at most queries and any real-valued postprocessing of the ordered answer list. Then
This is the deterministic heart of the bound (13)–(14) in the proof of Theorem 4. Let be the set of points at which queries , and let be the -way collision event that some queried has for all . Off , every queried value of involves an unqueried entry of some , so the answers are independent of . Since , an -approximation of determines , giving success probability at most . Finally, by a union bound over collision tuples and AM–GM.
Formalization Note Probabilities over the uniform seed are written as counts over the finite seed type MultiShiftSeed n m. Oracles and the list use zero-based indices: even zero-based indices are the character oracles, and odd ones are the and the final oracle.
import Definitions.Def_CyclicForrelation_Even_multiShift
namespace CyclicForrelation.Even
/-- Deterministic core of Eqs. (13)–(14): for a fixed list L of at most q queries and any
postprocessing g, the fraction of Construction 2 seeds on which g(answers) is ε-close to the
hidden sign σ (with ε < 1) is at most 1/2 + (q/m)^m / (2 N^(m-1)). -/
theorem fixed_queries_success_bound (n m : ℕ) (hm : 2 ≤ m) (ε : ℝ) (hε1 : ε < 1) (q : ℕ)
(L : List (Fin (2 * m) × Cube n)) (hL : L.length ≤ q) (g : List Bool → ℝ) :
(((Finset.univ.filter (fun s : MultiShiftSeed n m =>
|g (L.map (fun p => constructionTwo s p.1 p.2)) - signValue s.2.2| ≤ ε)).card : ℕ) : ℝ) ≤
(1 / 2 + ((q : ℝ) / m) ^ m / (2 * (cubeSize n : ℝ) ^ (m - 1))) *
(Fintype.card (MultiShiftSeed n m) : ℝ) := by sorry
end CyclicForrelation.Even