SlideShare a Scribd company logo
1 of 21
Download to read offline
z
FORMAL LOGIC
Discrete Structures I
FOR-IAN V. SANDOVAL
z
Lesson 7
RULE OF INFERENCE
z
LEARNING OBJECTIVES
❑ Prove the validity of the arguments using the rule on
inference
z
RULE OF INFERENCE
❑ Proof – is an argument from hypotheses (assumptions) to a
conclusion.
❑ Logic proofs usually begins with premises statement that
are allowed to be assume, while conclusion is the
statement that need to be proven.
❑ Argument – is a sequence of propositions.
z
Premises and Conclusion
❑ Premises
“If you have the current password, then you can log onto
the network. You have a current password.”
❑ Conclusion
“You can log onto the network.”
z
Rule of Detachment or Modus Ponens
Rules of Inference Related Logical Implications
p
p → q
∴ q
[p ^ (p → q)] → q
(Tautology)
❑ Modus pones means the method of affirming
❑ Example 1
a. Sanczha wins P1,000,000.00 lotto. p
b. If Sanczha wins P1,000,000.00 lotto, then Jomar will
put up a business.
p→q
c. Therefore, Jomar will put up a business. ∴ q
z
Law of Syllogism
Rules of Inference Related Logical Implications
p → q
q → r
∴ p → r
[(p→q) ^ (q → r)] p → r
(Tautology)
❑ Example 2
a. If 18 is divisible by 6, then 6 is divisible by 3. p→q
b. If 6 is divisible by 3, then 18 is divisible by 3. q→r
c. Therefore, if 18 is divisible by 6, then 18 is divisible by 3. ∴ p→r
z
Modus Tollens
Rules of Inference Related Logical Implications
p → q
~q
∴ p
[(p → q) ^ ~q] → ~p
(Tautology)
❑ Example 3
a. If Manny Pacquiao elected Philippine President, then
Francis Leo Marcos will pledge as cabinet member.
p→q
b. Francis Leo Marcos did not pledge as cabinet member. ~q
c. Therefore, Manny Pacquiao is not elected Philippine
President.
∴ ~p
z
Rule of Conjunction
Rules of Inference Related Logical Implications
p
q
∴ p ^ q
❑ Example 4
a. It is sunny. p
b. It is cloudy. q
c. Therefore, it is sunny and cloudy. ∴ p ^ q
z
Rule of Disjunctive Syllogism
Rules of Inference Related Logical Implications
p v q
~p
∴ q
[(p v q) ^ ~p] → q
❑ Example 5
a. Anitia’s color pencils are in his bag or it is on her table. p v q
b. Anitia’s color pencils are not in her bag. ~p
c. Therefore, Anitia’s color pencil is in her table. ∴ q
z
❑ Example 5: Establish the validity of the arguments.
[(p→~q) ^ (~q→~r) ^ p] → ~r
Solution:
[(p→~q) ^ (~q→~r) ^ p] → ~r
Steps Reasons
1. p→~q Premise
2. ~q→~r Premise
3. p→~r Law of Syllogism (Step 1 and 2)
4. p Premise
5. ∴ r Rule of Detachment (Step 4 and 3)
z
❑ Example 6: Establish the validity of the arguments.
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Solution:
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Steps Reasons
1. p→q Premise
2. r→s Premise
3. p→s Law of Syllogism
(Steps 1 and 2)
4. w v ~s Premise
5. ~s v w Commutative Law
(Step 4)
z
❑ Example 6: Establish the validity of the arguments.
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Solution:
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Steps Reasons
6. s → w Implication (Step 5)
7. p → w Law of Syllogism
(Steps 3 and 6)
8. ~w v u Premise
9. w → u Implication (Step 8)
10. p → u Law of Syllogism
(Steps 7 and 9)
z
❑ Example 6: Establish the validity of the arguments.
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Solution:
[(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p
Steps Reasons
11. ~u Premise
12. ∴ ~p Modus Tollens (Steps
10 and 11)
z
Other Rules of Inference
Rules of Inference Related Logical Implications
~p → F
∴ p
(~p → F) → p
❑ Rule of Contradiction
Rules of Inference Related Logical Implications
p ^ q
∴ p
(p ^ q) → p
❑ Rule of Conjunctive Simplification
z
Other Rules of Inference
Rules of Inference Related Logical Implications
p
∴ p v q
p → (p v q)
❑ Rule of Disjunctive Amplification
Rules of Inference Related Logical Implications
p ^ q
p → (q → r)
∴ r
{(p ^ q) ^ [p → (q→r)]} → r
❑ Rule of Conditional Proof
z
Other Rules of Inference
Rules of Inference Related Logical Implications
p → r
q → r
∴ (p v q) → r
[(p→r) ^ (q→r)] → [(p v q) → r]
❑ Rule for Proofs by Cases
Rules of Inference Related Logical Implications
p→q
r→s
p v r
∴ q v s
[(p→q) ^ (r→s) ^ (p v r)] → (q v s)
❑ Rule of Constructive Dilemma
z
Other Rules of Inference
Rules of Inference Related Logical Implications
p→q
r→s
~q v ~s
∴~p v ~r
[(p→q) ^ (r→s) ^ (~q v ~s)] → (~p v ~r)
❑ Rule of Destructive Dilemma
z
Group Enrichment Activity
A. Consider each of the following arguments. Identify the rule
of inference that establishes its validity.
1. Zandra loves Discrete Structure.
If Zandra loves Discrete Structure, then she also loves
Computer Science courses.
Therefore, she loves English.
2. Renalyn plays guitar or she plays organ.
Renalyn does not play guitar.
Therefore, she plays piano
3. If Redentor can drive a car then he can drive a
motorcycle.
Redentor cannot drive a motorcycle.
Therefore, Redentor cannot drive a car.
z
Group Enrichment Activity
B. Establish the validity of the arguments.
1. [p→(q v r)] ^ ~q ^ ~r → ~p
2. [(p→r) ^ (~p→q) ^ (q→s)] → (~r→s)
z
• Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science
University of Colorado.
• Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1-
propositions-in-discrete-mathematics
• Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html
REFERENCES

More Related Content

What's hot

CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategyallyn joy calcaben
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Ikhtiar Khan Sohan
 
Basic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.pptBasic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.pptsamalaramesh4
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical LogicJoey Valdriz
 
Propositional logic
Propositional logicPropositional logic
Propositional logicMamta Pandey
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logicallyn joy calcaben
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)IIUM
 
Discrete mathematics presentation
Discrete mathematics presentationDiscrete mathematics presentation
Discrete mathematics presentationMdZiad
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesFellowBuddy.com
 
Mathematical induction by Animesh Sarkar
Mathematical induction by Animesh SarkarMathematical induction by Animesh Sarkar
Mathematical induction by Animesh SarkarAnimesh Sarkar
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDr. Khaled Bakro
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 

What's hot (20)

CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategy
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
Basic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.pptBasic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.ppt
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Discrete mathematics presentation
Discrete mathematics presentationDiscrete mathematics presentation
Discrete mathematics presentation
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture Notes
 
Mathematical induction by Animesh Sarkar
Mathematical induction by Animesh SarkarMathematical induction by Animesh Sarkar
Mathematical induction by Animesh Sarkar
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Conditionals
ConditionalsConditionals
Conditionals
 
Proof By Contradictions
Proof By ContradictionsProof By Contradictions
Proof By Contradictions
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 

Similar to Formal Logic - Lesson 7 - Rules of Inference

L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicManjula V
 
rules of inference in discrete structures
rules of inference in discrete structuresrules of inference in discrete structures
rules of inference in discrete structuresZenLooper
 
Laws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsLaws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsZenLooper
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proofRobert Geofroy
 
1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofs1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofssmiller5
 
discreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptxdiscreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptxAbdulMajeetMohamed
 
1.3.4 Syllogisms
1.3.4 Syllogisms1.3.4 Syllogisms
1.3.4 Syllogismssmiller5
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceasimnawaz54
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)Raechel Lim
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptxDakshBaveja
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logicLakshmi R
 

Similar to Formal Logic - Lesson 7 - Rules of Inference (20)

Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logic
 
rules of inference in discrete structures
rules of inference in discrete structuresrules of inference in discrete structures
rules of inference in discrete structures
 
Laws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsLaws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applications
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
 
Chap05
Chap05Chap05
Chap05
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
 
L2.pdf
L2.pdfL2.pdf
L2.pdf
 
1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofs1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofs
 
discreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptxdiscreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptx
 
1.3.4 Syllogisms
1.3.4 Syllogisms1.3.4 Syllogisms
1.3.4 Syllogisms
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Logic
LogicLogic
Logic
 
Slide subtopic 4
Slide subtopic 4Slide subtopic 4
Slide subtopic 4
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
 
Per3 pembuktian
Per3 pembuktianPer3 pembuktian
Per3 pembuktian
 
DISMATH_Part1
DISMATH_Part1DISMATH_Part1
DISMATH_Part1
 

More from Laguna State Polytechnic University

Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemLaguna State Polytechnic University
 

More from Laguna State Polytechnic University (20)

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
 
Formal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to LogicFormal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to Logic
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
 
Software Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project FailureSoftware Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project Failure
 

Recently uploaded

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Formal Logic - Lesson 7 - Rules of Inference

  • 1. z FORMAL LOGIC Discrete Structures I FOR-IAN V. SANDOVAL
  • 2. z Lesson 7 RULE OF INFERENCE
  • 3. z LEARNING OBJECTIVES ❑ Prove the validity of the arguments using the rule on inference
  • 4. z RULE OF INFERENCE ❑ Proof – is an argument from hypotheses (assumptions) to a conclusion. ❑ Logic proofs usually begins with premises statement that are allowed to be assume, while conclusion is the statement that need to be proven. ❑ Argument – is a sequence of propositions.
  • 5. z Premises and Conclusion ❑ Premises “If you have the current password, then you can log onto the network. You have a current password.” ❑ Conclusion “You can log onto the network.”
  • 6. z Rule of Detachment or Modus Ponens Rules of Inference Related Logical Implications p p → q ∴ q [p ^ (p → q)] → q (Tautology) ❑ Modus pones means the method of affirming ❑ Example 1 a. Sanczha wins P1,000,000.00 lotto. p b. If Sanczha wins P1,000,000.00 lotto, then Jomar will put up a business. p→q c. Therefore, Jomar will put up a business. ∴ q
  • 7. z Law of Syllogism Rules of Inference Related Logical Implications p → q q → r ∴ p → r [(p→q) ^ (q → r)] p → r (Tautology) ❑ Example 2 a. If 18 is divisible by 6, then 6 is divisible by 3. p→q b. If 6 is divisible by 3, then 18 is divisible by 3. q→r c. Therefore, if 18 is divisible by 6, then 18 is divisible by 3. ∴ p→r
  • 8. z Modus Tollens Rules of Inference Related Logical Implications p → q ~q ∴ p [(p → q) ^ ~q] → ~p (Tautology) ❑ Example 3 a. If Manny Pacquiao elected Philippine President, then Francis Leo Marcos will pledge as cabinet member. p→q b. Francis Leo Marcos did not pledge as cabinet member. ~q c. Therefore, Manny Pacquiao is not elected Philippine President. ∴ ~p
  • 9. z Rule of Conjunction Rules of Inference Related Logical Implications p q ∴ p ^ q ❑ Example 4 a. It is sunny. p b. It is cloudy. q c. Therefore, it is sunny and cloudy. ∴ p ^ q
  • 10. z Rule of Disjunctive Syllogism Rules of Inference Related Logical Implications p v q ~p ∴ q [(p v q) ^ ~p] → q ❑ Example 5 a. Anitia’s color pencils are in his bag or it is on her table. p v q b. Anitia’s color pencils are not in her bag. ~p c. Therefore, Anitia’s color pencil is in her table. ∴ q
  • 11. z ❑ Example 5: Establish the validity of the arguments. [(p→~q) ^ (~q→~r) ^ p] → ~r Solution: [(p→~q) ^ (~q→~r) ^ p] → ~r Steps Reasons 1. p→~q Premise 2. ~q→~r Premise 3. p→~r Law of Syllogism (Step 1 and 2) 4. p Premise 5. ∴ r Rule of Detachment (Step 4 and 3)
  • 12. z ❑ Example 6: Establish the validity of the arguments. [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Solution: [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Steps Reasons 1. p→q Premise 2. r→s Premise 3. p→s Law of Syllogism (Steps 1 and 2) 4. w v ~s Premise 5. ~s v w Commutative Law (Step 4)
  • 13. z ❑ Example 6: Establish the validity of the arguments. [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Solution: [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Steps Reasons 6. s → w Implication (Step 5) 7. p → w Law of Syllogism (Steps 3 and 6) 8. ~w v u Premise 9. w → u Implication (Step 8) 10. p → u Law of Syllogism (Steps 7 and 9)
  • 14. z ❑ Example 6: Establish the validity of the arguments. [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Solution: [(p→q) ^ (r→s) ^ (w v ~s) ^ (~w v u) ^ ~u] → ~p Steps Reasons 11. ~u Premise 12. ∴ ~p Modus Tollens (Steps 10 and 11)
  • 15. z Other Rules of Inference Rules of Inference Related Logical Implications ~p → F ∴ p (~p → F) → p ❑ Rule of Contradiction Rules of Inference Related Logical Implications p ^ q ∴ p (p ^ q) → p ❑ Rule of Conjunctive Simplification
  • 16. z Other Rules of Inference Rules of Inference Related Logical Implications p ∴ p v q p → (p v q) ❑ Rule of Disjunctive Amplification Rules of Inference Related Logical Implications p ^ q p → (q → r) ∴ r {(p ^ q) ^ [p → (q→r)]} → r ❑ Rule of Conditional Proof
  • 17. z Other Rules of Inference Rules of Inference Related Logical Implications p → r q → r ∴ (p v q) → r [(p→r) ^ (q→r)] → [(p v q) → r] ❑ Rule for Proofs by Cases Rules of Inference Related Logical Implications p→q r→s p v r ∴ q v s [(p→q) ^ (r→s) ^ (p v r)] → (q v s) ❑ Rule of Constructive Dilemma
  • 18. z Other Rules of Inference Rules of Inference Related Logical Implications p→q r→s ~q v ~s ∴~p v ~r [(p→q) ^ (r→s) ^ (~q v ~s)] → (~p v ~r) ❑ Rule of Destructive Dilemma
  • 19. z Group Enrichment Activity A. Consider each of the following arguments. Identify the rule of inference that establishes its validity. 1. Zandra loves Discrete Structure. If Zandra loves Discrete Structure, then she also loves Computer Science courses. Therefore, she loves English. 2. Renalyn plays guitar or she plays organ. Renalyn does not play guitar. Therefore, she plays piano 3. If Redentor can drive a car then he can drive a motorcycle. Redentor cannot drive a motorcycle. Therefore, Redentor cannot drive a car.
  • 20. z Group Enrichment Activity B. Establish the validity of the arguments. 1. [p→(q v r)] ^ ~q ^ ~r → ~p 2. [(p→r) ^ (~p→q) ^ (q→s)] → (~r→s)
  • 21. z • Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science University of Colorado. • Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1- propositions-in-discrete-mathematics • Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html REFERENCES