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

Dolmen's Typechecker is sometimes too smart for the SMTLIB #41

Open
Gbury opened this issue May 16, 2020 · 0 comments
Open

Dolmen's Typechecker is sometimes too smart for the SMTLIB #41

Gbury opened this issue May 16, 2020 · 0 comments

Comments

@Gbury
Copy link
Owner

Gbury commented May 16, 2020

Consider the following problem:

(set-logic QF_UFLIA)
(declare-datatypes ((list 1)) ((par (alpha) ((nil) (cons (head (list alpha)))))))
(assert (= (as nil (list Int)) nil))
(check-sat)

Dolmen's tff typechecker is able to infer the type of the second nil because it knows the type of the first one, whereas cvc4 will complain. I don't know how much of a problem that is.

@Gbury Gbury changed the title Dolmen's Typechecker is sometime too smart for the SMTLIB Dolmen's Typechecker is sometimes too smart for the SMTLIB May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant