-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
This example below is from GaloisInc/cryptol#444. (Sorry I haven't converted it to a Haskell/SBV example.) Basically, yices fails if you send it a value raised to an exponent greater than 2^31-1, and SBV doesn't handle the failure in a nice way.
Cryptol> :set prover=yices
Cryptol> :prove \(x:[32]) -> x!0 ==> x * (x ^^ -1) == 1
SBV error:
*** Data.SBV: Unexpected non-success response from Yices:
***
*** Sent : (define-fun s64 () (_ BitVec 32) (bvmul s63 s63))
*** Expected : success
*** Received : (error "at line 71, column 35: in bvmul: maximal polynomial degree exceeded")
*** Exit code : ExitSuccess
***
*** Executable: /Users/huffman/.bin/yices-smt2
*** Options : --incremental
***
*** Failed to establish solver context. Running in debug mode might provide
*** more information. Please report this as an issue!
Metadata
Metadata
Assignees
Labels
No labels