Skip to content

SMTLIB declaration dependencies ignored #255

@FedericoAureliano

Description

@FedericoAureliano

Sometimes we declare types in the incorrect order, leading SMT solvers to fail. For example,

module main {
    type t;
    datatype a = A(x: t);

    var y: a;
    var z: t;

    init {
        assert y.x == z;
    }

    control {
        bmc(0);
        check;
        print_results;
    }
}

leads to a being declared before t using the SMTLIB interface.

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