Skip to content

confusing error message on memory rewrite attempt #769

@oskgo

Description

@oskgo

A memory isn't (and doesn't represent) an equality, so there is no expectation that a rewrite should work, but memories get renamed to _ sometimes when they are unused, and this can lead to confusing error messages.

module type MT = {}.

lemma L (M<: MT):forall &m, (glob M){m}=witness => true.
proof.
move => <-. (* memory is renamed to `_` before it is put into error message *)

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