All courses › Discrete Mathematics › Propositional logic
Propositional logic
A proposition is either true or false. With and, or, not and implication, propositions can be combined, and the truth value is decided with a truth table. An implication is false only when the premise is true and the conclusion false.
and: true only when both are true
or: true when at least one is true
implication
Symbols
| not | ||
| and | ||
| or | ||
| if … then |
Example
: it rains, : the ground is wet.
is false only if it rains and the ground is dry.
Anything follows from a false premise: then the implication is always true.
Practise logic and sets for free →
Part of Discrete Mathematics: Logic and sets.