kframework / k-legacy

The K tools (deprecated, see README)

Home Page:http://kframework.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function application for "smt-lemma" rules

msaxena2 opened this issue · comments

Rules containing the "smt-lemma" attribute are used as axioms as is, i.e. without applying functions in them. This leads to "missing SMTLib translation" errors. For e.g., in the case the case of the EVM-Semantics, the following rule -

 rule #asWordAux(N,(#uint(X)++W)) => #asWordAux(((N *Int pow256) +Int #getIntBytes(X,0,32,0)), W) [smt-lemma] 

results in a missing SMTLib translation for pow256, which could be avoided if the pow256 function was applied. @andreistefanescu @bmmoore Is this expected (in which case we just don't use the function, and document the behavior), or a bug?