Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [kprovex] - Does not support --debugger or --debug-script options #2167

Closed
ehildenb opened this issue Aug 26, 2021 · 0 comments · Fixed by #2168
Closed

[Bug] [kprovex] - Does not support --debugger or --debug-script options #2167

ehildenb opened this issue Aug 26, 2021 · 0 comments · Fixed by #2168
Assignees
Labels

Comments

@ehildenb
Copy link
Member

K Version

Tell us what version of K you are using.

Example:

% kompile --version
K version:    5.1.161
Build date:   Thu Aug 26 17:10:51 UTC 2021

Description

Running kprovex with the --debugger and/or --debug-script options does not put the Haskell backend into kore-repl mode.

Input Files

Example spec file test.k:

requires "domains.md"

module TEST
    imports INT
    imports BOOL

    configuration <k> $PGM:Step </k>

    syntax Step ::= run ( Bool ) | done ( Bool )
 // --------------------------------------------
    rule <k> run(true) => done(true) ... </k>
    rule <k> run(_)    => done(true) ... </k> [owise]
endmodule

module TEST-SPEC
    imports TEST

    claim <k> run(false) => done(true) ... </k>

endmodule

Reproduction Steps

Kompile and run the proof with kprovex:

% kompile test.k --main-module TEST --syntax-module TEST --backend haskell
% kprovex test.k --spec-module TEST-SPEC                                  
#Top

The proof passes.

Expected Behavior

We should be dropped into the kore-repl instead, to be able to debug the proof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants