0% found this document useful (0 votes)
33 views

Jarrar - LectureNotes.2.3 PL Inference Rules

The document summarizes Mustafa Jarrar's lecture notes on propositional logic. It introduces propositional logic and discusses conditional statements. It then covers the numeration method for logical inferencing and lists several common rules of inference like modus ponens, modus tollens, generalization, and contradiction. An example is provided to demonstrate applying these rules of inference to determine the location of a person's glasses.

Uploaded by

Bharat Pal Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Jarrar - LectureNotes.2.3 PL Inference Rules

The document summarizes Mustafa Jarrar's lecture notes on propositional logic. It introduces propositional logic and discusses conditional statements. It then covers the numeration method for logical inferencing and lists several common rules of inference like modus ponens, modus tollens, generalization, and contradiction. An example is provided to demonstrate applying these rules of inference to determine the location of a person's glasses.

Uploaded by

Bharat Pal Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

9/22/20

Mustafa Jarrar: Lecture Notes in Discrete Mathematics.


Birzeit University, Palestine, 2020

Propositional Logic

2.1. Introduction and Basics


2.2 Conditional Statements
2.3 Inferencing

, 1
mjarrar©2020

1
Keywords:
Logic, Propositional Logic, Reasoning, inference, Inference rules, Numeration method, validity of argument, Modus Ponens,
Modus Tollens, Generalization, Specialization, Conjunction, Elimination, Transitivity, Division into Cases, Contradiction
‫ ﻗواﻋد اﻻﺳﺗﻧﺗﺎج‬،‫ اﺳﺗﻧﺗﺎج ﻣﻧطﻘﻲ‬،‫ اﺳﺗﻧﺗﺎج‬،‫ ﻣﻧطق اﻟﻘﺿﺎﯾﺎ‬،‫ﻣﻧطق‬

Watch this lecture


and download the slides

Course Page: http://www.jarrar.info/courses/DMath/


More Online Courses at: http://www.jarrar.info

Acknowledgement:
This lecture is based on (but not limited to) to chapter 5 in “Discrete Mathematics with Applications
by Susanna S. Epp (3rd Edition)”.

, 2

1
9/22/20

Mustafa Jarrar: Lecture Notes in Discrete Mathematics.


Birzeit University, Palestine, 2015

Propositional Logic
2.3 Logical Inferencing

In this lecture:

qPart 1: Numeration Method


qPart 2: Rules of Inference
qPart 3: Example

, 3

3
Keywords:

Numeration Method
Example 1
If today is Friday then today is holiday
p→q
Today is Friday p
∴today is holiday? ∴q?

, 4

2
9/22/20

Numeration Method
Example 2
p → q ∨ ∼r
q→p∧r
∴ p→r ?

, 5

Numeration Method

What is wrong with this Numeration Method?

, 6

3
9/22/20

Mustafa Jarrar: Lecture Notes in Discrete Mathematics.


Birzeit University, Palestine, 2015

Propositional Logic
2.3 Logical Inferencing

In this lecture:
qPart 1: Numeration Method
qPart 2: Rules of Inference
qPart 3: Example

, 7

7
Keywords:

Rules of Inference

1. Modus Ponens:

p→q If today is Friday then today is holiday


Today is Friday
p
∴q ∴ Today is holiday

, 8

4
9/22/20

Rules of Inference

2. Modus Tollens:

p→q If today is Friday then today is holiday


Today is not holiday
~q
∴ ∼p ∴ Today is not Friday

, 9

Rules of Inference

3. Generalization:

p Today is Saturday

∴p∨q ∴ Today is Saturday or today is Sunday

∴p∨q

, 10

10

5
9/22/20

Rules of Inference

4. Specialization:

p∧q Today is Friday and today is holiday

∴p ∴ Today is Friday

p∧q

∴q ∴ Today is Holiday

, 11

11

Rules of Inference

5. Conjunction:

p Today is Friday
Today is Holiday
q
∴ p∧q ∴ Today is Friday and today is holiday

, 12

12

6
9/22/20

Rules of Inference

6. Elimination:

p∨q Today is Saturday or today is Sunday


∼p Today is not Saturday

∴q ∴ Today is Sunday

p∨q
∼q
∴p
, 13

13

Rules of Inference

7. Transitivity:

p→q If today is Friday then Today is holiday


If today is holiday then I am happy
q→r

∴ p→r ∴ If today is Friday then I am happy

, 14

14

7
9/22/20

Rules of Inference

8. Division into Cases:

p∨q Today is Friday or today is Sunday


p→r If today is Friday then I am happy
q→r If today is Sunday then I am happy

∴r ∴ I am happy

, 15

15

Rules of Inference

9. Contradiction Rule:

If “Today is not Friday” is false


∼p → c
∴ Today is Friday
∴p

, 16

16

8
9/22/20

Rules of Inference
Summary

, 17

17

Mustafa Jarrar: Lecture Notes in Discrete Mathematics.


Birzeit University, Palestine, 2015

Propositional Logic
2.3 Logical Inferencing

In this lecture:
qPart 1: Numeration Method
qPart 2: Rules of Inference
qPart 3: Example

, 18

18
Keywords:

9
9/22/20

Inferencing Example
Formalize the following text in propositional logic and use the
inference rules find the glasses.
If I was reading the newspaper in the kitchen, then my RK → GK
glasses are on the kitchen table.
If my glasses are on the kitchen table, then I saw them at GK → SB
breakfast.
I did not see my glasses at breakfast. ∼ SB

I was reading the newspaper in the living room or I was RL ∨ RK


reading the newspaper in the kitchen.
If I was reading the newspaper in the living room then RL → GC
my glasses are on the coffee table.
, Where are the glasses? 19

19

Inferencing Example
Let
RK = I was reading the newspaper in the kitchen. RK → GK
GK = My glasses are on the kitchen table. GK → SB
SB = I saw my glasses at breakfast. ∼ SB
RL = I was reading the newspaper in the living room. RL ∨ RK
GC = My glasses are on the coffee table. RL → GC

RK → GK RL ∨ RK
GK → SB ∼ RK
∴ RK → SB by transitivity ∴ RL by elimination

RK → SB RL → GC
∼ SB RL
∴ ∼RK by modus tollens ∴ GC by modus ponenes

Thus the glasses are on the coffee table.


, 20

20

10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy