Skip to content

Commit

Permalink
use bv2nat for all solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjitjhala committed Dec 20, 2024
1 parent 5948817 commit 7f79954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Fixpoint/Smt/Theories.hs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ interpSymbols cfg =
bv2i :: SMTSolver -> Int -> Raw
bv2i Cvc4 _ = "bv2nat"
bv2i Cvc5 _ = "bv2nat"
bv2i _ n = Data.Text.pack $ printf "(_ bv2int %d)" n
bv2i _ n = Data.Text.pack $ printf "(_ bv2nat %d)" n

interpBvUop :: Symbol -> (Symbol, TheorySymbol)
interpBvUop name = interpSym' name bvUopSort
Expand Down

0 comments on commit 7f79954

Please sign in to comment.