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

macro-finder breaks define-fun-rec #5574

Closed
Elarnon opened this issue Sep 29, 2021 · 0 comments
Closed

macro-finder breaks define-fun-rec #5574

Elarnon opened this issue Sep 29, 2021 · 0 comments

Comments

@Elarnon
Copy link

Elarnon commented Sep 29, 2021

This is the follow-up to #5541 which has been closed and I'm not sure is still monitored, so I'm opening a new issue. macro-finder has the same problem with recursive function that was fixed for solve-eqs in #5541; the following input incorrectly returns sat.

(declare-fun W (Int) Int)
(declare-const x Int)
(define-fun-rec rW ((x Int)) Int (W x))
(assert (distinct (rW x) (W x)))
(assert (forall ((y Int)) (= (W y) 10)))

(check-sat-using (then macro-finder smt))
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