[][src]Enum rsmt2_zz::SmtStyle

pub enum SmtStyle {
    Z3,
    CVC4,
    Yices2,
}

Solver styles.

  • [z3][z3]: full support
  • [cvc4][cvc4]: full support in theory, but only partially tested. Note that get-value is known to crash some versions of CVC4.
  • [yices 2][yices 2]: full support in theory, but only partially tested. Command get-model will only work on Yices 2 > 2.6.1, and needs to be activated in SmtConf with conf.models(). To understand why, see https://github.com/SRI-CSL/yices2/issues/162.

Variants

Z3

Z3-style smt solver.

CVC4

CVC4-style smt solver.

NB: CVC4 has only been partially tested at this point.

Yices2

Yices-2-style smt solver.

Yices 2 has only been partially tested at this point.

Methods

impl SmtStyle[src]

pub fn default(self) -> SmtConf[src]

Default configuration for a solver style.

pub fn of_str(s: &str) -> Option<Self>[src]

A solver style from a string.

pub fn str_keys() -> Vec<&'static str>[src]

Legal string representations of solver styles.

pub fn cmd(self) -> String[src]

Default command for a solver style.

Trait Implementations

impl Clone for SmtStyle[src]

impl Copy for SmtStyle[src]

impl Debug for SmtStyle[src]

impl Display for SmtStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.