Quadratic equation satisfiability #
This file defines the QESAT language and the exponential-length PCP for it.
The size of a QESAT instance if it was a binary string TODO: the proper way would be to use this: https://leanprover-community.github.io/mathlib4_docs/Mathlib/Computability/Encoding.html
Instances For
theorem
QESAT_exp_PCP
{vars : ℕ}
:
∃ (q : ℕ) (r : Polynomial ℕ),
QESAT (ZMod 2) vars ∈ PCP (QESAT.size (ZMod 2) vars) 0 (1 / 2) (ZMod 2) (fun (n : ℕ) => 2 ^ n) (fun (x : ℕ) => q) fun (x : ℕ) =>
Polynomial.eval x r