Skip to content

assume is not propagated to Apalache #1450

@konnov

Description

@konnov

Consider assumes.qnt:

module assumes {
    const N: int
    const F: int

    var msgs: Set[str]

    assume Majority = N > 3 * F

    action init = {
        msgs' = Set()
    }

    action step = {
        msgs' = msgs
    }
}

module instance {
    import assumes(N = 2, F = 1).*
}

Running quint verify does not result into any warnings or error messages, even though the assumption of Majority is obviously violated:

$ quint verify --main=instance --invariant=inv assumes.qnt

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