Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTLIB declaration dependencies ignored #255

Open
FedericoAureliano opened this issue Jul 4, 2024 · 0 comments
Open

SMTLIB declaration dependencies ignored #255

FedericoAureliano opened this issue Jul 4, 2024 · 0 comments

Comments

@FedericoAureliano
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant