Notes on Logic and Proof Flashcards
What is a statement
- a sentence which is definitely true or definitely false
- can never be both true and false
Truth value of a statement
Whether the statement is true or false
If two statements are ‘logically equivalent’
The two statements have the same truth values in the same circumstances
What does not A or B mean?
- (not A) or B
- different from not (A or B)
What does ‘A or B’ mean
Either A is true, or B is true, or both are true
If A then B
If A is true then B bust also be true
If 0 = 1, then 2 + 2 = 5
Is this a true or false statement?
True because A is false and B is false
Converse of ‘if A then B’
If B then A
Converse of ‘A only if B’
B only if A
Contrapositive of ‘if A then B’
If not B then not A
Contrapositive of ‘A only if B’
Not B only if not A
Contrapositive of ‘A iff B’
Not B iff not A
‘A is sufficient for B’ arrows
A -> B
‘A is necessary for B’ arrows
A <- B
‘A is necessary and sufficient for B’ arrows
A <=> B