SlideShare a Scribd company logo
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 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
allyn joy calcaben
 
Truth table
Truth tableTruth table
Truth table
Abdur Rehman
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Laguna State Polytechnic University
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
IT Engineering Department
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
JosefMikaeldelCorro
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
harman kaur
 
Proof by contradiction
Proof by contradictionProof by contradiction
Proof by contradiction
GC University Fsd
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
Laguna State Polytechnic University
 
1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositiveBrandeis High School
 
Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functions
Charliez Jane Soriano
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics LectureGenie Rose Santos
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
Fathan Hakim
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
University of Potsdam
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
Mamta Pandey
 
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsDiscrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Amr Rashed
 
Proof By Contradictions
Proof By ContradictionsProof By Contradictions
Proof By Contradictions
GC University Fsd
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
blaircomp2003
 

What's hot (20)

CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
Truth table
Truth tableTruth table
Truth table
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
 
Conditionals
ConditionalsConditionals
Conditionals
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Logic
LogicLogic
Logic
 
Proof by contradiction
Proof by contradictionProof by contradiction
Proof by contradiction
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive1st Test - If then, converse, inverse and contrapositive
1st Test - If then, converse, inverse and contrapositive
 
Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functions
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsDiscrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
 
Proof By Contradictions
Proof By ContradictionsProof By Contradictions
Proof By Contradictions
 
Mathematical Reasoning
Mathematical ReasoningMathematical Reasoning
Mathematical Reasoning
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 

Similar to Formal Logic - Lesson 7 - Rules of Inference

Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
Laguna State Polytechnic University
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logic
Manjula V
 
rules of inference in discrete structures
rules of inference in discrete structuresrules of inference in discrete structures
rules of inference in discrete structures
ZenLooper
 
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
ZenLooper
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
Robert Geofroy
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
NomanMehboob4
 
L2.pdf
L2.pdfL2.pdf
1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofs1.3.3 Syllogism and Proofs
1.3.3 Syllogism and Proofs
smiller5
 
discreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptxdiscreatemathpresentationrss-171107192105.pptx
discreatemathpresentationrss-171107192105.pptx
AbdulMajeetMohamed
 
1.3.4 Syllogisms
1.3.4 Syllogisms1.3.4 Syllogisms
1.3.4 Syllogisms
smiller5
 
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 proof
Suresh Ram
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
DakshBaveja
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
Lakshmi R
 
Per3 pembuktian
Per3 pembuktianPer3 pembuktian
Per3 pembuktian
Evert Sandye Taasiringan
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
Abdur Rehman
 

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
 
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
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 

More from Laguna State Polytechnic University

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
Laguna State Polytechnic University
 
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
Laguna State Polytechnic University
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Laguna State Polytechnic University
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
Laguna State Polytechnic University
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
Laguna State Polytechnic University
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
Laguna State Polytechnic University
 
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
Laguna State Polytechnic University
 
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
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
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 System
Laguna State Polytechnic University
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Laguna State Polytechnic University
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
Laguna State Polytechnic University
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
Laguna State Polytechnic University
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
Laguna State Polytechnic University
 
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
Laguna State Polytechnic University
 
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
Laguna State Polytechnic University
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
Laguna State Polytechnic University
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
Laguna State Polytechnic University
 
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
Laguna 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

Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

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