public final class Util
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Term |
and(Script script,
Term... subforms)
Return slightly simplified version of (and subforms).
|
static Script.LBool |
checkSat(Script script,
Term term)
Check if
term which may contain free TermVariables is
satisfiable with respect to the current assertion stack of
script . |
static Term |
implies(Script script,
Term... subforms)
Create a slightly simplified implies term.
|
static Term |
ite(Script script,
Term cond,
Term thenPart,
Term elsePart)
Create a slightly simplified if-then-else term.
|
static Term |
not(Script script,
Term f)
Return slightly simplified version of (not f).
|
static Term |
or(Script script,
Term... subforms)
Return slightly simplified version of (or subforms).
|
public static Script.LBool checkSat(Script script, Term term)
term
which may contain free TermVariables
is
satisfiable with respect to the current assertion stack of
script
. Only the result from this function can be used since the
assertion stack will be modified after leaving this function.script
- the script used to run the check.term
- the term to check for satisfiability (possibly containing
free variables).public static Term not(Script script, Term f)
script
- the Script used to build terms.f
- the term to negatepublic static Term and(Script script, Term... subforms)
script
- the Script used to build terms.subforms
- the sub formulas that are conjoined.public static Term or(Script script, Term... subforms)
script
- the Script used to build terms.subforms
- the sub formulas that are disjoined.public static Term ite(Script script, Term cond, Term thenPart, Term elsePart)
script
- the script where the term is created.cond
- the if condition.thenPart
- the then part.elsePart
- the else part.public static Term implies(Script script, Term... subforms)
script
- the script where the term is created.subforms
- the sub formulas.(=> subforms...)
.