Logic and Proofing Flashcards
The negation of p → q
p ⋀ ~q
p → q ≡ ?
(Material Implication)
p → q ≡ ~ p ⋁ q
(Material Implication)
~ (p → q) ≡ ?
~ (p → q) ≡ p ⋀ ~q
p ↔ q ≡ ?
p ↔ q ≡ (p → q) ⋀ (q → p)
p → q
What is:
Contrapositive, Converse, Inverse
Conditional 𝑝 → 𝑞
Contrapositive ∼ 𝑞 →∼ 𝑝
Converse 𝑞 → 𝑝
Inverse ∼ 𝑝 →∼ 𝑞
Order of operations for logical statements?
First: ~
Equal second: ⋀ and ⋁, use parentheses to specify. If no parentheses given, work from left to right.
Equal third: → ← ↔ Use parentheses to specify. If no parentheses given, work from left to right.
What does same parity imply?
if x & y have the same parity, they are both even or both odd.
3 Methods for checking validity?
- Truth Table
- Rules of inference & Laws of Logical Equivalence
- Assuming the argument is invalid
Note: Rules of Inference only work for VALID arguments.
Process for checking validity via ‘Assuming the argument is invalid’
Assume all premises are true and the conclusion is false.
If there are truth values that allow for this, then the argument is invalid.
However, if this leads to a contradiction, then the argument is valid.
Remember, we set the supposed conclusion to false first.
Negate:
∀m ∈ D, Q(m)
∃ m ∈ D | ~Q(m)
Negate:
∃ m ∈ D | ~Q(m)
∀m ∈ D, Q(m)
Negate:
∃ m ∈ D | ∀n ∈ E, ~Q(m,n)
∀m ∈ D, ∃n ∈ E | Q(m,n)
Negate:
∀m ∈ D, ∃n ∈ E | Q(m,n)
∃ m ∈ D | ∀n ∈ E, ~Q(m,n)
Method: Proof by Contradiction?
- Assume that the statement is false
- Show that this leads logically to a contradiction.
- Conclude the statement is true.
Contrapositive:
∀m ∈ D, P(m) → Q(m)
∀m ∈ D, ~Q(m) → ~P(m)