Skip to content

Exposed memories from rewrites #768

@oskgo

Description

@oskgo

When rewriting using an assumption with a memory parameter the generated goals don't include the memory into the context.

In many cases trying to rewrite using an assumption with a memory parameter fails, but I found a working example:

module type MT = {}.

lemma L (M<: MT):(forall &m, (glob M){m}=witness => true) => 
  true.
proof.
move => ->. (* exposes memory outside context *)
abort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions