Skip to content

SAT solver inputs #693

Answered by quark17
gribeill asked this question in Q&A
Apr 17, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

There are trace flags that developers have inserted, for helping to debug the behavior of BSC. One of those is -trace-smt-test, which prints information when queries are made. There's no guarantee that this will dump everything, but I had a quick look and it seems fairly good. (As these are trace output for developers, in theory they could change, so you should not rely on the format of the output; but in practice they haven't changed in a long time.) You could also go into the BSC source and insert more print statements, if you need something that's not being traced.

These traces happen in the modules AExpr2Yices.hs and Pred2Yices.hs (for the Yices solver, or AExpr2STP.hs and Pred2STP.hs

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gribeill
Comment options

Answer selected by gribeill
Comment options

You must be logged in to vote
1 reply
@gribeill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants