Closed sy6sy2 closed 4 years ago
This is not a bug, but intended behaviour. Value 2 of the option internally builds a model for all expressions so that you can query all assignments via boolector_{array,bv}_assignment
, but it does not change the way Boolector prints models.
@SylvainCecchetto let me know if you have more questions. I'll close the issue for now.
In
betortypes.h
we can read:But even with the value
2
theboolector_print_model
function only gives model fordeclare-fun
variables but not fordefine-fun
variables.Is it a bug?
Thank you.
PS: My
define-fun
variables come from an SMTLIB file parsed withboolector_parse_smt2
.To reproduce, parse this file:
and call
boolector_print_model
.I only obtain:
But I would like also see
cons_expr1
,CF2
, etc ...Or even better, I would like to get model of only one variable (see https://github.com/Boolector/boolector/issues/50)
Thank