02Propositional Logic II CS 3234: Logic and Formal Systems Martin - - PowerPoint PPT Presentation

02 propositional logic ii
SMART_READER_LITE
LIVE PREVIEW

02Propositional Logic II CS 3234: Logic and Formal Systems Martin - - PowerPoint PPT Presentation

02Propositional Logic II CS 3234: Logic and Formal Systems Martin Henz August 20, 2009 Generated on Tuesday 12 th January, 2010, 14:38 CS 3234: Logic and Formal Systems 02Propositional Logic II 1 CS 3234: Logic and Formal Systems


slide-1
SLIDE 1

02—Propositional Logic II

CS 3234: Logic and Formal Systems

Martin Henz

August 20, 2009

Generated on Tuesday 12th January, 2010, 14:38 CS 3234: Logic and Formal Systems 02—Propositional Logic II 1

slide-2
SLIDE 2

CS 3234: Logic and Formal Systems 02—Propositional Logic II 2

slide-3
SLIDE 3

CS 3234: Logic and Formal Systems 02—Propositional Logic II 3

slide-4
SLIDE 4

Propositions

Propositions are Declarative Sentences Sentences which one can—in principle—argue as being true or false.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 4

slide-5
SLIDE 5

Propositions

Propositions are Declarative Sentences Sentences which one can—in principle—argue as being true or false. Examples

1

The sum of the numbers 3 and 5 equals 8.

2

Jane reacted violently to Jack’s accusations.

3

Every natural number > 2 is the sum of two prime numbers.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 5

slide-6
SLIDE 6

Sequents as Logical Arguments

A Sequent in English If the train arrives late and there are no taxis at the station then John is late for his meeting. John is not late for his meeting. The train did arrive late. Therefore, there were taxis at the station.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 6

slide-7
SLIDE 7

Focus on Structure, not Content

We are primarily concerned about the structure of arguments in this class, not the validity of statements in a particular domain.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 7

slide-8
SLIDE 8

Focus on Structure, not Content

We are primarily concerned about the structure of arguments in this class, not the validity of statements in a particular domain. We therefore simply abbreviate sentences by letters such as p, q, r, p1, p2 etc.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 8

slide-9
SLIDE 9

Focus on Structure, not Content

We are primarily concerned about the structure of arguments in this class, not the validity of statements in a particular domain. We therefore simply abbreviate sentences by letters such as p, q, r, p1, p2 etc. Instead of English words such as “if...then”, “and”, “not”, it is more convenient to use symbols such as →, ∧, ¬.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 9

slide-10
SLIDE 10

Sequents in Symbolic Notation

A Sequent in English If the train arrives late and there are no taxis at the station then John is late for his meeting. John is not late for his meeting. The train did arrive late. Therefore, there were taxis at the station.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 10

slide-11
SLIDE 11

Sequents in Symbolic Notation

A Sequent in English If the train arrives late and there are no taxis at the station then John is late for his meeting. John is not late for his meeting. The train did arrive late. Therefore, there were taxis at the station. The same sequent using letters and symbols p ∧ ¬q → r, ¬r, p ⊢ q Remaining task Develop proof rules that allows us to derive such sequents

CS 3234: Logic and Formal Systems 02—Propositional Logic II 11

slide-12
SLIDE 12

Rules for Conjunction

Introduction of Conjunction φ ψ φ ∧ ψ [∧i]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 12

slide-13
SLIDE 13

Rules for Conjunction

Introduction of Conjunction φ ψ φ ∧ ψ [∧i] Elimination of Conjunction φ ∧ ψ φ [∧e1] φ ∧ ψ ψ [∧e2]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 13

slide-14
SLIDE 14

Rules of Double Negation

Introduction of Double Negation φ ¬¬φ [¬¬i]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 14

slide-15
SLIDE 15

Rules of Double Negation

Introduction of Double Negation φ ¬¬φ [¬¬i] Elimination of Double Negation ¬¬φ φ [¬¬e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 15

slide-16
SLIDE 16

Rules for Eliminating Implication

φ φ → ψ ψ [→ e] φ → ψ ¬ψ ¬φ [MT]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 16

slide-17
SLIDE 17

Rule for Introduction of Implication

✄ ✂

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

CS 3234: Logic and Formal Systems 02—Propositional Logic II 17

slide-18
SLIDE 18

Rules for Introduction of Disjunction

φ φ ∨ ψ [∨ii] ψ φ ∨ ψ [∨i2]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 18

slide-19
SLIDE 19

Rule for Elimination of Disjunction

φ ∨ ψ

✄ ✂

φ . . . χ

✄ ✂

ψ . . . χ χ [∨e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 19

slide-20
SLIDE 20

Proof of p ∧ (q ∨ r) ⊢ (p ∧ q) ∨ (p ∧ r)

1 p ∧ (q ∨ r) premise 2 p ∧e1 1 3 q ∨ r ∧e2 1 4 q assumption 5 p ∧ q ∧i 2,4 6 (p ∧ q) ∨ (p ∧ r) ∨i1 5 7 r assumption 8 p ∧ r ∧i 2,7 9 (p ∧ q) ∨ (p ∧ r) ∨i2 8 10 (p ∧ q) ∨ (p ∧ r) ∨e 3, 4–6, 7–9

CS 3234: Logic and Formal Systems 02—Propositional Logic II 20

slide-21
SLIDE 21

A Special Proposition

Recall: We are only interested in the truth value of propositions, not the subject matter that they refer to (Martian pizzas or whatever).

CS 3234: Logic and Formal Systems 02—Propositional Logic II 21

slide-22
SLIDE 22

A Special Proposition

Recall: We are only interested in the truth value of propositions, not the subject matter that they refer to (Martian pizzas or whatever). Therefore, all propositions that we all agree must be true are the same!

CS 3234: Logic and Formal Systems 02—Propositional Logic II 22

slide-23
SLIDE 23

A Special Proposition

Recall: We are only interested in the truth value of propositions, not the subject matter that they refer to (Martian pizzas or whatever). Therefore, all propositions that we all agree must be true are the same! Example: p → p

CS 3234: Logic and Formal Systems 02—Propositional Logic II 23

slide-24
SLIDE 24

A Special Proposition

Recall: We are only interested in the truth value of propositions, not the subject matter that they refer to (Martian pizzas or whatever). Therefore, all propositions that we all agree must be true are the same! Example: p → p We denote the proposition that is always true using the symbol ⊤.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 24

slide-25
SLIDE 25

Another Special Proposition

We denote the proposition that is always true using the symbol ⊤.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 25

slide-26
SLIDE 26

Another Special Proposition

We denote the proposition that is always true using the symbol ⊤. Similarly, we denote the proposition that is always false using the symbol ⊥.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 26

slide-27
SLIDE 27

Another Special Proposition

We denote the proposition that is always true using the symbol ⊤. Similarly, we denote the proposition that is always false using the symbol ⊥. Example: p ∧ ¬p

CS 3234: Logic and Formal Systems 02—Propositional Logic II 27

slide-28
SLIDE 28

Elimination of Negation

φ ¬φ ⊥ [¬e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 28

slide-29
SLIDE 29

Introduction of Negation

✄ ✂

φ . . . ⊥ ¬φ [¬i]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 29

slide-30
SLIDE 30

Elimination of ⊥

⊥ φ [⊥e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 30

slide-31
SLIDE 31

Basic Rules (conjunction and disjunction)

φ ψ φ ∧ ψ [∧i] φ ∧ ψ φ [∧e1] φ ∧ ψ ψ [∧e2] φ φ ∨ ψ [∨ii] ψ φ ∨ ψ [∨i2] φ ∨ ψ

✄ ✂

φ . . . χ

✄ ✂

ψ . . . χ χ [∨e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 31

slide-32
SLIDE 32

Basic Rules (implication)

✄ ✂

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

CS 3234: Logic and Formal Systems 02—Propositional Logic II 32

slide-33
SLIDE 33

Basic Rules (negation)

φ . . . ⊥ ¬φ [¬i] φ ¬φ ⊥ [¬e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 33

slide-34
SLIDE 34

Basic Rules (⊥ and double negation)

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

CS 3234: Logic and Formal Systems 02—Propositional Logic II 34

slide-35
SLIDE 35

Some Derived Rules: Introduction of Double Negation

φ ¬¬φ [¬¬i]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 35

slide-36
SLIDE 36

Example: Deriving [¬¬ i] from [¬ i] and [¬ e]

1 φ premise 2 ¬φ assumption 3 ⊥ ¬e 1,2 4 ¬¬φ ¬i 2–3

CS 3234: Logic and Formal Systems 02—Propositional Logic II 36

slide-37
SLIDE 37

Some Derived Rules: Modus Tollens

φ → ψ ¬ψ ¬φ [MT]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 37

slide-38
SLIDE 38

Some Derived Rules: Proof By Contradiction

✄ ✂

¬φ . . . ⊥ φ [PBC]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 38

slide-39
SLIDE 39

Some Derived Rules: Law of Excluded Middle

φ ∨ ¬φ [LEM]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 39

slide-40
SLIDE 40

Motivation

Consider the following theorem. Theorem There exist irrational numbers a and b such that ab is rational. Let us call this theorem χ.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 40

slide-41
SLIDE 41

Proof Outline for χ

Let p be the following proposition: Proposition p √ 2

√ 2 is rational.

Then the proof of χ goes like this: p ∨ ¬p [LEM]

✄ ✂

p . . . χ

✄ ✂

¬p . . . χ χ [∨e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 41

slide-42
SLIDE 42

In detail (1)

p . . . χ Assume √ 2

√ 2 is rational. Choose a and b to be

√ 2, and we have found irrational a and b such that ab is rational. Thus Theorem χ holds under the assumption p.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 42

slide-43
SLIDE 43

In detail (2)

¬p . . . χ Assume √ 2

√ 2 is irrational. Choose a to be

√ 2

√ 2 and b to be

  • 2. Then we have

ab = ( √ 2

√ 2) √ 2 =

√ 2

( √ 2· √ 2) = (

√ 2)2 = 2 2 is rational. Thus Theorem χ holds under the assumption ¬p.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 43

slide-44
SLIDE 44

Summary of Proof for χ

Proposition p √ 2

√ 2 is rational.

p ∨ ¬p [LEM]

✄ ✂

p . . . χ

✄ ✂

¬p . . . χ χ [∨e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 44

slide-45
SLIDE 45

Summary of Proof for χ

Proposition p √ 2

√ 2 is rational.

p ∨ ¬p [LEM]

✄ ✂

p . . . χ

✄ ✂

¬p . . . χ χ [∨e] There exist irrational numbers a and b such that ab is rational...

CS 3234: Logic and Formal Systems 02—Propositional Logic II 45

slide-46
SLIDE 46

The Magic of LEM

There exist irrational numbers a and b such that ab is rational.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 46

slide-47
SLIDE 47

The Magic of LEM

There exist irrational numbers a and b such that ab is rational. But: If they exist, do you have an example?

CS 3234: Logic and Formal Systems 02—Propositional Logic II 47

slide-48
SLIDE 48

The Magic of LEM

There exist irrational numbers a and b such that ab is rational. But: If they exist, do you have an example? Probably a = √ 2

√ 2 and b =

√ 2...

CS 3234: Logic and Formal Systems 02—Propositional Logic II 48

slide-49
SLIDE 49

The Magic of LEM

There exist irrational numbers a and b such that ab is rational. But: If they exist, do you have an example? Probably a = √ 2

√ 2 and b =

√ 2..., but we haven’t proven that √ 2

√ 2 is irrational!

CS 3234: Logic and Formal Systems 02—Propositional Logic II 49

slide-50
SLIDE 50

The Magic of LEM

There exist irrational numbers a and b such that ab is rational. But: If they exist, do you have an example? Probably a = √ 2

√ 2 and b =

√ 2..., but we haven’t proven that √ 2

√ 2 is irrational!

Note: √ 2

√ 2

√ 2··

= 2

CS 3234: Logic and Formal Systems 02—Propositional Logic II 50

slide-51
SLIDE 51

The Magic of LEM

There exist irrational numbers a and b such that ab is rational. But: If they exist, do you have an example? Probably a = √ 2

√ 2 and b =

√ 2..., but we haven’t proven that √ 2

√ 2 is irrational!

Note: √ 2

√ 2

√ 2··

= 2 Using LEM, we can make use of the “probable irrationality”

  • f

√ 2

√ 2 without having to prove it!

CS 3234: Logic and Formal Systems 02—Propositional Logic II 51

slide-52
SLIDE 52

Intuitionistic Logic

Intuitionistic logic does not accept the derived rule LEM.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 52

slide-53
SLIDE 53

Intuitionistic Logic

Intuitionistic logic does not accept the derived rule LEM. The underlying argument for LEM is elimination of double negation. ¬¬φ φ [¬¬e]

CS 3234: Logic and Formal Systems 02—Propositional Logic II 53

slide-54
SLIDE 54

Deriving LEM using Basic Rules

1 ¬(φ ∨ ¬φ) assumption 2 φ assumption 3 φ ∨ ¬φ ∨i1 2 4 ⊥ ¬ e 3,1 5 ¬φ ¬ i 2–4 6 φ ∨ ¬φ ∨ i2 5 7 ⊥ ¬ e 6,1 8 ¬¬(φ ∨ ¬φ) ¬i 1–7 9 φ ∨ ¬φ ¬¬e

CS 3234: Logic and Formal Systems 02—Propositional Logic II 54

slide-55
SLIDE 55

Intuitionistic Logic

Intuitionistic logic is obtained from natural deduction by removing the rule ¬¬e.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 55

slide-56
SLIDE 56

History of Intuitionistic Logic

Late 19th century: Gottlob Frege proposes to reduce mathematics to set theory Russell destroys this programme via paradox In response, L.E.J. Brouwer proposes intuitionistic mathematics, with intuitionistic logic as its formal foundation An alternative response is Hilbert’s formalistic position

CS 3234: Logic and Formal Systems 02—Propositional Logic II 56

slide-57
SLIDE 57

Applications of Intuitionistic Logic

Intuitionistic logic has a strong connection to computability

CS 3234: Logic and Formal Systems 02—Propositional Logic II 57

slide-58
SLIDE 58

Applications of Intuitionistic Logic

Intuitionistic logic has a strong connection to computability For example, if we have an intuitionistic proof of Theorem There exist irrational numbers a and b such that ab is rational. then we would know irrational a and b such that ab is rational.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 58

slide-59
SLIDE 59

CS 3234: Logic and Formal Systems 02—Propositional Logic II 59

slide-60
SLIDE 60

Recap: Logical Connectives

¬: negation of p is denoted by ¬p ∨: disjunction of p and r is denoted by p ∨ r, meaning at least one of the two statements is true. ∧: conjunction of p and r is denoted by p ∧ r, meaning both are true. →: implication between p and r is denoted by p → r, meaning that r is a logical consequence of p.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 60

slide-61
SLIDE 61

Formal Description Required

Use of Meta-Language When we describe rules such as φ ∨ ¬φ [LEM] we mean that letters such as φ can be replaced by any formula.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 61

slide-62
SLIDE 62

Formal Description Required

Use of Meta-Language When we describe rules such as φ ∨ ¬φ [LEM] we mean that letters such as φ can be replaced by any formula. But what exactly is the set of formulas that can be used for φ?

CS 3234: Logic and Formal Systems 02—Propositional Logic II 62

slide-63
SLIDE 63

Formal Description Required

Use of Meta-Language When we describe rules such as φ ∨ ¬φ [LEM] we mean that letters such as φ can be replaced by any formula. But what exactly is the set of formulas that can be used for φ? Allowed (p ∧ (¬q))

CS 3234: Logic and Formal Systems 02—Propositional Logic II 63

slide-64
SLIDE 64

Formal Description Required

Use of Meta-Language When we describe rules such as φ ∨ ¬φ [LEM] we mean that letters such as φ can be replaced by any formula. But what exactly is the set of formulas that can be used for φ? Allowed (p ∧ (¬q)) Not allowed ) ∧ p q¬(

CS 3234: Logic and Formal Systems 02—Propositional Logic II 64

slide-65
SLIDE 65

Definition of Well-formed Formulas

Definition Every propositional atom p, q, r, . . . and p1, p2, p3, . . . is a well-formed formula. If φ is a well-formed formula, then so is (¬φ). If φ and ψ are well-formed formulas, then so is (φ ∧ ψ). If φ and ψ are well-formed formulas, then so is (φ ∨ ψ). If φ and ψ are well-formed formulas, then so is (φ → ψ).

CS 3234: Logic and Formal Systems 02—Propositional Logic II 65

slide-66
SLIDE 66

Definition very restrictive

How about this formula? p ∧ ¬q ∨ r

CS 3234: Logic and Formal Systems 02—Propositional Logic II 66

slide-67
SLIDE 67

Definition very restrictive

How about this formula? p ∧ ¬q ∨ r Usually, this is understood to mean ((p ∧ (¬q)) ∨ r)

CS 3234: Logic and Formal Systems 02—Propositional Logic II 67

slide-68
SLIDE 68

Definition very restrictive

How about this formula? p ∧ ¬q ∨ r Usually, this is understood to mean ((p ∧ (¬q)) ∨ r) ...but for the formal treatment of this section and the first homework, we insist on the strict definition, and exclude such formulas.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 68

slide-69
SLIDE 69

Backus Naur Form: A more compact definition

Backus Naur Form for propositional formulas φ ::= p|(¬φ)|(φ ∧ φ)|(φ ∨ φ)|(φ → φ) where p stands for any atomic proposition.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 69

slide-70
SLIDE 70

Inversion principle

How can we show that a a formula such as (((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) is well-formed?

CS 3234: Logic and Formal Systems 02—Propositional Logic II 70

slide-71
SLIDE 71

Inversion principle

How can we show that a a formula such as (((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) is well-formed? Answer: We look for the only applicable rule in the definition (the last rule in this case), and proceed on the parts.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 71

slide-72
SLIDE 72

Parse trees

A formula (((¬p) ∧ q) → (p ∧ (q ∨ (¬r))))

CS 3234: Logic and Formal Systems 02—Propositional Logic II 72

slide-73
SLIDE 73

Parse trees

A formula (((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) ...and its parse tree:

CS 3234: Logic and Formal Systems 02—Propositional Logic II 73

slide-74
SLIDE 74

Parse trees

A formula (((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) ...and its parse tree: → ∧ ¬ p q ∧ p ∨ q ¬ r

CS 3234: Logic and Formal Systems 02—Propositional Logic II 74

slide-75
SLIDE 75

CS 3234: Logic and Formal Systems 02—Propositional Logic II 75

slide-76
SLIDE 76

Meaning of propositional formula

Meaning as mathematical object We define the meaning of formulas as a function that maps formulas and valuations to truth values.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 76

slide-77
SLIDE 77

Meaning of propositional formula

Meaning as mathematical object We define the meaning of formulas as a function that maps formulas and valuations to truth values. Approach We define this mapping based on the structure of the formula, using the meaning of their logical connectives.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 77

slide-78
SLIDE 78

Truth values and valuations

Definition The set of truth values contains two elements T and F, where T represents “true” and F represents “false”.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 78

slide-79
SLIDE 79

Truth values and valuations

Definition The set of truth values contains two elements T and F, where T represents “true” and F represents “false”. Definition A valuation or model of a formula φ is an assignment of each propositional atom in φ to a truth value.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 79

slide-80
SLIDE 80

Meaning of logical connectives

The meaning of a connective is defined as a truth table that gives the truth value of a formula, whose root symbol is the connective, based on the truth values of its components. φ ψ φ ∧ ψ T T T T F F F T F F F F

CS 3234: Logic and Formal Systems 02—Propositional Logic II 80

slide-81
SLIDE 81

Truth tables of formulas

Truth tables use placeholders of formulas such as φ: φ ψ φ ∧ ψ T T T T F F F T F F F F

CS 3234: Logic and Formal Systems 02—Propositional Logic II 81

slide-82
SLIDE 82

Truth tables of formulas

Truth tables use placeholders of formulas such as φ: φ ψ φ ∧ ψ T T T T F F F T F F F F Build the truth table for given formula: p q r (p ∧ q) ((p ∧ q) ∧ r) T T T T T T T F T F . . .

CS 3234: Logic and Formal Systems 02—Propositional Logic II 82

slide-83
SLIDE 83

Truth tables of other connectives

φ ψ φ ∨ ψ T T T T F T F T T F F F φ ψ φ → ψ T T T T F F F T T F F T φ ¬φ T F F T ⊤ T ⊥ F

CS 3234: Logic and Formal Systems 02—Propositional Logic II 83

slide-84
SLIDE 84

Constructing the truth table of a formula

p q (¬p) ¬q p → ¬q q ∨ ¬p (p → ¬q) → (q ∨ ¬p) T T F F F T T T F F T T F F F T T F T T T F F T T T T T

CS 3234: Logic and Formal Systems 02—Propositional Logic II 84

slide-85
SLIDE 85

Validity and Satisfiability

Validity A formula is valid if it computes T for all its valuations.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 85

slide-86
SLIDE 86

Validity and Satisfiability

Validity A formula is valid if it computes T for all its valuations. Satisfiability A formula is satisfiable if it computes T for at least one of its valuations.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 86

slide-87
SLIDE 87

Semantic 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 | = ψ

CS 3234: Logic and Formal Systems 02—Propositional Logic II 87

slide-88
SLIDE 88

Soundness of Propositional Logic

Soundness Let φ1, φ2, . . . , φn and ψ be propositional formulas. If φ1, φ2, . . . , φn ⊢ ψ, then φ1, φ2, . . . , φn | = ψ.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 88

slide-89
SLIDE 89

Completeness of Propositional Logic

Completeness Let φ1, φ2, . . . , φn and ψ be propositional formulas. If φ1, φ2, . . . , φn | = ψ, then φ1, φ2, . . . , φn ⊢ ψ.

CS 3234: Logic and Formal Systems 02—Propositional Logic II 89

slide-90
SLIDE 90

Next Week

Soundness and completeness of propositional logic Proof by induction Normal forms of propositional formulas SAT solving

CS 3234: Logic and Formal Systems 02—Propositional Logic II 90