solve_smtlib
Check satisfiability of logical formulas in SMT-LIB 2.0 format and retrieve satisfying models.
Instructions
Solve an SMT problem in SMT-LIB 2.0 format.
Example:
(declare-const x Int)
(declare-const y Int)
(assert (= (+ x y) 10))
(assert (= (- x y) 4))
(check-sat)
(get-model)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smtlib_code | Yes | SMT-LIB 2.0 format code | |
| timeout_ms | No | Timeout in milliseconds (default: 30000) |