The raw field tests on typed PCP views #
Equations
Instances For
Equations
- MIPRE.SAT.PcpViewTests.certificates z ev = (List.drop 6 ev).zip z
Instances For
theorem
MIPRE.SAT.PcpViewTests.correctPairs_ofFn
{k : ℕ}
(E : BinField k)
(p : Cost.BitStr)
(hpk : List.length p = k)
{n : ℕ}
(a b : Fin n → E.carrier)
:
theorem
MIPRE.SAT.PcpViewTests.checks_typed_iff
{k : ℕ}
(E : BinField k)
(P : PcpParams)
[CharP E.carrier 2]
(root : E.carrier)
(p : Cost.BitStr)
(hp : p ≠ [])
(hpk : List.length p = k)
(hroot : root ^ List.length p = LowDegree.BinaryPolynomial.evalBits root p)
(hencode : ∀ (a : E.carrier), LowDegree.BinaryPolynomial.evalBits root (E.toBits a) = a)
(faithful :
∀ (a b : Cost.BitStr),
List.length a = List.length p →
List.length b = List.length p →
(LowDegree.BinaryPolynomial.evalBits root a = LowDegree.BinaryPolynomial.evalBits root b ↔ a = b))
(Φ : MvPolynomial (Fin P.m') E.carrier)
(z : Fin P.m' → E.carrier)
(φ : Cost.BitStr)
(hφ : List.length φ = List.length p)
(hφeval : LowDegree.BinaryPolynomial.evalBits root φ = (MvPolynomial.eval z) Φ)
(α : Fin 5 → E.carrier)
(β : Fin (P.m' + 1) → E.carrier)
:
On a typed view with canonical coefficient decoding, the executable tests
are exactly TypedAccepts, including the order of all certificate coordinates.