SlideShare a Scribd company logo
2
Most read
7
Most read
8
Most read
Propositional logic
Prof. Neeraj Bhargava
Kapil Chauhan
Department of Computer Science
School of Engineering & Systems Sciences
MDS University, Ajmer
Introduction
 Propositional logic (PL) is the simplest form of logic
where all the statements are made by propositions.
 A proposition is a declarative statement which is either
true or false.
 It is a technique of knowledge representation in
logical and mathematical form.
Example:
 a) It is Wednesday.
 b) The Sun rises from West (False proposition)
 c) 3+3= 7(False proposition)
 d) 5 is a prime number.
basic facts about propositional
logic:
 Propositional logic is also called Boolean logic as it
works on 0 and 1.
 In propositional logic, we use symbolic variables to
represent the logic, and we can use any symbol for a
representing a proposition, such A, B, C, P, Q, R, etc.
 Propositions can be either true or false, but it cannot
be both.
Cont..
 Propositional logic consists of an object, relations or
function, and logical connectives.
 These connectives are also called logical operators.
 The propositions and connectives are the basic
elements of the propositional logic.
 Connectives can be said as a logical operator which
connects two sentences.
Syntax of propositional logic:
 The syntax of propositional logic defines the allowable
sentences for the knowledge representation. There are
two types of Propositions:
 Atomic Propositions
 Compound propositions
Atomic Proposition
 Atomic Proposition: Atomic propositions are the
simple propositions. It consists of a single proposition
symbol. These are the sentences which must be either
true or false.
 Example:
 a) 2+2 is 4, it is an atomic proposition as it is a true fac
t.
 b) "The Sun is cold" is also a proposition as it is a false
fact.
Compound proposition
 Compound proposition: Compound propositions
are constructed by combining simpler or atomic
propositions, using parenthesis and logical
connectives.
 Example:
 a) "It is raining today, and street is wet."
 b) "Ankit is a doctor, and his clinic is in Mumbai."
Assignment
 Explain Propositional logic and their types with
example

More Related Content

PPTX
Propositional logic
PPT
Predicate Logic
PPTX
Propositional logic
PDF
Logical equivalence, laws of logic
PPT
Propositional Logic and Pridicate logic
PPTX
Unification and Lifting
PPTX
First order logic
PPTX
Propositional logic
Propositional logic
Predicate Logic
Propositional logic
Logical equivalence, laws of logic
Propositional Logic and Pridicate logic
Unification and Lifting
First order logic
Propositional logic

What's hot (20)

PDF
Problem Solving
PPTX
Frames
PPTX
Semantic net in AI
PDF
AI_unit IV Full Notes.pdf
PDF
Interpolation and-its-application
PDF
State Space Search in ai
PPTX
AI_Session 16 imperfect Real time decisons .pptx
PPT
L03 ai - knowledge representation using logic
PPTX
Uninformed search /Blind search in AI
PPTX
Knowledge based agents
PPT
Discrete Math Lecture 01: Propositional Logic
PPT
Syntax and semantics of propositional logic
PPT
Bayes Classification
PPT
Artificial intelligence and knowledge representation
PDF
Unit3:Informed and Uninformed search
PDF
Time and Space Complexity
PPTX
Certinity Factor and Dempster-shafer theory .pptx
PDF
Closest pair problems (Divide and Conquer)
PPT
Heuristic Search Techniques {Artificial Intelligence}
PPTX
unit-4-dynamic programming
Problem Solving
Frames
Semantic net in AI
AI_unit IV Full Notes.pdf
Interpolation and-its-application
State Space Search in ai
AI_Session 16 imperfect Real time decisons .pptx
L03 ai - knowledge representation using logic
Uninformed search /Blind search in AI
Knowledge based agents
Discrete Math Lecture 01: Propositional Logic
Syntax and semantics of propositional logic
Bayes Classification
Artificial intelligence and knowledge representation
Unit3:Informed and Uninformed search
Time and Space Complexity
Certinity Factor and Dempster-shafer theory .pptx
Closest pair problems (Divide and Conquer)
Heuristic Search Techniques {Artificial Intelligence}
unit-4-dynamic programming
Ad

Similar to Propositional logic (20)

PPTX
Knowledege Representation.pptx
PPTX
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
PDF
Ai lecture 07(unit03)
PPTX
Lecture 1-3-Logics-In-computer-science.pptx
PDF
Knowledge Representation, Prepositional Logic, Representation and Mapping
DOCX
CSC375CSCM75Logic for Computer ScienceUlrich Berger.docx
PPTX
Knowledge Representation in Artificial Intelligence
PDF
22PCOAM11_IAI_Unit III Notes Full Notesmerged.pdf
PDF
AI PPT-ALR_Unit-3-1.pdf
PPTX
Foundation_Logic_1.pptx discrete mathematics
PDF
Discrete Mathematics Lecture Notes
PDF
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
PDF
Ai lecture 09(unit03)
PPTX
AI-09 Logic in AI
PPTX
Math-802_Group-1_LOGIC final.ppt logicx
PPTX
Basic Knowledge Representation and Reasonong
PPTX
Logic in Computer Science Unit 2 (1).pptx
PDF
Logic programming (1)
PPTX
First Order Logic
PDF
Knowledge representation using predicate logic
Knowledege Representation.pptx
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Ai lecture 07(unit03)
Lecture 1-3-Logics-In-computer-science.pptx
Knowledge Representation, Prepositional Logic, Representation and Mapping
CSC375CSCM75Logic for Computer ScienceUlrich Berger.docx
Knowledge Representation in Artificial Intelligence
22PCOAM11_IAI_Unit III Notes Full Notesmerged.pdf
AI PPT-ALR_Unit-3-1.pdf
Foundation_Logic_1.pptx discrete mathematics
Discrete Mathematics Lecture Notes
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
Ai lecture 09(unit03)
AI-09 Logic in AI
Math-802_Group-1_LOGIC final.ppt logicx
Basic Knowledge Representation and Reasonong
Logic in Computer Science Unit 2 (1).pptx
Logic programming (1)
First Order Logic
Knowledge representation using predicate logic
Ad

More from chauhankapil (20)

PPTX
Gray level transformation
PPTX
Elements of visual perception
PPTX
JSP Client Request
PPTX
Jsp server response
PPTX
Markov decision process
PPTX
RNN basics in deep learning
PPTX
Introduction to generative adversarial networks (GANs)
PPTX
Bayesian probabilistic interference
PPTX
PPTX
Exception handling in java
PPTX
Knowledge acquistion
PPTX
Knowledge based system
PPTX
Introduction of predicate logics
PPTX
Types of inheritance in java
PPTX
Representation of syntax, semantics and Predicate logics
PPTX
Inheritance in java
PPTX
Constructors in java
PPTX
Methods in java
PPT
Circular linked list
PPT
Doubly linked list
Gray level transformation
Elements of visual perception
JSP Client Request
Jsp server response
Markov decision process
RNN basics in deep learning
Introduction to generative adversarial networks (GANs)
Bayesian probabilistic interference
Exception handling in java
Knowledge acquistion
Knowledge based system
Introduction of predicate logics
Types of inheritance in java
Representation of syntax, semantics and Predicate logics
Inheritance in java
Constructors in java
Methods in java
Circular linked list
Doubly linked list

Recently uploaded (20)

PPTX
UNIT 4 Total Quality Management .pptx
PDF
PPT on Performance Review to get promotions
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Sustainable Sites - Green Building Construction
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Construction Project Organization Group 2.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Project quality management in manufacturing
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT 4 Total Quality Management .pptx
PPT on Performance Review to get promotions
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Sustainable Sites - Green Building Construction
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Lecture Notes Electrical Wiring System Components
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Construction Project Organization Group 2.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Project quality management in manufacturing
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Internet of Things (IOT) - A guide to understanding
CH1 Production IntroductoryConcepts.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mechanical Engineering MATERIALS Selection
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Embodied AI: Ushering in the Next Era of Intelligent Systems
CYBER-CRIMES AND SECURITY A guide to understanding
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...

Propositional logic

  • 1. Propositional logic Prof. Neeraj Bhargava Kapil Chauhan Department of Computer Science School of Engineering & Systems Sciences MDS University, Ajmer
  • 2. Introduction  Propositional logic (PL) is the simplest form of logic where all the statements are made by propositions.  A proposition is a declarative statement which is either true or false.  It is a technique of knowledge representation in logical and mathematical form.
  • 3. Example:  a) It is Wednesday.  b) The Sun rises from West (False proposition)  c) 3+3= 7(False proposition)  d) 5 is a prime number.
  • 4. basic facts about propositional logic:  Propositional logic is also called Boolean logic as it works on 0 and 1.  In propositional logic, we use symbolic variables to represent the logic, and we can use any symbol for a representing a proposition, such A, B, C, P, Q, R, etc.  Propositions can be either true or false, but it cannot be both.
  • 5. Cont..  Propositional logic consists of an object, relations or function, and logical connectives.  These connectives are also called logical operators.  The propositions and connectives are the basic elements of the propositional logic.  Connectives can be said as a logical operator which connects two sentences.
  • 6. Syntax of propositional logic:  The syntax of propositional logic defines the allowable sentences for the knowledge representation. There are two types of Propositions:  Atomic Propositions  Compound propositions
  • 7. Atomic Proposition  Atomic Proposition: Atomic propositions are the simple propositions. It consists of a single proposition symbol. These are the sentences which must be either true or false.  Example:  a) 2+2 is 4, it is an atomic proposition as it is a true fac t.  b) "The Sun is cold" is also a proposition as it is a false fact.
  • 8. Compound proposition  Compound proposition: Compound propositions are constructed by combining simpler or atomic propositions, using parenthesis and logical connectives.  Example:  a) "It is raining today, and street is wet."  b) "Ankit is a doctor, and his clinic is in Mumbai."
  • 9. Assignment  Explain Propositional logic and their types with example