SMTLIB[Session]
ToString
get assertions active in session as an SMT-LIB string
Calling Sequence
Parameters
Description
Examples
Compatibility
session:-ToString()
session
-
a SMTLIB[Session] object
The sess:-String() command translates the active assertions in the SMTLIB session sess to the SMT-LIB input format, expressed as a Maple string.
Generate an SMT-LIB summary of the assertions made in this session.
with⁡SMTLIB:
sess≔Session⁡
sess≔SMTLIB Session15559352Variables: 0Stack Depth: 0
sess:-Assert⁡axorb⇒c
sess:-Assert⁡bandnotd
sess:-ToString⁡
(declare-fun c () Bool) (declare-fun b () Bool) (declare-fun a () Bool) (declare-fun d () Bool) (assert (=> (xor a b) c)) (assert (and b (not d)))
The SMTLIB[Session][ToString] command was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
SMTLIB
SMTLIB[ToString]
Download Help Document