Documentation

CslibFrontier.Computability.Complexity.Classes.MIP.SumcheckVerifier.Completeness

Perfect completeness of static sumcheck transcripts #

If a polynomial sums to zero on the Boolean cube, its honest coefficient rows pass every round for every tape of challenges. The final integer claim represents the polynomial evaluated at that tape.

Main results #

theorem Cslib.Complexity.MIP.SumcheckProof.transcript_complete {p n d width : ℕ} [Fact (Nat.Prime p)] (π : List Bool → Bool) (P : MvPolynomial (Fin n) (ZMod p)) (ext : List ℕ) (hzero : Interactive.Sumcheck.partialSum P Fin.elim0 = 0) (hπ : ∀ (rs : List ℕ), rs.length < n → rowPolynomial π p ext rs d width = Interactive.Sumcheck.roundPoly P fun (j : Fin rs.length) => ↑(rs.get j)) (z : Fin n → ℕ) :
(transcript π p ext d width (List.ofFn z)).ok = true ∧ ↑(transcript π p ext d width (List.ofFn z)).claim = (MvPolynomial.eval fun (j : Fin n) => ↑(z j)) P

With honest rows and a zero Boolean-cube sum, every tape of n challenges passes all consistency checks, and the final claim is P at the point represented by the tape.

theorem Cslib.Complexity.MIP.SumcheckProof.exists_proof_transcript_complete {p n d : ℕ} [Fact (Nat.Prime p)] (P : List ℕ → MvPolynomial (Fin n) (ZMod p)) (other : List Bool → ℕ) (hP : ∀ (ext : List ℕ) (i : Fin n), MvPolynomial.degreeOf i (P ext) ≤ d) :
∃ (π : List Bool → Bool), (∀ (ext : List ℕ) (w : ℕ) (z : Fin n → ℕ), p ≤ 2 ^ w → Interactive.Sumcheck.partialSum (P ext) Fin.elim0 = 0 → (transcript π p ext d w (List.ofFn z)).ok = true ∧ ↑(transcript π p ext d w (List.ofFn z)).claim = (MvPolynomial.eval fun (j : Fin n) => ↑(z j)) (P ext)) ∧ ∀ (key : List Bool) (w : ℕ), List.take 3 key ≠ [true, true, false] → ProofWord.value π key w = other key % 2 ^ w

A single static bit proof yields accepting transcripts and the correct final values for all honest zero-sum instances and all challenge tapes. Other tags retain the chosen table.