Skip to content

Package duplicate resources in magic wand leads to unsoundness #410

@viper-admin

Description

@viper-admin

Created by bitbucket user BR_ on 2020-02-20 01:34
Last updated on 2020-02-20 07:53

The following code proves false:

field data: Int

method foo(x: Ref)
    requires acc(x.data)
{
    package acc(x.data) --* false {
        assert acc(x.data) && acc(x.data)
        assert false
    }

    assert acc(x.data)
    apply acc(x.data) --* false
    assert false
}

We are using the Silicon back-end, with the latest build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existsmagic-wandsmajor

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions