-
Notifications
You must be signed in to change notification settings - Fork 31
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
Apalache rewritter error on poly types #1398
Comments
@shonfeder I realized I was using a reduced version of the spec for testing last Friday. We did manage to fix that problem, but once I reverted my changes to the spec, this new error appeared. The version I was using to test it was:
Going back to the full spec results in this issue's error. But I just found out something else. If we re-add the type annotation to the
I'll continue digging |
Oh, bummer! Possibly we have a similar issue but with the way annotations are converted? I wonder if the
Is arising because the a free variable on the body of an expression is now now being unified away? |
I have two fixes locally:
With this two, I could revert my changes on the previous Apalache PR and get the error that originated this issue
I'll take a deeper look at this error tomorrow, and then organize everything for one (or more) PR(s). |
You may want to Try running on the Apalache commit before we changed where the return types where coming from too. It's possible that was is it a symptom of the same problem, and that our "fix" is responsible for this subsequent error. |
I've done that! That's what I meant by
(which is poorly written as I realize now. Sorry) So I think we won't get an easy win here :/ |
So far, for this issue, I have:
These 2 efforts result in no more errors like
Also, this ended up somehow addressing some of the rewriter problem, because the error which used to be:
After (2) is now
(changed from About this error, it is related to Apalache caches and I have no idea what is causing it. The one thing I could find that might be a feasible fix is that, on |
After solving #1393, I'm hitting another problem with the
option.qnt
(full) example:https://github.com/informalsystems/apalache/blob/dd1fef9323863b49e623337fe4cba167c63f2c8d/tla-bmcmt/src/main/scala/at/forsyte/apalache/tla/bmcmt/rules/aux/DefaultValueFactory.scala#L113
The text was updated successfully, but these errors were encountered: