Benchmark

non-incremental/QF_ANIA/20211213-GrandProduct-Ozdemir/unsound/same/6.smt2

# The special soundness of PLONK's grand product argument

Let F be a prime-order field and n a natural less than F's size. Let n = {1,
2, .., n} be a subset of F. The PLONK[1] grand product argument relies on the
fact that given a permutation pi: [n] -> [n] and functions A, B: [n] -> [n],

    prod_i (A(i) + beta * i + gamma) = prod_i (B(i) + beta * pi(i) + gamma)

holds for random beta, gamma in F with good probability only when A composed
with pi is B.

Does this implication hold in a deterministic setting, where the above is
checked for distinct---but non-random---beta and gamma?

If it is checked for n+1 distinct values of beta, and for each value of beta,
n+1 distinct values of gamma, then yes. One can prove this.

If it is checked for 2 distinct values of beta, and for each value of beta, n+1
distinct values of gamma, then no.

This series of benchmarks checks the implication holds
* for varying n
* for a fixed permutation pi = (2 3 ... n 1)
* for all A and B
  * that must be equal ("same") or may differ ("diff")
* for all distinct 2 ("unsound") or n+1 ("sound") beta values

rather than instantiating gamma explicitly, we just check that the multisets

    {{A[i] + beta * i}}_i  ==  {{B[i] + beta * pi(i)}}_i

are equal.

[1]: https://eprint.iacr.org/2019/953
Benchmark
Size5626
Compressed Size1782
License Creative Commons Attribution 4.0 International (CC-BY-4.0)
Categorycrafted
First Occurrence2022-08-10
Generated ByAlex Ozdemir
Generated On2021-12-13 00:00:00
GeneratorZ3Py API
Dolmen OK1
strict Dolmen OK1
check-sat calls1
Query 1
Status sat
Inferred Status sat
Size 5618
Compressed Size1806
Max. Term Depth35
Asserts 34
Declared Functions0
Declared Constants15
Declared Sorts 0
Defined Functions0
Defined Recursive Functions 0
Defined Sorts0
Constants0
Declared Datatypes0

Symbols

true1 not1 and2 =14
distinct1 let61 +48 *12
<=12 >=12 select24 store24

Evaluations

Evaluation Rating Solver Variant Result Wallclock CPU Time
SMT-COMP 2022 CVC4 CVC4-sq-final_default sat ✅ 5.43110 5.43101
cvc5 cvc5-default-2022-07-02-b15e116-wrapped_sq sat ✅ 167.72800 167.70800
MathSAT MathSAT-5.6.8_default sat ✅ 0.10234 0.10229
Z3 z3-4.8.17_default sat ✅ 0.73262 0.73421
SMT-COMP 2023 CVC4 CVC4-sq-final_default sat ✅ 54.88730 54.88070
cvc5 cvc5-default-2023-05-16-ea045f305_sq sat ✅ 33.45210 33.44840
SMTInterpol smtinterpol-2.5-1272-g2d6d356c_default sat ✅ 1.29502 3.50809
Yices2 Yices 2 for SMTCOMP 2023_default sat ✅ 0.09240 0.09235
SMT-COMP 2024 cvc5 cvc5 sat ✅ 8.38498 8.28114
SMTInterpol SMTInterpol sat ✅ 1.83078 4.99613
Yices2 Yices2 sat ✅ 2.28657 2.18629
SMT-COMP 2025 cvc5 cvc5 sat ✅ 28.55288 28.42865
SMTInterpol SMTInterpol sat ✅ 1.54556 4.10077
Yices2 Yices2 sat ✅ 1.00833 0.88194