This page contains a program that will generate truth tables for formulas of truth-functional logic. You can enter multiple formulas separated by commas to include more than one formula in a single table (e.g. to test for entailment). Tables can be displayed in html (either the full table or the column under the main connective only) or in plain text. You can also select which symbols to use for the two truth values and the connectives.
Symbols: use the following keyboard symbols in your input for the various logical connectives:
|for the conditional
|for the biconditional
|for NAND (aka the Sheffer Stroke)
|for NOR (Wittgenstein's Sheffer Stroke)
Here are some examples of well-formed inputs the program will accept:
As an alternative to determining if there is a line where the premises are true and the conclusion is false, validity can also be checked by converting a series of formulas to a conditional. For example, the formulas on the last line above become:
The source code for this webpage is available on Github.