Add a test case for issue725

This commit is contained in:
Rob Dockins 2020-05-22 14:44:02 -07:00 committed by robdockins
parent 06584f4d10
commit c1b641c420
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,14 @@
:set show-examples = no
:set prover-stats=no
:set prover=z3
:prove \(n:Integer, p : Bit) -> p ==> (x != x where x = 2 ^^ n)
:sat \(a:[8], b:[8]) -> a == ~zero /\ a@b == False
:prove \(a:[8], b:[8]) -> a == zero ==> a@b == False
:set prover=w4-z3
:prove \(n:Integer, p : Bit) -> p ==> (x != x where x = 2 ^^ n)
:sat \(a:[8], b:[8]) -> a == ~zero /\ a@b == False
:prove \(a:[8], b:[8]) -> a == zero ==> a@b == False

View File

@ -0,0 +1,9 @@
Loading module Cryptol
operation can not be supported on symbolic values: integer exponentiation
Unsatisfiable
Counterexample
operation can not be supported on symbolic values: integer exponentiation
Unsatisfiable
Counterexample