-
Notifications
You must be signed in to change notification settings - Fork 6
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
Surprising(?) solving failure #4
Comments
Looking at the talk again, I think I see the rationale for the second
|
The problem might be the definition of |
Removing the first equation results in,
|
Perhaps Thoralf was never taught about |
Indeed Thoralf was ignorant of There are a variety of preparatory patches which clean up various things on the way. |
I was surprised to find that this program fails to typecheck with Thoralf:
Essentially, I am asking Thoralf to conclude that
Max n 1 ~ n
given that1 <= n
.Thoralf appears to produce the following SMT script,
This is a bit odd: everything up to the first
(check-sat)
looks fine (and indeed Z3 claims that the predicate,0 < a2KY && (1 <= a2KY) == a2Le && a2Le == true
, is satisfiable).However, then Thoralf for some reason adds
(assert false)
, which of course renders the whole thing unsatisfiable. I haven't dived too deep into the implementation, but this seems suspicious.The text was updated successfully, but these errors were encountered: