Last time Sequent: 1 , . . . , n assumptions goal - - PowerPoint PPT Presentation

last time
SMART_READER_LITE
LIVE PREVIEW

Last time Sequent: 1 , . . . , n assumptions goal - - PowerPoint PPT Presentation

Last time Sequent: 1 , . . . , n assumptions goal if you can prove this and also this (using this rule) you can conclude this ( introduction)


slide-1
SLIDE 1

Last time

Sequent: φ1, . . . , φn

  • assumptions

⊢ ψ

  • goal

if you can prove this and also this you can conclude this (using this rule) · · · ⊢ φ · · · ⊢ ψ · · · ⊢ φ ∧ ψ (∧ introduction) · · · ⊢ φ ∧ ψ · · · ⊢ φ (∧ elimination) · · · ⊢ φ ∧ ψ · · · ⊢ ψ (∧ elimination) · · · , φ ⊢ ψ · · · ⊢ φ → ψ (→ intro) · · · ⊢ φ · · · ⊢ φ → ψ · · · ⊢ ψ (→ elim)

slide-2
SLIDE 2

· · · ⊢ φ · · · ⊢ ψ · · · ⊢ φ ∧ ψ (∧ introduction) · · · ⊢ φ ∧ ψ · · · ⊢ φ (∧ elimination) · · · ⊢ φ ∧ ψ · · · ⊢ ψ (∧ elimination) · · · , φ ⊢ ψ · · · ⊢ φ → ψ (→ intro) · · · ⊢ φ · · · ⊢ φ → ψ · · · ⊢ ψ (→ elim)

slide-3
SLIDE 3

· · · ⊢ φ · · · ⊢ ψ · · · ⊢ φ ∧ ψ (∧ introduction) · · · ⊢ φ ∧ ψ · · · ⊢ φ (∧ elimination) · · · ⊢ φ ∧ ψ · · · ⊢ ψ (∧ elimination) · · · , φ ⊢ ψ · · · ⊢ φ → ψ (→ intro) · · · ⊢ φ · · · ⊢ φ → ψ · · · ⊢ ψ (→ elim) · · · ⊢ φ · · · ⊢ φ ∨ ψ (∨ intro) · · · ⊢ ψ · · · ⊢ φ ∨ ψ (∨ intro)

slide-4
SLIDE 4

· · · ⊢ φ · · · ⊢ ψ · · · ⊢ φ ∧ ψ (∧ introduction) · · · ⊢ φ ∧ ψ · · · ⊢ φ (∧ elimination) · · · ⊢ φ ∧ ψ · · · ⊢ ψ (∧ elimination) · · · , φ ⊢ ψ · · · ⊢ φ → ψ (→ intro) · · · ⊢ φ · · · ⊢ φ → ψ · · · ⊢ ψ (→ elim) · · · ⊢ φ · · · ⊢ φ ∨ ψ (∨ intro) · · · ⊢ ψ · · · ⊢ φ ∨ ψ (∨ intro) · · · ⊢ φ1 ∨ φ2 · · · , φ1 ⊢ ψ · · · , φ1 ⊢ ψ · · · ⊢ ψ (∨ elim)

slide-5
SLIDE 5

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-6
SLIDE 6

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-7
SLIDE 7

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-8
SLIDE 8

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-9
SLIDE 9

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-10
SLIDE 10

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-11
SLIDE 11

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-12
SLIDE 12

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-13
SLIDE 13

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-14
SLIDE 14

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-15
SLIDE 15

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-16
SLIDE 16

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-17
SLIDE 17

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-18
SLIDE 18

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-19
SLIDE 19

Claim: P ∨ (Q ∧ R) → ((P ∨ Q) ∧ (P ∨ R)) Proof: Assume P ∨ (Q ∧ R); we want to show (P ∨ Q) ∧ (P ∨ R) First, we will show P ∨ Q, then we will show P ∨ R. Since we know P ∨ (Q ∧ R), (by assumption) we can do case analysis. In the case where P is true, we have P ∨ Q, since we have P. We also have P ∨ R, so we can conclude (P ∨ Q) ∧ (P ∨ R). In the case where (Q ∧ R) is true, we again want to show (P ∨ R) ∧ (Q ∨ R). Since we know (Q ∧ R), we can conclude Q, and therefore P ∨ Q Similarly, since we have Q ∧ R we can conclude R. and therefore P ∨ R. Putting these together gives (P ∨ Q) ∧ (P ∨ R), as required.

slide-20
SLIDE 20

· · · , φ ⊢ φ assumption

slide-21
SLIDE 21

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof:

slide-22
SLIDE 22

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P.

slide-23
SLIDE 23

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false,

slide-24
SLIDE 24

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false, · · · ⊢ φ ∨ ¬φ (law of excluded middle)

slide-25
SLIDE 25

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false, so we can use case analysis: show P is true in either case. · · · ⊢ φ ∨ ¬φ (law of excluded middle)

slide-26
SLIDE 26

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false, so we can use case analysis: show P is true in either case. If P is true, we are done. · · · ⊢ φ ∨ ¬φ (law of excluded middle)

slide-27
SLIDE 27

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false, so we can use case analysis: show P is true in either case. If P is true, we are done. If P is false, we have a both ¬P and ¬(¬P), a contradiction. · · · ⊢ φ ∨ ¬φ (law of excluded middle)

slide-28
SLIDE 28

· · · , φ ⊢ φ assumption Claim: ¬¬P → P Proof: Assume ¬¬P. We know that P is either true or false, so we can use case analysis: show P is true in either case. If P is true, we are done. If P is false, we have a both ¬P and ¬(¬P), a contradiction. · · · ⊢ φ ∨ ¬φ (law of excluded middle) · · · ⊢ φ · · · ⊢ ¬φ · · · ⊢ ψ (absurd)

slide-29
SLIDE 29

φ1, . . . , φn ⊢ ψ: ◮ ψ is provable from the φi ◮ there is a valid proof tree ending in φ1, . . . , φn ⊢ ψ

slide-30
SLIDE 30

φ1, . . . , φn ⊢ ψ: ◮ ψ is provable from the φi ◮ there is a valid proof tree ending in φ1, . . . , φn ⊢ ψ φ1, . . . , φn ψ: ◮ the φi entail ψ ◮ for all I that satisfy all of the φi, I also satisfies ψ.

slide-31
SLIDE 31

φ1, . . . , φn ⊢ ψ: ◮ ψ is provable from the φi ◮ there is a valid proof tree ending in φ1, . . . , φn ⊢ ψ φ1, . . . , φn ψ: ◮ the φi entail ψ ◮ for all I that satisfy all of the φi, I also satisfies ψ. Defn: ⊢ is sound (with respect to ) if, whenever (φi) ⊢ ψ, we have (φi) ψ. Defn: ⊢ is complete (with respect to ) if, whenever (φi) ψ, we have (φi) ⊢ ψ.