Professional Documents
Culture Documents
Krishna. S
1/18
Basic Rules So Far
2/18
The Copy Rule
I ` p → (q → p)
1. true premise
2.
3/18
The Copy Rule
I ` p → (q → p)
1. true premise
2. p assumption
3.
3/18
The Copy Rule
I ` p → (q → p)
1. true premise
2. p assumption
3. q assumption
4.
3/18
The Copy Rule
I ` p → (q → p)
1. true premise
2. p assumption
3. q assumption
4. p copy 2
5.
3/18
The Copy Rule
I ` p → (q → p)
1. true premise
2. p assumption
3. q assumption
4. p copy 2
5. q→p → i 3-4
6.
3/18
The Copy Rule
I ` p → (q → p)
1. true premise
2. p assumption
3. q assumption
4. p copy 2
5. q→p → i 3-4
6. p → (q → p) → i 2-5
3/18
The Rules of Single Negation
4/18
The Rules of Single Negation
4/18
The Rules of Single Negation
4/18
The Rules of Single Negation
4/18
The Rules of Single Negation
4/18
Rules with ⊥
⊥
ψ
5/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4. ⊥ ⊥i 2,3
5.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4. ⊥ ⊥i 2,3
5. q ⊥e 4
6.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4. ⊥ ⊥i 2,3
5. q ⊥e 4
6. p→q → i 3-5
7. q ∨ e (2)
8.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4. ⊥ ⊥i 2,3
5. q ⊥e 4
6. p→q → i 3-5
7. q ∨ e (2)
8. p assumption
9.
6/18
An Example
I ¬p ∨ q ` p → q
1. ¬p ∨ q premise
2. ¬p ∨ e (1)
3. p assumption
4. ⊥ ⊥i 2,3
5. q ⊥e 4
6. p→q → i 3-5
7. q ∨ e (2)
8. p assumption
9. q copy 7
10. p→q → i 8-9
11. p→q ∨e 1, 2-6, 7-10
6/18
Introducing Negations (PBC)
7/18
An Example
I p → ¬p ` ¬p
1. p → ¬p premise
2.
8/18
An Example
I p → ¬p ` ¬p
1. p → ¬p premise
2. p assumption
3.
8/18
An Example
I p → ¬p ` ¬p
1. p → ¬p premise
2. p assumption
3. ¬p MP 1,2
4.
8/18
An Example
I p → ¬p ` ¬p
1. p → ¬p premise
2. p assumption
3. ¬p MP 1,2
4. ⊥ ⊥i 2,3
5. ¬p ¬i 2-4
8/18
The Last One
ϕ ∨ ¬ϕ
9/18
Summary of Basic Rules
10/18
Derived Rules
11/18
The Proofs So Far
12/18
The Proofs So Far
12/18
The Proofs So Far
12/18
Semantics
13/18
Semantics
13/18
Semantics
13/18
Semantics
13/18
Soundness of Propositional Logic
ϕ1 , . . . , ϕn ` ψ ⇒ ϕ1 , . . . , ϕn |= ψ
14/18
Soundness
I Assume ϕ1 , . . . , ϕn ` ψ.
15/18
Soundness
I Assume ϕ1 , . . . , ϕn ` ψ.
I There is some proof (of length k lines) that yields ψ. Induct on k .
15/18
Soundness
I Assume ϕ1 , . . . , ϕn ` ψ.
I There is some proof (of length k lines) that yields ψ. Induct on k .
I When k = 1, there is only one line in the proof, say ϕ, which is
the premise. Then we have ϕ ` ϕ, since ϕ is given. But then we
also have ϕ |= ϕ.
15/18
Soundness
I Assume ϕ1 , . . . , ϕn ` ψ.
I There is some proof (of length k lines) that yields ψ. Induct on k .
I When k = 1, there is only one line in the proof, say ϕ, which is
the premise. Then we have ϕ ` ϕ, since ϕ is given. But then we
also have ϕ |= ϕ.
I Assume that whenever ϕ1 , . . . , ϕn ` ψ using a proof of length
6 k − 1, we have ϕ1 , . . . , ϕn |= ψ.
15/18
Soundness
I Assume ϕ1 , . . . , ϕn ` ψ.
I There is some proof (of length k lines) that yields ψ. Induct on k .
I When k = 1, there is only one line in the proof, say ϕ, which is
the premise. Then we have ϕ ` ϕ, since ϕ is given. But then we
also have ϕ |= ϕ.
I Assume that whenever ϕ1 , . . . , ϕn ` ψ using a proof of length
6 k − 1, we have ϕ1 , . . . , ϕn |= ψ.
I Consider now a proof with k lines.
15/18
Soundness : Case ∧i
I How did we arrive at ψ? Which proof rule gave ψ as the last line?
16/18
Soundness : Case ∧i
I How did we arrive at ψ? Which proof rule gave ψ as the last line?
I Assume ψ was obtained using ∧i. Then ψ is of the form ψ1 ∧ ψ2 .
16/18
Soundness : Case ∧i
I How did we arrive at ψ? Which proof rule gave ψ as the last line?
I Assume ψ was obtained using ∧i. Then ψ is of the form ψ1 ∧ ψ2 .
I ψ1 and ψ2 were proved earlier, say in lines k1 , k2 < k .
16/18
Soundness : Case ∧i
I How did we arrive at ψ? Which proof rule gave ψ as the last line?
I Assume ψ was obtained using ∧i. Then ψ is of the form ψ1 ∧ ψ2 .
I ψ1 and ψ2 were proved earlier, say in lines k1 , k2 < k .
I We have the shorter proofs ϕ1 , . . . , ϕn ` ψ1 and ϕ1 , . . . , ϕn ` ψ2
16/18
Soundness : Case ∧i
I How did we arrive at ψ? Which proof rule gave ψ as the last line?
I Assume ψ was obtained using ∧i. Then ψ is of the form ψ1 ∧ ψ2 .
I ψ1 and ψ2 were proved earlier, say in lines k1 , k2 < k .
I We have the shorter proofs ϕ1 , . . . , ϕn ` ψ1 and ϕ1 , . . . , ϕn ` ψ2
I By inductive hypothesis, we have ϕ1 , . . . , ϕn |= ψ1 and
ϕ1 , . . . , ϕn |= ψ2 . By semantics, we have ϕ1 , . . . , ϕn |= ψ1 ∧ ψ2 .
16/18
Soundness : Case → i
17/18
Soundness : Case → i
17/18
Soundness : Case → i
17/18
Soundness : Case → i
17/18
Soundness : Case → i
17/18
Soundness : Case → i
17/18
Soundness : Other cases
Do this as homework
18/18