Professional Documents
Culture Documents
Language of SL
1. Sentential Constants Every capital letter is a sentential constant. E.g.: A, B, C, . . .
Sentential constants are used to abbreviate simple sentences. E.g.: Peter is tall. abbreviated as -- P
2. Sentential Operators
Sentential Operator
(conjunction)
Symbolization
(dot)
___and___
(disjunction)
( ___ ___ )
(wedge)
___or___
(conditional)
( ___v___ )
(horseshoe)
If___then___
(biconditional)
( ______ )
(triple bar)
(______)
(tilde)
not____
~___
Terminology
(conjunction)
p and q
(disjunction)
p or q
(conditional)
If p then q
Two notions
Major operator: Determines the overall form of a formula. The major operator is the operator last introduced into a formula.
Subformula: Any well-formed formula that is part of a larger formula.
Task
We need to know what our five sentential operators mean logically. More precisely, we need to know how they affect the truth-values of the compound sentence formed with them.
We call this: truth-functional semantics
Truth Tables
p
We specify the meanings of our sentential operators with the aid of truth tables: T T
q
T F
p op. q
F
F
T
F
p
T T
q
T F
(p q)
T F
F
F
T
F
F
F
2. Disjunction: or A disjunction is true if and only if at least one of its disjuncts is true. In symbolic logic, we use the inclusive or. Exclusive or: (p v q) ~ (p q)
p
T T
q
T F
(p v q)
T T
F
F
T
F
T
F
3. Biconditional:
If and only if
p
T T
q
T F T
(p q)
T F F
A biconditional is true if and only if both components have the same truthvalue.
4. Negation: not
p T
~p F
p
T T
q
T F T
(p q)
T F T
A conditional is false if and only if the antecedent is true and the consequent false.
Conditional
If I study hard, then I will pass the exam. 1. I study hard T I study hard T I dont study hard F I pass the exam. T I do not pass the exam. F I pass the exam. T
2.
3.
(I might actually pass the exam, even though I dont study hard. Say, if the exam is easy.) 4. I dont study hard F I do not pass the exam. F
(1)
(2)
If Gore was elected in 2000, then NASA will land on Pluto in 2001.
Both, antecedent and consequent are false, but the conditional is true.
(3)
If cats speak all Western European languages, then they do not speak French.
Both, antecedent and consequent, contradict each other. But the entire conditional is true.
Computing Truth-Values of Compound Sentences 1. We write the truth-value of a sentence immediately above the sentence letter. 2. We write the truth-values of subformulas under their major operator, starting with the smallest subformulas.
Step 1:
T F T F F T ((A v B) (C v D)) (B A)
Note: You dont need to care about how we assign truthvalues to the individual sentence letters. Later on, we will develop a procedure that allows us to do this systematically.
Step 2:
T F T F F T ((A v B) (C v D)) (B A) T T T
Compute!
1.
T F F T F T ((~A B) (C D)) v (B D) 2.
T T F F T T ((A B) v A) ((C A) B)