Dm2 Ch1a Propositonal Logic Review Part I
Dm2 Ch1a Propositonal Logic Review Part I
Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Chapter 1a
Propositional Logic Review I
Discrete Mathematics II
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
(Materials drawn from Chapter 1 in: Basic and Derived Rules
Intuitionistic Logic
“Michael Huth and Mark Ryan. Logic in Computer Science: Modelling and
Formal Language
Reasoning about Systems, 2nd Ed., Cambridge University Press, 2006.”)
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
Nguyen An Khuong,
Huynh Tuong Nguyen
Formal Language
4 Semantics of Propositional Logic Semantics
Normal Form
1a.2
Propositional Logic
Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
3 Propositional Logic as a Formal Language
Declarative Sentences
Natural Deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.3
Propositional Logic
Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.4
Propositional Logic
Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Boolean operators are used to construct propositions out of
Natural Deduction
simpler propositions. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.4
Propositional Logic
Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Boolean operators are used to construct propositions out of
Natural Deduction
simpler propositions. Sequents
Rules for natural deduction
Basic and Derived Rules
Example for Propositional Calculus Intuitionistic Logic
Formal Language
Normal Form
1a.4
Propositional Logic
Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Boolean operators are used to construct propositions out of
Natural Deduction
simpler propositions. Sequents
Rules for natural deduction
Basic and Derived Rules
Example for Propositional Calculus Intuitionistic Logic
Formal Language
Normal Form
1a.4
Propositional Logic
Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Boolean operators are used to construct propositions out of
Natural Deduction
simpler propositions. Sequents
Rules for natural deduction
Basic and Derived Rules
Example for Propositional Calculus Intuitionistic Logic
Formal Language
1a.4
Propositional Logic
Goals and Main Result of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Meaning of formula
Associate meaning to a set of formulas by assigning a value true or
false to every formula in the set. Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.5
Propositional Logic
Goals and Main Result of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Meaning of formula
Associate meaning to a set of formulas by assigning a value true or
false to every formula in the set. Contents
Introduction
Declarative Sentences
Proofs
Natural Deduction
Symbol sequence that formally establishes whether a formula is Sequents
Rules for natural deduction
always true. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.5
Propositional Logic
Goals and Main Result of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Meaning of formula
Associate meaning to a set of formulas by assigning a value true or
false to every formula in the set. Contents
Introduction
Declarative Sentences
Proofs
Natural Deduction
Symbol sequence that formally establishes whether a formula is Sequents
Rules for natural deduction
always true. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Soundness and completeness
Semantics
The set of provable formulas is the same as the set of formulas Meaning of Logical
Connectives
Normal Form
1a.5
Propositional Logic
Uses of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Hardware design
The production of logic circuits uses propositional calculus at all
phases; specification, design, testing. Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.6
Propositional Logic
Uses of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Hardware design
The production of logic circuits uses propositional calculus at all
phases; specification, design, testing. Contents
Introduction
Declarative Sentences
Verification
Natural Deduction
Verification of hardware and software makes extensive use of Sequents
Rules for natural deduction
propositional calculus. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.6
Propositional Logic
Uses of Propositional Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Hardware design
The production of logic circuits uses propositional calculus at all
phases; specification, design, testing. Contents
Introduction
Declarative Sentences
Verification
Natural Deduction
Verification of hardware and software makes extensive use of Sequents
Rules for natural deduction
propositional calculus. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Problem solving
Semantics
Normal Form
1a.6
Propositional Logic
Predicate Calculus: Central ideas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Richer language
Instead of dealing with atomic propositions, predicate calculus
provides the formulation of statements involving sets, functions Contents
and relations on these sets. Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.7
Propositional Logic
Predicate Calculus: Central ideas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Richer language
Instead of dealing with atomic propositions, predicate calculus
provides the formulation of statements involving sets, functions Contents
and relations on these sets. Introduction
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.7
Propositional Logic
Predicate Calculus: Central ideas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Richer language
Instead of dealing with atomic propositions, predicate calculus
provides the formulation of statements involving sets, functions Contents
and relations on these sets. Introduction
Declarative Sentences
Formal Language
Compositionality Semantics
Meaning of Logical
Connectives
Similar to propositional calculus, formulas can be built from Preview: Soundness and
Normal Form
1a.7
Propositional Logic
The uses of Predicate Calculus Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
√ Declarative Sentences
∀x∀y(x0 = x ∧ (x ≥ 0 → y 0 = x) ∧ (¬(x ≥ 0) → y 0 = |x|)) Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Other Uses of Predicate Calculus Intuitionistic Logic
Normal Form
1a.8
Propositional Logic
An Example for Specification Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.9
Propositional Logic
Logic in Theorem Proving, Logic Programming, and Other Review I
Theorem proving
Formal logic has been used to design programs that can
automatically prove mathematical theorems.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.10
Propositional Logic
Logic in Theorem Proving, Logic Programming, and Other Review I
Theorem proving
Formal logic has been used to design programs that can
automatically prove mathematical theorems.
formulas in predicate calculus, called resolution, which forms the Declarative Sentences
Natural Deduction
basis for logic programming. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.10
Propositional Logic
Logic in Theorem Proving, Logic Programming, and Other Review I
Theorem proving
Formal logic has been used to design programs that can
automatically prove mathematical theorems.
formulas in predicate calculus, called resolution, which forms the Declarative Sentences
Natural Deduction
basis for logic programming. Sequents
Rules for natural deduction
Basic and Derived Rules
Some Other Systems of Logic Intuitionistic Logic
Formal Language
• Three-valued logic: A third truth value (denoting “don’t Semantics
know” or “undetermined”) is often useful. Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.10
Propositional Logic
Logic in Theorem Proving, Logic Programming, and Other Review I
Theorem proving
Formal logic has been used to design programs that can
automatically prove mathematical theorems.
formulas in predicate calculus, called resolution, which forms the Declarative Sentences
Natural Deduction
basis for logic programming. Sequents
Rules for natural deduction
Basic and Derived Rules
Some Other Systems of Logic Intuitionistic Logic
Formal Language
• Three-valued logic: A third truth value (denoting “don’t Semantics
know” or “undetermined”) is often useful. Meaning of Logical
Connectives
1a.10
Propositional Logic
Logic in Theorem Proving, Logic Programming, and Other Review I
Theorem proving
Formal logic has been used to design programs that can
automatically prove mathematical theorems.
formulas in predicate calculus, called resolution, which forms the Declarative Sentences
Natural Deduction
basis for logic programming. Sequents
Rules for natural deduction
Basic and Derived Rules
Some Other Systems of Logic Intuitionistic Logic
Formal Language
• Three-valued logic: A third truth value (denoting “don’t Semantics
know” or “undetermined”) is often useful. Meaning of Logical
Connectives
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
3 Propositional Logic as a Formal Language
Declarative Sentences
Natural Deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.11
Propositional Logic
Declarative Sentences Review I
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
3 Every natural number > 2 is the sum of two prime numbers. Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
3 Every natural number > 2 is the sum of two prime numbers. Intuitionistic Logic
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
3 Every natural number > 2 is the sum of two prime numbers. Intuitionistic Logic
Semantics
Meaning of Logical
Connectives
Normal Form
• Could you please pass me the salt? Homeworks and Next
Week Plan?
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
3 Every natural number > 2 is the sum of two prime numbers. Intuitionistic Logic
Semantics
Meaning of Logical
Connectives
Normal Form
• Could you please pass me the salt? Homeworks and Next
Week Plan?
• Ready, steady, go!
1a.12
Propositional Logic
Declarative Sentences Review I
Declarative Sentences
1 The sum of the numbers 3 and 5 equals 8. Natural Deduction
Sequents
2 Jane reacted violently to Jack’s accusations. Rules for natural deduction
Basic and Derived Rules
3 Every natural number > 2 is the sum of two prime numbers. Intuitionistic Logic
Semantics
Meaning of Logical
Connectives
Normal Form
• Could you please pass me the salt? Homeworks and Next
Week Plan?
• Ready, steady, go!
• May fortune come your way.
1a.12
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Jane does not have her umbrella with her then Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Jane does not have her umbrella with her then Meaning of Logical
Connectives
she will get wet. Preview: Soundness and
Completeness
Normal Form
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Jane does not have her umbrella with her then Meaning of Logical
Connectives
she will get wet. Preview: Soundness and
Completeness
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Jane does not have her umbrella with her then Meaning of Logical
Connectives
she will get wet. Preview: Soundness and
Completeness
1a.13
Propositional Logic
Putting Propositions Together Review I
Nguyen An Khuong,
Example 1.1 Huynh Tuong Nguyen
Introduction
The train did arrive late. Declarative Sentences
Natural Deduction
Therefore, there were taxis at the station. Sequents
Rules for natural deduction
Basic and Derived Rules
Example 1.2 Intuitionistic Logic
Formal Language
If it is raining and
Semantics
Jane does not have her umbrella with her then Meaning of Logical
Connectives
she will get wet. Preview: Soundness and
Completeness
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
John is not late for his meeting. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
John is not late for his meeting. Basic and Derived Rules
Intuitionistic Logic
Formal Language
The train did arrive late. Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
John is not late for his meeting. Basic and Derived Rules
Intuitionistic Logic
Formal Language
The train did arrive late. Semantics
Meaning of Logical
Connectives
Normal Form
becomes Homeworks and Next
Week Plan?
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
We are primarily concerned about the structure of arguments in Huynh Tuong Nguyen
John is not late for his meeting. Basic and Derived Rules
Intuitionistic Logic
Formal Language
The train did arrive late. Semantics
Meaning of Logical
Connectives
Normal Form
becomes Homeworks and Next
Week Plan?
Letter version
If p and not q, then r. Not r. p. Therefore, q.
1a.14
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Jane is not wet.
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Jane is not wet.
Natural Deduction
Sequents
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Jane is not wet.
Natural Deduction
Sequents
Semantics
has Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.15
Propositional Logic
Focus on Structure Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Jane is not wet.
Natural Deduction
Sequents
Semantics
has Meaning of Logical
Connectives
Preview: Soundness and
the same letter version Completeness
Normal Form
If p and not q, then r. Not r. p. Therefore, q.
Homeworks and Next
Week Plan?
1a.15
Propositional Logic
Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Notations/Symbols
Sentences like “If p and not q, then r.” occur frequently. Instead
of English words such as “if...then”, “and”, “not”, it is more
Contents
convenient to use symbols such as →, ∧, ¬.
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.16
Propositional Logic
Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Notations/Symbols
Sentences like “If p and not q, then r.” occur frequently. Instead
of English words such as “if...then”, “and”, “not”, it is more
Contents
convenient to use symbols such as →, ∧, ¬.
Introduction
Declarative Sentences
¬: negation of p is denoted by ¬p. Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.16
Propositional Logic
Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Notations/Symbols
Sentences like “If p and not q, then r.” occur frequently. Instead
of English words such as “if...then”, “and”, “not”, it is more
Contents
convenient to use symbols such as →, ∧, ¬.
Introduction
Declarative Sentences
¬: negation of p is denoted by ¬p. Natural Deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.16
Propositional Logic
Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Notations/Symbols
Sentences like “If p and not q, then r.” occur frequently. Instead
of English words such as “if...then”, “and”, “not”, it is more
Contents
convenient to use symbols such as →, ∧, ¬.
Introduction
Declarative Sentences
¬: negation of p is denoted by ¬p. Natural Deduction
true. Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.16
Propositional Logic
Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Notations/Symbols
Sentences like “If p and not q, then r.” occur frequently. Instead
of English words such as “if...then”, “and”, “not”, it is more
Contents
convenient to use symbols such as →, ∧, ¬.
Introduction
Declarative Sentences
¬: negation of p is denoted by ¬p. Natural Deduction
true. Semantics
Meaning of Logical
→: implication between p and r is denoted by p → r, meaning Connectives
Preview: Soundness and
that r is a logical consequence of p. p is called the Completeness
1a.16
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.17
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Symbolic Propositions
Natural Deduction
We replaced “the train arrives late” by p, etc. Sequents
Rules for natural deduction
Basic and Derived Rules
The statement becomes: If p and not q, then r. Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.17
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Symbolic Propositions
Natural Deduction
We replaced “the train arrives late” by p, etc. Sequents
Rules for natural deduction
Basic and Derived Rules
The statement becomes: If p and not q, then r. Intuitionistic Logic
Formal Language
Semantics
Symbolic Connectives Meaning of Logical
Connectives
With symbolic connectives, the statement becomes: Preview: Soundness and
Completeness
Normal Form
p ∧ ¬q → r
Homeworks and Next
Week Plan?
1a.17
Propositional Logic
Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
Sequents
Formal Language
4 Semantics of Propositional Logic
Semantics
Meaning of Logical
Connectives
5 Conjunctive Normal Form Preview: Soundness and
Completeness
Normal Form
1a.18
Propositional Logic
Introduction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Objective
We would like to develop a calculus for reasoning about
propositions, so that we can establish the validity of statements Contents
such as Example 1.1. Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.19
Propositional Logic
Introduction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Objective
We would like to develop a calculus for reasoning about
propositions, so that we can establish the validity of statements Contents
such as Example 1.1. Introduction
Declarative Sentences
We introduce proof rules that allow us to derive a formula ψ from Rules for natural deduction
Basic and Derived Rules
a number of other formulas φ1 , φ2 , . . . φn . Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.19
Propositional Logic
Introduction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Objective
We would like to develop a calculus for reasoning about
propositions, so that we can establish the validity of statements Contents
such as Example 1.1. Introduction
Declarative Sentences
We introduce proof rules that allow us to derive a formula ψ from Rules for natural deduction
Basic and Derived Rules
a number of other formulas φ1 , φ2 , . . . φn . Intuitionistic Logic
Formal Language
Notation Semantics
Meaning of Logical
Normal Form
1a.19
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
English Huynh Tuong Nguyen
Introduction
Natural Deduction
Sequents
Therefore, there were taxis at the station. Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.20
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
English Huynh Tuong Nguyen
Introduction
Natural Deduction
Sequents
Therefore, there were taxis at the station. Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
p ∧ ¬q → r, ¬r, p ` q Connectives
Preview: Soundness and
Completeness
Normal Form
1a.20
Propositional Logic
Example 1.1 Revisited Review I
Nguyen An Khuong,
English Huynh Tuong Nguyen
Introduction
Natural Deduction
Sequents
Therefore, there were taxis at the station. Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
p ∧ ¬q → r, ¬r, p ` q Connectives
Preview: Soundness and
Completeness
Normal Form
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction of Conjunction
φ ψ
[∧i] Contents
Introduction
φ∧ψ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.21
Propositional Logic
Rules for Conjunction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction of Conjunction
φ ψ
[∧i] Contents
Introduction
φ∧ψ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Formal Language
Semantics
φ∧ψ φ∧ψ Meaning of Logical
Connectives
φ ψ Normal Form
1a.21
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
1 p ∧ q (premise) Connectives
Preview: Soundness and
Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
1 p ∧ q (premise) Connectives
Preview: Soundness and
2 r (premise) Completeness
Normal Form
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
1 p ∧ q (premise) Connectives
Preview: Soundness and
2 r (premise) Completeness
Normal Form
3 q (by using Rule ∧e2 and Item 1) Homeworks and Next
Week Plan?
1a.22
Propositional Logic
Example of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
To show
p ∧ q, r ` q ∧ r.
How to start?
Contents
p∧q r, Introduction
Declarative Sentences
Natural Deduction
q ∧ r. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Semantics
Meaning of Logical
1 p ∧ q (premise) Connectives
Preview: Soundness and
2 r (premise) Completeness
Normal Form
3 q (by using Rule ∧e2 and Item 1) Homeworks and Next
Week Plan?
4 q ∧ r (by using Rule ∧i and Items 3 and 2)
1a.22
Propositional Logic
Graphical Representation of Proof Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p∧q Introduction
q Natural Deduction
Sequents
Rules for natural deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.23
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Then any proof of any formula ψ using the premises Declarative Sentences
φ1 , φ2 , . . . , φn is considered “correct”. Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Then any proof of any formula ψ using the premises Declarative Sentences
φ1 , φ2 , . . . , φn is considered “correct”. Natural Deduction
Sequents
• Can we say that sequents with a correct proof are somehow Rules for natural deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Then any proof of any formula ψ using the premises Declarative Sentences
φ1 , φ2 , . . . , φn is considered “correct”. Natural Deduction
Sequents
• Can we say that sequents with a correct proof are somehow Rules for natural deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Then any proof of any formula ψ using the premises Declarative Sentences
φ1 , φ2 , . . . , φn is considered “correct”. Natural Deduction
Sequents
• Can we say that sequents with a correct proof are somehow Rules for natural deduction
Semantics
• Can we say that any meaningful sequent has a valid proof? Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Where are we heading with this? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Then any proof of any formula ψ using the premises Declarative Sentences
φ1 , φ2 , . . . , φn is considered “correct”. Natural Deduction
Sequents
• Can we say that sequents with a correct proof are somehow Rules for natural deduction
Semantics
• Can we say that any meaningful sequent has a valid proof? Meaning of Logical
Connectives
• ...but first back to the proof rules... Preview: Soundness and
Completeness
Normal Form
1a.24
Propositional Logic
Rules of Double Negation and Eliminating Implication Review I
Nguyen An Khuong,
Double Negation Huynh Tuong Nguyen
¬¬φ φ
[¬¬e] [¬¬i]
φ ¬¬φ Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.25
Propositional Logic
Rules of Double Negation and Eliminating Implication Review I
Nguyen An Khuong,
Double Negation Huynh Tuong Nguyen
¬¬φ φ
[¬¬e] [¬¬i]
φ ¬¬φ Contents
Introduction
Declarative Sentences
[→ e] Semantics
Meaning of Logical
ψ Connectives
Preview: Soundness and
Completeness
Normal Form
1a.25
Propositional Logic
Rules of Double Negation and Eliminating Implication Review I
Nguyen An Khuong,
Double Negation Huynh Tuong Nguyen
¬¬φ φ
[¬¬e] [¬¬i]
φ ¬¬φ Contents
Introduction
Declarative Sentences
[→ e] Semantics
Meaning of Logical
ψ Connectives
Preview: Soundness and
Completeness
Normal Form
p:= “It rained,” and p → q:= “If it rained, then the street is wet.”
1a.25
Propositional Logic
Rules of Double Negation and Eliminating Implication Review I
Nguyen An Khuong,
Double Negation Huynh Tuong Nguyen
¬¬φ φ
[¬¬e] [¬¬i]
φ ¬¬φ Contents
Introduction
Declarative Sentences
[→ e] Semantics
Meaning of Logical
ψ Connectives
Preview: Soundness and
Completeness
Normal Form
p:= “It rained,” and p → q:= “If it rained, then the street is wet.”
We can conclude from these two that the street is indeed wet.
1a.25
Propositional Logic
Modus Ponens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
The rule
φ φ→ψ
[→ e] Contents
ψ Introduction
Declarative Sentences
Natural Deduction
is often called “Modus Ponens” (or MP) Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.26
Propositional Logic
Modus Ponens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
The rule
φ φ→ψ
[→ e] Contents
ψ Introduction
Declarative Sentences
Natural Deduction
is often called “Modus Ponens” (or MP) Sequents
Rules for natural deduction
Normal Form
1a.26
Propositional Logic
Modus Ponens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
The rule
φ φ→ψ
[→ e] Contents
ψ Introduction
Declarative Sentences
Natural Deduction
is often called “Modus Ponens” (or MP) Sequents
Rules for natural deduction
Normal Form
1a.26
Propositional Logic
Modus Tollens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ→ψ ¬ψ
[M T ] Contents
Introduction
¬φ Declarative Sentences
Natural Deduction
Sequents
is called “Modus Tollens” (or MT). Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.27
Propositional Logic
Modus Tollens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ→ψ ¬ψ
[M T ] Contents
Introduction
¬φ Declarative Sentences
Natural Deduction
Sequents
is called “Modus Tollens” (or MT). Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Origin of term
Formal Language
tollens” which means in English “mode that denies by denying”. Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.27
Propositional Logic
Modus Tollens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ→ψ ¬ψ
[M T ] Contents
Introduction
¬φ Declarative Sentences
Natural Deduction
Sequents
is called “Modus Tollens” (or MT). Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Origin of term
Formal Language
tollens” which means in English “mode that denies by denying”. Meaning of Logical
Connectives
More precisely, we could say “mode that denies the consequent of Preview: Soundness and
Completeness
1a.27
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p → (q → r), p, ¬r ` ¬q Introduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.28
Propositional Logic
How to introduce implication? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p → q, ¬q ` ¬p Introduction
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.29
Propositional Logic
How to introduce implication? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p → q, ¬q ` ¬p Introduction
Declarative Sentences
The second sequent should be provable, but we don’t have a rule Intuitionistic Logic
Formal Language
to introduce implication yet!
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.29
Propositional Logic
A Proof We Would Like To Have Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p → q ` ¬q → ¬p
1 p→q premise Contents
Introduction
2 ¬q assumption Declarative Sentences
3 ¬p MT 1,2 Natural Deduction
Sequents
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.30
Propositional Logic
A Proof We Would Like To Have Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p → q ` ¬q → ¬p
1 p→q premise Contents
Introduction
2 ¬q assumption Declarative Sentences
3 ¬p MT 1,2 Natural Deduction
Sequents
We can start a box with an assumption, and use previously proven Formal Language
Normal Form
1a.30
Propositional Logic
A Proof We Would Like To Have Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p → q ` ¬q → ¬p
1 p→q premise Contents
Introduction
2 ¬q assumption Declarative Sentences
3 ¬p MT 1,2 Natural Deduction
Sequents
We can start a box with an assumption, and use previously proven Formal Language
Normal Form
1a.30
Propositional Logic
Rule for Introduction of Implication Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.31
Propositional Logic
Rule for Introduction of Implication Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction of Implication
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.31
Propositional Logic
Rule for Introduction of Implication Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction of Implication
Contents
Introduction
φ Declarative Sentences
..
. Natural Deduction
Sequents
ψ Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
[→ i] Formal Language
Semantics
φ→ψ Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.31
Propositional Logic
Rule for Disjunction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.32
Propositional Logic
Rule for Disjunction Review I
Nguyen An Khuong,
Introduction of Disjunction Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.32
Propositional Logic
Rule for Disjunction Review I
Nguyen An Khuong,
Introduction of Disjunction Huynh Tuong Nguyen
φ ψ
[∨i1 ] [∨i2 ]
φ∨ψ φ∨ψ Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.32
Propositional Logic
Rule for Disjunction Review I
Nguyen An Khuong,
Introduction of Disjunction Huynh Tuong Nguyen
φ ψ
[∨i1 ] [∨i2 ]
φ∨ψ φ∨ψ Contents
Introduction
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.32
Propositional Logic
Rule for Disjunction Review I
Nguyen An Khuong,
Introduction of Disjunction Huynh Tuong Nguyen
φ ψ
[∨i1 ] [∨i2 ]
φ∨ψ φ∨ψ Contents
Introduction
Declarative Sentences
Formal Language
φ ψ
Semantics
Normal Form
1a.32
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 p ∧ (q ∨ r) premise
2 p ∧e1 1
3 q∨r ∧e2 1 Contents
Introduction
4 q assumption
Declarative Sentences
5 p∧q ∧i 2,4
Natural Deduction
6 (p ∧ q) ∨ (p ∧ r) ∨i1 5 Sequents
Rules for natural deduction
Normal Form
1a.33
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Example: p → p, p ∨ ¬p
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Example: p → p, p ∨ ¬p
Declarative Sentences
• We denote the proposition that is always true (tautology) Natural Deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Example: p → p, p ∨ ¬p
Declarative Sentences
• We denote the proposition that is always true (tautology) Natural Deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Example: p → p, p ∨ ¬p
Declarative Sentences
• We denote the proposition that is always true (tautology) Natural Deduction
Semantics
• Similarly, we denote the proposition that is always false Meaning of Logical
Connectives
(contradiction) using the symbol ⊥. Preview: Soundness and
Completeness
Normal Form
1a.34
Propositional Logic
Special Propositions Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
• Example: p → p, p ∨ ¬p
Declarative Sentences
• We denote the proposition that is always true (tautology) Natural Deduction
Semantics
• Similarly, we denote the proposition that is always false Meaning of Logical
Connectives
(contradiction) using the symbol ⊥. Preview: Soundness and
Completeness
• Example: p ∧ ¬p Normal Form
1a.34
Propositional Logic
Rule for Negation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.35
Propositional Logic
Rule for Negation Review I
Nguyen An Khuong,
Elimination of Negation Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.35
Propositional Logic
Rule for Negation Review I
Nguyen An Khuong,
Elimination of Negation Huynh Tuong Nguyen
φ ¬φ
[¬e]
⊥ Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.35
Propositional Logic
Rule for Negation Review I
Nguyen An Khuong,
Elimination of Negation Huynh Tuong Nguyen
φ ¬φ
[¬e]
⊥ Contents
Introduction
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.35
Propositional Logic
Rule for Negation Review I
Nguyen An Khuong,
Elimination of Negation Huynh Tuong Nguyen
φ ¬φ
[¬e]
⊥ Contents
Introduction
Declarative Sentences
φ Formal Language
.. Semantics
. Meaning of Logical
Connectives
Normal Form
¬φ
1a.35
Propositional Logic
Elimination of ⊥ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.36
Propositional Logic
Elimination of ⊥ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Elimination of ⊥ Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.36
Propositional Logic
Elimination of ⊥ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Elimination of ⊥ Contents
Introduction
Declarative Sentences
⊥
Natural Deduction
[⊥e] Sequents
Rules for natural deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.36
Propositional Logic
Basic Rules (conjunction and disjunction) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ ψ φ∧ψ φ∧ψ
[∧i] [∧e1 ] [∧e2 ]
φ∧ψ φ ψ Contents
Introduction
Declarative Sentences
Natural Deduction
φ ψ Sequents
χ χ Formal Language
φ ψ Semantics
Meaning of Logical
[∨ii ] [∨i2 ] [∨e]
Connectives
Preview: Soundness and
Normal Form
1a.37
Propositional Logic
Basic Rules (implication) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
φ Introduction
.. Declarative Sentences
.
Natural Deduction
ψ Sequents
[→ i] [→ e] Intuitionistic Logic
Formal Language
φ→ψ ψ Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.38
Propositional Logic
Basic Rules (negation) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
φ Introduction
.. Declarative Sentences
.
Natural Deduction
⊥ Sequents
φ ¬φ Rules for natural deduction
Basic and Derived Rules
Formal Language
¬φ ⊥ Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.39
Propositional Logic
Basic Rules (⊥ and double negation) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
⊥
Contents
[⊥e] Introduction
φ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
¬¬φ Basic and Derived Rules
Intuitionistic Logic
φ Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.40
Propositional Logic
Some Derived Rules: Introduction of Double Negation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
φ Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.41
Propositional Logic
Example: Deriving [¬¬ i] from [¬ i] and [¬ e] Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
1 φ premise
Introduction
2 ¬φ assumption Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.42
Propositional Logic
Some Derived Rules: Modus Tollens Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
φ→ψ ¬ψ Declarative Sentences
[M T ] Natural Deduction
Sequents
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.43
Propositional Logic
Some Derived Rules: Proof By Contradiction Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
¬φ Introduction
.. Declarative Sentences
.
Natural Deduction
⊥ Sequents
Formal Language
φ Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.44
Propositional Logic
Some Derived Rules: Law of Excluded Middle Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
[LEM] Natural Deduction
φ ∨ ¬φ Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.45
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.46
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Theorem
There exist irrational numbers a and b such that ab is rational.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.46
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Theorem
There exist irrational numbers a and b such that ab is rational.
Let us call this theorem χ. We give a Proof Outline for χ.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.46
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Theorem
There exist irrational numbers a and b such that ab is rational.
Let us call this theorem χ. We give a Proof Outline for χ.
Let p be the following proposition. Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.46
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Theorem
There exist irrational numbers a and b such that ab is rational.
Let us call this theorem χ. We give a Proof Outline for χ.
Let p be the following proposition. Contents
Introduction
Proposition p Declarative Sentences
√
√ 2 Natural Deduction
2 is rational. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.46
Propositional Logic
Motivation Review I
Nguyen An Khuong,
Consider the following theorem. Huynh Tuong Nguyen
Theorem
There exist irrational numbers a and b such that ab is rational.
Let us call this theorem χ. We give a Proof Outline for χ.
Let p be the following proposition. Contents
Introduction
Proposition p Declarative Sentences
√
√ 2 Natural Deduction
2 is rational. Sequents
Rules for natural deduction
Formal Language
p ¬p
Semantics
[LEM ] .. .. Meaning of Logical
. . Connectives
Normal Form
1a.46
Propositional Logic
In detail (1) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.47
Propositional Logic
In detail (1) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p Contents
.. Introduction
. Declarative Sentences
χ Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.47
Propositional Logic
In detail (1) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p Contents
.. Introduction
. Declarative Sentences
χ Natural Deduction
√ Sequents
√ 2 Rules for natural deduction
Assume 2 is rational. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.47
Propositional Logic
In detail (1) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p Contents
.. Introduction
. Declarative Sentences
χ Natural Deduction
√ Sequents
√ 2 √ Rules for natural deduction
Assume 2 is rational. Choose a and b to be 2, and we have Basic and Derived Rules
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.47
Propositional Logic
In detail (1) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
p Contents
.. Introduction
. Declarative Sentences
χ Natural Deduction
√ Sequents
√ 2 √ Rules for natural deduction
Assume 2 is rational. Choose a and b to be 2, and we have Basic and Derived Rules
found irrational a and b such that ab is rational. Thus Theorem χ Intuitionistic Logic
Formal Language
holds under the assumption p.
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.47
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
¬p
.. Contents
.
Introduction
χ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
¬p
.. Contents
.
Introduction
χ Declarative Sentences
√
√ 2 Natural Deduction
Assume 2 is irrational. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
¬p
.. Contents
.
Introduction
χ Declarative Sentences
√ √
√ 2 √ 2 √ Natural Deduction
Assume 2 is irrational. Choose a to be 2 and b to be 2. Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
¬p
.. Contents
.
Introduction
χ Declarative Sentences
√ √
√ 2 √ 2 √ Natural Deduction
Assume 2 is irrational. Choose a to be 2 and b to be 2. Sequents
Rules for natural deduction
Then we have Basic and Derived Rules
√ √2 √ √ (√2·√2)
Intuitionistic Logic
√
ab = ( 2 ) 2 = 2 = ( 2)2 = 2. Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
In detail (2) Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
¬p
.. Contents
.
Introduction
χ Declarative Sentences
√ √
√ 2 √ 2 √ Natural Deduction
Assume 2 is irrational. Choose a to be 2 and b to be 2. Sequents
Rules for natural deduction
Then we have Basic and Derived Rules
√ √2 √ √ (√2·√2)
Intuitionistic Logic
√
ab = ( 2 ) 2 = 2 = ( 2)2 = 2. Formal Language
Semantics
Meaning of Logical
As 2 is rational, Theorem χ holds under the assumption ¬p. Connectives
Preview: Soundness and
Completeness
Normal Form
1a.48
Propositional Logic
Summary of Proof for χ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.49
Propositional Logic
Summary of Proof for χ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition p
√
√ 2
2 is rational.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.49
Propositional Logic
Summary of Proof for χ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition p
√
√ 2
2 is rational.
Contents
Introduction
Declarative Sentences
p ¬p Natural Deduction
[LEM ] .. .. Sequents
. . Rules for natural deduction
Formal Language
[∨e] Semantics
Meaning of Logical
χ Connectives
Preview: Soundness and
Completeness
Normal Form
1a.49
Propositional Logic
Summary of Proof for χ Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition p
√
√ 2
2 is rational.
Contents
Introduction
Declarative Sentences
p ¬p Natural Deduction
[LEM ] .. .. Sequents
. . Rules for natural deduction
Formal Language
[∨e] Semantics
Meaning of Logical
χ Connectives
Preview: Soundness and
Normal Form
1a.49
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
The Magic of LEM Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
• Using
√
LEM, we can make use of the “probable irrationality” of Formal Language
√ 2 Semantics
2 without having to prove it! Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.50
Propositional Logic
Intuitionistic Logic Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.51
Propositional Logic
Intuitionistic Logic Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
negation.
Declarative Sentences
φ Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.51
Propositional Logic
Deriving LEM using Basic Rules Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
3 φ ∨ ¬φ ∨i1 2 Introduction
Natural Deduction
5 ¬φ ¬ i 2–4 Sequents
Formal Language
8 ¬¬(φ ∨ ¬φ) ¬i 1–7
Semantics
9 φ ∨ ¬φ ¬¬e Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.52
Propositional Logic
Intuitionistic Logic Review I
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Semantics
Meaning of Logical
• Intuitionistic logic has a strong connection to computability Connectives
Preview: Soundness and
Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Semantics
Meaning of Logical
• Intuitionistic logic has a strong connection to computability Connectives
Preview: Soundness and
• For example, if we have an intuitionistic proof of Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Semantics
Meaning of Logical
• Intuitionistic logic has a strong connection to computability Connectives
Preview: Soundness and
• For example, if we have an intuitionistic proof of Completeness
Normal Form
1a.53
Propositional Logic
Intuitionistic Logic Review I
Semantics
Meaning of Logical
• Intuitionistic logic has a strong connection to computability Connectives
Preview: Soundness and
• For example, if we have an intuitionistic proof of Completeness
Normal Form
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
3 Propositional Logic as a Formal Language
Declarative Sentences
Natural Deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.54
Propositional Logic
Recap: Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.55
Propositional Logic
Recap: Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.55
Propositional Logic
Recap: Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
∧: conjunction of p and r is denoted by p ∧ r, meaning both are Sequents
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.55
Propositional Logic
Recap: Logical Connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Natural Deduction
∧: conjunction of p and r is denoted by p ∧ r, meaning both are Sequents
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.55
Propositional Logic
Formal itemize Required Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Use of Meta-Language
we mean that letters such as φ can be replaced by any formula. Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.56
Propositional Logic
Formal itemize Required Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Use of Meta-Language
we mean that letters such as φ can be replaced by any formula. Declarative Sentences
Natural Deduction
But what exactly is the set of formulas that can be used for φ? Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.56
Propositional Logic
Formal itemize Required Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Use of Meta-Language
we mean that letters such as φ can be replaced by any formula. Declarative Sentences
Natural Deduction
But what exactly is the set of formulas that can be used for φ? Sequents
Rules for natural deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.56
Propositional Logic
Formal itemize Required Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Use of Meta-Language
we mean that letters such as φ can be replaced by any formula. Declarative Sentences
Natural Deduction
But what exactly is the set of formulas that can be used for φ? Sequents
Rules for natural deduction
Semantics
Meaning of Logical
Not allowed Connectives
Preview: Soundness and
) ∧ p q¬( Completeness
Normal Form
1a.56
Propositional Logic
Definition of Well-formed Formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
Contents
• Every propositional atom p, q, r, . . . and p1 , p2 , p3 , . . . is a Introduction
well-formed formula. Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.57
Propositional Logic
Definition of Well-formed Formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
Contents
• Every propositional atom p, q, r, . . . and p1 , p2 , p3 , . . . is a Introduction
well-formed formula. Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.57
Propositional Logic
Definition of Well-formed Formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
Contents
• Every propositional atom p, q, r, . . . and p1 , p2 , p3 , . . . is a Introduction
well-formed formula. Declarative Sentences
• If φ and ψ are well-formed formulas, then so is (φ ∧ ψ). Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.57
Propositional Logic
Definition of Well-formed Formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
Contents
• Every propositional atom p, q, r, . . . and p1 , p2 , p3 , . . . is a Introduction
well-formed formula. Declarative Sentences
• If φ and ψ are well-formed formulas, then so is (φ ∧ ψ). Rules for natural deduction
Basic and Derived Rules
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.57
Propositional Logic
Definition of Well-formed Formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
Contents
• Every propositional atom p, q, r, . . . and p1 , p2 , p3 , . . . is a Introduction
well-formed formula. Declarative Sentences
• If φ and ψ are well-formed formulas, then so is (φ ∧ ψ). Rules for natural deduction
Basic and Derived Rules
Formal Language
• If φ and ψ are well-formed formulas, then so is (φ → ψ).
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.57
Propositional Logic
Definition very restrictive Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.58
Propositional Logic
Definition very restrictive Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Usually, this is understood to mean
Natural Deduction
Sequents
((p ∧ (¬q)) ∨ r) Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.58
Propositional Logic
Definition very restrictive Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Usually, this is understood to mean
Natural Deduction
Sequents
((p ∧ (¬q)) ∨ r) Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
...but for the formal treatment of this section and the first Formal Language
homework, we insist on the strict definition, and exclude such Semantics
Normal Form
1a.58
Propositional Logic
Backus Naur Form: A more compact definition Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Backus Naur Form for propositional formulas Introduction
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.59
Propositional Logic
Inversion principle Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
(((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) Declarative Sentences
Natural Deduction
is well-formed? Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.60
Propositional Logic
Inversion principle Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
(((¬p) ∧ q) → (p ∧ (q ∨ (¬r)))) Declarative Sentences
Natural Deduction
is well-formed? Sequents
Rules for natural deduction
Answer: We look for the only applicable rule in the definition (the Basic and Derived Rules
Intuitionistic Logic
last rule in this case), and proceed on the parts. Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.60
Propositional Logic
Parse trees Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
A formula
(((¬p) ∧ q) → (p ∧ (q ∨ (¬r))))
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.61
Propositional Logic
Parse trees Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
A formula
(((¬p) ∧ q) → (p ∧ (q ∨ (¬r))))
Contents
...and its parse tree: Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.61
Propositional Logic
Parse trees Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
A formula
(((¬p) ∧ q) → (p ∧ (q ∨ (¬r))))
Contents
...and its parse tree: → Introduction
Declarative Sentences
∧ ∧ Natural Deduction
Sequents
p q ¬ Formal Language
Semantics
r Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.61
Propositional Logic
Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Declarative Sentences
Formal Language
Normal Form
1a.62
Propositional Logic
Meaning of propositional formula Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.63
Propositional Logic
Meaning of propositional formula Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
We define this mapping based on the structure of the formula, Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.63
Propositional Logic
Meaning of propositional formula Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
We define this mapping based on the structure of the formula, Declarative Sentences
The set of truth values contains two elements T and F, where T Formal Language
Normal Form
1a.63
Propositional Logic
Meaning of propositional formula Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
We define this mapping based on the structure of the formula, Declarative Sentences
The set of truth values contains two elements T and F, where T Formal Language
Normal Form
A valuation or model of a formula φ is an assignment of each
Homeworks and Next
propositional atom in φ to a truth value. Week Plan?
1a.63
Propositional Logic
Meaning of logical connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
Declarative Sentences
Natural Deduction
φ ψ φ∧ψ Sequents
F T F Formal Language
F F F Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.64
Propositional Logic
Truth tables of formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ ψ φ∧ψ
T T T
Contents
T F F
Introduction
F T F
Declarative Sentences
F F F Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.65
Propositional Logic
Truth tables of formulas Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ ψ φ∧ψ
T T T
Contents
T F F
Introduction
F T F
Declarative Sentences
F F F Natural Deduction
Sequents
Rules for natural deduction
Build the truth table for given formula: Basic and Derived Rules
Intuitionistic Logic
Formal Language
p q r (p ∧ q) ((p ∧ q) ∧ r)
Semantics
T T T T T Meaning of Logical
Connectives
T T F T F Preview: Soundness and
.. Completeness
. Normal Form
1a.65
Propositional Logic
Truth tables of other connectives Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
φ ψ φ∨ψ φ ψ φ→ψ
T T T T T T
T F T T F F Contents
Introduction
F T T F T T
Declarative Sentences
F F F F F T
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
φ ¬φ Formal Language
> ⊥
T F Semantics
T F Meaning of Logical
F T Connectives
Preview: Soundness and
Completeness
Normal Form
1a.66
Propositional Logic
Constructing the truth table of a formula Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
p q (¬p) ¬q p → ¬q q ∨ ¬p (p → ¬q) → (q ∨ ¬p)
Introduction
T T F F F T T Declarative Sentences
T F F T T F F Natural Deduction
F T T F T T T Sequents
Rules for natural deduction
F F T T T T T Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.67
Propositional Logic
Validity and Satisfiability Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Validity Contents
Introduction
A formula is valid if it computes T for all its valuations.
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.68
Propositional Logic
Validity and Satisfiability Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Validity Contents
Introduction
A formula is valid if it computes T for all its valuations.
Declarative Sentences
Natural Deduction
Satisfiability Sequents
Rules for natural deduction
A formula is satisfiable if it computes T for at least one of its Basic and Derived Rules
Intuitionistic Logic
valuations. Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.68
Propositional Logic
Semantic Entailment, Soundness and Completeness of Review I
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.69
Propositional Logic
Semantic Entailment, Soundness and Completeness of Review I
Semantic Entailment
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: Contents
Introduction
φ1 , φ2 , . . . , φn |= ψ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.69
Propositional Logic
Semantic Entailment, Soundness and Completeness of Review I
Semantic Entailment
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: Contents
Introduction
φ1 , φ2 , . . . , φn |= ψ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Soundness Intuitionistic Logic
φ1 , φ2 , . . . , φn ` ψ, then φ1 , φ2 , . . . , φn |= ψ. Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.69
Propositional Logic
Semantic Entailment, Soundness and Completeness of Review I
Semantic Entailment
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: Contents
Introduction
φ1 , φ2 , . . . , φn |= ψ Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Soundness Intuitionistic Logic
φ1 , φ2 , . . . , φn ` ψ, then φ1 , φ2 , . . . , φn |= ψ. Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness Completeness
Normal Form
Let φ1 , φ2 , . . . , φn and ψ be propositional formulas. If Homeworks and Next
φ1 , φ2 , . . . , φn |= ψ, then φ1 , φ2 , . . . , φn ` ψ. Week Plan?
1a.69
Propositional Logic
Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Introduction
3 Propositional Logic as a Formal Language
Declarative Sentences
Natural Deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.70
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.71
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.71
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.71
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Formal Language
Examples Semantics
Meaning of Logical
Connectives
Normal Form
1a.71
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Formal Language
Examples Semantics
Meaning of Logical
Connectives
1a.71
Propositional Logic
Conjunctive Normal Form Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Definition
A literal L is either an atom p or the negation of an atom ¬p. A
formula C is in conjunctive normal form (CNF) if it is a
conjunction of clauses, where each clause is a disjunction of
literals: Contents
Introduction
Formal Language
Examples Semantics
Meaning of Logical
Connectives
1a.71
Propositional Logic
Usefulness of CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Lemma
A disjunction of literals L1 ∨ L2 ∨ · · · ∨ Lm is valid iff there are
1 ≤ i, j ≤ m such that Li is ¬Lj .
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.72
Propositional Logic
Usefulness of CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Lemma
A disjunction of literals L1 ∨ L2 ∨ · · · ∨ Lm is valid iff there are
1 ≤ i, j ≤ m such that Li is ¬Lj .
How to disprove
Contents
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.72
Propositional Logic
Usefulness of CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Lemma
A disjunction of literals L1 ∨ L2 ∨ · · · ∨ Lm is valid iff there are
1 ≤ i, j ≤ m such that Li is ¬Lj .
How to disprove
Contents
Declarative Sentences
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.72
Propositional Logic
Usefulness of CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Lemma
A disjunction of literals L1 ∨ L2 ∨ · · · ∨ Lm is valid iff there are
1 ≤ i, j ≤ m such that Li is ¬Lj .
How to disprove
Contents
Declarative Sentences
Formal Language
How to prove Semantics
Meaning of Logical
Connectives
|= (¬q ∨ p ∨ q) ∧ (p ∨ r¬p) ∧ (r ∨ ¬r)? Preview: Soundness and
Completeness
Normal Form
1a.72
Propositional Logic
Usefulness of CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Lemma
A disjunction of literals L1 ∨ L2 ∨ · · · ∨ Lm is valid iff there are
1 ≤ i, j ≤ m such that Li is ¬Lj .
How to disprove
Contents
Declarative Sentences
Formal Language
How to prove Semantics
Meaning of Logical
Connectives
|= (¬q ∨ p ∨ q) ∧ (p ∨ r¬p) ∧ (r ∨ ¬r)? Preview: Soundness and
Completeness
Normal Form
Prove all of:
Homeworks and Next
Week Plan?
|= (¬q ∨ p ∨ q) |= (p ∨ r¬p) |= (r ∨ ¬r).
1a.72
Propositional Logic
Usefulness of CNF (cont.) and Transformation to CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition
Let φ be a formula of propositional logic. Then φ is satisfiable iff
¬φ is not valid. Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.73
Propositional Logic
Usefulness of CNF (cont.) and Transformation to CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition
Let φ be a formula of propositional logic. Then φ is satisfiable iff
¬φ is not valid. Contents
Introduction
Declarative Sentences
Satisfiability test
Natural Deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.73
Propositional Logic
Usefulness of CNF (cont.) and Transformation to CNF Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Proposition
Let φ be a formula of propositional logic. Then φ is satisfiable iff
¬φ is not valid. Contents
Introduction
Declarative Sentences
Satisfiability test
Natural Deduction
Formal Language
Theorem-Transformation to CNF
Semantics
Every formula in the propositional calculus can be transformed Meaning of Logical
Connectives
Normal Form
1a.73
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
2 Push all negations inward using De Morgan’s laws:
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
2 Push all negations inward using De Morgan’s laws:
Introduction
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
2 Push all negations inward using De Morgan’s laws:
Introduction
Natural Deduction
Sequents
Rules for natural deduction
3 Eliminate double negations using the equivalence ¬¬A ≡ A. Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
2 Push all negations inward using De Morgan’s laws:
Introduction
Natural Deduction
Sequents
Rules for natural deduction
3 Eliminate double negations using the equivalence ¬¬A ≡ A. Basic and Derived Rules
Intuitionistic Logic
1a.74
Propositional Logic
Algorithm for CNF Transformation Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
1 Eliminate implication using:
A → B ≡ ¬A ∨ B.
2 Push all negations inward using De Morgan’s laws:
Introduction
Natural Deduction
Sequents
Rules for natural deduction
3 Eliminate double negations using the equivalence ¬¬A ≡ A. Basic and Derived Rules
Intuitionistic Logic
(A ∧ B) ∨ C ≡ (A ∨ C) ∧ (B ∨ C).
1a.74
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.75
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Declarative Sentences
≡ (¬¬¬p ∧ q) ∨ (¬p ∨ q)
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.75
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Declarative Sentences
≡ (¬¬¬p ∧ q) ∨ (¬p ∨ q)
Natural Deduction
≡ (¬p ∧ q) ∨ (¬p ∨ q) Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.75
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Declarative Sentences
≡ (¬¬¬p ∧ q) ∨ (¬p ∨ q)
Natural Deduction
≡ (¬p ∧ q) ∨ (¬p ∨ q) Sequents
Rules for natural deduction
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.75
Propositional Logic
Example Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Declarative Sentences
≡ (¬¬¬p ∧ q) ∨ (¬p ∨ q)
Natural Deduction
≡ (¬p ∧ q) ∨ (¬p ∨ q) Sequents
Rules for natural deduction
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.75
Propositional Logic
Homeworks Review I
Nguyen An Khuong,
I. Write down the explanations (in Vietnamese, or in English if Huynh Tuong Nguyen
Contents
Introduction
Declarative Sentences
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.76
Propositional Logic
Homeworks Review I
Nguyen An Khuong,
I. Write down the explanations (in Vietnamese, or in English if Huynh Tuong Nguyen
Natural Deduction
Sequents
Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.76
Propositional Logic
Homeworks Review I
Nguyen An Khuong,
I. Write down the explanations (in Vietnamese, or in English if Huynh Tuong Nguyen
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.76
Propositional Logic
Homeworks Review I
Nguyen An Khuong,
I. Write down the explanations (in Vietnamese, or in English if Huynh Tuong Nguyen
Formal Language
III. It is recommended that you should do as much as you can Semantics
ALL marked exercises in [2] (notice that sample solutions for Meaning of Logical
Connectives
these exercises are available in [3]). For this lecture, the Preview: Soundness and
Completeness
1.4: 12d);
1.5: 3b), 3c), 7c).
1a.76
Propositional Logic
Next Week? Review I
Nguyen An Khuong,
Huynh Tuong Nguyen
Contents
Introduction
• Exercises Session;
Declarative Sentences
• [2, Section 1.6]: SAT Solvers; Natural Deduction
Sequents
• Application of SAT Solving. Rules for natural deduction
Basic and Derived Rules
Intuitionistic Logic
Formal Language
Semantics
Meaning of Logical
Connectives
Preview: Soundness and
Completeness
Normal Form
1a.77