An honest static table for line correction #
For each point and direction of a multilinear assignment, the prover stores one padded coefficient word at the tagged correction key. The remaining proof addresses can carry other parts of the verifier's proof.
Main results #
extendCorrectionTablestores the coefficients at all the canonical correction keys.correctionAnswer_extendCorrectionTableproves that every direction yields the value of the prescribed assignment, including the zero direction.
noncomputable def Cslib.Complexity.MIP.extendCorrectionTable {p n : ℕ} [Fact (Nat.Prime p)] {f : (Fin n → ZMod p) → ZMod p} (hf : Code.IsMultilinear f) (other : List Bool → ℕ) :
A single natural-valued table stores an honest coefficient word for every canonical point–direction pair, with precisely the verifier's reply width. Other keys keep the background table.
theorem Cslib.Complexity.MIP.extendCorrectionTable_of_take_ne {p n : ℕ} [Fact (Nat.Prime p)] {f : (Fin n → ZMod p) → ZMod p} (hf : Code.IsMultilinear f) (other : List Bool → ℕ) {key : List Bool} (h : List.take 3 key ≠ [true, true, true]) :
extendCorrectionTable hf other key = other key
The correction table leaves all keys outside the 111 prefix available to the other
oracle checks.
theorem Cslib.Complexity.MIP.correctionAnswer_extendCorrectionTable {p n : ℕ} [Fact (Nat.Prime p)] {f : (Fin n → ZMod p) → ZMod p} (hf : Code.IsMultilinear f) (other : List Bool → ℕ) (π : List Bool → Bool) (hpoint : proofPoint π p = f) (hπ :
∀ (key : List Bool),
List.take 3 key = [true, true, true] →
ProofWord.value π key (QBFProtocol.replyLimit p n) = extendCorrectionTable hf other key % 2 ^ QBFProtocol.replyLimit p n) (x v : Fin n → ZMod p) :
On an honest point table, representing the correction table at its own keys and width makes every deterministic line check return the value at the requested point.