Examples
Examples
Try the starting example
- Boolean expression using A–H, ! & ^ | and parentheses
- A & !B | C
- Number of variables A onward
- 3
- Truth table
- [[0,0],[1,1],[2,0],[3,1],[4,1],[5,1],[6,0],[7,1]]
- True assignment count
- 5
Try another scenario
- Boolean expression using A–H, ! & ^ | and parentheses
- A ^ B ^ C
- Number of variables A onward
- 3
- Truth table
- [[0,0],[1,1],[2,1],[3,0],[4,1],[5,0],[6,0],[7,1]]
- True assignment count
- 4
Calculation method
Calculation method
Truth table
Enumerate binary assignments; precedence ! then & then ^ then |. No eval or arbitrary code.
True assignment count
Count assignments for which expression equals 1.
Symbols and units
- a
- Boolean expression using A–H, ! & ^ | and parentheses
- b
- Number of variables A onward
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Restricted Boolean expression, input variables. Returns Truth table. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. Number of variables A onward: minimum 1, maximum 8.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.