Enum smtlib_lowlevel::ast::Command
source · pub enum Command {
Show 30 variants
Assert(Term),
CheckSat,
CheckSatAssuming(Vec<PropLiteral>),
DeclareConst(Symbol, Sort),
DeclareDatatype(Symbol, DatatypeDec),
DeclareDatatypes(Vec<SortDec>, Vec<DatatypeDec>),
DeclareFun(Symbol, Vec<Sort>, Sort),
DeclareSort(Symbol, Numeral),
DefineFun(FunctionDef),
DefineFunRec(FunctionDef),
DefineFunsRec(Vec<FunctionDec>, Vec<Term>),
DefineSort(Symbol, Vec<Symbol>, Sort),
Echo(String),
Exit,
GetAssertions,
GetAssignment,
GetInfo(InfoFlag),
GetModel,
GetOption(Keyword),
GetProof,
GetUnsatAssumptions,
GetUnsatCore,
GetValue(Vec<Term>),
Pop(Numeral),
Push(Numeral),
Reset,
ResetAssertions,
SetInfo(Attribute),
SetLogic(Symbol),
SetOption(Option),
}Variants§
Assert(Term)
(assert <term>)
CheckSat
(check-sat)
CheckSatAssuming(Vec<PropLiteral>)
(check-sat-assuming (<prop_literal>*))
DeclareConst(Symbol, Sort)
(declare-const <symbol> <sort>)
DeclareDatatype(Symbol, DatatypeDec)
(declare-datatype <symbol> <datatype_dec>)
DeclareDatatypes(Vec<SortDec>, Vec<DatatypeDec>)
(declare-datatypes (<sort_dec>n+1) (<datatype_dec>n+1))
DeclareFun(Symbol, Vec<Sort>, Sort)
(declare-fun <symbol> (<sort>*) <sort>)
DeclareSort(Symbol, Numeral)
(declare-sort <symbol> <numeral>)
DefineFun(FunctionDef)
(define-fun <function_def>)
DefineFunRec(FunctionDef)
(define-fun-rec <function_def>)
DefineFunsRec(Vec<FunctionDec>, Vec<Term>)
(define-funs-rec (<function_dec>n+1) (<term>n+1))
DefineSort(Symbol, Vec<Symbol>, Sort)
(define-sort <symbol> (<symbol>*) <sort>)
Echo(String)
(echo <string>)
Exit
(exit)
GetAssertions
(get-assertions)
GetAssignment
(get-assignment)
GetInfo(InfoFlag)
(get-info <info_flag>)
GetModel
(get-model)
GetOption(Keyword)
(get-option <keyword>)
GetProof
(get-proof)
GetUnsatAssumptions
(get-unsat-assumptions)
GetUnsatCore
(get-unsat-core)
GetValue(Vec<Term>)
(get-value (<term>+))
Pop(Numeral)
(pop <numeral>)
Push(Numeral)
(push <numeral>)
Reset
(reset)
ResetAssertions
(reset-assertions)
SetInfo(Attribute)
(set-info <attribute>)
SetLogic(Symbol)
(set-logic <symbol>)
SetOption(Option)
(set-option <option>)