introduction to symbolic logic propositional logic & truth functional analysis

60
INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Upload: jordan-barton

Post on 26-Mar-2015

260 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

INTRODUCTION TO SYMBOLIC LOGIC

Propositional Logic & Truth Functional Analysis

Page 2: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

What is Symbolic Logic?• It uses symbolic notation in expressing

propositions and arguments.

• Concentrates in the form.

• Simplest kind of logic.

• Its modern development began with George Boole in the 19th century.

“If, if the first then the second and if the second then the third,

then, if the first then the third.” [(p q) (q r)] (p r)[(p q) (q r)] (p r)

Page 3: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

What prompted the creation of symbolic logic?

• Ordinary everyday language is flowery and ambiguous (because of equivocation, amphiboly, accent, vagueness, & confusion in emotive significances)

• In order to avoid the common difficulties of ordinary language, we need an artificial language that substitutes it using minimal characters, and, consequently, represents it with high degree of clarity and simplicity.

• There is also economy of space and time.

Page 4: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

GOALS

1. Learn the elements of the new language

2. Learn how to translate ordinary language grammar into symbolic notation

3. Represent arguments in this new language

Page 5: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

The 2 Subfields of Symbolic Logic…

1. Propositional Logic• Originally called propositional calculus• Studies the properties of propositions formed from

“constants” and logical “operators”

2. Predicate Logic• Originally called predicate calculus • expands on propositional logic by introducing variables,

usually denoted by x, y, z, or other lowercase letters, • It also introduces sentences containing variables, called

predicates, usually denoted by an uppercase letter followed by a list of variables, such as P(x) or Q(y,z).

Page 6: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic:Propositions and Operators

• Propositions are considered as “ATOMS” of propositional logic.

• What are the two types of propositions?1. Simple Propositions

2. Compound propositions

Page 7: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic:Propositions and Operators

• What are “Simple Propositions”?– Statements which cannot be broken down

without a loss in meaning.– E.g. “John and Leah is a couple” cannot be

broken down without a change in meaning of the statement. Note what happens if we break it down to “John is a couple” and “Leah is a couple”

Page 8: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic

– But “Juanita and Juanito are diligent students” is not a simple sentence because it can be broken down without a change in meaning. “Juanita is a diligent student.” “Juanito is a diligent student.”

– This is an example of a “Compound Proposition.”

• How do we represent (simple) propositions in propositional logic?– Conventionally, capital letters (usually towards the

beginning of the alphabet) may be used as abbreviations for propositions.

Page 9: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic

• “John and Leah is a couple.” = A

• “Juanita and Juanito are diligent students.” =A • B

• The symbol “•” is used to represent the logical operator “and” or “conjunction”

Page 10: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Constants and Variables• What are constants?

– Capital letters that represent the actual statements. Since it represents an definite statement, it does not vary.

– E.g. “John and Leah is a couple.” = AA• What are variables?

– It is not a proposition, but is a “place holder” for any proposition.

– Used for making templates of forms.

– E.g. “John and Leah is a couple.” = aa– ““Chimps and Men are apes” =Chimps and Men are apes” = aa

Page 11: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Simple vs Compound

• Tuguegarao is the capital of Cagayan and Basco is the capital of Batanes.

• Either I will be forgotten or I will forever be remembered.

• If I will be remembered, then my soul will shout for joy.

• Noli De Castro is the future president if and only if Manny Villar is not a presidential candidate.

Page 12: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic

• What are Logical Operators?– Another basic element of propositional logic.– They “connect” propositions.– Compound Proposition = proposition “+” proposition

“+” …

• What then is the basic skill needed in studying elementary propositional logic?– Knowing the “truth value of propositions”– All you need to know is the definition of the “operator”

and the “truth value of the propositions used.”

Page 13: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic: Truth Functionality

• Any argument’s worth is quite dependent on the combination of the truth values of the component sentences.

• Understanding arguments is basically: – Understanding how truth values of the component

sentences are distributed in the compound or complex sentence used to express the argument

– Understanding how the component sentences are connected to one another

Page 14: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Propositional Logic: Truth Functionality

• In order to know the truth value of the proposition which results from applying an operator to propositions, all that need be known is the definition of the operator and the truth value of the propositions used.

• The basic symbolic conventions of Propositional Logic are thus about propositions and about the operators used to connect them.

Page 15: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

The OperatorsConnective Symbol Formal Name

Not ~ Negation

And • Conjunction

Or V Disjunction

If… then… Conditional / Implication

… if and only if… = Biconditional

Page 16: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

NEGATION

• The phrase “It is false that …” or “not” inserted in the appropriate place in a statement.

• E.g., “It is not the case that Bugoy is ugly” can be represented by “~B”.

• It is represented by the following truth table:

p ~pT F

F T

Page 17: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

CONJUNCTION• Truth-functional

connective similar to “and” in English and is represented in symbolic logic with the dot “•”

• A connective forming compound propositions

• Expressed in the following truth table:

p q p.qT T T

T F F

F T F

F F F

Page 18: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

CONJUNCTION• The statement “Miko is cute and Popo is hideous”

can be represented as “ M • P ”

• There are four possible states of affairs which might have occurred with respect to Miko as cute and Popo as hideous.

p q p.qT T T

T F F

F T F

F F F

Page 19: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

CONJUNCTION

• Some characteristics of conjunction (in mathematical jargon) include:

1. associative—internal grouping is immaterial I. e., “[(p • q) • r]” is equivalent to “[p • (q  • r)]”.

2. communicative—order is immaterial I. e., “p • q” is an equivalent expression to “q • p”.

3. idempotent—reduction of repetition I. e., “p • p” is an equivalent expression to “p”.

Page 20: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

DISJUNCTION• Sometimes called alternation • A connective which forms compound propositions

which are false only if both statements (disjuncts) are false.

• Expressed in the following truth table:

p q p v qT T T

T F T

F T T

F F F

Page 21: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

DISJUNCTION

• The connective “or” in English is quite different from disjunction. “Or” in English has two quite distinctly different senses.1. The exclusive sense of “or” is “Either A or B (but not

both)” as in “You may go to the left or to the right.” In Latin, the word is “aut.”

2. The inclusive sense of “or” is “Either A or B {or both).” as in “John is at the library or John is studying.” In Latin, the word is “vel.”

• We use the second sense of “Or.”

Page 22: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

DISJUNCTION

• E.g – “Either Gloria or Erap is the greatest Filipino

president.”– G v E– “Neither Gloria nor Erap is the greatest Filipino

president.”– ~(G v E) or (~G) • (~E)

Page 23: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

DISJUNCTION

• The order of the words “both” and “not” is very important in translating propositions connected by disjunction.

• Eg.– Willy and Joey will not both be elected.

• ~ ( W • J )

– Willy and Joey will both not be elected.• (~W) • (~J)

Page 24: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

DISJUNCTION

• How should we understand this?– ~ W • J

• ~ ( W • J )

• ~ (W) • J

– It is understood in the 2nd sense. The original notation is accepted for brevity purposes.

Page 25: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

IMPLICATION

p q p qT T T

T F F

F T F

F F F

• “material implication”• The falsity of such a statement is

established only when the antecedent is true and the consequent if false.

Page 26: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

IMPLICATION

• E.g. – If the Miko lives morally (p), then he will go to

heaven (q).

p q p qT T T

T F F

F T T

F F T

Page 27: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

BICONDITIONAL

• Material Equivalence “If and only if”

• Two statements are materially equivalent if they have the same truth value, i.e. if both is true or false.

• Expressed in the following truth table:

FTF

TFF

FFT

TTT

p qqp

Page 28: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Summary of Operators

TTFFF F

FTFTF T

FFFTT F

TTTTT T

p q p qp • qp v qp q

Page 29: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Punctuation

• When sentences involved are complex enough to have more than two sentences, we use parentheses, brackets, or braces.

• To avoid ambiguities in understanding complex sentences like “P • Q • R • S”, we use the grouping apparatuses in this one possible fashion “(P • Q) • (R • S)”

• Mistake in the punctuation means a mistake in determining the truth value of arguments.

Page 30: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Punctuation

• In using punctuations, the following rules are to be followed:

1. The major truth functional connective representing the entire compound statement must be identified.

2. If negation symbol is found immediately outside a set of punctuated symbols then it must be interpreted to mean that the whole punctuated symbols are negated.

3. If negation symbol is attached to a symbol outside a set of punctuated symbols then the negation symbol negates only that particular symbol.

Page 31: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Punctuation

• Examples– Either philosophers are intelligent and

innovative thinkers or they are simply insane and weird.

(I • N) v (S • W)

– If mountains are high and majestic then they are either not small nor plain.

(H • M) ~(S v P)

Page 32: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Determine the main operator of the following statements

~(A v M) • (C E)(G • ~P) ~(H v ~W)~[P • (S K)]~(K • ~O) ~(R v ~B)(M • B) v ~ [E ~(C v I)]~[(P • ~R) (~E v F)]~[(S v L) • M] (C v N)

Page 33: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Translate the following molecular statements in symbolic

form• It is not the case that Hitler killed millions

of innocent Jews.• Either Caesar married Cleopatra or FJP

became the President of the Philippines.• Alexander the Great conquered America if

Napoleon rules France.• Arabs are treated as terrorists only if Bin

laden bombed the Twin Towers.

Page 34: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

TRUTH TABLEp q r q v r p v (q v r)

1 T T T T T

2 T T F T T

3 T F T T T

4 T F F F T

5 F T T T T

6 F T F T T

7 F F T T T

8 F F F F F

Page 35: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

TRUTH TABLE 2

p v ( q v r ) T T T T T T T F T F T T T F F F F T T T F T T F F F T T F F F F

TTTTTTTF

Page 36: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Forms of Propositions

• Inconsistent Proposition– Two or more beliefs are said to be inconsistent

when they both cannot be true at the same time for any possible situation.

– E.g.

p q p q ~(~p v q)T T T F

T F F T

F T T F

F F T F

Page 37: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

• Inconsistent Proposition– If a belief cannot be true in any possible

occasion– Often it is referred to as self-contradictory or

simply contradiction– E.g. p ~p p • ~p

T F F

T F F

F T F

F T F

Page 38: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

• Consistent Proposition– If two or more beliefs can be true together in

some possible situation.

p q p . q p v qT T T T

T F F T

F T F T

F F F F

Page 39: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

• Consistent Proposition– If a belief can be true in some possible

occasion.

p q p qT T T

T F F

F T T

F F T

Page 40: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

• Tautologous Proposition– Beliefs that are always true no matter what– E.g.

• If it rains then it rains.

• R R

• Equivalent Proposition– Propositions that are perfectly consistent.

p q p q ~p v qT T T T

T F F F

F T T T

F F T T

Page 41: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Determine what type of Proposition

R v ~RR • ~R(R v S) • TR ~RR S

Page 42: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Compare the following pairs of proposition and determine whether they are consistent, inconsistent, contradictory1.

2.

3.

4.

5.

6.

7.

R S ~S ~R

D • ~E D E

P • O O v P

~D v T ~(D • ~T)

~K L K ~L

O (P Q) (O P) Q

O • (P v Q) (O • P) v (O • Q)

Page 43: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Replacement

• Equivalent sentences can replace each other within any complex proposition salva veritate, meaning without gain or loss of truth values.

• Equivalent sentences are represented using material equivalence ( ) and all forms are summarized in the

Page 44: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Rules of Replacement

1. Material Implication (Impl.)(p q) (~p v q)

2. Association (Assoc.)

[p v ( q v r)] [(p v q) v r]

[p • ( q • r)] [(p • q) • r]

3. Distribution (Dist.)

[p • ( q v r)] [(p • q) v (p • r)]

[p v ( q • r)] [(p v q) • (p v q)]

Page 45: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Rules of Replacement

4. Commutation (Com.)(p v q) (q v p)(p • q) (q • p)

5. De Morgan’s Rule (De M.) ~(p • q) (~p v ~q)

~(p v q) (~p • ~q)

6. Double Negation (D.N.)p ~~p

Page 46: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Rules of Replacement

7. Transposition (Trans.)(p v q) (q v p)

8. Material Equivalence (Equiv.) (p q) (p q) • (q p)

(p q) (p • q) v (~p • ~q)

9. Exportation (Exp.)

[(p • q) r] [p (q r)]10. Tautology (Taut.)

p (p v p)

p (p • p)

Page 47: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Formal Proof

• The following are said to be the Elemtary Rules of Inference for Modern Symbolic Logic:

1. Modus Ponens (M.P.)p qp q

2. Modus Tolens (M.P.)p q~q~p

3. Addition (Add.)p p v q

Page 48: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Formal Proof

4. Simplification (Simp.)p • q p

5. Conjunction (Conj.)p q p • q

6. Disjunctive Syllogism (D.S.)p v q~p ~q

7. Hypothetical Syllogism (H.S.)p qq rp r

8. Constructive Dilemma (C.D.)p qr sp v rq v s

9. Destructive Dilemma (D.D.)p qr s~q v ~s~p v ~r

10. Absorption (Abs.)p qp (p • q)

Page 49: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Exercise. Determine what argument form was used in the following arguments

1. Thomas will apologize or Michelle will be angry. Thomas will not apologize. Therefore, Michelle will be angry.

2. If Tuguegarao is in Cagayan, then San Gabriel is in Cagayan.

If San Gabriel is in Cagayan, then Sir Mike’s house is in Cagayan. If Tuguegarao is in Cagayan, then Sir Mike’s house is in Cagayan.

3. If this flashlight works, then the batteries are good. This flashlight does work. Therefore, the batteries are good.

Page 50: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

4. If this flashlight works, then the batteries are good.

The batteries are not good. Therefore, the flashlight does not work.

5. If this punch contains gin, then Emil will like it, and if it contains Matador, then Loid will like it.

This punch contains either gin or Matador. Therefore, either Emil will like it or Loid will like it.

6. If this punch contains gin, then Emil will like it, and if it contains Matador, then Loid will like it.

Either Emil will not like it or Loid will not like it. Therefore, either this does not contain gin or it does not contain Matador.

Page 51: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

7. If Napoleon was killed in a plane crash, then Napoleon is dead.

Napoleon was not killed in a plane crash.

Therefore, Napoleon is not dead.

Page 52: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

If the Lakers win the playoff, then the Pistons will lose the championship. If the Lakers do not win the playoff, then either Jackson or Bryant will be fired. The Pistons will not lose the championship. Furthermore, Bryant will not be fires. Therefore, Jackson will be fired.

Page 53: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

1. If the Lakers win the playoff, then the Pistons will lose the championship.

2. If the Lakers do not win the playoff, then either Jackson or Bryant will be fired.

The Pistons will not lose the championship.

Furthermore, Bryant will not be fired.

Therefore, Jackson will be fired.

1. L P

2. ~L (J v B)

3. ~P

4. ~B

/ J

Page 54: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

1. L P2. ~L (J v B)3. ~P 4. ~B / J5. ~L 1, 3, MT6. B v J 2, 5, MP7. J 4, 6, DS

Page 55: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

EX. 1

1. S T

2. T U

3. R S / R U

4. R T 1, 3, HS

5. R U 2, 4, HS

Page 56: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

EX. 21. A v B2. ~C ~A3. C D4. ~D / B5. ~C 3, 4, MT6. ~A 2, 5, MP7. B 1, 6, DS

Page 57: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Proving the validity of an argument

EX. 31. E (K L)2. F (L M)3. G v E4. ~G5. F / K M6. E 3, 4, DS7. K L 1, 6, MP8. L M 2, 5, MP7. K M 7, 8, HS

Page 58: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Exercise. Supply the required justification

for the derived steps in the following proofs: (1) 1. J (K L)

2. L v J

3. ~L /~K

4. J _______

5. K L _______

6. ~K _______

(Ans) 1. J (K L)

2. L v J

3. ~L /~K

4. J __

5. K L _______

6. ~K _______

Page 59: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Exercise. Supply the required justification

for the derived steps in the following proofs: (2) 1. ~(S T) (~P Q)

2. (S T) P

3. ~P /Q

4. ~(S T) _______

5. ~P Q _______

6. Q _______

(Ans) 1. ~(S T) (~P Q)

2. (S T) P

3. ~P /Q

4. ~(S T) _

5. ~P Q _

6. Q _

Page 60: INTRODUCTION TO SYMBOLIC LOGIC Propositional Logic & Truth Functional Analysis

Exercise. Use the first four rules of inference to derive the conclusions of the following symbolized arguments:

(1) 1. (G J) v (B P) 2. ~(G J) / B P

(2) 1. (K • O) (N v T) 2. K • O / N v T