Closed ekiwi closed 2 years ago
Can you try this?
yices-smt2 --smt2-model-format <file>
Can you try this?
Thanks! This seems to work.
Would it be possible to make this the default when calling yices as yices-smt2
?
I know about this option now and will make sure to use it, but I could see others asking similar questions in the future.
I have a satisfiable SMT query and I am interested in the value of an array constant. I understand that yices internally models arrays as functions and I don't mind getting a function back from a
get-value
query. However, currently the answer includes an internal function@fun_3
which is impossible access unless one is callingget-model
. It would be great if functions like this could be inlined into the response to aget-value
query.Current response:
Expected response:
Ideal response:
I know that
as const
is non-standard, however, I am not sure if there is any clear standard on how responses are formulated and usingas const
would be more similar to how CVC4 and Z3 report the value.This is the query which can be executed with
yices-smt2
: