kontrol simplify-node simplifies a given node in a proof and returns the output. It also has a flag --lemmas <lemmas.k file>:<MODULE_NAME> with which a lemmas file can be passed that is kompiled and used as well.
However, according to my observation this --lemmas flag is currently broken. It seems to me that the lemmas file is kompiled and sent to the haskell-backend, but not referenced in simplification requests and therefore unused. As a consequence, this feature cannot be used to test simplification lemmas.
Additionally, kontrol simplify-node --lemmas <lemmas.k file>:<MODULE_NAME> crashes when a simplification rule uses preserves-definedness.
This can be reproduced with this kontrol repository: https://github.com/juliankuners/test-simplify-node
kontrol simplify-nodesimplifies a given node in a proof and returns the output. It also has a flag--lemmas <lemmas.k file>:<MODULE_NAME>with which a lemmas file can be passed that is kompiled and used as well.However, according to my observation this
--lemmasflag is currently broken. It seems to me that the lemmas file is kompiled and sent to the haskell-backend, but not referenced in simplification requests and therefore unused. As a consequence, this feature cannot be used to test simplification lemmas.Additionally,
kontrol simplify-node --lemmas <lemmas.k file>:<MODULE_NAME>crashes when a simplification rule usespreserves-definedness.This can be reproduced with this kontrol repository: https://github.com/juliankuners/test-simplify-node