Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model generation turned on by (set-option :produce-models true) does not work properly #204

Open
jurajsic opened this issue Dec 30, 2024 · 0 comments

Comments

@jurajsic
Copy link
Member

For example, this formula

(set-logic QF_S)
(set-option :produce-models true)
(declare-const str1 String)
(declare-const str2 String)

(assert (= (str.++ str1 str2) "hello world"))

(check-sat)
(get-model)

leads to an exception, because it assumes that model generation is turned off, so the map that saves the model is empty.

The paramater theory_str_noodler_params::m_produce_models is probably set incorrectly in src/smt/params/theory_str_noodler_params.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant