Benchmark

non-incremental/QF_ANIA/20211213-GrandProduct-Ozdemir/sound/same/11.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
Size34717
Compressed Size7825
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 unsat
Inferred Status None
Size 34709
Compressed Size7840
Max. Term Depth60
Asserts 69
Declared Functions0
Declared Constants35
Declared Sorts 0
Defined Functions0
Defined Recursive Functions 0
Defined Sorts0
Constants0
Declared Datatypes0

Symbols

true1 not1 and2 =34
distinct1 let661 +528 *132
<=22 >=22 select264 store264

Evaluations

Evaluation Rating Solver Variant Result Wallclock CPU Time
SMT-COMP 2022 1.00 (0/4) CVC4 CVC4-sq-final_default unknown ❌ 1200.02000 1199.77000
cvc5 cvc5-default-2022-07-02-b15e116-wrapped_sq unknown ❌ 1200.11000 1199.73000
MathSAT MathSAT-5.6.8_default unknown ❌ 1200.03000 1199.90000
Z3 z3-4.8.17_default unknown ❌ 1200.02000 1199.96000
SMT-COMP 2023 1.00 (0/4) CVC4 CVC4-sq-final_default unknown ❌ 1200.03000 1199.67000
cvc5 cvc5-default-2023-05-16-ea045f305_sq unknown ❌ 1200.03000 1199.62000
SMTInterpol smtinterpol-2.5-1272-g2d6d356c_default unknown ❌ 1200.02000 1229.01000
Yices2 Yices 2 for SMTCOMP 2023_default unknown ❌ 1200.11000 1199.88000
SMT-COMP 2024 1.00 (0/3) cvc5 cvc5 unknown ❌ 1201.71824 1201.08535
SMTInterpol SMTInterpol unknown ❌ 1201.77027 1235.86916
Yices2 Yices2 unknown ❌ 1201.25065 1200.72414
SMT-COMP 2025 1.00 (0/3) cvc5 cvc5 unknown ❌ 1201.77239 1201.02324
SMTInterpol SMTInterpol unknown ❌ 1201.36760 1246.93673
Yices2 Yices2 unknown ❌ 1201.71410 1201.49991