Artificial Intelligence
Explain the role of first order logic
(FoL) in AI.
PRESENTED BY MUHAMMAD MUBEEN YASEEN
REG NO: 17-NTU-1228
PRESENTED TO : DR.REHAN
Content:
Pros and cons Propositional logic.
Limitation of propositional logic.
Predicate logic.
What is FOL?
Syntax of FOL, Basic elements.
Atomic Sentence.
Complex Sentence.
Universal quantifier.
Existential quantifier.
Pros and cons Propositional logic.
• Propositional Logic is a declarative.
• Propositional Logic allow partial/disjunctive/negated Information.
• Propositional logic is a compositional.
• Meaning of B1,1 ^ P1,2 is derived from meaning of B1,1 and P1,2.
• Meaning in propositional Logic is context independent.
• Propositional Logic has very limited expressive power.
Limitation of propositional logic.
• Suppose you want to say ā€œAll Human are mortalā€
• In Propositional Logic you need ~6.7 billion statement
• Suppose you want to say ā€œsome people cam run a marathonā€
• You would need a disjunction of ~6.7 billion statement
Predicate logic.
• Whereas the propositional logic assume the world contain facts.
• First Order logic assume the world contain:
• Objects: People, houses, numbers, color, baseball, games
• Relations: Red, round, brother of, bigger than
• Function Relations: father of, best friend, one more than, plus
What is FOL?
• First-order logic is another way of knowledge representation in artificial intelligence. It is an
extension to propositional logic.
• FOL is sufficiently expressive to represent the natural language statements in a concise
way.
• First-order logic is also known as Predicate logic or First-order predicate logic. First-
order logic is a powerful language that develops information about the objects in an easy
way and can also express the relationship between those objects.
Syntax of FOL, Basic elements.
Constant 1, 2, A, John, Mumbai, cat,....
Variables x, y, z, a, b,....
Predicates Brother, Father, >,....
Function sqrt, LeftLegOf, ....
Connectives ∧, ∨, ¬, ⇒, ⇔
Equality ==
Quantifier āˆ€, ∃
Following are the basic elements of FOL syntax:
Atomic Sentence.
• Atomic sentences are the most basic sentences of first-order logic. These sentences are
formed from a predicate symbol followed by a parenthesis with a sequence of terms.
• We can represent atomic sentences as Predicate (term1, term2, ......, term n).
• Example: Ravi and Ajay are brothers: => Brothers(Ravi, Ajay).
Complex Sentences:
• Complex sentences are made by combining atomic sentences using connectives.
• First-order logic statements can be divided into two parts:
• Subject: Subject is the main part of the statement.
• Predicate: A predicate can be defined as a relation, which binds two atoms together in a
statement.
• Consider the statement: "x is an integer.", it consists of two parts, the first part x is the
subject of the statement and second part "is an integer," is known as a predicate.
X is an integer
Subject Predicate
Is an integerX
Universal quantifier:
• Universal quantifier is a symbol of logical representation, which specifies that the statement
within its range is true for everything or every instance of a thing.
• The Universal quantifier is represented by a symbol āˆ€, which resembles an inverted A.
• If x is a variable, then āˆ€x is read as:
• For all x
• For each x
• For every x.
Example of Universal quantifier:
• All man drink coffee.
• āˆ€x man(x) → drink (x, coffee).
• It will be read as: There are all x where x is a man who drink coffee.
Existential quantifier:
• Existential quantifiers are the type of quantifiers, which express that the statement within its
scope is true for at least one instance of something.
• It is denoted by the logical operator ∃, which resembles as inverted E. When it is used with a
predicate variable then it is called as an existential quantifier.
• If x is a variable, then existential quantifier will be ∃x or ∃(x). And it will be read as:
• There exists a 'x.'
• For some 'x.'
• For at least one 'x.'
Example of Existential quantifier:
• Some boys are intelligent.
• ∃x: boys(x) ∧ intelligent(x)
• It will be read as: There are some x where x is a boy who is intelligent.
First Order Logic

More Related Content

PPT
Heuristic Search Techniques {Artificial Intelligence}
PPTX
Reasoning in AI
PDF
Lecture3 - Machine Learning
PDF
Introduction to Recurrent Neural Network
PPTX
Uninformed search /Blind search in AI
PDF
Reinforcement learning, Q-Learning
PDF
Ch 7 Knowledge Representation.pdf
PDF
Java threads
Heuristic Search Techniques {Artificial Intelligence}
Reasoning in AI
Lecture3 - Machine Learning
Introduction to Recurrent Neural Network
Uninformed search /Blind search in AI
Reinforcement learning, Q-Learning
Ch 7 Knowledge Representation.pdf
Java threads

What's hot (20)

PDF
Artificial Intelligence Notes Unit 1
PDF
input/ output in java
PPTX
Planning
PPTX
First order logic
PPTX
Inference in First-Order Logic
PPTX
Knowledge representation
PPTX
Fractional Knapsack Problem
PPTX
Uncertain Knowledge and Reasoning in Artificial Intelligence
PDF
Artificial Intelligence - Hill climbing.
PPTX
Introduction to python
PPT
AI Lecture 3 (solving problems by searching)
PDF
Code optimization in compiler design
PPTX
Ch 4 linker loader
PDF
Artificial intelligence and first order logic
PPTX
Language models
PPSX
JDBC: java DataBase connectivity
PPTX
Hill climbing algorithm
PDF
Ai lab manual
PPTX
Ensemble learning
PDF
Informed search
Artificial Intelligence Notes Unit 1
input/ output in java
Planning
First order logic
Inference in First-Order Logic
Knowledge representation
Fractional Knapsack Problem
Uncertain Knowledge and Reasoning in Artificial Intelligence
Artificial Intelligence - Hill climbing.
Introduction to python
AI Lecture 3 (solving problems by searching)
Code optimization in compiler design
Ch 4 linker loader
Artificial intelligence and first order logic
Language models
JDBC: java DataBase connectivity
Hill climbing algorithm
Ai lab manual
Ensemble learning
Informed search
Ad

Similar to First Order Logic (20)

PPTX
continuity of module 2.pptx
PDF
unit-3 First half..pdf nice ppt helps in ai intelligence
PDF
First order logic
PPTX
Module4_AI 4th semester engineering.pptx
PPTX
First Order Logic and Qualtifiers in AI.pptx
PDF
22PCOAM11_IAI_Unit III Notes Full Notesmerged.pdf
PPTX
First order predicate logic(fopl)
PPTX
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
PPTX
Basic Knowledge Representation and Reasonong
PDF
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
DOCX
What is First Order Logic in AI or FOL in AI.docx
PPTX
Module_5_1.pptx
PPTX
Logic in Predicate and Propositional Logic
PPTX
AI3391 Artificial Intelligence Session 26 First order logic.pptx
PDF
Ai lecture 09(unit03)
PPTX
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
PPTX
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
PPTX
AI_Session 21 First order logic.pptx
PPTX
AI_05_First Order Logic.pptx
PPTX
Natural language processing: word senses and relations
continuity of module 2.pptx
unit-3 First half..pdf nice ppt helps in ai intelligence
First order logic
Module4_AI 4th semester engineering.pptx
First Order Logic and Qualtifiers in AI.pptx
22PCOAM11_IAI_Unit III Notes Full Notesmerged.pdf
First order predicate logic(fopl)
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
Basic Knowledge Representation and Reasonong
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
What is First Order Logic in AI or FOL in AI.docx
Module_5_1.pptx
Logic in Predicate and Propositional Logic
AI3391 Artificial Intelligence Session 26 First order logic.pptx
Ai lecture 09(unit03)
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
AI_Session 21 First order logic.pptx
AI_05_First Order Logic.pptx
Natural language processing: word senses and relations
Ad

Recently uploaded (20)

PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
Education and Perspectives of Education.pptx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Empowerment Technology for Senior High School Guide
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
CRP102_SAGALASSOS_Final_Projects_2025.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Module on health assessment of CHN. pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
Τίμαιος είναι Ļ†Ī¹Ī»ĪæĻƒĪæĻ†Ī¹ĪŗĻŒĻ‚ Γιάλογος του Πλάτωνα
PDF
semiconductor packaging in vlsi design fab
PDF
Journal of Dental Science - UDMY (2022).pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Education and Perspectives of Education.pptx
B.Sc. DS Unit 2 Software Engineering.pptx
Share_Module_2_Power_conflict_and_negotiation.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
My India Quiz Book_20210205121199924.pdf
Empowerment Technology for Senior High School Guide
What’s under the hood: Parsing standardized learning content for AI
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
CRP102_SAGALASSOS_Final_Projects_2025.pdf
HVAC Specification 2024 according to central public works department
Hazard Identification & Risk Assessment .pdf
Module on health assessment of CHN. pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Τίμαιος είναι Ļ†Ī¹Ī»ĪæĻƒĪæĻ†Ī¹ĪŗĻŒĻ‚ Γιάλογος του Πλάτωνα
semiconductor packaging in vlsi design fab
Journal of Dental Science - UDMY (2022).pdf

First Order Logic

  • 2. Explain the role of first order logic (FoL) in AI. PRESENTED BY MUHAMMAD MUBEEN YASEEN REG NO: 17-NTU-1228 PRESENTED TO : DR.REHAN
  • 3. Content: Pros and cons Propositional logic. Limitation of propositional logic. Predicate logic. What is FOL? Syntax of FOL, Basic elements. Atomic Sentence. Complex Sentence. Universal quantifier. Existential quantifier.
  • 4. Pros and cons Propositional logic. • Propositional Logic is a declarative. • Propositional Logic allow partial/disjunctive/negated Information. • Propositional logic is a compositional. • Meaning of B1,1 ^ P1,2 is derived from meaning of B1,1 and P1,2. • Meaning in propositional Logic is context independent. • Propositional Logic has very limited expressive power.
  • 5. Limitation of propositional logic. • Suppose you want to say ā€œAll Human are mortalā€ • In Propositional Logic you need ~6.7 billion statement • Suppose you want to say ā€œsome people cam run a marathonā€ • You would need a disjunction of ~6.7 billion statement
  • 6. Predicate logic. • Whereas the propositional logic assume the world contain facts. • First Order logic assume the world contain: • Objects: People, houses, numbers, color, baseball, games • Relations: Red, round, brother of, bigger than • Function Relations: father of, best friend, one more than, plus
  • 7. What is FOL? • First-order logic is another way of knowledge representation in artificial intelligence. It is an extension to propositional logic. • FOL is sufficiently expressive to represent the natural language statements in a concise way. • First-order logic is also known as Predicate logic or First-order predicate logic. First- order logic is a powerful language that develops information about the objects in an easy way and can also express the relationship between those objects.
  • 8. Syntax of FOL, Basic elements. Constant 1, 2, A, John, Mumbai, cat,.... Variables x, y, z, a, b,.... Predicates Brother, Father, >,.... Function sqrt, LeftLegOf, .... Connectives ∧, ∨, ¬, ⇒, ⇔ Equality == Quantifier āˆ€, ∃ Following are the basic elements of FOL syntax:
  • 9. Atomic Sentence. • Atomic sentences are the most basic sentences of first-order logic. These sentences are formed from a predicate symbol followed by a parenthesis with a sequence of terms. • We can represent atomic sentences as Predicate (term1, term2, ......, term n). • Example: Ravi and Ajay are brothers: => Brothers(Ravi, Ajay).
  • 10. Complex Sentences: • Complex sentences are made by combining atomic sentences using connectives. • First-order logic statements can be divided into two parts: • Subject: Subject is the main part of the statement. • Predicate: A predicate can be defined as a relation, which binds two atoms together in a statement. • Consider the statement: "x is an integer.", it consists of two parts, the first part x is the subject of the statement and second part "is an integer," is known as a predicate. X is an integer Subject Predicate Is an integerX
  • 11. Universal quantifier: • Universal quantifier is a symbol of logical representation, which specifies that the statement within its range is true for everything or every instance of a thing. • The Universal quantifier is represented by a symbol āˆ€, which resembles an inverted A. • If x is a variable, then āˆ€x is read as: • For all x • For each x • For every x.
  • 12. Example of Universal quantifier: • All man drink coffee. • āˆ€x man(x) → drink (x, coffee). • It will be read as: There are all x where x is a man who drink coffee.
  • 13. Existential quantifier: • Existential quantifiers are the type of quantifiers, which express that the statement within its scope is true for at least one instance of something. • It is denoted by the logical operator ∃, which resembles as inverted E. When it is used with a predicate variable then it is called as an existential quantifier. • If x is a variable, then existential quantifier will be ∃x or ∃(x). And it will be read as: • There exists a 'x.' • For some 'x.' • For at least one 'x.'
  • 14. Example of Existential quantifier: • Some boys are intelligent. • ∃x: boys(x) ∧ intelligent(x) • It will be read as: There are some x where x is a boy who is intelligent.