Unit 1 - Propositional Logic Flashcards
Explain what would make a proposition a tautology
A proposition is a tautology if it is true for all combinations of truth values
What would be the truth table results for p => q (p implies q)
T, T, F, T
True if both p and q are True, or p is False
p | q | p ⇒ q
F | F | T
F | T | T
T | F | F
T | T | T
Define a proposition
A proposition is a statement that can be meaningfully considered True or False
What are truth values (for a proposition)
they are the two basic propositions True and False;
What are propositional letters
denoted with the symbols p, q,r,s. They work as placeholders for propositions
What are the logical operators
denoted with the symbols ∧, ∨, ¬ , ⇒. And, Or, Not and Implication
the proposition p ∧ q is True
only when both p and q are True;
the proposition p ∨ q is False
only when both p and q are False
the proposition p ⇒ q is False only when
p is True and q is False;
The intuitive meaning of p ⇐⇒ q is
if p then q, and if q then p.
The important property of the proposition p ⇐⇒ q is that
it is true only when p and q are either both
true, or both false
we say that q is a tautology if
q is true for all combinations of truth values
assigned to p1, p2, . . . , pn;
we say that q is a contradiction
if q is false for all combinations of truth values
assigned to p1, p2, . . . , pn.