Documentation

CslibFrontier.Computability.Complexity.Classes.MIP.Correction

Recovering an oracle value by checking a random affine line #

The verifier reads the coefficient word of a line through the requested point, then checks the values of the point table at its first n + 1 positive nodes. It returns the polynomial value at zero when all comparisons succeed. Each coordinate of the direction comes from bounded fair coins. The verifier reads both tables from the same static bit proof.

Main definitions #

Main results #

The coefficient word for an affine line, with tag 111 and the framed unary coordinate lists of its evaluation point and direction.

def Cslib.Complexity.MIP.correctionReply (π : List Bool → Bool) {p n : ℕ} (x v : Fin n → ZMod p) :

The bits supplied by a fixed proof for the polynomial on the line through x along v.

def Cslib.Complexity.MIP.correctionAnswer (π : List Bool → Bool) {p n : ℕ} (x v : Fin n → ZMod p) :

The deterministic line check on the tables of the same proof, evaluated on field elements.

Read the fixed-width coefficient word and all point values for a supplied direction.

noncomputable def Cslib.Complexity.MIP.correctPoint (p n precision : ℕ) (point : List ℕ) :

Sample a direction with bounded fair coins and return the checked value at the given point. A failed comparison returns none.

theorem Cslib.Complexity.MIP.run_correctAt (π : List Bool → Bool) {p n : ℕ} [Fact (Nat.Prime p)] (x v : Fin n → ZMod p) :
(Prover.ofProof π).run (correctAt p n (List.ofFn fun (j : Fin n) => (x j).val) (List.ofFn fun (j : Fin n) => (v j).val)) () = PMF.pure (correctionAnswer π x v, ())

The native bit-oracle verifier returns exactly the deterministic field check against the same fixed proof, including when a field representative is noncanonical or addresses repeat.

The supplied-direction correction verifier is strict polynomial time for unary field parameters and coordinate lists, including all its individual bit queries.

The bounded-coin correction verifier is strict oracle polynomial time on unary moduli, dimensions, precision parameters and point coordinates.