check_sat
Determine if a set of logical constraints is satisfiable using Z3. Input constraint expressions and optional variable types to find a valid solution.
Instructions
Check satisfiability of a list of constraints.
Provide constraints as Z3 Python expressions. Variables will be auto-declared based on usage.
Example constraints:
"x + y == 10"
"x > 0"
"And(x < 100, y < 100)"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| constraints | Yes | List of Z3 constraint expressions | |
| variables | No | Variable declarations: {name: type} where type is 'int', 'real', 'bool', or 'bitvec:N' | |
| timeout_ms | No | Timeout in milliseconds (default: 30000) |