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

Invalid model issue with --finite-model-find #10943

Open
merlinsun opened this issue Jun 19, 2024 · 0 comments · May be fixed by #10963
Open

Invalid model issue with --finite-model-find #10943

merlinsun opened this issue Jun 19, 2024 · 0 comments · May be fixed by #10963
Assignees

Comments

@merlinsun
Copy link

Hi,
cvc5 6bb447a gives an invalid model for the following instance.

$ cat small.smt2 
(declare-fun u (Int) Int)
(declare-fun b (Int) Int)
(assert (forall ((v Int)) (exists ((V Int)) (distinct v (b (- 1 (div 0 (u v))))))))
(check-sat)
$ cvc5 --finite-model-find --check-models -q small.smt2
Fatal failure within void cvc5::internal::smt::CheckModels::checkModel(cvc5::internal::theory::TheoryModel*, const cvc5::context::CDList<cvc5::internal::NodeTemplate<true> >&, bool) at /home/cvc5/src/smt/check_models.cpp:146
Internal error detected SolverEngine::checkModel(): ERRORS SATISFYING ASSERTIONS WITH MODEL:
assertion:     (forall ((v Int)) (exists ((V Int)) (distinct v (b (- 1 (div 0 (u v)))))))
simplifies to: false
expected `true'.
Run with `--check-models -v' for additional diagnostics.
Aborted (core dumped)
@ajreynol ajreynol self-assigned this Jun 24, 2024
@ajreynol ajreynol linked a pull request Jun 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants