Skip to content

cannot step back across phoare lemmas #835

@oskgo

Description

@oskgo

MRE:

require import Real.

module M = {proc p()={}}.

phoare p: [M.p: true ==> true] = 1%r.
proof. proc; auto. qed.

Stepping back after stepping over qed does not work, requiring a full restart.

Curiously, the following variation works:

require import Real.

module M = {proc p()={}}.

phoare p: [M.p: true ==> true] = 1%r by proc; auto.

The workaround is to use lemma p: phoare[M.p: true ==> true] = 1%r instead.

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