SlideShare a Scribd company logo
Lecture 2

                     • Definition: A Tautology is a proposition
                           that is always true

                     • Definition: A Contradiction is a
                           proposition that is always false

                     •     Definition: p and q are equivalent iff p    q
                           is a tautology iff p and q have the same
                           truth table. Notation p           q




Thursday, January 17, 13
• Class Exercise, Prove De Morgan’s Laws
                               ¬(p   q)      ¬p   ¬q
                               ¬(p   q)      ¬p   ¬q


                     • Class Exercise, Prove:
                                     ¬(¬p)        p




Thursday, January 17, 13
• Definitions: An argument is a sequence of
                           propositions. All but the final proposition in
                           the argument are premises and the final
                           proposition is the conclusion

                     • Definition: An· argument is valid iff
                        (p             p )
                           > 1 2
                              p   ··        qn         is a tautoloty.
                           Otherwise it is called a fallacy

                     • Lemma: If and argument is valid and all
                           premises are true, then the conclusion is
                           true (if a premise is false, the conclusion
                           might be false)
Thursday, January 17, 13
• Exercise: Fallacy of denying the hypothesis
                                     ((p    q)    ¬p)   ¬q

                     • Exercise: Fallacy of affirming the conclusion
                                      ((p    q)    q)   p


                     • Exercise: Modus Tollens
                                     ((p    q)    ¬q)   ¬p


Thursday, January 17, 13

More Related Content

What's hot

Active and Passive
Active and PassiveActive and Passive
Active and Passive
Babu Rao
 
Pre modefication of np
Pre modefication of npPre modefication of np
Pre modefication of np
Academic Supervisor
 
Propositional logic by shawan
Propositional logic by shawanPropositional logic by shawan
Propositional logic by shawan
Touhidul Shawan
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
Syed Umair
 
Exercise 1
Exercise 1Exercise 1
Exercise 1
Amr Nady
 
CALL Assignment 2
CALL Assignment 2CALL Assignment 2
CALL Assignment 2
hus_raza
 
Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)
Abdullah Al Amin
 

What's hot (7)

Active and Passive
Active and PassiveActive and Passive
Active and Passive
 
Pre modefication of np
Pre modefication of npPre modefication of np
Pre modefication of np
 
Propositional logic by shawan
Propositional logic by shawanPropositional logic by shawan
Propositional logic by shawan
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Exercise 1
Exercise 1Exercise 1
Exercise 1
 
CALL Assignment 2
CALL Assignment 2CALL Assignment 2
CALL Assignment 2
 
Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)
 

Similar to Lecture2

Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
ankush_kumar
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
NomanMehboob4
 
L01.ppt
L01.pptL01.ppt
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
NandiniSR2
 
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
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
Abdur Rehman
 
Logic
LogicLogic
Slide subtopic 2
Slide subtopic 2Slide subtopic 2
Slide subtopic 2
Eli Lilly and Company
 
Slide subtopic 2
Slide subtopic 2Slide subtopic 2
Slide subtopic 2
Eli Lilly and Company
 
logic_lec4.ppt
logic_lec4.pptlogic_lec4.ppt
logic_lec4.ppt
noramohed732
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
AnoojaI
 
Discrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part IDiscrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part I
Wongyos Keardsri
 
dm-logic.pdf
dm-logic.pdfdm-logic.pdf
dm-logic.pdf
TsegayeAndualem
 
lectures in prolog in order to advance in artificial intelligence
lectures in prolog in order to advance in artificial intelligencelectures in prolog in order to advance in artificial intelligence
lectures in prolog in order to advance in artificial intelligence
AlaaCHOUMANE
 
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and ProofsChapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
ProfSHananeel
 
DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
DrMadhavaReddyCh
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
RuchiTuliWadhwa
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
AbdulRehman378540
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
Raechel Lim
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
DakshBaveja
 

Similar to Lecture2 (20)

Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
 
L01.ppt
L01.pptL01.ppt
L01.ppt
 
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 د. خالد بكرو
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
 
Logic
LogicLogic
Logic
 
Slide subtopic 2
Slide subtopic 2Slide subtopic 2
Slide subtopic 2
 
Slide subtopic 2
Slide subtopic 2Slide subtopic 2
Slide subtopic 2
 
logic_lec4.ppt
logic_lec4.pptlogic_lec4.ppt
logic_lec4.ppt
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
 
Discrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part IDiscrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part I
 
dm-logic.pdf
dm-logic.pdfdm-logic.pdf
dm-logic.pdf
 
lectures in prolog in order to advance in artificial intelligence
lectures in prolog in order to advance in artificial intelligencelectures in prolog in order to advance in artificial intelligence
lectures in prolog in order to advance in artificial intelligence
 
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and ProofsChapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
 
DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 

Lecture2

  • 1. Lecture 2 • Definition: A Tautology is a proposition that is always true • Definition: A Contradiction is a proposition that is always false • Definition: p and q are equivalent iff p q is a tautology iff p and q have the same truth table. Notation p q Thursday, January 17, 13
  • 2. • Class Exercise, Prove De Morgan’s Laws ¬(p q) ¬p ¬q ¬(p q) ¬p ¬q • Class Exercise, Prove: ¬(¬p) p Thursday, January 17, 13
  • 3. • Definitions: An argument is a sequence of propositions. All but the final proposition in the argument are premises and the final proposition is the conclusion • Definition: An· argument is valid iff (p p ) > 1 2 p ·· qn is a tautoloty. Otherwise it is called a fallacy • Lemma: If and argument is valid and all premises are true, then the conclusion is true (if a premise is false, the conclusion might be false) Thursday, January 17, 13
  • 4. • Exercise: Fallacy of denying the hypothesis ((p q) ¬p) ¬q • Exercise: Fallacy of affirming the conclusion ((p q) q) p • Exercise: Modus Tollens ((p q) ¬q) ¬p Thursday, January 17, 13