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

flipper-bids-pass-rough-spec fix #1266

Closed
wants to merge 4 commits into from

Conversation

PetarMax
Copy link
Contributor

Alternative way of getting flipper-bids-pass-rough-spec.k to work (cf. #1251), using simplifications only.

@PetarMax
Copy link
Contributor Author

PetarMax commented Jun 24, 2022

The CI does not seem to like the introduced ML-level simplification. In particular the Java backend is saying:

[Error] Compiler: Simplification rules need to be function/functional like. in reference to the simplification

   // Deconstruction of #WordPackAddrUInt48UInt48 at the meta-logic level
    rule    { #WordPackAddrUInt48UInt48(A:Int, B:Int, C:Int) #Equals D:Int }
         => { A #Equals maxUInt160 &Int  D              }
       #And { B #Equals maxUInt48  &Int (D /Int pow160) }
       #And { C #Equals maxUInt48  &Int (D /Int pow208) }
       #And { #rangeUInt(256, D) }
      [simplification,anywhere]

in tests/specs/mcd/flipper-bids-pass-rough-spec.k.

@PetarMax PetarMax closed this Jun 27, 2022
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

Successfully merging this pull request may close these issues.

1 participant