P | ~P |
---|---|
T | F |
F | T |
P | Q | P | Q |
---|---|---|
T | T | T |
T | F | T |
F | T | T |
F | F | F |
P | Q | P & Q |
---|---|---|
T | T | T |
T | F | F |
F | T | F |
F | F | F |
P | Q | P -> Q |
---|---|---|
T | T | T |
T | F | F |
F | T | T |
F | F | T |
P | Q | P <=> Q |
---|---|---|
T | T | T |
T | F | F |
F | T | F |
F | F | T |
- Haskell
Then you can run runFormula
eg.
-
Parsing logical formulas with
-
Checking if it's a tautology
Project is: completed
Created by @HondaPL 2021