Skip to content

kontrol simplify-node --lemmas broken #1133

@juliankuners

Description

@juliankuners

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions