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

QF_ABV doesn't allow keyword const #7383

Closed
LeventErkok opened this issue Sep 18, 2024 · 1 comment
Closed

QF_ABV doesn't allow keyword const #7383

LeventErkok opened this issue Sep 18, 2024 · 1 comment

Comments

@LeventErkok
Copy link

For this benchmark:

(set-logic QF_ABV)
(define-fun s0 () (Array (_ BitVec 2) (_ BitVec 2)) ((as const (Array (_ BitVec 2) (_ BitVec 2))) #b00))
(check-sat)

z3 says:

(error "line 2 column 102: unknown constant const ((_ BitVec 2)) (Array (_ BitVec 2) (_ BitVec 2)) ")
sat

If you get rid of set-logic or use (set-logic ALL), the error isn't produced.

I think the const should be available as a constant regardless of the logic selection. (As a reference, cvc5 doesn't issue any complaints.)

@NikolajBjorner
Copy link
Contributor

fixed

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