Benchmark

non-incremental/QF_NIA/20230328-sqrtmodinv-hoenicke/modInv8.smt2

This checks the validity of some code to compute the modular inverse
of an odd denominator mod 2^256.  The code is:

  assume (denominator mod 2) == 1
  inv = (3 * denominator) xor 2
  inv = inv * (2 - denominator * inv)
  inv = inv * (2 - denominator * inv)
  inv = inv * (2 - denominator * inv)
  inv = inv * (2 - denominator * inv)
  inv = inv * (2 - denominator * inv)
  assert (denominator * inv) mod 2^128 = 1
Benchmark
Size1111
Compressed Size485
License Creative Commons Attribution 4.0 International (CC-BY-4.0)
Categorycrafted
First Occurrence2023-07-06
Generated ByJochen Hoenicke
Generated On2023-01-19 00:00:00
GeneratorHandwritten
Dolmen OK1
strict Dolmen OK1
check-sat calls1
Query 1
Status unsat
Inferred Status None
Size 1103
Compressed Size484
Max. Term Depth4
Asserts 5
Declared Functions0
Declared Constants4
Declared Sorts 0
Defined Functions0
Defined Recursive Functions 0
Defined Sorts0
Constants0
Declared Datatypes0

Symbols

not1 =5 div1 mod3
+2 -1 *5

Evaluations

Evaluation Rating Solver Variant Result Wallclock CPU Time
SMT-COMP 2024 1.00 (0/4) cvc5 cvc5 unknown ❌ 1201.72118 1200.75266
SMTInterpol SMTInterpol unknown ❌ 0.41329 0.42292
Yices2 Yices2 unknown ❌ 1201.24472 1200.41652
Z3alpha Z3-alpha unknown ❌ 1201.71364 1200.70173