SlideShare a Scribd company logo
1 of 12
INTRODUCTION OF
PROPOSITIONAL LOGICS
Prof. Neeraj Bhargava
Kapil Chauhan
Department of Computer Science
School of Engineering & Systems Sciences
MDS University, Ajmer
Outline
 Syntax vs Semantics.
 Syntax of L
 Semantics of L
 Truth-Table .
Syntax
 Syntax is all about expressions: words and sentences.
Examples of syntactic claims
• ‘Bertrand Russell’ is a proper noun.
• ‘likes logic’ is a verb phrase.
• ‘Bertrand Russell likes logic’ is a sentence.
• Combining a proper noun and a verb phrase in this way makes a sentence
Semantics
 Semantics is all about meanings of expressions.
Examples of semantic claims
• ‘Bertrand Russell’ refers to a British philosopher.
•‘Bertrand Russell’ refers to Bertrand Russell.
•‘likes logic’ expresses a property Russell has.
•‘Bertrand Russell likes logic’ is true.
Syntax: English vs. L1.
 English has many different sorts of expression.
Some expressions of English
(1) Sentences: ‘Bertrand Russell likes logic’, ‘Philosophers like conceptual analysis’,
etc..
(2) Connectives: ‘it is not the case that’, ‘and’, etc..
(3) Noun phrases: ‘Bertrand Russell’, ‘Philosophers’, etc..
(4) Verb phrases: ‘likes logic’, ‘like conceptual analysis’, etc..
(5) Also: nouns, verbs, pronouns, etc., etc., etc..
L1 has just two sorts of basic expression.
Some basic expressions of L1
(1) Sentence letters: e.g. ‘P’, ‘Q’.
(2) Connectives: e.g. ‘¬’, ‘∧’.
Combining sentences and connectives makes new sentences.
 Some complex sentences
‘It is not the case that’ and ‘Bertrand Russell likes logic’ make:
‘It is not the case that Bertrand Russell likes logic’. ‘¬’ and ‘P’ make: ‘¬P’.
‘Bertrand Russell likes logic’ and ‘and’ and ‘Philosophers like conceptual analysis’
make: ‘Bertrand Russell likes logic and philosophers like conceptual analysis’.
‘P’, ‘∧’ and ‘Q’ make: ‘(P ∧ Q)’.
Logic convention: no quotes around L1-expressions.
P, ∧ and Q make: (P ∧ Q).
Connectives
 Here’s the full list of L1-connectives.
Name in English symbol
Conjunction and ∧
disjunction or ∨
negation it is not the case that ¬
arrow if . . . then →
double arrow if and only if ↔
Semantics
 Recall the characterisation of validity from week 1.
Characterisation
An argument is logically valid if and only if there is no interpretation of
subject-specific expressions under which:
(i) the premises are all true, and
(ii) the conclusion is false.
We’ll adapt this characterisation to L1.
Logical expressions: ¬, ∧, ∨,→ and ↔.
Subject specific expressions: P, Q, R, . . .
Interpretation:
Truth-values of complex sentences
 L1-structures only directly specify truth-values for P, Q, R, . . .
 The logical connectives have fixed meanings.
 These determine the truth-values of complex sentences.
 Notation: |φ|A is the truth-value of φ under A.
 Truth-conditions for ¬
 The meaning of ¬ is summarised in its truth table
φ ¬φ
T F
F T
Truth-values of complex sentences
 Truth-conditions for ∧ and ∨ The meanings of ∧ and ∨ are given by the
truth tables:
Φ Ψ (φ ∧ ψ)
T T T
T F F
F T F
F F F
|(φ ∧ ψ)|A = T if and only if |φ|A = T and |ψ|A = T. |(φ ∨ ψ)|A
= T if and only if |φ|A = T or |ψ|A = T (or both).
Φ Ψ (φ ∨ ψ)
T T T
T F T
F T T
F F F
Truth-values of complex sentences
Truth-conditions for → and ↔ The meanings of → and ↔ are given by the truth
tables:
Φ Ψ (φ →ψ)
T T T
T F F
F T T
F F T
|(φ → ψ)|A = T if and only if |φ|A = F or |ψ|A = T. |(φ ↔ ψ)|A
= T if and only if |φ|A = |ψ|A.
Φ Ψ (φ ↔ψ)
T T T
T F F
F T F
F F F
Assignment
 Explain logics in AI and describe propositional logic
with all different logics with example.

More Related Content

What's hot

Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
Genie Rose Santos
 
Geometry conditional statements and their converse
Geometry   conditional statements and their converseGeometry   conditional statements and their converse
Geometry conditional statements and their converse
mathriot
 
Unit 1 day 7
Unit 1 day 7Unit 1 day 7
Unit 1 day 7
cirilah
 
Geom1-7handout
Geom1-7handoutGeom1-7handout
Geom1-7handout
kquarton
 
Truth tables
Truth tablesTruth tables
Truth tables
walkerlj
 
Inductive reasoning & logic
Inductive reasoning & logicInductive reasoning & logic
Inductive reasoning & logic
tommy34g
 

What's hot (19)

Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
Math 150 fall 2020 homework 1 due date friday, october 15,
Math 150 fall 2020 homework 1 due date friday, october 15,Math 150 fall 2020 homework 1 due date friday, october 15,
Math 150 fall 2020 homework 1 due date friday, october 15,
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Logic
LogicLogic
Logic
 
Math 8 – mathematics as an axiomatic system
Math 8 – mathematics as an axiomatic systemMath 8 – mathematics as an axiomatic system
Math 8 – mathematics as an axiomatic system
 
Truth tables complete and p1 of short method
Truth tables complete and p1 of short methodTruth tables complete and p1 of short method
Truth tables complete and p1 of short method
 
Geometry conditional statements and their converse
Geometry   conditional statements and their converseGeometry   conditional statements and their converse
Geometry conditional statements and their converse
 
Geo 2.1 condtional statements
Geo 2.1 condtional statementsGeo 2.1 condtional statements
Geo 2.1 condtional statements
 
Phrases and Clauses
Phrases and ClausesPhrases and Clauses
Phrases and Clauses
 
Abbreviated Truth Tables
Abbreviated Truth TablesAbbreviated Truth Tables
Abbreviated Truth Tables
 
Chapter 06 hurley 12e
Chapter 06 hurley 12eChapter 06 hurley 12e
Chapter 06 hurley 12e
 
Unit 1 day 7
Unit 1 day 7Unit 1 day 7
Unit 1 day 7
 
Geom1-7handout
Geom1-7handoutGeom1-7handout
Geom1-7handout
 
2.2 definitions and biconditionals
2.2 definitions and biconditionals2.2 definitions and biconditionals
2.2 definitions and biconditionals
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Point-free foundation of Mathematics
Point-free foundation of MathematicsPoint-free foundation of Mathematics
Point-free foundation of Mathematics
 
Inductive reasoning & logic
Inductive reasoning & logicInductive reasoning & logic
Inductive reasoning & logic
 
3 computing truth tables
3   computing truth tables3   computing truth tables
3 computing truth tables
 

Similar to Propositional logic

20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
ssuser92109d
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdf
PradeeshSAI
 
Propositional logic is a good vehicle to introduce basic properties of logic
Propositional logic is a good vehicle to introduce basic properties of logicPropositional logic is a good vehicle to introduce basic properties of logic
Propositional logic is a good vehicle to introduce basic properties of logic
pendragon6626
 

Similar to Propositional logic (20)

AppTheories_L3
AppTheories_L3AppTheories_L3
AppTheories_L3
 
First order predicate logic(fopl)
First order predicate logic(fopl)First order predicate logic(fopl)
First order predicate logic(fopl)
 
lec3 AI.pptx
lec3  AI.pptxlec3  AI.pptx
lec3 AI.pptx
 
Logic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxLogic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptx
 
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
 
English for Math Pertemuan ke 11
English for Math Pertemuan ke 11English for Math Pertemuan ke 11
English for Math Pertemuan ke 11
 
L4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptxL4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptx
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdf
 
Per3 logika&pembuktian
Per3 logika&pembuktianPer3 logika&pembuktian
Per3 logika&pembuktian
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
 
APAL2032
APAL2032APAL2032
APAL2032
 
2-lecture_01.pdf
2-lecture_01.pdf2-lecture_01.pdf
2-lecture_01.pdf
 
03 propsem
03 propsem03 propsem
03 propsem
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
2.pdf
2.pdf2.pdf
2.pdf
 
Statistical machine translation
Statistical machine translationStatistical machine translation
Statistical machine translation
 
Relative Charity
Relative CharityRelative Charity
Relative Charity
 
Propositional logic is a good vehicle to introduce basic properties of logic
Propositional logic is a good vehicle to introduce basic properties of logicPropositional logic is a good vehicle to introduce basic properties of logic
Propositional logic is a good vehicle to introduce basic properties of logic
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
 

More from chauhankapil

Elements of visual perception
Elements of visual perceptionElements of visual perception
Elements of visual perception
chauhankapil
 

More from chauhankapil (20)

Gray level transformation
Gray level transformationGray level transformation
Gray level transformation
 
Elements of visual perception
Elements of visual perceptionElements of visual perception
Elements of visual perception
 
JSP Client Request
JSP Client RequestJSP Client Request
JSP Client Request
 
Jsp server response
Jsp   server responseJsp   server response
Jsp server response
 
Markov decision process
Markov decision processMarkov decision process
Markov decision process
 
RNN basics in deep learning
RNN basics in deep learningRNN basics in deep learning
RNN basics in deep learning
 
Introduction to generative adversarial networks (GANs)
Introduction to generative adversarial networks (GANs)Introduction to generative adversarial networks (GANs)
Introduction to generative adversarial networks (GANs)
 
Bayesian probabilistic interference
Bayesian probabilistic interferenceBayesian probabilistic interference
Bayesian probabilistic interference
 
Jsp
JspJsp
Jsp
 
Exception handling in java
Exception handling in javaException handling in java
Exception handling in java
 
Knowledge acquistion
Knowledge acquistionKnowledge acquistion
Knowledge acquistion
 
Knowledge based system
Knowledge based systemKnowledge based system
Knowledge based system
 
Introduction of predicate logics
Introduction of predicate  logicsIntroduction of predicate  logics
Introduction of predicate logics
 
Types of inheritance in java
Types of inheritance in javaTypes of inheritance in java
Types of inheritance in java
 
Representation of syntax, semantics and Predicate logics
Representation of syntax, semantics and Predicate logicsRepresentation of syntax, semantics and Predicate logics
Representation of syntax, semantics and Predicate logics
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in java
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Constructors in java
Constructors in javaConstructors in java
Constructors in java
 
Methods in java
Methods in javaMethods in java
Methods in java
 
Circular linked list
Circular linked listCircular linked list
Circular linked list
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 

Propositional logic

  • 1. INTRODUCTION OF PROPOSITIONAL LOGICS Prof. Neeraj Bhargava Kapil Chauhan Department of Computer Science School of Engineering & Systems Sciences MDS University, Ajmer
  • 2. Outline  Syntax vs Semantics.  Syntax of L  Semantics of L  Truth-Table .
  • 3. Syntax  Syntax is all about expressions: words and sentences. Examples of syntactic claims • ‘Bertrand Russell’ is a proper noun. • ‘likes logic’ is a verb phrase. • ‘Bertrand Russell likes logic’ is a sentence. • Combining a proper noun and a verb phrase in this way makes a sentence
  • 4. Semantics  Semantics is all about meanings of expressions. Examples of semantic claims • ‘Bertrand Russell’ refers to a British philosopher. •‘Bertrand Russell’ refers to Bertrand Russell. •‘likes logic’ expresses a property Russell has. •‘Bertrand Russell likes logic’ is true.
  • 5. Syntax: English vs. L1.  English has many different sorts of expression. Some expressions of English (1) Sentences: ‘Bertrand Russell likes logic’, ‘Philosophers like conceptual analysis’, etc.. (2) Connectives: ‘it is not the case that’, ‘and’, etc.. (3) Noun phrases: ‘Bertrand Russell’, ‘Philosophers’, etc.. (4) Verb phrases: ‘likes logic’, ‘like conceptual analysis’, etc.. (5) Also: nouns, verbs, pronouns, etc., etc., etc.. L1 has just two sorts of basic expression. Some basic expressions of L1 (1) Sentence letters: e.g. ‘P’, ‘Q’. (2) Connectives: e.g. ‘¬’, ‘∧’.
  • 6. Combining sentences and connectives makes new sentences.  Some complex sentences ‘It is not the case that’ and ‘Bertrand Russell likes logic’ make: ‘It is not the case that Bertrand Russell likes logic’. ‘¬’ and ‘P’ make: ‘¬P’. ‘Bertrand Russell likes logic’ and ‘and’ and ‘Philosophers like conceptual analysis’ make: ‘Bertrand Russell likes logic and philosophers like conceptual analysis’. ‘P’, ‘∧’ and ‘Q’ make: ‘(P ∧ Q)’. Logic convention: no quotes around L1-expressions. P, ∧ and Q make: (P ∧ Q).
  • 7. Connectives  Here’s the full list of L1-connectives. Name in English symbol Conjunction and ∧ disjunction or ∨ negation it is not the case that ¬ arrow if . . . then → double arrow if and only if ↔
  • 8. Semantics  Recall the characterisation of validity from week 1. Characterisation An argument is logically valid if and only if there is no interpretation of subject-specific expressions under which: (i) the premises are all true, and (ii) the conclusion is false. We’ll adapt this characterisation to L1. Logical expressions: ¬, ∧, ∨,→ and ↔. Subject specific expressions: P, Q, R, . . . Interpretation:
  • 9. Truth-values of complex sentences  L1-structures only directly specify truth-values for P, Q, R, . . .  The logical connectives have fixed meanings.  These determine the truth-values of complex sentences.  Notation: |φ|A is the truth-value of φ under A.  Truth-conditions for ¬  The meaning of ¬ is summarised in its truth table φ ¬φ T F F T
  • 10. Truth-values of complex sentences  Truth-conditions for ∧ and ∨ The meanings of ∧ and ∨ are given by the truth tables: Φ Ψ (φ ∧ ψ) T T T T F F F T F F F F |(φ ∧ ψ)|A = T if and only if |φ|A = T and |ψ|A = T. |(φ ∨ ψ)|A = T if and only if |φ|A = T or |ψ|A = T (or both). Φ Ψ (φ ∨ ψ) T T T T F T F T T F F F
  • 11. Truth-values of complex sentences Truth-conditions for → and ↔ The meanings of → and ↔ are given by the truth tables: Φ Ψ (φ →ψ) T T T T F F F T T F F T |(φ → ψ)|A = T if and only if |φ|A = F or |ψ|A = T. |(φ ↔ ψ)|A = T if and only if |φ|A = |ψ|A. Φ Ψ (φ ↔ψ) T T T T F F F T F F F F
  • 12. Assignment  Explain logics in AI and describe propositional logic with all different logics with example.