You are on page 1of 202

Propositional Logic & Propositional calculus

Propositional Logic, Calculus & Categorical Statements

Vineet Sahula

sahula@acm.org
Department of ECE
Malaviya National Institute of Technology

Formal Verification- HW & SW Even 2019

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 1 / 64


Outline

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 2 / 64


Todayś Lecture: Propositional Logic, 28-Feb-2019

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 3 / 64


Outline of Part- 1: Propositional Logic

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 4 / 64


Argument Forms

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 5 / 64


Argument Forms

Arguments Forms

• Formal Logic
• Study of argument forms
• Abstract patterns of reasoning

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Argument Forms

Arguments Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 6 / 64


Logical Operators

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 7 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Operators

Operators
Logical opertor Symbol
It is not the case that ∼
And &
EIther ... or ∨
If ... then →
If and only if ↔
∴ `

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 8 / 64


Logical Operators

Logical Opertors
' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 9 / 64


Logical Operators

Logical Opertors

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 9 / 64


Formalization

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 10 / 64


Formalization

Formalization

1 Ealier, we studied- Language of propositional Logic


2 Now, Symbolic formulae for this language
1 Sentences being Formalized
2 State the Grammatical rules Formation rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 11 / 64


Formalization

Formalization

1 Ealier, we studied- Language of propositional Logic


2 Now, Symbolic formulae for this language
1 Sentences being Formalized
2 State the Grammatical rules Formation rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 11 / 64


Formalization

Formalization

1 Ealier, we studied- Language of propositional Logic


2 Now, Symbolic formulae for this language
1 Sentences being Formalized
2 State the Grammatical rules Formation rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 11 / 64


Formalization

Formalization

1 Ealier, we studied- Language of propositional Logic


2 Now, Symbolic formulae for this language
1 Sentences being Formalized
2 State the Grammatical rules Formation rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 11 / 64


Formalization ...

Sentence Formalization
Today is Monday M
Today is Tuesday T
Today is NOT Monday ∼M
Today is NOT Monday, and today is Tuesday ∼M &T
Today is NOT both Monday and Tuesday ∼ (M&T)
Eithertoday is Monday, ortoday is Tuesday and election day M ∨ (T & E)
Formalization ...

Sentence Formalization
Today is Monday M
Today is Tuesday T
Today is NOT Monday ∼M
Today is NOT Monday, and today is Tuesday ∼M &T
Today is NOT both Monday and Tuesday ∼ (M&T)
Eithertoday is Monday, ortoday is Tuesday and election day M ∨ (T & E)
Formalization ...

Sentence Formalization
Today is Monday M
Today is Tuesday T
Today is NOT Monday ∼M
Today is NOT Monday, and today is Tuesday ∼M &T
Today is NOT both Monday and Tuesday ∼ (M&T)
Eithertoday is Monday, ortoday is Tuesday and election day M ∨ (T & E)
Formalization ...

Sentence Formalization
Today is Monday M
Today is Tuesday T
Today is NOT Monday ∼M
Today is NOT Monday, and today is Tuesday ∼M &T
Today is NOT both Monday and Tuesday ∼ (M&T)
Eithertoday is Monday, ortoday is Tuesday and election day M ∨ (T & E)
Formalization ...

Sentence Formalization
Today is Monday M
Today is Tuesday T
Today is NOT Monday ∼M
Today is NOT Monday, and today is Tuesday ∼M &T
Today is NOT both Monday and Tuesday ∼ (M&T)
Eithertoday is Monday, ortoday is Tuesday and election day M ∨ (T & E)
Formalization

Formalization

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

 

 

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

Example
• Vocabulary of Language of propositional logic, are following
symbols
• Sentence letters
• Logical operators
• Brackets

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

• A formula is any sequence of these three elements


• This sequence may be full of sense OR nonsense
• We have concept to differentiate among these- Well Formed
Formula (Wff)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

Formula Rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization

Complex Wffs

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 13 / 64


Formalization

Formalization: Examples

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples
' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples
' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples

' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Formalization

Formalization: Examples
' $

& %

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 14 / 64


Semantics of the Logical Operators

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 15 / 64


Semantics of the Logical Operators

Semantics of Logical Operators

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 16 / 64


Semantics of the Logical Operators

Semantics of Logical Operators

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 16 / 64


Semantics of the Logical Operators

Semantics of Logical Operators

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 16 / 64


Semantics of the Logical Operators

Logical operator →

• P→Q
• ∼ (P & ∼ Q)
• Venn Diagram

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator →

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 17 / 64


Semantics of the Logical Operators

Logical operator ↔

• P↔Q
• P → Q as well as Q → P

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 18 / 64


Semantics of the Logical Operators

Logical operator ↔

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 18 / 64


Semantics of the Logical Operators

Logical operator ↔

T F F T

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 18 / 64


Semantics of the Logical Operators

Logical operator ↔

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 18 / 64


Truth Table for Wffs

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 19 / 64


Truth Table for Wffs

Wffs- Truth Tables

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 20 / 64


Truth Table for Wffs

Wffs- Truth Tables

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 20 / 64


Truth Table for Wffs

Wffs- Truth Tables

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 20 / 64


Truth Table for Wffs

Wffs- Truth Tables

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 20 / 64


Truth Table for Wffs

Wffs- Truth Tables

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 20 / 64


Truth Tables for Argument Forms

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 21 / 64


Truth Tables for Argument Forms

Truth Tables- Argument Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 22 / 64


Truth Tables for Argument Forms

Truth Tables- Argument Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 22 / 64


Truth Tables for Argument Forms

Truth Tables- Argument Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 22 / 64


Truth Tables for Argument Forms

Truth Tables- Argument Forms

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 22 / 64


Refutation Trees

Outline

1 Argument Forms

2 Logical Operators

3 Formalization

4 Semantics of the Logical Operators

5 Truth Table for Wffs

6 Truth Tables for Argument Forms

7 Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 23 / 64


Refutation Trees

Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Refutation Trees

Refutation is FAILED hence, this form is VALID

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 24 / 64


Refutation Trees

Examples- Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 25 / 64


Refutation Trees

Examples- Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 25 / 64


Refutation Trees

Examples- Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 25 / 64


Refutation Trees

Examples- Refutation Trees

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 25 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

(1) Negation (∼)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

(2) Negated Negation (∼∼)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

(3) Conjunction (&)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

(4) Disjunction (∨)

Each path of tree is prescription for constructing counterexamples.

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Categories of Wffs

(4) Disjunction- Ex. P ∨ Q, P ` ∼ Q

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 26 / 64


Refutation Trees

Refutation Trees: Conditional

(5) Conditional (→)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 27 / 64


Refutation Trees

Refutation Trees: Conditional

(5) Conditional (→)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 27 / 64


Refutation Trees

Refutation Trees: Biconditional

(6) Biconditional (↔)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 28 / 64


Refutation Trees

Refutation Trees: Biconditional

(6) Biconditional (↔)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 28 / 64


Refutation Trees

Refutation Trees: Negated Conjunction

(7) Negated Conjunction (∼ &)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 29 / 64


Refutation Trees

Refutation Trees: Negated Conjunction

(7) Negated Conjunction (∼ &)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 29 / 64


Refutation Trees

Refutation Trees: Negated Disjunction

(8) Negated Disjunction (∼ ∨)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 30 / 64


Refutation Trees

Refutation Trees: Negated Disjunction

(8) Negated Disjunction (∼ ∨)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 30 / 64


Refutation Trees

Refutation Trees: Negated Conditional

(9) Negated Conditional (∼→)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 31 / 64


Refutation Trees

Refutation Trees: Negated Conditional

(9) Negated Conditional (∼→)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 31 / 64


Refutation Trees

Refutation Trees: Negated Biconditional

(10) Negated Biconditional (∼↔)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 32 / 64


Refutation Trees

Refutation Trees: Negated Biconditional

(10) Negated Biconditional (∼↔)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 32 / 64


Refutation Trees

Refutation Trees: Tautologousness

(?) Tautology

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 33 / 64


Refutation Trees

Refutation Trees: Tautologousness

(?) Tautology

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 33 / 64


Refutation Trees

Refutation Trees: Tautologousness

(?) Tautology

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 33 / 64


Refutation Trees

Refutation Trees: General Rules

Rule- 1

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 34 / 64


Refutation Trees

Refutation Trees: General Rules

Rule-2

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 34 / 64


Refutation Trees

Refutation Trees: General Rules

Rule-3

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 34 / 64


Refutation Trees

Todayś Lecture: Propositional Calculus,


13-March-2019

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 35 / 64


Outline of Part- 2: Propositional Calculus

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 36 / 64


Propositional Calculus

• The notion of inference


• Nonhypothetical inference rules
• Hypothetical rules
• Derived Rules
• Theorems
• Equivalences

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 37 / 64


The notion of inference

Inference

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 38 / 64


The notion of inference

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 38 / 64


The notion of inference

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 38 / 64


Nonhypothetical inference rules

• Elimination ( E)
• Conditional elimination (→ E)
• Negation elimination (∼ E)
• Conjunctionl elimination (&E)
• Disconjunction elimination (∨E)
• Biconditional elimination (↔ E)
• Introduction ( I)
• Conjunction introduction (&I)
• Disconjunction introduction (∨I)
• Biconditional Introduction (↔ I)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 39 / 64


Nonhypothetical inference rules

Conditional elimination (→ E)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 40 / 64


Nonhypothetical inference rules

Negation elimination (∼ E)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 40 / 64


Conjunction Rules
Conunction

Conjunction Introduction (&I)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 41 / 64


Conjunction Rules
Conunction

Conjunction Introduction (&I) ...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 41 / 64


Conjunction Rules
Conunction

Conjunction Introduction (&I)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 41 / 64


Conjunction Rules
Conunction

Conjunction Introduction (&I)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 41 / 64


Disjunction Rules
Disjunction

Disjunction Introduction (∨I)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 42 / 64


Disjunction Rules
Disjunction

Disjunction Introduction (∨I) ...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 42 / 64


Disjunction Rules
Disjunction

Disjunction Elimination (∨E)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 42 / 64


Disjunction Rules
Disjunction

Disjunction Elimination (∨E)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 42 / 64


Biconditional Rules
Biconditional

Biconditional Rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 43 / 64


Biconditional Rules
Biconditional

Biconditional Introduction (↔ I) ...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 43 / 64


Biconditional Rules
Biconditional

Biconditional Introduction (↔ I)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 43 / 64


Biconditional Rules
Biconditional

Biconditional Elimination (↔ E)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 43 / 64


Hypothetical rules

Hypothetical Rules
• Conditional Introduction
• Negation Introduction

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Conditional Introduction (→ I)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Conditional Introduction (→ I)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Important Guidelines

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Negation Introduction (∼ I)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Negation Introduction (∼ I)...

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Hypothetical rules

Proof Strategies

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 44 / 64


Derived Rules

• Substitution (Modus Tollens- MT)


• Hypotheical Syllogism (HS)
• Absorption (ABS)
• Constructive Dilemma (CD)
• Repeat or Reiteration (RE)
• Contradiction (CON)
• Disjunctive Syllogism (DS)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 45 / 64


Theorems

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 46 / 64


Theorems

redutio ad absurdum

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 46 / 64


Theorems

redutio ad absurdum

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 46 / 64


Theorems

Theorem Introduction (TI)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 46 / 64


Theorems

Theorem Introduction (TI)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 46 / 64


Equivalences

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 47 / 64


Equivalences

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 47 / 64


Equivalences

Equivalences
• De-Morgan’s Law (DM)
• Commutation (COM)
• Association (ASSOC)
• Distribution (DIST)
• Double negation (DN)
• Transposition (TRANS)
• Material Implication (MI)
• Exportation (EXP)
• Tautology (TAUT)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 47 / 64


Equivalences

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 47 / 64


Equivalences

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 47 / 64


Todayś Lecture: Categorical Statements,
20-March-2019

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 48 / 64


Quiz-2
Problem Statement-1

Do (2), (5) and (12)

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 49 / 64


Quiz-2 ...
Problem-set-2

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 50 / 64


Quiz-2 ...
Problem-set-3

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 51 / 64


Todayś Lecture: Categorical Statements,
20-March-2019

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 52 / 64


Outline of Part- 3: The Logic of Categorical
Statements

8 Categorical statements

9 Venn Diagrams

10 Immediate Inferences

11 Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 53 / 64


Categorical statements

Outline

8 Categorical statements

9 Venn Diagrams

10 Immediate Inferences

11 Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 54 / 64


Categorical statements

Categorical statements

Expressions including- all, some and none

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 55 / 64


Categorical statements

Categorical statements

Introduction- Why use it?

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 55 / 64


Categorical statements

Categorical statements

Formulation

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 55 / 64


Categorical statements

Categorical statements

Example

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 55 / 64


Categorical statements

Categorical statements

Designations

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 55 / 64


Venn Diagrams

Outline

8 Categorical statements

9 Venn Diagrams

10 Immediate Inferences

11 Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 56 / 64


Venn Diagrams

Vennn Diagrams

• Visualizing gategorical statement using Venn Diagram


• Two overlapping circles
• Cirle ONE for Subject, circle TWO for Predicate
• Area inside the circle- Contents of the SET
• Area outside the circle- Contents of complement of SET
• Area overlapping between the circles- Members corresponding to
SETs share
• To show SET or part of SET, has no members-
• Block out the part of diagram representing it

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 57 / 64


Venn Diagrams

Vennn Diagrams

No S are P
Formulation-1

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 57 / 64


Venn Diagrams

Vennn Diagrams

All S are P
Formulation-2

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 57 / 64


Venn Diagrams

Vennn Diagrams

Some S are P
Formulation-3

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 57 / 64


Venn Diagrams

Vennn Diagrams

Some S are not P


Formulation-4

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 57 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Venn Diagrams

Venn Diagrams: Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 58 / 64


Immediate Inferences

Outline

8 Categorical statements

9 Venn Diagrams

10 Immediate Inferences

11 Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 59 / 64


Immediate Inferences

Immediate Inferences

• Inferences from one categorical statement to another are called immediate


inferences
• Venn Diagrams can be used for checking validity of immediate inference forms
• If two statements forms have exactly the same diagram →they are logically
equivalent
• ’∼(All S are P)’ is equivalent to ’Some S are P’
• ’∼(Some S are P)’ is equivalent to ’All S are P’
• Any pair of A- and O-form statements with same S and P, are contradictories
• One form results by exchangin the Subject and Predicate terms- S and P,
areconverses
• Valid for E- and I-forms, NOT valid for A- and O-forms
• (All S are P)’ is converse to ’All P are S’
• (Some S are P)’ is converse to ’Some P are S’

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Immediate Inferences

Immediate Inferences

Converse is valid for form E

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Immediate Inferences

Immediate Inferences

Converse is invalid for form A

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Immediate Inferences

Immediate Inferences
Contraposition is invalid for form E

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Immediate Inferences

Immediate Inferences

Contraposition is valid for form A

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Immediate Inferences

Immediate Inferences

Describing categorical forms by quality and quantity

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 60 / 64


Categorical Syllogism

Outline

8 Categorical statements

9 Venn Diagrams

10 Immediate Inferences

11 Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 61 / 64


Categorical Syllogism

Categorical Syllogism

• Immediate inferences are ONE-premise arguments


• where, premise & conclusion are both Categorical statements
• Categorical Syllogismsare TWO-premise arguments consisting entirely of
Categorical statements
• Conclusion Argument contains exactly three class terms-
• Subject and predicate term of conclusion (minor and major terms of
syllogism)
• Third term (the middle term), wgich occurs in both premises

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 62 / 64


Categorical Syllogism

Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 62 / 64


Categorical Syllogism

Categorical Syllogism

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 62 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

Categorical Syllogism- Examples

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 63 / 64


Categorical Syllogism

References

• J. Nolt, D. Rohatyn and A. Varzi- Logic, Schaum Outline series


• James L. Hein. Discrete Structures, Logic & Computability, Jones
& Barlett
• M. Huth and M. Ryan, Logic in Computer Science- Modeling &
Reasoning in Systems, Cambridge University Press.

V. Sahula (MNIT Jaipur) Propositional Logic FV ’19 64 / 64

You might also like