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

Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesFellowBuddy.com
 
Propositional logic
Propositional logicPropositional logic
Propositional logicMamta Pandey
 
Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principlenielsoli
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics LectureGenie Rose Santos
 
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
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)SHUBHAM KUMAR GUPTA
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical LogicJoey Valdriz
 
Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiersIstiak Ahmed
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionrey castro
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1blaircomp2003
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer scienceBindhuBhargaviTalasi
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Pumping lemma for regular set h1
Pumping lemma for regular set h1Pumping lemma for regular set h1
Pumping lemma for regular set h1Rajendran
 
Recurrence relations
Recurrence relationsRecurrence relations
Recurrence relationsIIUM
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2Ali Usman
 
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
 

La actualidad más candente (20)

Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture Notes
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principle
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
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
 
Truth table
Truth tableTruth table
Truth table
 
Proof by contradiction
Proof by contradictionProof by contradiction
Proof by contradiction
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiers
 
LECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCESLECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCES
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Pumping lemma for regular set h1
Pumping lemma for regular set h1Pumping lemma for regular set h1
Pumping lemma for regular set h1
 
Recurrence relations
Recurrence relationsRecurrence relations
Recurrence relations
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
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
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 

Destacado

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
 
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)

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
 
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

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
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
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