Discrete Math 3
Discrete Math 3
ARGUMENTS
DEFINITION 1 An argument in propositional logic is a sequence of
propositions. All but the final proposition in the argument are called
premises and the final proposition is called the conclusion. An
argument is valid if the truth of all its premises implies that the
conclusion is true.
“If you have a current password, then you can log onto the network.”
Therefore,
“You can log onto the network.”
“If you have access to the network, then you can change your grade.”
“You have access to the network.”
_______________________________________________________
∴ “You can change your grade.”
We know that when p and q are propositional variables, the
statement ((p → q) ∧ p) → q is a tautology (shown in previous
lecture). In particular, when both p → q and p are true, we know
that q must also be true. We say this form of argument is valid
because whenever all its premises (all statements in the argument
other than the final one, the conclusion) are true, the conclusion
must also be true.
Rules of Inference for Propositional Logic
We can always use a truth table to show that an argument form
is valid. We do this by showing that whenever the premises are
true, the conclusion must also be true.
Ans.
Construct the truth table for [(p → q)∧ ¬ p] → ¬ q as in Fig.
below. Since the proposition [(p → q)∧ ¬ p] → ¬ q
is not a tautology, the argument is a fallacy. Equivalently, the
argument is a fallacy since in the third line of the truth
table p → q and ¬ p are true but ¬ q is false.
Example-2
Prove the following argument is valid: p → ¬ q, r → q, r ┤ ¬ p.
Rule
EXAMPLE 8 State which rule of inference is the basis of the
following argument: “It is below freezing and raining now.
Therefore, it is below freezing now.”
Solution: Let D(x) denote “x is in this discrete mathematics class,” and let C(x)
denote “x has taken a course in computer science.” Then the premises are ∀x(D(x)
→ C(x)) and D(Marla). The conclusion is C(Marla). The following steps can be
used to establish the conclusion from the premises.
Step Reason
1. ∀x(D(x) → C(x)) Premise
2. D(Marla)→C(Marla) Universal instantiation from (1)
3. D(Marla) Premise
4. C(Marla) Modus ponens from (2) and (3)
EXAMPLE 14: Show that the premises “A student in this class
has not read the book,” and “Everyone in this class passed the first
exam” imply the conclusion “Someone who passed the first exam
has not read the book.”
Solution: Let C(x) be “x is in this class,” B(x) be “x has read the
book,” and P(x) be “x passed the first exam.” The premises are
∃x(C(x)∧ ¬ B(x)) and ∀x(C(x) → P(x)). The conclusion
is ∃x(P(x)∧ ¬ B(x)). These steps can be used to establish the
conclusion from the premises.
Step Reason
1. ∃x(C(x)∧ ¬ B(x)) Premise
2. C(a)∧ ¬ B(a) Existential instantiation from (1)
3. C(a) Simplification from (2)
4. ∀x(C(x) → P(x)) Premise
5. C(a) → P(a) Universal instantiation from (4)
6. P(a) Modus ponens from (3) and (5)
7. ¬ B(a) Simplification from (2)
8. P(a)∧ ¬ B(a) Conjunction from (6) and (7)
9. ∃x(P(x)∧ ¬ B(x)) Existential generalization from (8)
Methods of Proving Theorems
Direct Proofs
A direct proof shows that a conditional statement p → q is true by
showing that if p is true, then q must also be true, so that the
combination p true and q false never occurs.