Slides Chapter 1 M
Slides Chapter 1 M
Slides Chapter 1 M
Karanfil Soyhun
Karanfil Soyhun
ksoyhun@gmail.com
359 6558
Room: John Freely Building 506
Text Book
First 3 chapters of D. Kalish, R. Montegue. Logic Techniques of
Formal Reasoning. 2nd ed. San Diego. 1980
You may find a copy of it at the Hisar Photocopier, behind
the Hisarustu bus stop, and at Bookstore Photocopier.
Exams
4 exams, no final.
NOT negotiable. If you miss an exam, you will have to apply
to Mazeret Committee.
Teach what you want students to learn from the subject, and
test how well they learned that material.
No surprises.
Exam questions are exactly like what I said they will be.the
book, and the study guides are all you need for a good
grade.
Assesment
1st Exam October 16th (10%)
FINAL (50%)
Overview of the Class
Week 1 -3
We will study a simple sentential calculus, called “the
language of conditionals and negation”, or shortened to CN
by our book. This will allow us to start formulating concepts
like validity, syntax, and semantics. We will provide
translations of natural language arguments to CN, and show
whether they are valid or not. You will find my slides, as well
as a study guide in Moodle. Best way to study for the first
exam is todo all the examples of the book.You really do not
need anything else.
1st Exam October 16th (10%)
Week 4- 6
We will study a more complex version of sentential calculus,
SN. This will allow us to get a better understanding of
validity, syntax, and semantics. Again we will provide
translations of natural language arguments to CN, and show
whether they are valid or not. However, things get more
complicated with chapter 2. SN allows us to capture more of
the everyday arguments than CN. We will also learn the
method for proving when invalidty.
Again,
You will find my slides, as well as a study guide in Moodle.
Best way to study for the first exam is todo all the examples
of the book.You really do not need anything else.
2nd Exam November 13th(20%)
Week 7, 8
We will start with the propositional calculus, PC. Since this
is a major change from the previous 2 chapters, we will have
an initial introduction for PC, learn to formulate
grammatical sentences, and translation, then have an exam on
these topics.
This is common to
Law, Science, Social sciences.
Inferences, arguments…
Certain methods are good ones.
Premises
Conclusions ஃ
Declarative sentences
Possess truth values either true or false,
The book is a difficult one.
YES,
for the logician,
Soundness
VALID + TRUE premises
Validity
It is impossible for the premises to be true and the conclusion
to be false.
Logic is concerned with validity, not with the truth of the
premises.
PஃP
Wet Streets
1. If it is raining then the streets are wet.
2. It is raining.
3. ஃ The streets are wet.
Rain?
1. If it is raining then the streets are wet.
2. The streets are wet.
3. ஃ It is raining.
Difference?
The Logic of CN
New language
Vocabulary,
Grammar
Vocabulary
Connectives: → ~
Punctuation: ( )
Grammar Rules for SS
2. If α is a SS, so is ~ α
((~T → Q) → R)) → Z
~~ ~ [(~S → Q) → R]
[[~S → Q ] → J]
[(~S → p) → R]
[(~W → Q) → Y] → ~V
T → ~(S → Q) → R
Homework 1
P 7. all 6 questions.
TREES
(P → Q)
P Q
~P
P
(P → Q) → ~R
(P → Q) ~R
P Q R
(P → Q) → ~K
(P → Q) ~R
P Q K
((~S → Q) → R)
(~S → Q) → R
[~S → Q ] → R
[(~S → Q) → R]
But not
[(~S → Q) → R
[~S → Q) → R]
Quiz 1
((~S → Q) → R)
(~S → Q) → R
[~S → Q ] → R
[(~S → Q) → R]
But not
[(~S → Q) → R
[~S → Q) → R]
Truth Values
~P
P ~P
T F
F T
Truth Values
(P → Q) or informally P → Q
(P → Q) is true if and only if
P is false,
Q is true,
P is true and Q is true.
(P → Q) is false
P is true and Q is false.
P Q (P → Q)
T T T
T F F
F T T
F F T
Negation ~
It is not the case that Einstein is stupid.
Einstein isn’t stupid.
Einstein fails to be stupid.
P: Einstein is stupid.
~P
Variations of ~
It is not the case that
n’t
Not
Fails
Prefixes: im, un, a, in
Immoral, unbearable, inflexible…
Standard Form of the Conditional
If Tego is a dog, then he is a mammal.
P:Tego is a dog Q:Tego is a mammal
P→Q
P is the Antecedent-
the sufficient condition
Q is the Consequent-
the necessary condition.
Variations of the conditional →
Assuming that
Provided that
Given that
On the condition that
(P→ Q)
Provided that Tego is a dog, he is a mammal.
(P→ Q)
Examples
If Joe is happy, then Barry is happy.
P Joe is happy Q Barry is happy
(P→ Q)
It isn’t the case that if Joe is happy, then Barry is happy.
~ (P→ Q)
,
P if Q provided that Jane won’t.
Ahmet will go to the party if Mary will ,
(P→ Q)
Or (Q→ P)
(Q→ P)
Exercises p.12-13
11. If Alfred will pass if he concentrates, then logic is
enjoyable.
Q: Alfred will pass R: Alfred concentrates. P: logic is enjoyable.
Antecedent? Main connective?
If Q if R, then P.
If Alfred will pass if he concentrates (R→ Q) → P
T provided that P (P → T)
U only if R (U → R)
~((P → T) → (U → R))
15. Alfred will pass only if he concentrates provided that
the text is unreadable.
Q → (~S →R)
~S → (Q →R)
We finished
Symbolization
Inference Rules
Derivation Rules
Primitive Sentential Inference Rules
S PR 2.
~~ S DN PR2
~~S → T
~~ S DN PR2
T MP
How about?
T → (P → (~R →S))
~T → Z
~Z
P
~S
R
Worse Yet!
P→Q
Q→R
P→R
Direct Derivation
1. Show Φ
DD
Φ
Conditional Derivation
ACD
Show Φ → Ψ
Φ
CD
Ψ
EXAMPLES
T→ ~~P · ~ T → (~ S→ U) · ~U ஃ ~P→ S
T → (P → (~R →S)) · ~T → Z · ~Z · P · ~S ஃ R
NESTED
1. ~ T → U
2. U→ (P → S)
3. P → (~T →S)
FROM NL
1. If Tego sees another dog, he hides his bone.
If Tego does not see another dog, he plays with his bone.
If Tego doesn’t hide his bone, he doesn’t play with his bone.
Tego hides his bone.
Proof ?
P→Q
~P → R
~Q → ~R
Q
1. Show Φ
2. ~ Φ AID
ID l,n
~Ψ
EXAMPLES
P →Q · ~Q ஃ ~P
P → Q · ~P → R · ~Q → ~R ஃ Q
3 Kind of Lines
P →Q · ~Q ஃ ~P
P→Q · ~P→Q ஃ Q
THEOREMS
Theorems are ss, we can prove without using any premise.
T1. P → P
Finish any start with the Φ, which was the show line. =DD
Φ→Ψ
Φ
Ψ
Fallacy of Denying the antecedent MT
Φ→Ψ If Joe studies, he’ll pass.
~Φ Joe didn’t study.
~Ψ Joe didn’t pass.
Two kinds:
AID ~of the show line
ACD antecedent of the show line
If I can assume anything I want, I could
prove anything…
P·QஃP→S
1. Show P → S
~P 2.
AID
Pr1
P
2, 3 ID
Restrictions on Inferences
Inferences apply only to LIVE lines.
THIS MEANS
Not to dead lines (i.e. boxed lines)
Not to possibly live lines
(i.e. uncancelled SHOW lines)
If I can use inferences on possibly live
lines, I could prove anything…
ஃP→S
1. Show P → S
P→S 2.
R
2 DD
Boxing and Cancelling
Boxes ought not to have uncancelled show lines.
Study Guide 1
Professors like logic provided that they are good go players.
P: Professors like logic Q: Professors are good go players.
Q→P
Ahmed'll hang the clothes to dry, provided that he doesn’t
procrastinate.
P: Ahmed will hang the clothes to dry. Q: Ahmed procrastinates.
~Q → P
Ayse, and Ahmet will study for the exam, if they are not scared of
getting a bad grade.
~Q → P
If God is not benevolent, then God does not exist provided
that being benevolent is perfection.
~P → ( ~Q → R)
~P → ( R →~Q )
IF P, Q
IF ~P, S
IF ~Q, ~S
Q
(P→ Q) → Q ● S ▲ (Q→P) → P)
T15 (~P→Q) → (~Q→ P)
(P→Q) →P ▲ P
T18 ~P → (P→ Q)
T22 ~ (P →Q) → ~ Q
T21
30#
1. (P → Q) → R
2. S → ~P
3. T
4. ~S → (T → Q)
▲R
31 # TRANSLATED
1. P →Q
2. R → ~S
3. S → P
4. Q → R
▲ S → ~T
35# TRANSLATED
1. P→Q
2. P→ R
3. P→ S
4. T → (U → (~V → ~S))
5. Q→ T
6. R → (W → U)
7. V → ~W
8. W
▲~ P
STRATEGIC HINTS P. 27
1. To drive a conditional, use CD
2. Anything else, use ID (unless something is obvious)
3. Enter premises as lines, only after the assumption lines, if
you have them. (Nothing comes between)
4. Whenever something follows from MP or MT, enter them
as lines.
5. If you have ~ (Φ→ Ψ ), show Φ → Ψ , use this
contradiction to finish with ID.
6. If you have (Φ → Ψ ) → (Χ → Ψ ) as a live line or a
premise, show the antecedent (Φ → Ψ ) , and use MP.
Prove T11 by using MP only.
1. Show ~~ P → P
2. ~~ P ACD
3. Show P
4. ~P AID
5. Show ~~ P → ~~ P
6. ~~ P ACD
7. ~~ P 2.5 MP
Restricting Inference Rules
# 38
Prove T11 by using MP only.
1. Show ~~ P → P
2. ~~ P ACD
3. Show P
4. ~P AID
5. ~~ P
# 39
Prove T11 by using MP, and MT* only. No ID.
1. Show ~~ P → P
2. ~~ P ACD
3. Show ~ P → ~~~ P
4. ~P ACD
5. Show ~ ~ P → ~~ P
6. ~~ P
7. ~~ P 2,5 MP
8. P NO! THIS IS THE ID.
9. TRY AGAIN! HINT SHOW (~ ~~ ~ P → ~~ P)