Skip to content

Incremental formula with two unsat #23

@hernanponcedeleon

Description

@hernanponcedeleon

./src/proj_wizard.py create fails if I have the attached formula in my project ticketlock-opt.ll.zip

> ./src/proj_wizard.py create -i data/dartagnan/ --new-project-name dartagnan
[INFO] output directory is set to data/projs/dartagnan/base.z3 
[INFO] generated 1 targets in build.ninja 
[1/1] src/smt2action/target/release/mariposa -i dat.../ticketlock-opt.ll.smt2 -a split --convert-comments
FAILED: data/projs/dartagnan/base.z3/ticketlock-opt.ll.smt2 
src/smt2action/target/release/mariposa -i data/dartagnan/ticketlock-opt.ll.smt2 -o data/projs/dartagnan/base.z3/ticketlock-opt.ll.smt2 -a split --convert-comments
thread 'main' panicked at src/query_io.rs:285:5:
assertion failed: !check_sat_depth_zero || max_depth == 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ninja: build stopped: cannot make progress due to previous errors.
[INFO] generated 1 files in data/projs/dartagnan/base.z3 

There are several calls to check-sat. The first few ones are sat, while the last two are unsat. If I remove the latest check-sat, then ./src/proj_wizard.py create works correctly.

Is it expected that the formula has a single unsat?

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