rustproof-libsmt 0.1.0

Rust bindings for z3 as utilized by RustProof.
Documentation
//! Module that describes QF_BV (closed quatifier-free formulas built over
//! FixedSizeBitVector) logic.
//!
//! Note that the functions and structs that are defined.

use std::fmt;

use theories::{bitvec, core};
use backends::backend::{Logic, SMTNode};

define_sorts_for_logic!(QF_BV_Sorts,
                  BV -> bitvec::Sorts,
                  Core -> core::Sorts
                 );

define_fns_for_logic!(QF_BV_Fn,
                      BVOps -> bitvec::OpCodes,
                      CoreOps -> core::OpCodes
                     );

define_logic!(QF_BV,
              QF_BV_Fn,
              QF_BV_Sorts,
              map {
                  QF_BV_Sorts::BV(_) => bitvec::OpCodes::FreeVar
              }
             );