truth_table
Compute truth tables and model counts for one or more logical formulas, including unused symbols that affect the count. Use it to evaluate formula satisfiability and verify logical results.
Instructions
Truth table and model count for one or more formulas. Syntax: ¬ ~ ! -, ∧ &, ∨ |, ⇒ =>, ⇔ <=>. extra_symbols: symbols in the problem that don't appear in the formula (they still double the model count).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"formulas": "<formulas>"
},
"name": "truth_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formulas | Yes | ||
| extra_symbols | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |