-
Notifications
You must be signed in to change notification settings - Fork 145
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
Antileft for priority rules is not a predicate in the generated kore file #1355
Comments
Steps to reproduce:
|
I'm not following this, but it looks like there is something you don't like about how this module is encoded into kore, and it has something to do with the encoding of the priority attribute. I didn't write that code and it's not my responsibility to maintain it; code ownership for that part of the ModuleToKORE file belongs to the haskell backend team, because the llvm backend completely ignores the "antileft", as you call it. |
Oh, I asked around and I was told that you wrote the code which generates these axioms. Sorry about that, I probably misunderstood. For reference, I think that the Haskell backend team expects that antileft thing to be a predicate in the ML sense of the term, and it actually seems to be |
I wrote large parts of ModuleToKORE, but I don't claim to be an expert in matching logic. Even if I'm wrong and I did write it and I forgot, I guarantee I was merely writing it to someone else's specification. Whatever problem you are describing, I don't understand it, whereas the haskell backend team likely would, so I don't think I'm the right person to try to fix it. |
@virgil-serbanuta is this still relevant? If not, please close. |
The current behaviour is correct, the antileft part is not supposed to be a predicate. Also see |
For these rules:
The generated axiom for
middle
looks something like this:the
priorityLE1
alias looks like this:This looks fine so far, but
rule3LHS
looks like thisNote that the
Lbl'-LT-'generatedTop'-GT-'{}(...)
part can't occurin a predicate without having an
equals
,ceil
or something similar above it.The text was updated successfully, but these errors were encountered: