runtimeverification / michelson-semantics

A K semantics of Tezos' Michelson language.
Other
17 stars 6 forks source link

Simplify comparison reasoning for the prover #237

Closed hjorthjort closed 3 years ago

hjorthjort commented 3 years ago

Change the implementation of #DoCompare: most kinds of well-typed comparisons can be reduced into total comparison functions (without the need for #if) which seems to work better with K's Haskell backend.

It's currently incorporated in #229, but should be separated into its own PR.

sskeirik commented 3 years ago

This was address by adding #Ceil rules to the #DoCompare function.