Expand description
Intermediate representation for SMT-LIB formulas.
Re-exports§
pub use smt2parser::concrete::Command as Smt2ParserCommand;pub use smt2parser::concrete::SyntaxBuilder;pub use smt2parser::CommandStream;pub use logic::Logic;pub use term::*;pub use types::*;
Modules§
- ackermann
 - cnf
 - eliminate
 - fold
 - Traits for transforming 
Terms into other terms. - logic
 - Representations of SMT-LIB logics.
 - model
 - smt2parser
 - This crate provides a generic parser for SMT2 commands, as specified by the SMT-LIB-2 standard.
 - term
 - Intermediate representation for SMT-LIB terms.
 - types
 - visit
 - Traits for visiting 
Terms. 
Macros§
- args
 - Creates a 
SmallVeccontaining the arguments. - try_
break  - Unwraps a 
ControlFlowor propagates itsBreakvalue. This replaces theTryimplementation that would be used withstd::ops::ControlFlow. 
Structs§
- Ctx
 Ctxtracks the global context of a script (e.g. defined sorts and functions), along with local context inside of terms (e.g. variables bound bylet,forall,exists).- Fresh
VarError  - Script
 Scriptrepresents an entire SMT-LIB script i.e. sequence of commands.
Enums§
Functions§
- chained
 - Applies 
eachto each adjacent pair of arguments inargs, corresponding to the:chainableSMT-LIB attribute. - pairwise
 - Applies 
eachto each distinct pair of arguments inargs, corresponding to the:pairwiseSMT-LIB attribute. - parse_
commands  - Parses an SMT-LIB file, returning an iterator of parsed SMT-LIB commands.
 - try_
chained  - Applies a fallible function to each adjacent pair of arguments in 
args, corresponding to the:chainableSMT-LIB attribute. - try_
pairwise  - Applies a fallible function to each distinct pair of arguments in 
args, corresponding to the:pairwiseSMT-LIB attribute. 
Type Aliases§
- Void
 - An uninhabited type, useful for defining theories that contain no operations beyond those in SMT-LIB’s Core theory.