SlideShare una empresa de Scribd logo
1 de 4
RULES OF INFERENCE (CONCLUSION)
1. Rule of conjunctive simplification

This rule states that, P is true whenever PΛQ is true.

Symbolically it is PΛQ

                   ∴P

Explanation: pΛq is similar to AND logic of Digital electronics. Its truth value is 1 only if
p and q both are 1. So we can say p is true whenever PΛQ is true.

Proof by truth table:
P     Q     PΛQ
0     0     0
0     1     0
1     0     0
1     1     1


2. Rule of disjunctive amplification

This rule states that P⋁Q is true whenever P is true.

Symbolically it is P

                   ∴ P⋁Q

Explanation: P⋁Q is similar to OR logic of Digital electronics. Its truth value is 1 if any of
the inputs ( p or q )is 1. So we can say P⋁Q is true whenever P is true, irrespective of
the value of Q.

Proof By Truthtable:
P     Q     PVQ
0     0     0
0     1     1
1     0     1
1     1     1
3. Rule of Hypothetical syllogism:

This rule states that P⟶R is true whenever P⟶ Q is true and Q⟶R is true.

Symbolically it is P⟶Q

                     Q⟶R

                    ∴ P⟶R

Explanation: P⟶Q is true, it states that P is not 1 and Q is not 0 concurrently.
Same way, Q⟶R is true, it states that Q is not 1 and R is not 0 at the same time.
(Because A⟶B is a conditional statement whose value is 0 only in one case which is
when A is1 and B is 0)So we can say both these statements can take any other
combination other than 1 and 0.

Let’s say P is 1 ie Q is also 1.

Going to statement (b), if Q is 1 from above statement, R must be 1.

And if P is 1 and Q is 1 and R is also 1. This implies P⟶R is also one that is only our
conclusion.

Proof By Truthtable
P           Q           R          P⟶Q      Q⟶R        P⟶R
0           0           0          1        1          1
0           0           1          1        1          1
0           1           0          1        0          0
0           1           1          1        1          1
1           0           0          0        1          1
1           0           1          0        1          1
1           1           0          1        0          0
1           1           1          1        1          1
4. Rule of Disjunctive syllogism

This rule states that Q is true whenever P⋁Q is true and P is true.

Symbolically it is P⋁Q      (a)

                       P    (b)

                    ∴Q

Explanation: P⋁Q behaves the same way as OR gate in digital electronics ie, if any of the
two inputs is 1 the output is 1. So if we know that PVQ is 1(from (a)) and P is 1 that
means P is 0. So to support (a), Q has to be one only then the output of PVQ will be 1.
This implies Q is 1 and that is our conclusion.

Proof By Truthtable
P         Q         P⋁Q        P
0         0         0         1
0         1         1         1
1         0         1         0
1         1         1         0



5. Rule of Modus Pones( Rule of detachment)

This rule states that Q is true whenever P is true and P⟶Q is true.

Symbolically it is P                     (a)

                   P⟶Q                   (b)

                   ∴Q

Explanation: P⟶Q is a conditional statement in discrete mathematics, which is false
only in one case that is when p is true and q is false (or P is 1 and Q is 0 then p⟶q is 0
and in all other cases it is true.)

Here we know that p is true, from (a)

And P⟶Q is true (from (b)) ie Q must be true that is the conclution.
Proof By Truthtable
P      Q             P⟶Q
0      0             1
0      1             1
1      0             0
1      1             1



6. Rule of Modus Tollens

This rule states that ~P is true whenever P⟶Q is true and ~Q is true.

Symbolically it is P⟶Q       ……………… (a)

                    ~Q       ……………….. (b)

                    ∴~P

Explanation: P⟶Q is a conditional statement in discrete mathematics, which is false
only in one case that is when p is true and q is false (or P is 1 and Q is 0 then p⟶q is is
0 and in all other cases it is true)

We know that ~Q is 1from (b) ie Q is 0 ( we know that ~Q is inverse of Q)

The above condition P⟶Q can be true only if P is 0 because if P is 1 and Q is 0 the
output will be 0.

So it signifies that p is 0 and ~P is 1 that is our conclusion.

Proof By Truthtable
P           Q        ~Q     ~P      P⟶Q
0           0        1      1       1
0           1        0      1       1
1           0        1      0       0
1           1        0      0       1

Más contenido relacionado

La actualidad más candente

17 using rules of inference to build arguments
17   using rules of inference to build arguments17   using rules of inference to build arguments
17 using rules of inference to build argumentsAli Saleem
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
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 Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logicgiki67
 
Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicUniversity of Potsdam
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalencesallyn joy calcaben
 
Pumping lemma for regular set h1
Pumping lemma for regular set h1Pumping lemma for regular set h1
Pumping lemma for regular set h1Rajendran
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1taimoor iftikhar
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiersallyn joy calcaben
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid argumentsAbdur Rehman
 

La actualidad más candente (20)

Propositional logic
Propositional logicPropositional logic
Propositional logic
 
17 using rules of inference to build arguments
17   using rules of inference to build arguments17   using rules of inference to build arguments
17 using rules of inference to build arguments
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
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 Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional Logic
 
Syllogism
SyllogismSyllogism
Syllogism
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
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
 
Pumping lemma for regular set h1
Pumping lemma for regular set h1Pumping lemma for regular set h1
Pumping lemma for regular set h1
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Symbolic logic
Symbolic logicSymbolic logic
Symbolic logic
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
 
Gram-Schmidt process
Gram-Schmidt processGram-Schmidt process
Gram-Schmidt process
 
Proposition
PropositionProposition
Proposition
 
Kleene's theorem
Kleene's theoremKleene's theorem
Kleene's theorem
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid arguments
 

Destacado

Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceasimnawaz54
 
The ontological argument
The ontological argumentThe ontological argument
The ontological argumentTPSMulholland
 
Inference on the Semantic Web
Inference on the Semantic WebInference on the Semantic Web
Inference on the Semantic WebMyungjin Lee
 
Discrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsDiscrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsWongyos Keardsri
 
Language maintenance and shift
Language maintenance and shiftLanguage maintenance and shift
Language maintenance and shiftAzam Almubarki
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inferenceSlideshare
 
Language maintenance and shift
Language maintenance and shift Language maintenance and shift
Language maintenance and shift Farah Nadia
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicAshique Rasool
 
SOCIOLINGUISTICS:Language Maintenance, Shift and Death
SOCIOLINGUISTICS:Language Maintenance, Shift and DeathSOCIOLINGUISTICS:Language Maintenance, Shift and Death
SOCIOLINGUISTICS:Language Maintenance, Shift and DeathJholy Quintan
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logicankush_kumar
 
Language shift
Language shiftLanguage shift
Language shiftBas Bas
 

Destacado (17)

Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
The ontological argument
The ontological argumentThe ontological argument
The ontological argument
 
Inference on the Semantic Web
Inference on the Semantic WebInference on the Semantic Web
Inference on the Semantic Web
 
Syllogism
SyllogismSyllogism
Syllogism
 
Discrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsDiscrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and Proofs
 
First order logic
First order logicFirst order logic
First order logic
 
Language maintenance and shift
Language maintenance and shiftLanguage maintenance and shift
Language maintenance and shift
 
A2 Ontological
A2 OntologicalA2 Ontological
A2 Ontological
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
 
Language maintenance and shift
Language maintenance and shift Language maintenance and shift
Language maintenance and shift
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
SOCIOLINGUISTICS:Language Maintenance, Shift and Death
SOCIOLINGUISTICS:Language Maintenance, Shift and DeathSOCIOLINGUISTICS:Language Maintenance, Shift and Death
SOCIOLINGUISTICS:Language Maintenance, Shift and Death
 
Hypothetical Syllogism
Hypothetical SyllogismHypothetical Syllogism
Hypothetical Syllogism
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
Language shift
Language shiftLanguage shift
Language shift
 
Karl Popper
Karl PopperKarl Popper
Karl Popper
 

Similar a Rules of inference

Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptNandiniSR2
 
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
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).pptMemMem25
 

Similar a Rules of inference (11)

DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
 
3 computing truth tables
3   computing truth tables3   computing truth tables
3 computing truth tables
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
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 د. خالد بكرو
 
Lecture 01.ppt
Lecture 01.pptLecture 01.ppt
Lecture 01.ppt
 
dm-logic.pdf
dm-logic.pdfdm-logic.pdf
dm-logic.pdf
 
Logic parti
Logic partiLogic parti
Logic parti
 
AppTheories_L3
AppTheories_L3AppTheories_L3
AppTheories_L3
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).ppt
 
Course notes1
Course notes1Course notes1
Course notes1
 

Más de harman kaur

Working with functions in matlab
Working with functions in matlabWorking with functions in matlab
Working with functions in matlabharman kaur
 
Matlab 1(operations on_matrix)
Matlab 1(operations on_matrix)Matlab 1(operations on_matrix)
Matlab 1(operations on_matrix)harman kaur
 
Creating red black tree
Creating red black treeCreating red black tree
Creating red black treeharman kaur
 
c plus plus programsSlide
c plus plus programsSlidec plus plus programsSlide
c plus plus programsSlideharman kaur
 
Program to illustrate Switch, Goto and Exit statements.
Program to illustrate Switch, Goto and  Exit statements.Program to illustrate Switch, Goto and  Exit statements.
Program to illustrate Switch, Goto and Exit statements.harman kaur
 
Quiz on Logic Gate
Quiz on Logic GateQuiz on Logic Gate
Quiz on Logic Gateharman kaur
 
Functions oracle (pl/sql)
Functions oracle (pl/sql)Functions oracle (pl/sql)
Functions oracle (pl/sql)harman kaur
 
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)harman kaur
 
Virtual function
Virtual functionVirtual function
Virtual functionharman kaur
 
operator overloading in c++
operator overloading in c++operator overloading in c++
operator overloading in c++harman kaur
 
Introduction to digital electornics
Introduction to digital electornicsIntroduction to digital electornics
Introduction to digital electornicsharman kaur
 
Basic c++ programs
Basic c++ programsBasic c++ programs
Basic c++ programsharman kaur
 

Más de harman kaur (15)

Working with functions in matlab
Working with functions in matlabWorking with functions in matlab
Working with functions in matlab
 
Matlab 1(operations on_matrix)
Matlab 1(operations on_matrix)Matlab 1(operations on_matrix)
Matlab 1(operations on_matrix)
 
Creating red black tree
Creating red black treeCreating red black tree
Creating red black tree
 
c plus plus programsSlide
c plus plus programsSlidec plus plus programsSlide
c plus plus programsSlide
 
Cpp programs
Cpp programsCpp programs
Cpp programs
 
Program to illustrate Switch, Goto and Exit statements.
Program to illustrate Switch, Goto and  Exit statements.Program to illustrate Switch, Goto and  Exit statements.
Program to illustrate Switch, Goto and Exit statements.
 
Digital u1
Digital u1Digital u1
Digital u1
 
Quiz on Logic Gate
Quiz on Logic GateQuiz on Logic Gate
Quiz on Logic Gate
 
Functions oracle (pl/sql)
Functions oracle (pl/sql)Functions oracle (pl/sql)
Functions oracle (pl/sql)
 
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)
ਜਪੁ ਜੀ ਸਾਹਿਬ (JAPJI SAHIB)
 
Msql query
Msql queryMsql query
Msql query
 
Virtual function
Virtual functionVirtual function
Virtual function
 
operator overloading in c++
operator overloading in c++operator overloading in c++
operator overloading in c++
 
Introduction to digital electornics
Introduction to digital electornicsIntroduction to digital electornics
Introduction to digital electornics
 
Basic c++ programs
Basic c++ programsBasic c++ programs
Basic c++ programs
 

Rules of inference

  • 1. RULES OF INFERENCE (CONCLUSION) 1. Rule of conjunctive simplification This rule states that, P is true whenever PΛQ is true. Symbolically it is PΛQ ∴P Explanation: pΛq is similar to AND logic of Digital electronics. Its truth value is 1 only if p and q both are 1. So we can say p is true whenever PΛQ is true. Proof by truth table: P Q PΛQ 0 0 0 0 1 0 1 0 0 1 1 1 2. Rule of disjunctive amplification This rule states that P⋁Q is true whenever P is true. Symbolically it is P ∴ P⋁Q Explanation: P⋁Q is similar to OR logic of Digital electronics. Its truth value is 1 if any of the inputs ( p or q )is 1. So we can say P⋁Q is true whenever P is true, irrespective of the value of Q. Proof By Truthtable: P Q PVQ 0 0 0 0 1 1 1 0 1 1 1 1
  • 2. 3. Rule of Hypothetical syllogism: This rule states that P⟶R is true whenever P⟶ Q is true and Q⟶R is true. Symbolically it is P⟶Q Q⟶R ∴ P⟶R Explanation: P⟶Q is true, it states that P is not 1 and Q is not 0 concurrently. Same way, Q⟶R is true, it states that Q is not 1 and R is not 0 at the same time. (Because A⟶B is a conditional statement whose value is 0 only in one case which is when A is1 and B is 0)So we can say both these statements can take any other combination other than 1 and 0. Let’s say P is 1 ie Q is also 1. Going to statement (b), if Q is 1 from above statement, R must be 1. And if P is 1 and Q is 1 and R is also 1. This implies P⟶R is also one that is only our conclusion. Proof By Truthtable P Q R P⟶Q Q⟶R P⟶R 0 0 0 1 1 1 0 0 1 1 1 1 0 1 0 1 0 0 0 1 1 1 1 1 1 0 0 0 1 1 1 0 1 0 1 1 1 1 0 1 0 0 1 1 1 1 1 1
  • 3. 4. Rule of Disjunctive syllogism This rule states that Q is true whenever P⋁Q is true and P is true. Symbolically it is P⋁Q (a) P (b) ∴Q Explanation: P⋁Q behaves the same way as OR gate in digital electronics ie, if any of the two inputs is 1 the output is 1. So if we know that PVQ is 1(from (a)) and P is 1 that means P is 0. So to support (a), Q has to be one only then the output of PVQ will be 1. This implies Q is 1 and that is our conclusion. Proof By Truthtable P Q P⋁Q P 0 0 0 1 0 1 1 1 1 0 1 0 1 1 1 0 5. Rule of Modus Pones( Rule of detachment) This rule states that Q is true whenever P is true and P⟶Q is true. Symbolically it is P (a) P⟶Q (b) ∴Q Explanation: P⟶Q is a conditional statement in discrete mathematics, which is false only in one case that is when p is true and q is false (or P is 1 and Q is 0 then p⟶q is 0 and in all other cases it is true.) Here we know that p is true, from (a) And P⟶Q is true (from (b)) ie Q must be true that is the conclution.
  • 4. Proof By Truthtable P Q P⟶Q 0 0 1 0 1 1 1 0 0 1 1 1 6. Rule of Modus Tollens This rule states that ~P is true whenever P⟶Q is true and ~Q is true. Symbolically it is P⟶Q ……………… (a) ~Q ……………….. (b) ∴~P Explanation: P⟶Q is a conditional statement in discrete mathematics, which is false only in one case that is when p is true and q is false (or P is 1 and Q is 0 then p⟶q is is 0 and in all other cases it is true) We know that ~Q is 1from (b) ie Q is 0 ( we know that ~Q is inverse of Q) The above condition P⟶Q can be true only if P is 0 because if P is 1 and Q is 0 the output will be 0. So it signifies that p is 0 and ~P is 1 that is our conclusion. Proof By Truthtable P Q ~Q ~P P⟶Q 0 0 1 1 1 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1