INF3170 / INF4171 Soundness and completeness of sequent calculus - - PowerPoint PPT Presentation

inf3170 inf4171
SMART_READER_LITE
LIVE PREVIEW

INF3170 / INF4171 Soundness and completeness of sequent calculus - - PowerPoint PPT Presentation

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem INF3170 / INF4171 Soundness and completeness of sequent calculus Andreas Nakkerud September 14, 2016 Syntax of


slide-1
SLIDE 1

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

INF3170 / INF4171

Soundness and completeness of sequent calculus Andreas Nakkerud September 14, 2016

slide-2
SLIDE 2

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables).

slide-3
SLIDE 3

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows:

slide-4
SLIDE 4

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi.

slide-5
SLIDE 5

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi. If F, G ∈ F, then

slide-6
SLIDE 6

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi. If F, G ∈ F, then

(¬F) ∈ F,

slide-7
SLIDE 7

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi. If F, G ∈ F, then

(¬F) ∈ F, (F ∧ G) ∈ F,

slide-8
SLIDE 8

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi. If F, G ∈ F, then

(¬F) ∈ F, (F ∧ G) ∈ F, (F ∨ G) ∈ F, and

slide-9
SLIDE 9

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Formulas

We define the set of all propositional fomulas inductively. Let Pi denote the atomic formulas (propositional variables). The set F of formulas are defined as follows: Pi ∈ F for all propositional variables Pi. If F, G ∈ F, then

(¬F) ∈ F, (F ∧ G) ∈ F, (F ∨ G) ∈ F, and (F → G) ∈ F.

slide-10
SLIDE 10

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Assignments of truth values

An assignment of truth values is a function from atomic formulas (propositional vaiables) to truth values {0, 1}. Where 0 is used for false, and 1 for true.

slide-11
SLIDE 11

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Assignments of truth values

An assignment of truth values is a function from atomic formulas (propositional vaiables) to truth values {0, 1}. Where 0 is used for false, and 1 for true. Example If the assignment v makes A true and B false, we write this as v(A) = 1 v(B) = 0.

slide-12
SLIDE 12

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values.

slide-13
SLIDE 13

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows:

slide-14
SLIDE 14

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows: Let F, G ∈ F. We define v such that

slide-15
SLIDE 15

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows: Let F, G ∈ F. We define v such that v

  • (¬F)
  • = 1 − v(F),
slide-16
SLIDE 16

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows: Let F, G ∈ F. We define v such that v

  • (¬F)
  • = 1 − v(F),

v

  • (F ∧ G)
  • = min{v(F), v(G)},
slide-17
SLIDE 17

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows: Let F, G ∈ F. We define v such that v

  • (¬F)
  • = 1 − v(F),

v

  • (F ∧ G)
  • = min{v(F), v(G)},

v

  • (F ∨ G)
  • = max{v(F), v(G)}, and
slide-18
SLIDE 18

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Valuations

A valuation v : F → {0, 1} is a function from propositional formulas to truth values. When restricted to atomic formulas, a valuation is an assignment of truth values. For non-atomic formulas, we define valuations recursively as follows: Let F, G ∈ F. We define v such that v

  • (¬F)
  • = 1 − v(F),

v

  • (F ∧ G)
  • = min{v(F), v(G)},

v

  • (F ∨ G)
  • = max{v(F), v(G)}, and

v

  • (F → G)
  • =
  • 0,

if v(F) = 1 and v(G) = 0 1,

  • therwise.
slide-19
SLIDE 19

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Sequent

A sequent if an object on the form Γ ⊢ ∆, where Γ and ∆ are (possibly empty) collections of formulas. Γ is called the antecedent, and ∆ is called the succedent.

slide-20
SLIDE 20

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Sequent

A sequent if an object on the form Γ ⊢ ∆, where Γ and ∆ are (possibly empty) collections of formulas. Γ is called the antecedent, and ∆ is called the succedent. A sequent is valid if any valuation satisfying each formula in Γ satisfies at least one formula in ∆.

slide-21
SLIDE 21

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Sequent

A sequent if an object on the form Γ ⊢ ∆, where Γ and ∆ are (possibly empty) collections of formulas. Γ is called the antecedent, and ∆ is called the succedent. A sequent is valid if any valuation satisfying each formula in Γ satisfies at least one formula in ∆. If a sequent is not valid, then it is falisifiable, and it is falsified by those valuation that make all formulas in Γ true and all formulas in ∆ false.

slide-22
SLIDE 22

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Inference rules

We define the following inference rules for the connectives. The sequents above the line of an inference rule are called premisses, the sequent below the line is the conclusion.

slide-23
SLIDE 23

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Inference rules

We define the following inference rules for the connectives. The sequents above the line of an inference rule are called premisses, the sequent below the line is the conclusion. The inference rules are designed so that whenever the premisses are valid, the conclusion is valid.

slide-24
SLIDE 24

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Inference rules

We define the following inference rules for the connectives. The sequents above the line of an inference rule are called premisses, the sequent below the line is the conclusion. The inference rules are designed so that whenever the premisses are valid, the conclusion is valid. Γ, A ⊢ ∆ R¬ Γ ⊢ ¬A, ∆

slide-25
SLIDE 25

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Inference rules

We define the following inference rules for the connectives. The sequents above the line of an inference rule are called premisses, the sequent below the line is the conclusion. The inference rules are designed so that whenever the premisses are valid, the conclusion is valid. Γ, A ⊢ ∆ R¬ Γ ⊢ ¬A, ∆ Γ ⊢ A, ∆ L¬ Γ, ¬A ⊢ ∆

slide-26
SLIDE 26

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Inference rules

We define the following inference rules for the connectives. The sequents above the line of an inference rule are called premisses, the sequent below the line is the conclusion. The inference rules are designed so that whenever the premisses are valid, the conclusion is valid. Γ, A ⊢ ∆ R¬ Γ ⊢ ¬A, ∆ Γ ⊢ A, ∆ L¬ Γ, ¬A ⊢ ∆ In the above rules ¬A is the active formula in the conclusion, and A in the premiss. Γ and ∆ contain possible inactive formulas.

slide-27
SLIDE 27

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ ⊢ A, ∆ Γ ⊢ B, ∆ R∧ Γ ⊢ A ∧ B, ∆

slide-28
SLIDE 28

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ ⊢ A, ∆ Γ ⊢ B, ∆ R∧ Γ ⊢ A ∧ B, ∆ Γ, A, B ⊢ ∆ L∧ Γ, A ∧ B ⊢ ∆

slide-29
SLIDE 29

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ ⊢ A, ∆ Γ ⊢ B, ∆ R∧ Γ ⊢ A ∧ B, ∆ Γ, A, B ⊢ ∆ L∧ Γ, A ∧ B ⊢ ∆ Γ ⊢ A, B, ∆ R∨ Γ ⊢ A ∨ B, ∆

slide-30
SLIDE 30

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ ⊢ A, ∆ Γ ⊢ B, ∆ R∧ Γ ⊢ A ∧ B, ∆ Γ, A, B ⊢ ∆ L∧ Γ, A ∧ B ⊢ ∆ Γ ⊢ A, B, ∆ R∨ Γ ⊢ A ∨ B, ∆ Γ, A ⊢ ∆ Γ, B ⊢ ∆ L∨ Γ, A ∧ B ⊢ ∆

slide-31
SLIDE 31

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ, A ⊢ B, ∆ R → Γ ⊢ A → B, ∆

slide-32
SLIDE 32

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ, A ⊢ B, ∆ R → Γ ⊢ A → B, ∆ Γ ⊢ A, ∆ Γ, B ⊢ ∆ L → Γ, A → B ⊢ ∆

slide-33
SLIDE 33

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Γ, A ⊢ B, ∆ R → Γ ⊢ A → B, ∆ Γ ⊢ A, ∆ Γ, B ⊢ ∆ L → Γ, A → B ⊢ ∆ The rules with one premiss are called α rules. The rules with multiple premisses are called β rules.

slide-34
SLIDE 34

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Theorem The inference rules R¬, L¬, R∧, L∧, R∨, L∨, R →, and L → each have the property that the conclusion is valid whenever the premisses are valid.

slide-35
SLIDE 35

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Theorem The inference rules R¬, L¬, R∧, L∧, R∨, L∨, R →, and L → each have the property that the conclusion is valid whenever the premisses are valid. The contrapositive of the above theorem is that whenever the conclusion is falsifiable, at least one of the premisses must be

  • falsifiable. In fact:
slide-36
SLIDE 36

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Theorem The inference rules R¬, L¬, R∧, L∧, R∨, L∨, R →, and L → each have the property that the conclusion is valid whenever the premisses are valid. The contrapositive of the above theorem is that whenever the conclusion is falsifiable, at least one of the premisses must be

  • falsifiable. In fact:

Theorem If v falsifies the conclusion of an inference rule, it must also falsify one of its premisses. If v falsifies a premiss of an inference rule, if falsifies the conclusion.

slide-37
SLIDE 37

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Theorem The inference rules R¬, L¬, R∧, L∧, R∨, L∨, R →, and L → each have the property that the conclusion is valid whenever the premisses are valid. The contrapositive of the above theorem is that whenever the conclusion is falsifiable, at least one of the premisses must be

  • falsifiable. In fact:

Theorem If v falsifies the conclusion of an inference rule, it must also falsify one of its premisses. If v falsifies a premiss of an inference rule, if falsifies the conclusion. Proof. Left as an exercise.

slide-38
SLIDE 38

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Axioms

Axioms are sequents of the form Γ, A ⊢ A, ∆, where A is an atomic formula.

slide-39
SLIDE 39

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Axioms

Axioms are sequents of the form Γ, A ⊢ A, ∆, where A is an atomic formula. Theorem Axioms are valid sequents.

slide-40
SLIDE 40

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Axioms

Axioms are sequents of the form Γ, A ⊢ A, ∆, where A is an atomic formula. Theorem Axioms are valid sequents. Proof. If v satisfies each formula in the antecedent of an axiom, then it must satisfy each atomic formula in that antecedent. Since

  • ne of these also uccur in the succedent, the sequent is

valid.

slide-41
SLIDE 41

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Derivations

A derivation is a tree build from sequents. The inference rules define which such trees are derivations. We define derivations as follows:

slide-42
SLIDE 42

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Derivations

A derivation is a tree build from sequents. The inference rules define which such trees are derivations. We define derivations as follows: Let Γ ⊢ ∆ be a sequent. This sequent is also a derivation with Γ ⊢ ∆ as the root, and as the only leaf.

slide-43
SLIDE 43

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Derivations

A derivation is a tree build from sequents. The inference rules define which such trees are derivations. We define derivations as follows: Let Γ ⊢ ∆ be a sequent. This sequent is also a derivation with Γ ⊢ ∆ as the root, and as the only leaf. Let D be a derivation with a leaf sequent Γ ⊢ ∆. And suppose there is a rule of inference with Γ ⊢ ∆ as conclusion and Γ1 ⊢ ∆1, . . . , Γn ⊢ ∆n as premisses. We can extend D by extending the tree upwards from Γ ⊢ ∆. The leaf Γ ⊢ ∆ is replaced by the leaves Γ1 ⊢ ∆1, . . . , Γn ⊢ ∆n.

slide-44
SLIDE 44

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

We usually draw derivations as follows:

slide-45
SLIDE 45

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

We usually draw derivations as follows: A ⊢ A, B R¬ ⊢ A, B, ¬A ⊢ A, B, ¬B R∧ ⊢ A, B, ¬A ∧ ¬B L¬ ¬(¬A ∧ ¬B) ⊢ A, B

slide-46
SLIDE 46

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

We usually draw derivations as follows: A ⊢ A, B R¬ ⊢ A, B, ¬A ⊢ A, B, ¬B R∧ ⊢ A, B, ¬A ∧ ¬B L¬ ¬(¬A ∧ ¬B) ⊢ A, B In this derivation, the root is ¬(¬A ∧ ¬B) ⊢ A, B, and the leaves are A ⊢ A, B and ⊢ A, B, ¬B.

slide-47
SLIDE 47

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

We usually draw derivations as follows: A ⊢ A, B R¬ ⊢ A, B, ¬A ⊢ A, B, ¬B R∧ ⊢ A, B, ¬A ∧ ¬B L¬ ¬(¬A ∧ ¬B) ⊢ A, B In this derivation, the root is ¬(¬A ∧ ¬B) ⊢ A, B, and the leaves are A ⊢ A, B and ⊢ A, B, ¬B. Note that one of the roots is an axiom.

slide-48
SLIDE 48

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proofs in sequent calculus

Definition A derivation is a proof if all its leaves are axioms.

slide-49
SLIDE 49

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proofs in sequent calculus

Definition A derivation is a proof if all its leaves are axioms. Theorem (Soundness) The root sequent of a proof is valid.

slide-50
SLIDE 50

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proofs in sequent calculus

Definition A derivation is a proof if all its leaves are axioms. Theorem (Soundness) The root sequent of a proof is valid. Theorem (Completeness) If a sequent is valid, then there is a proof with that sequent as root.

slide-51
SLIDE 51

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction.

slide-52
SLIDE 52

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root.

slide-53
SLIDE 53

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root. Since the root is falsifiable, at least one of its premisses is falsifiable.

slide-54
SLIDE 54

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root. Since the root is falsifiable, at least one of its premisses is falsifiable. We can prove by structural induction on derivations that any derivation with a falsifiable root must have at least

  • ne falsifiable leaf. (Exercise.)
slide-55
SLIDE 55

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root. Since the root is falsifiable, at least one of its premisses is falsifiable. We can prove by structural induction on derivations that any derivation with a falsifiable root must have at least

  • ne falsifiable leaf. (Exercise.)

Thus, any derivation with a falsifiable root will have at least one leaf that is not an axiom.

slide-56
SLIDE 56

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root. Since the root is falsifiable, at least one of its premisses is falsifiable. We can prove by structural induction on derivations that any derivation with a falsifiable root must have at least

  • ne falsifiable leaf. (Exercise.)

Thus, any derivation with a falsifiable root will have at least one leaf that is not an axiom. A derivation with non-axiom leaves is not a proof.

slide-57
SLIDE 57

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Soundness

In order to prove that sequent calculus is sound, we are going to use a proof by contradiction. Assume we have a proof with a falsifiable root. Since the root is falsifiable, at least one of its premisses is falsifiable. We can prove by structural induction on derivations that any derivation with a falsifiable root must have at least

  • ne falsifiable leaf. (Exercise.)

Thus, any derivation with a falsifiable root will have at least one leaf that is not an axiom. A derivation with non-axiom leaves is not a proof. We have a contradiction, and conclude that the root of a proof must be valid.

slide-58
SLIDE 58

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Completeness

Lemma If a sequent contains only atomic formulas, then it is valid if and only if it is an axiom.

slide-59
SLIDE 59

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Completeness

Lemma If a sequent contains only atomic formulas, then it is valid if and only if it is an axiom. Lemma Any derivation can be extended to a maximal derivation where the leaves contain only atomic formulas.

slide-60
SLIDE 60

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Completeness

Lemma If a sequent contains only atomic formulas, then it is valid if and only if it is an axiom. Lemma Any derivation can be extended to a maximal derivation where the leaves contain only atomic formulas. Lemma Any derivation with a valid root has only valid leaves.

slide-61
SLIDE 61

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proof of completeness

Let Γ ⊢ ∆ be a valid sequent.

slide-62
SLIDE 62

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proof of completeness

Let Γ ⊢ ∆ be a valid sequent. Extend the root-only derivation Γ ⊢ ∆ to a maximal derivation.

slide-63
SLIDE 63

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proof of completeness

Let Γ ⊢ ∆ be a valid sequent. Extend the root-only derivation Γ ⊢ ∆ to a maximal derivation. All leaves of this derivation are valid and have only atomic formulas in them.

slide-64
SLIDE 64

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Proof of completeness

Let Γ ⊢ ∆ be a valid sequent. Extend the root-only derivation Γ ⊢ ∆ to a maximal derivation. All leaves of this derivation are valid and have only atomic formulas in them. It follows that all leaves of the derivation are axioms, and that the derivation is a proof.

slide-65
SLIDE 65

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it.

slide-66
SLIDE 66

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof.

slide-67
SLIDE 67

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof. Create a maximal derivation of Γ ⊢ ∆.

slide-68
SLIDE 68

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof. Create a maximal derivation of Γ ⊢ ∆. Since the sequent is not provable, there must be a non-axiom leaf A1, . . . , An ⊢ B1, . . . , Bm where Ai = Bj for all i, j.

slide-69
SLIDE 69

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof. Create a maximal derivation of Γ ⊢ ∆. Since the sequent is not provable, there must be a non-axiom leaf A1, . . . , An ⊢ B1, . . . , Bm where Ai = Bj for all i, j. The valuation defined so that v(Ai) = 1 and v(Bj) = 0 falsifies our leaf, and therefore also the root.

slide-70
SLIDE 70

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof. Create a maximal derivation of Γ ⊢ ∆. Since the sequent is not provable, there must be a non-axiom leaf A1, . . . , An ⊢ B1, . . . , Bm where Ai = Bj for all i, j. The valuation defined so that v(Ai) = 1 and v(Bj) = 0 falsifies our leaf, and therefore also the root. The model existence theorem guarantees counter models for non-provable sequents.

slide-71
SLIDE 71

Syntax of propositional logic Semantics of propositional logic Sequent calculus Soundness Completeness Model existence theorem

Model existence theorem

Theorem If Γ ⊢ ∆ is not provable, then there is a valuation that falsifies it. Proof. Create a maximal derivation of Γ ⊢ ∆. Since the sequent is not provable, there must be a non-axiom leaf A1, . . . , An ⊢ B1, . . . , Bm where Ai = Bj for all i, j. The valuation defined so that v(Ai) = 1 and v(Bj) = 0 falsifies our leaf, and therefore also the root. The model existence theorem guarantees counter models for non-provable sequents. The contrapositive to the model existence theorem is completeness.