The scalar sumcheck verifier with a static bit proof #
The verifier receives its independent challenges on a binary tape. Each coefficient row is addressed by the external challenges and the preceding entries of the tape.
Main definitions #
Cslib.Complexity.MIP.SumcheckProof.verifyRoundsqueries the proof on a supplied challenge tape.Cslib.Complexity.MIP.SumcheckProof.transcriptcomputes that state from an explicit bit table.
Main results #
Cslib.Complexity.MIP.SumcheckProof.isOraclePPTOn_verifyRoundscertifies the strict running time.Cslib.Complexity.MIP.SumcheckProof.run_verifyRoundscomputes the transcript for any bit table.
theorem Cslib.Complexity.MIP.SumcheckProof.isOraclePPTOn_verifyRounds {α : Type} {e : α ↪ List Bool} {p d width : α → ℕ} {external rs : α → List ℕ} (hp : Turing.MultiTapeTM.ComputableInPolyTime p e Turing.MultiTapeTM.encNat) (he : Turing.MultiTapeTM.ComputableInPolyTime external e (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encNat)) (hd : Turing.MultiTapeTM.ComputableInPolyTime d e Turing.MultiTapeTM.encUnary) (hw : Turing.MultiTapeTM.ComputableInPolyTime width e Turing.MultiTapeTM.encUnary) (hr : Turing.MultiTapeTM.ComputableInPolyTime rs e (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encNat)) :
Probability.IsOraclePPTOn e Interactive.Sumcheck.encWordState fun (a : α) =>
verifyRounds (p a) (external a) (d a) (width a) (rs a)
The transcript verifier is strict oracle polynomial time, including against arbitrary stateful oracles. Its parameters and complete challenge tape may depend on the original input.
theorem Cslib.Complexity.MIP.SumcheckProof.transcript_snoc (π : List Bool → Bool) (p : ℕ) (ext : List ℕ) (d w r : ℕ) (rs : List ℕ) :
transcript π p ext d w (rs ++ [r]) = (transcript π p ext d w rs).advance p (row π ext (transcript π p ext d w rs).challenges d w) r
Appending one challenge advances the state from its prefix.