Feature request: subterm evaluation #1001
Labels
subsystem: saw-core
Issues related to the saw-core representation or the saw-core subsystem
type: feature request
Issues requesting a new feature or capability
Milestone
It would be useful to have a command that evaluated all subterms that do not involve variables. It fairly often comes up that I get
ite
terms, whether from indexing or from explicitif
-terms in the Cryptol, where the tests can be evaluated independently of the variables in a goal. They can be as simple as0 <= 1
. Theseite
terms can interfere with rewriting proofs, and also make the goal bigger and less readable. Similarly, sometimes a proof involves a constant that is computed in two different ways, making terms look more different than they really are, and it would be useful to have a step that made the terms identical, or closer to identical.For illustration, in
the output is
where the
intLe
term could be evaluated tofalse
(and then theite
term rewritten).The text was updated successfully, but these errors were encountered: