SMTLIB[Session]
Satisfiable
check if SMT problem from session is satisfiable
Satisfy
find satisfying instance for SMT problem from session
Calling Sequence
Parameters
Description
Details
Examples
Compatibility
session:-Satisfiable()
session:-Satisfy()
session
-
a SMTLIB[Session] object
The session:-Satisfiable() command checks whether the SMT problem posed to the session session can be satisfied.
The session:-Satisfy() command finds a solution for the SMT problem posed to the session session.
For details on SMT solving see SMTLIB[Satisfy].
For details on SMT sessions see SMTLIB[Session].
Note that SMTLIB[Session][Push] and SMTLIB[Session][Pop] operations affect the state of the problem posed to the session.
Test for the satisfiability of this simple Boolean problem.
with⁡SMTLIB:
session≔Session⁡
session≔SMTLIB Session28859064Variables: 0Stack Depth: 0
session:-Assert⁡1<xandx2<9::integer
::ℤ
session:-Satisfiable⁡
true
session:-Assert⁡2≤x
The SMTLIB[Session][Satisfiable] and SMTLIB[Session][Satisfy] commands were introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
SMTLIB
SMTLIB[Satisfy]
Download Help Document