Skip to content

Commit

Permalink
update bitwuzla flags and fix bug in unroll function
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Dec 2, 2024
1 parent 8614d49 commit 59f89ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mc/smt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ pub struct SmtSolverCmd {

pub const BITWUZLA_CMD: SmtSolverCmd = SmtSolverCmd {
name: "bitwuzla",
args: &["--smt2", "--incremental"],
// args: &["--smt2", "--incremental"],
// TODO: arguments depend on the version of bitwuzla!
args: &[],
supports_uf: false,
supports_check_assuming: true,
};
Expand Down Expand Up @@ -532,7 +534,7 @@ impl TransitionSystemEncoding for UnrollSmtEncoding {

// define next state signals for previous state
self.define_signals(ctx, smt_ctx, prev_step, &|info: &SmtSignalInfo| {
info.uses.next > 0 && !info.uses.other > 0 && !info.is_input
info.uses.next > 0 && info.uses.other == 0 && !info.is_input
})?;

// define next state
Expand Down

0 comments on commit 59f89ac

Please sign in to comment.