Skip to content

Commit

Permalink
Define models of SAT
Browse files Browse the repository at this point in the history
  • Loading branch information
xldenis committed Jul 12, 2022
1 parent 3ac3efc commit 7d161d0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CreuSAT/src/logic/logic.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
extern crate creusot_contracts;
use creusot_contracts::std::*;
use creusot_contracts::*;

use crate::{assignments::*, clause::*, formula::*, lit::*, trail::*};

use crate::logic::{logic_assignments::*, logic_clause::*, logic_formula::*, logic_trail::*};


#[cfg(feature="contracts")]
mod inner {
struct Model(Mapping<Int, bool>);

}

#[cfg(feature="contracts")]
pub use inner::*;

#[logic]
fn pos() -> AssignedState {
1u8
Expand Down

0 comments on commit 7d161d0

Please sign in to comment.