Unit 3 Ai
Unit 3 Ai
AI
Predicate Logic in AI is one of the most significant types of logic. Predicate
logic in AI is a formal framework for deducing relationships between objects
and their qualities. Furthermore, it is a mathematical language that enables
knowledge to be expressed precisely and unambiguously, making it perfect for
usage in AI systems.
It breaks down basic sentences into smaller parts: predicates and individuals.
Predicate logic in AI even allows you to manage generalization
expressions(quantificational expressions). Predicate reasoning allows you to
discuss variables(pronouns). The pronoun's value is an individual in the
universe's domain that context decides.
Below figure shows the first five sentences of the last section
corresponds to a class.
The second part of the figure contains representations that use the
belongs.
The third part contains representations that use both the instance
theory and the foundations of computer science. They help define the limits of
that can be solved by computers and those that are undecidable or unsolvable by
any algorithm. It's also closely related to the concept of decidability, which
deals with determining whether a given statement or problem can be solved
algorithmically.
Resolution:
derive new logical conclusions from existing sets of logical statements (usually
or B is true."
Resolution Rule: The resolution rule is the core of the resolution method.
It states that if you have two clauses that contain complementary literals
(i.e., one clause contains a positive literal, and the other contains its
negation), you can resolve them by taking the union of the two clauses
● Clause 1: (A OR B OR C)
● Clause 2: (¬A OR D OR E)
You can resolve them on the literal "A" and its negation "¬A" to get a
new clause:
● New Clause: (B OR C OR D OR E)
set of clauses. To do this, you add the negation of the statement you want
knowledge base) and repeatedly apply the resolution rule until either you
If you reach an empty clause, you have successfully shown that the
resolution method exist for handling more complex logics, such as first-order
logic.
Additionally, there are two common reasoning strategies: forward reasoning and
backward reasoning, which are often used in logic programming. Finally, the
concept of matching is essential for both forward and backward reasoning. Let's
Logic Programming:
chaining), the system starts with the available facts and applies
is useful when you want to find out what can be inferred from the
Matching:
reasoning.
For example, in the rule "If A is true and B is true, then C is true,"
matching involves checking if the conditions "A is true" and "B is true"
match the available facts in the knowledge base. If both conditions match,
the rule can be applied, and "C is true" becomes a new fact.