http://slides.com/georgelee/ics141-rules-inference/live
Therefore, I can play DOTA 2
A sequence of statements (premises) that end with a conclusion. With propositional logic, it's a series of propositions ending with a conclusion. In a sense, we're "and-ing" it all together and then inferring something.
An argument form is a sequence of compound propositions involving propositional variables.
An argument is considered valid if the conclusion follows based on the truth of the premises. Or, if all the premises are true, then the conclusion is true.
(valid)
p ^ q
--------
∴ p
(not valid)
p v q
--------
∴ p
(valid)
p v q
¬ q
--------
∴ p
Note that the premises may not actually be true, but the argument is still valid if the conclusion follows if the premises were true.
* If George is a nice guy, then everyone will get an A.
* George is a nice guy
---------------------
∴ Everyone gets an A
Existing argument forms we can use to create more complicated argument forms. Or, argument forms we can use to (hopefully) prove our argument is valid. These argument forms are also tautologies.
Combine them with logical equivalences to win at logic.
p p → q ∴ q |
(p ^ (p → q)) → q | Modus Ponens |
¬ q p → q ∴ ¬ p |
(¬ q ^ (p →q)) → ¬ p | Modus Tollens |
p → q q → r ∴ p → r |
((p → q) ^ (q → r)) → (p → r) |
Hypothetical syllogism |
p v q ¬ p ∴ q |
((p v q) ^ ¬ p) → q | Disjunctive syllogism |
p ∴ p v q |
p → (p v q) | Addition |
p ^ q ∴ p (or q) |
(p ^ q) → p | Simplification |
p q ∴ p ^ q |
(p) ^ (q) → (p ^ q) | Conjunction |
p v q ¬ p v r ∴ q v r |
((p v q) ^ (¬ p v r)) → (q v r) | Resolution |
What can we conclude from the following?
"If I stay up late, then I can get ready for class."
"I can get ready for class if I don't play video games."
"I'm not ready for class. :("
Based on argument forms that look like an inference rule, but is not.
"(q ^ (p → q)) → p" Fallacy of affirming the conclusion
"((p → q) ^ ¬p) → ¬q" Fallacy of denying the hypothesis
∀x P(x) ∴ P(c) |
Universal instantiation |
P(c) for any c ∴ ∀x P(x) |
Universal generalization |
∃x P(x) ∴ P(c) for some c |
Existential instantiation |
P(c) for some c ∴∃x P(x) |
Existential generalization |