Meaning of Atoms Models assign truth values A model assigns truth - - PowerPoint PPT Presentation

meaning of atoms
SMART_READER_LITE
LIVE PREVIEW

Meaning of Atoms Models assign truth values A model assigns truth - - PowerPoint PPT Presentation

Atoms and Propositions Motivation Semantics of Propositional Logic Propositional Atoms Proof Theory Constructing Propositions Soundness and Completeness (preview) Syntax of Propositional Logic Meaning of Atoms Models assign truth values A


slide-1
SLIDE 1

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Meaning of Atoms

Models assign truth values A model assigns truth values (F or T) to each atom.

03b—Propositional Logic

slide-2
SLIDE 2

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Meaning of Atoms

Models assign truth values A model assigns truth values (F or T) to each atom. More formally A model for a propositional logic for the set A of atoms is a mapping from A to {T, F}.

03b—Propositional Logic

slide-3
SLIDE 3

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Meaning of Atoms

Models assign truth values A model assigns truth values (F or T) to each atom. More formally A model for a propositional logic for the set A of atoms is a mapping from A to {T, F}. How do you call them? Models for propositional logic are called valuations.

03b—Propositional Logic

slide-4
SLIDE 4

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Examples

Example Some valuation Let A = {p, q, r}. Then a valuation v1 might assign p to T, q to F and r to T.

03b—Propositional Logic

slide-5
SLIDE 5

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Examples

Example Some valuation Let A = {p, q, r}. Then a valuation v1 might assign p to T, q to F and r to T. More formally pv1 = T, qv1 = F, r v1 = T.

03b—Propositional Logic

slide-6
SLIDE 6

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Examples

Example Some valuation Let A = {p, q, r}. Then a valuation v1 might assign p to T, q to F and r to T. More formally pv1 = T, qv1 = F, r v1 = T. write v1(p) instead of pv1

03b—Propositional Logic

slide-7
SLIDE 7

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Building Propositions

We would like to build larger propositions, such as arguments,

  • ut of smaller ones, such as propositional atoms. We do this

using operators that can be applied to propositions, and yield propositions.

03b—Propositional Logic

slide-8
SLIDE 8

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F.

03b—Propositional Logic

slide-9
SLIDE 9

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

03b—Propositional Logic

slide-10
SLIDE 10

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

2

pv = F: (op(p))v = T. pv = T: (op(p))v = T.

03b—Propositional Logic

slide-11
SLIDE 11

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

2

pv = F: (op(p))v = T. pv = T: (op(p))v = T.

3

pv = F: (op(p))v = F. pv = T: (op(p))v = T.

03b—Propositional Logic

slide-12
SLIDE 12

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

2

pv = F: (op(p))v = T. pv = T: (op(p))v = T.

3

pv = F: (op(p))v = F. pv = T: (op(p))v = T.

4

pv = F: (op(p))v = T. pv = T: (op(p))v = F.

03b—Propositional Logic

slide-13
SLIDE 13

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

2

pv = F: (op(p))v = T. pv = T: (op(p))v = T.

3

pv = F: (op(p))v = F. pv = T: (op(p))v = T.

4

pv = F: (op(p))v = T. pv = T: (op(p))v = F.

03b—Propositional Logic

slide-14
SLIDE 14

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Unary Operators

Let p be an atom. All possibilities The following options exist:

1

pv = F: (op(p))v = F. pv = T: (op(p))v = F.

2

pv = F: (op(p))v = T. pv = T: (op(p))v = T.

3

pv = F: (op(p))v = F. pv = T: (op(p))v = T.

4

pv = F: (op(p))v = T. pv = T: (op(p))v = F. The fourth operator negates its argument, T becomes F and F becomes T. We call this operator negation, and write ¬p (pronounced “not p”).

03b—Propositional Logic

slide-15
SLIDE 15

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Nullary Operators are Constants

The constant ⊤ The constant ⊤ always evaluates to T, regardless of the valuation.

03b—Propositional Logic

slide-16
SLIDE 16

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Nullary Operators are Constants

The constant ⊤ The constant ⊤ always evaluates to T, regardless of the valuation. The constant ⊥ The constant ⊥ always evaluates to F, regardless of the valuation.

03b—Propositional Logic

slide-17
SLIDE 17

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Binary Operators: 16 choices

p q

  • p1(p, q)
  • p2(p, q)
  • p3(p, q)
  • p4(p, q)

F F F F F F F T F F F F T F F F T T T T F T F T

03b—Propositional Logic

slide-18
SLIDE 18

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Binary Operators: 16 choices (continued)

p q

  • p5(p, q)
  • p6(p, q)
  • p7(p, q)
  • p8(p, q)

F F F F F F F T T T T T T F F F T T T T F T F T

03b—Propositional Logic

slide-19
SLIDE 19

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Binary Operators: 16 choices (continued)

p q

  • p9(p, q)
  • p10(p, q)
  • p11(p, q)
  • p12(p, q)

F F T T T T F T F F F F T F F F T T T T F T F T

03b—Propositional Logic

slide-20
SLIDE 20

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Binary Operators: 16 choices (continued)

p q

  • p13(p, q)
  • p14(p, q)
  • p15(p, q)
  • p16(p, q)

F F T T T T F T T T T T T F F F T T T T F T F T

03b—Propositional Logic

slide-21
SLIDE 21

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise.

03b—Propositional Logic

slide-22
SLIDE 22

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise. Called conjunction, denoted p ∧ q.

03b—Propositional Logic

slide-23
SLIDE 23

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise. Called conjunction, denoted p ∧ q.
  • p8 : op8(p, q) is T when p is T or q is T, and F
  • therwise.

03b—Propositional Logic

slide-24
SLIDE 24

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise. Called conjunction, denoted p ∧ q.
  • p8 : op8(p, q) is T when p is T or q is T, and F
  • therwise. Called disjunction, denoted p ∨ q.

03b—Propositional Logic

slide-25
SLIDE 25

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise. Called conjunction, denoted p ∧ q.
  • p8 : op8(p, q) is T when p is T or q is T, and F
  • therwise. Called disjunction, denoted p ∨ q.
  • p14 : op14(p, q) is T when p is F or q is T, and F
  • therwise.

03b—Propositional Logic

slide-26
SLIDE 26

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Three Famous Ones

  • p2 : op2(p, q) is T when p is T and q is T, and F
  • therwise. Called conjunction, denoted p ∧ q.
  • p8 : op8(p, q) is T when p is T or q is T, and F
  • therwise. Called disjunction, denoted p ∨ q.
  • p14 : op14(p, q) is T when p is F or q is T, and F
  • therwise. Called implication, denoted p → q.

03b—Propositional Logic

slide-27
SLIDE 27

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Inductive Definition

Definition For a given set A of propositional atoms, the set of well-formed formulas in propositional logic is the least set F that fulfills the following rules: The constant symbols ⊥ and ⊤ are in F. Every element of A is in F. If φ is in F, then (¬φ) is also in F. If φ and ψ are in F, then (φ ∧ ψ) is also in F. If φ and ψ are in F, then (φ ∨ ψ) is also in F. If φ and ψ are in F, then (φ → ψ) is also in F.

03b—Propositional Logic

slide-28
SLIDE 28

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Example

(((¬p) ∧ q) → (⊤ ∧ (q ∨ (¬r)))) is a well-formed formula in propositional logic.

03b—Propositional Logic

slide-29
SLIDE 29

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

More Compact in BNF

φ ::= p | ⊥ | ⊤ | (¬φ) | (φ ∧ φ) | (φ ∨ φ) | (φ → φ) (Backus Naur Form)

03b—Propositional Logic

slide-30
SLIDE 30

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Convention

The negation symbol ¬ binds more tightly than ∧ and ∨, and ∧ and ∨ bind more tightly than →. Moreover, → is right-associative: The formula p → q → r is read as p → (q → r).

03b—Propositional Logic

slide-31
SLIDE 31

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Motivation Propositional Atoms Constructing Propositions Syntax of Propositional Logic

Convention

The negation symbol ¬ binds more tightly than ∧ and ∨, and ∧ and ∨ bind more tightly than →. Moreover, → is right-associative: The formula p → q → r is read as p → (q → r). Example (((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) can be written as ¬p ∧ q → p ∧ (q ∨ ¬r)

03b—Propositional Logic

slide-32
SLIDE 32

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

1

Atoms and Propositions

2

Semantics of Propositional Logic Operations on Truth Values Evaluation of Formulas

3

Proof Theory

4

Soundness and Completeness (preview)

03b—Propositional Logic

slide-33
SLIDE 33

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Negating Truth Values

Definition Function \ : {F, T} → {F, T} given in truth table: B \B F T T F

03b—Propositional Logic

slide-34
SLIDE 34

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Conjunction of Truth Values

Definition Function & : {F, T} × {F, T} → {F, T} given in truth table: B1 B2 B1&B2 F F F F T F T F F T T T

03b—Propositional Logic

slide-35
SLIDE 35

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Disjunction of Truth Values

Definition Function |: {F, T} × {F, T} → {F, T} given in truth table: B1 B2 B1 | B2 F F F F T F T F F T T T

03b—Propositional Logic

slide-36
SLIDE 36

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Implication of Truth Values

Definition Function ⇒: {F, T} × {F, T} → {F, T} given in truth table: B1 B2 B1 ⇒ B2 F F T F T T T F F T T T

03b—Propositional Logic

slide-37
SLIDE 37

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Evaluation of Formulas

Definition The result of evaluating a well-formed propositional formula φ with respect to a valuation v, denoted v(φ) is defined as follows: If φ is the constant ⊥, then v(φ) = F. If φ is the constant ⊤, then v(φ) = T. If φ is an propositional atom p, then v(φ) = pv. If φ has the form (¬ψ), then v(φ) = \v(ψ). If φ has the form (ψ ∧ τ), then v(φ) = v(ψ)&v(τ). If φ has the form (ψ ∨ τ), then v(φ) = v(ψ) | v(τ). If φ has the form (ψ → τ), then v(φ) = v(ψ) ⇒ v(τ).

03b—Propositional Logic

slide-38
SLIDE 38

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Valid Formulas

Definition A formula is called valid if it evaluates to T with respect to every possible valuation.

03b—Propositional Logic

slide-39
SLIDE 39

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Examples

Example Is (((¬p) ∧ q) → (⊤ ∧ (q ∨ (¬r)))) valid?

03b—Propositional Logic

slide-40
SLIDE 40

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Operations on Truth Values Evaluation of Formulas

Examples

Example Is (((¬p) ∧ q) → (⊤ ∧ (q ∨ (¬r)))) valid? Example Find a valid formula that contains the propositional atoms p, q, r and w.

03b—Propositional Logic

slide-41
SLIDE 41

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

1

Atoms and Propositions

2

Semantics of Propositional Logic

3

Proof Theory Sequents Axioms Derived Rules

4

Soundness and Completeness (preview)

03b—Propositional Logic

slide-42
SLIDE 42

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Sequents

Definition A sequent consists of propositional formulas φ1, φ2, . . . , φn, called premises, where n ≥ 0, and a propositional formula ψ called conclusion. We write a sequent as follows: φ1, φ2, . . . , φn ⊢ ψ and say “ψ is provable using the premises φ1, φ2, . . . , φn”.

03b—Propositional Logic

slide-43
SLIDE 43

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Introducing ⊤

⊤ [⊤i]

03b—Propositional Logic

slide-44
SLIDE 44

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Rules for Conjunction

φ ψ φ ∧ ψ [∧i]

03b—Propositional Logic

slide-45
SLIDE 45

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Rules for Conjunction

φ ψ φ ∧ ψ [∧i] φ ∧ ψ φ [∧e1]

03b—Propositional Logic

slide-46
SLIDE 46

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Rules for Conjunction

φ ψ φ ∧ ψ [∧i] φ ∧ ψ φ [∧e1] φ ∧ ψ ψ [∧e2]

03b—Propositional Logic

slide-47
SLIDE 47

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Example

p ∧ q, r ⊢ q ∧ r

03b—Propositional Logic

slide-48
SLIDE 48

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Example

p ∧ q, r ⊢ q ∧ r Proof (graphical notation): p ∧ q q [∧e2] r q ∧ r [∧i]

03b—Propositional Logic

slide-49
SLIDE 49

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Example

p ∧ q, r ⊢ q ∧ r

03b—Propositional Logic

slide-50
SLIDE 50

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Example

p ∧ q, r ⊢ q ∧ r Proof (text-based notation): 1 (p ∧ q) premise 2 q ∧e 1 3 r premise 4 q ∧ r ∧i 2,3

03b—Propositional Logic

slide-51
SLIDE 51

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Double Negation Elimination

¬¬φ φ [¬¬i]

03b—Propositional Logic

slide-52
SLIDE 52

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Implication Elimination

φ φ → ψ ψ [→ e]

03b—Propositional Logic

slide-53
SLIDE 53

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

We would like...

...to be able to prove: p → q ⊢ ¬¬p → ¬q

03b—Propositional Logic

slide-54
SLIDE 54

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

A proof should look like this

p → q ⊢ ¬¬p → q 1 p → q premise 2 ¬¬p assumption 3 p ¬¬e 2 4 q → e 1, 3 5 ¬¬p → q →i 2–4

03b—Propositional Logic

slide-55
SLIDE 55

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Implication Introduction

✄ ✂

φ . . . ψ φ → ψ [→ i]

03b—Propositional Logic

slide-56
SLIDE 56

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Rules for Disjunction

φ φ ∨ ψ [∨i1] ψ φ ∨ ψ [∨i2]

03b—Propositional Logic

slide-57
SLIDE 57

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Rules for Disjunction

φ φ ∨ ψ [∨i1] ψ φ ∨ ψ [∨i2] φ ∨ ψ

✄ ✂

φ . . . χ

✄ ✂

ψ . . . χ χ [∨e]

03b—Propositional Logic

slide-58
SLIDE 58

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Axioms for ⊥ and Negation

⊥ φ [⊥e]

03b—Propositional Logic

slide-59
SLIDE 59

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Axioms for ⊥ and Negation

⊥ φ [⊥e] φ ¬φ ⊥ [¬e]

03b—Propositional Logic

slide-60
SLIDE 60

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Axioms for ⊥ and Negation

⊥ φ [⊥e] φ ¬φ ⊥ [¬e]

✄ ✂

φ . . . ⊥ ¬φ [¬i]

03b—Propositional Logic

slide-61
SLIDE 61

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Double Negation Introduction

Lemma (¬¬i) The following sequent holds for any formula φ: φ ⊢ ¬¬φ

03b—Propositional Logic

slide-62
SLIDE 62

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Double Negation Introduction

Lemma (¬¬i) The following sequent holds for any formula φ: φ ⊢ ¬¬φ Proof: 1 φ premise 2 ¬φ assumption 3 ⊥ ¬e 1,2 4 ¬¬φ ¬i 2–3

03b—Propositional Logic

slide-63
SLIDE 63

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Double Negation Introduction

Lemma (¬¬i) The following sequent holds for any formula φ: φ ⊢ ¬¬φ can be written like an axiom: φ ¬¬φ [¬¬i]

03b—Propositional Logic

slide-64
SLIDE 64

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Sequents Axioms Derived Rules

Law of Excluded Middle

Lemma (LEM) φ ∨ ¬φ [LEM]

03b—Propositional Logic

slide-65
SLIDE 65

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Entailment Soundness and Completeness

1

Atoms and Propositions

2

Semantics of Propositional Logic

3

Proof Theory

4

Soundness and Completeness (preview) Entailment Soundness and Completeness

03b—Propositional Logic

slide-66
SLIDE 66

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Entailment Soundness and Completeness

Entailment

Definition If, for all valuations in which all φ1, φ2, . . . , φn evaluate to T, the formula ψ evaluates to T as well, we say that φ1, φ2, . . . , φn semantically entail ψ, written: φ1, φ2, . . . , φn | = ψ

03b—Propositional Logic

slide-67
SLIDE 67

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Entailment Soundness and Completeness

Soundness and Completeness

Theorem (Soundness of Propositional Logic) Let φ1, φ2, . . . , φn and ψ be propositional formulas. If φ1, φ2, . . . , φn ⊢ ψ, then φ1, φ2, . . . , φn | = ψ.

03b—Propositional Logic

slide-68
SLIDE 68

Atoms and Propositions Semantics of Propositional Logic Proof Theory Soundness and Completeness (preview) Entailment Soundness and Completeness

Soundness and Completeness

Theorem (Soundness of Propositional Logic) Let φ1, φ2, . . . , φn and ψ be propositional formulas. If φ1, φ2, . . . , φn ⊢ ψ, then φ1, φ2, . . . , φn | = ψ. Theorem (Completeness of Propositional Logic) Let φ1, φ2, . . . , φn and ψ be propositional formulas. If φ1, φ2, . . . , φn | = ψ, then φ1, φ2, . . . , φn ⊢ ψ.

03b—Propositional Logic