










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Generalization: let p 1^ ,^ p 2^ ,^ "^ ,^ pn be l.e.s that are the premises of an argument and let q be an l.e. that is the conclusion. Then 1 . . n
p
p q is valid iff
1
n
is a tautology.
Note: An argument is valid if its conclusion is true provided that the premises are assumed true. If (1) is a tautology, then q must be true for all truth values of atomic propositions that make the premises true; this says that the argument is valid. Conversely, assuming that the argument is valid, q must be true when all premises are true. But, if
any of the premises is false then (1) is true from the definition of implication. Therefore, (1) is true for any values of its atoms; namely it is a tautology.
Tautologies: Test the validity of arguments.
Example 1: p →^ q q →^ s therefore: p →^ s
This argument is valid iff the l.e.,
( (^ p^ → q^ )^^ ∧(^ q^ → s^ )^ ) →(^ p^ → s )
is true for all values of its p, q, and s.
Example 3: Prove or disprove the following argument is valid.
p q q
→ or (^ p^ →^ q^ )∧^ q^ → p p
Proof: p q p →^ q (^) (p → (^) q) ∧q l.e. T T T T T T F F F T F T T T F F F T F T
So, it is not a valid argument.
Example 4: Prove or disprove that theorem:
Not aTautology
p q r s q^ ∧^ r p^ →^ (^ q^ ∧^ r ) r → s q^ ∧^ s l.e. T T T T T T T F T T T F T T F T T T F T F F T F T T F F F F T T T F T T F F T T T F T F F F F T T F F T F F T T T F F F F F T T F T T T T T T F F T T F T T F T F T F T F T T F F T F F F T T T T F F T T F T T T T F F T F F T F T F F F T F T T T T F F F F F T T T T
The statement for some x P(x) ≡^ ∃x P(x), is called an
existentially quantified statement. ∃ is called an existential
quantifier. The statement ∃x P(x) is true if P(x) is true for
at least one x in D. This, ∃x P(x), statement is false if P(x) is false for every x in D.
∀ is read for every, for all, or for any. ∃ is read for some, for at least one, there exists an x such that.
Example 5: The statement:
for every x 2x is even, where x ∈ ]
is a universally quantified statement. This is a true statement.
Example 6: Predicate quantifiers: ∀,^ ∃^.
∀ (^) boxes ∃ (^) one ball ≡ (^) for every boxes there is one ball
∃ one ball ∀ boxes ≡ there is one ball for all boxes
Example 7: Let p(x): “x=x 2 ”, x∈^ ] What is the truth of each of the following propositions?
Sol’n: It says that whether each integer equals its square; obviously it is false, if x=2, then x^2 =4 that is not 2.
Example 8: What is the negation of ∀ x^^ p x (^ ); i.e.,
Sol’n: If a predicate p(x) is not true for all x, there exists some x s.t. p(x) is false, then ~p(x) is true for some x. We say
Summary:
To prove ∀x P(x) is true, we have to show that P(x) is true for every x in the domain of discourse, D.
To prove that the universally quantified statement
∀x P(x) is false, find one value (counterexample) in D for which P(x) is false.
Deduction: The reasoning process that leads from premises to a conclusion is called a deductive mechanism (deduction). Again we should note the distinction between validity and truth : “something is true” is different from “something is valid”. It is said that an argument is valid (or the deduction mechanism is valid) if the truth of the conclusion follows from the truth of the premises. No even number is a multiple of 3. 6 is an even number therefore, 6 is not a multiple of 3. This deduction process or reasoning is valid though its conclusion we know is false; therefore valid means logically correct.
Note: It is not true that a valid deduction mechanism based on false premises necessarily leads to a false conclusion. No even number is a multiple of 3 8 is an even number
A proof is nothing but an argument; it establishes the truth of a theorem; so we may conclude that logic is a tool for the analysis of proofs.
Note: Generally speaking a mathematical system or axiomatic system has axioms, definitions, and undefined terms.
Axioms are assumed to be true.
Definitions are used to produce new terms (concepts) in terms of the existing ones.
Theorems are derived within a system,
A theorem is indeed a proposition that one tries to prove it is true.
A corollary is viewed as a theorem that follows immediately from a given theorem.
A lemma is also a theorem that is used to prove another theorem that is of our concern.
Theorems are of the form:
∀ x (^) 1,…,xn , if p(x 1 ,…,xn), then q(x1,…,xn).
This statement is true provided that the conditional proposition if p(x1,…,xn), then q(x1,…,xn) is true for all x (^) 1,…,xn in the domain of discourse.
Direct Proof: Prove directly q(x1,…,xn) is true by assuming that p(x1,…,xn) is true, and using p(x1,…,xn ) as well as other axioms, definitions, and previously derived theorems.
Example 11:
For all real numbers a1, a2, a3 , a4 , and x ,
Indirect proof: proof by contradiction.
Example 12: ∀x,y ∈ ℜ, if p: x + y ≥ 2, then either x ≥ 1 or y ≥ 1.
Proof by Contradiction: Assume that the conclusion is wrong; i.e., x < 1 and y < 1;
this implies that x + y < 2 ≡ ¬p; this says that the hypothesis, p, is false; so we end with
p ∧¬p (contradiction);
or we start from ¬ q and arrive at ¬ p;
¬ q Æ ¬ p;
Valid and Invalid Arguments
Argument: p (^) 1: the error is in subroutine 1 or subroutine 2 p2: the error is a numerical error p3: subroutine 1 has no numerical error Therefore: the error is in subroutine 2 This is a deductive argument (reasoning).
A deductive argument is any argument with the form: If p 1 and p 2 and…and pn , then q. This argument is called valid if the conclusion follows from the hypotheses (premises); that is, if p 1 and p 2 and…and pn are true, then q must also be true.
Note: The conclusion is granted whenever the hypotheses are granted; the argument is valid because of its form, not because of its content.
Example 13: Find whether the argument, p Æ q p
therefore: q, is valid; if p is true but q is false, the p Æ q cannot be true; thus, a contradiction exists.