Documentation

CslibFrontier.Computability.Complexity.Classes.MIP.AxisSoundness

Soundness bounds for the axis and arithmetic checks #

If a static proof frequently fails the axis test, a conjunction that runs the axis test rejects at least as often. Otherwise the point table is close to a multilinear assignment, and the arithmetic check can use that assignment to bound acceptance. The fair-bit sampling precision and field-size estimates below quantify both cases.

Main definitions #

Main results #

Denominator of the ideal axis-line rejection threshold in dimension n.

theorem Cslib.Complexity.MIP.arithmeticError_le_half {n p R d : ℕ} {H : ℝ} (hp : 1000 * (n + 1) ^ 3 + 100 * (R + 1) * (d + 1) < p) (hH : H < ↑p ^ n / (100 * (↑n + 1))) :
have precision := (4 * axisGapDenominator n).size; ↑R * (↑d + 1) / ↑p + 3 * ((↑n + 1) * H / ↑p ^ n + 1 / 2 ^ precision) + (1 / 2 ^ precision + 1 / 2 ^ precision) ≤ 1 / 2

In a prime field above the stated size, the arithmetic error, three corrected evaluation errors and dyadic sampling errors sum to at most one half. The normalized Hamming bound comes from the axis test.

theorem Cslib.Complexity.MIP.axisAnd_accept_le (π : List Bool → Bool) {n p : ℕ} [NeZero n] [Fact (Nat.Prime p)] (hq : 1000 * (n + 1) ^ 3 ≤ p) (arithmetic : Probability.WordOracleComp Unit Bool) (hnear : ∀ A ∈ MvPolynomial.restrictDegree (Fin n) (ZMod p) 1, ↑(hammingDist (proofPoint π p) fun (x : Fin n → ZMod p) => (MvPolynomial.eval x) A) < ↑p ^ n / (100 * (↑n + 1)) → ((PMF.map Prod.fst ((Prover.ofProof π).run arithmetic ())) true).toReal ≤ 1 / 2) :
have precision := (4 * axisGapDenominator n).size; (PMF.map Prod.fst ((Prover.ofProof π).run (do let ok ← axisRound n p precision if ok = true then arithmetic else pure false) ())) true ≤ 1 - (2 * ↑(axisGapDenominator n))⁻¹

If the arithmetic verifier accepts with probability at most one half whenever the proof table is close to a multilinear assignment, its conjunction with the native axis test rejects with probability at least 1 / (2 * axisGapDenominator n). The phases share the proof.