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

Displaying solving results when using --dimacs on trivial sat/unsat formulas #432

Open
rainoftime opened this issue Mar 14, 2023 · 1 comment
Milestone

Comments

@rainoftime
Copy link

rainoftime commented Mar 14, 2023

Hi, I tried running yices-smt2 --dimacs=tmp.cnf test.smt2 on the following trivial formula

(set-logic QF_BV)
(declare-fun x () (_ BitVec 16))
(assert (= x (_ bv1 16)))
(assert (= x (_ bv2 16)))
(check-sat)

Yices does not generate the tmp.cnf file and does not show anything on the screen. Perhaps it is because the formula has already been solved by the word-level preprocessing.

Maybe displaying "sat"/"unsat" result on the screen would be better?

My Yices version is

 % yices-smt2 --version
Yices 2.6.4
Copyright SRI International.
Linked with GMP 6.2.1
Copyright Free Software Foundation, Inc.
Build date: 2023-03-14
Platform: arm-apple-darwin21.6.0 (release)
Revision: unknown
@ahmed-irfan
Copy link
Member

Thanks for reporting this. I can reproduce the issue.

@ahmed-irfan ahmed-irfan added this to the Yices 2.7 milestone Mar 15, 2023
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

2 participants