Documentation

CslibFrontier.Computability.Complexity.Classes.IP.Repetition

Sequential repetition of interactive proofs #

sequentialRepeat k round runs the verifier round up to k times in sequence against the same prover, stopping at the first rejection, and accepts when all k runs accept. The prover keeps its state from one run to the next and may adapt to everything it has seen.

If every prover, from every state, is accepted by one run with probability at most ε, then every prover is accepted by the repetition with probability at most ε ^ k (acceptProb_sequentialRepeat_le): the bound on each run holds whatever happened in the earlier runs. A prover accepted from each of its states with probability at least c is accepted by the repetition with probability at least c ^ k (le_acceptProb_sequentialRepeat), so perfect completeness is preserved. When the repetition count k : α → ℕ is computable in unary polynomial time, the repetition of a strict oracle PPT verifier is strict oracle PPT (IsOraclePPTOn.sequentialRepeat_count, with isOraclePPTOn_sequentialRepeat as the constant-k specialization). This is the amplification of Arora and Barak, Section 8.1 for sequential repetition.

Main definitions #

Main results #

References #

Run round up to k times in sequence, stopping at the first rejection; accept when all k runs accept.

theorem Cslib.Complexity.acceptProb_sequentialRepeat_le_of_forall_init {Operation : Type} {round : Probability.WordOracleComp Operation Bool} {ε : ENNReal} (P : Prover Operation) (h : ∀ (s : P.State), acceptProb round { State := P.State, init := s, respond := P.respond } ≤ ε) (k : ℕ) :
acceptProb (sequentialRepeat k round) P ≤ ε ^ k

If the acceptance probability of one round is at most ε from every state of a fixed prover, then the acceptance probability of k successive rounds is at most ε ^ k.

theorem Cslib.Complexity.acceptProb_sequentialRepeat_le {Operation : Type} {round : Probability.WordOracleComp Operation Bool} {ε : ENNReal} (h : ∀ (P : Prover Operation), acceptProb round P ≤ ε) (k : ℕ) (P : Prover Operation) :
acceptProb (sequentialRepeat k round) P ≤ ε ^ k

Soundness amplification. If every prover is accepted by one run with probability at most ε, every prover is accepted by k sequential runs with probability at most ε ^ k.

theorem Cslib.Complexity.le_acceptProb_sequentialRepeat {Operation : Type} {round : Probability.WordOracleComp Operation Bool} {c : ENNReal} (P : Prover Operation) (h : ∀ (s : P.State), c ≤ acceptProb round { State := P.State, init := s, respond := P.respond }) (k : ℕ) :

Completeness under repetition. A prover accepted by one run with probability at least c from each of its states is accepted by k sequential runs with probability at least c ^ k.

theorem Cslib.Complexity.sequentialRepeat_eq_iterate {Operation : Type} (k : ℕ) (round : Probability.WordOracleComp Operation Bool) :
sequentialRepeat k round = OracleComp.iterate k (fun (ok : Bool) => if ok = true then round else pure false) true

sequentialRepeat k round is k iterations of the step that runs round while the accumulator is true and stays at false once a run rejects, starting from true.

theorem Cslib.Probability.IsOraclePPTOn.sequentialRepeat_count {Operation α : Type} [DecidableEq Operation] [Finite Operation] {input : α ↪ List Bool} {k : α → ℕ} {round : α → WordOracleComp Operation Bool} (h : IsOraclePPTOn input Turing.MultiTapeTM.encBool round) (hk : Turing.MultiTapeTM.ComputableInPolyTime k input Turing.MultiTapeTM.encUnary) :

A polynomial number of sequential runs of a strict oracle PPT verifier is strict oracle PPT.

theorem Cslib.Complexity.isOraclePPTOn_sequentialRepeat {Operation α : Type} [DecidableEq Operation] [Finite Operation] {input : α ↪ List Bool} {round : α → Probability.WordOracleComp Operation Bool} (h : Probability.IsOraclePPTOn input Turing.MultiTapeTM.encBool round) (k : ℕ) :

A constant number of sequential runs of a strict oracle PPT verifier is strict oracle PPT.