Check Logic
check_logicDetermine if a propositional logic formula is satisfiable, a tautology, or generate its truth table.
Instructions
Check a propositional logic formula for satisfiability, tautology, or generate a truth table.
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": {
"formula": "<formula>"
},
"name": "check_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | A Boolean formula using variables and operators (and/&, or/|, not/!, ->/implies). Examples: 'p and (q or r)', '(p -> q) and (q -> r) -> (p -> r)' | |
| check_type | No | Type of check: 'satisfiability', 'tautology', or 'truth_table'. | satisfiability |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |