Logical Agents (I) Instructor: Tsung-Che Chiang

Size: px
Start display at page:

Download "Logical Agents (I) Instructor: Tsung-Che Chiang"

Transcription

1 Logical Agents (I) Instructor: Tsung-Che Chiang Department of Computer Science and Information Engineering National Taiwan Normal University Artificial Intelligence, Spring, 2010 編譯有誤 實作有誤 執行有誤 結果有誤 統計有誤

2 Outline Knowledge-based Agents The Wumpus World Logic Propositional Logic Reasoning Patterns in Propositional Logic Effective Propositional Inference Agents based on Propositional Logic Summary 3 Knowledge-based Agents Humans know things and do reasoning. Knowledge and reasoning play a crucial role in dealing with partially observable environments. e.g. diagnosing a patient Understanding natural language also requires reasoning. 4 2

3 Knowledge-based Agents Knowledge-based agents can benefit from knowledge expressed in very general forms to suit many purposes. They are able to accept new tasks explicitly described by goals, achieve competence by being told new knowledge about the environment, and adapt to changes by updating the relevant knowledge. 5 Knowledge-based Agents The central component of a knowledgebased agent is its knowledge base (KB). A KB is a set of sentences. Each sentence is expressed in a knowledge representation language and represents some assertion about the world. 6 3

4 Knowledge-based Agents TELL: add new sentences to the KB ASK: query what is known Both tasks may involve inference deriving new sentences from old. When one ASKS a question of the KB, the answer should follow what has been TELLED (told) to the KB. 7 Knowledge-based Agents The KB may initially contain some background knowledge. The details of the representation language are hidden inside three functions. The details of the inference mechanism are hidden inside TELL and ASK. Artificial Intelligence: A Modern Approach, 2nd ed., Figure

5 Knowledge-based Agents One can build a knowledge-based agent by TELLing it what it needs to know. But how? Declarative approach It adds one by one the sentences that represent the designer s knowledge. Design of the representation language is important. Procedural approach It encodes desired behaviors directly as program code. Minimizing the role of explicit representation and reasoning can result in a much more efficient system. 9 Knowledge-based Agents We will see both declarative and procedural approaches later. A successful agent must combine both elements in its design. 10 5

6 The Wumpus World PEAS description Environment: It is a 4 4 grid of rooms. The agent always starts from [1, 1], facing to the right. The locations of the gold and the wumpus are chosen randomly. Each square other than the start can be a pit with probability 0.2. The agent has only one arrow. Artificial Intelligence: A Modern Approach, 2nd ed., Figure The Wumpus World PEAS description Performance measure: for picking up the gold for falling into a pit or being eaten by the wumpus -1 for each action -10 for shooting the (only one) arrow 12 6

7 The Wumpus World PEAS description Actuators: Move forward Turn left/right by 90 Grab Shoot Sensors: Stench Breeze Glitter Bump Scream Artificial Intelligence: A Modern Approach, 2nd ed., Figure The Wumpus World Breeze Stench Glitter 14 7

8 The Wumpus World Fundamental property of reasoning In each case where the agent draws a conclusion from the available information, that conclusion is guaranteed to be correct if the available information is correct. 15 Logic Sentences in the KB are expressed according to the syntax of the representation language. e.g. x+y=4 is a well-formed sentence, whereas x4y+= is not. A logic must also define the semantics of the language. It defines the truth of each sentence w.r.t. each possible world. 16 8

9 Logic Model We will use the term model in place of possible world. We will say m is a model of to mean that sentence is true in model m. Entailment We use to mean that the sentence entails the sentence. if and only if in every model in which is true, is also true. The truth of is contained in the truth of. 17 Logic Example The agent has detected nothing in [1, 1] and a breeze in [2, 1]. It is interested in whether the adjacent squares [1, 2], [2, 2], and [3, 1] contain pits. There are 2 3 = 8 possible models. The percepts and the rules of the wumpus world constitute the KB. The KB is true in models that follow what the agent knows. 18 9

10 Logic 8 possible models nothing in [1, 1] and breeze in [2, 1] 19 Logic 1 = There is no pit in [1, 2] KB 1 Artificial Intelligence: A Modern Approach, 2nd ed., Figure

11 Logic 2 = There is no pit in [2, 2] KB 2 Artificial Intelligence: A Modern Approach, 2nd ed., Figure Logic The previous example shows how an inference algorithm called model checking works. It enumerates all possible models to check that is true in all models in which KB is true

12 Logic If an inference algorithm i can derive from KB, we write KB i. An inference algorithm is called sound or truthpreserving if it derives only entailed sentences. Model checking is a sound algorithm (when it is applicable). An inference algorithm is complete if it can derive any sentence that is entailed. 23 Logic If KB is true in the real world, then any sentence derived from KB by a sound inference procedure is also true in the real world. Artificial Intelligence: A Modern Approach, 2nd ed., Figure

13 Logic Grounding How do we know that KB is true in the real world? The simple answer is that the agent s sensors create the connection. What about the rest of the agent s knowledge? Knowledge that is not a direct representation of a single percept could be produced by a sentence construction procedure called learning. KB may not be true in the real world, but with good learning procedures there is reason for optimism. 25 Tea Time Wumpus World Wumpus World Game

14 Propositional Logic Syntax A proposition symbol stands for a proposition that can be true or false. special symbols: True and False The atomic sentences are indivisible syntactic elements. They consist of a single proposition symbol. Complex sentences are constructed from simpler sentences using logical connectives. A literal is either an atomic sentence or a negated atomic sentence. 27 Propositional Logic A BNF grammar Sentence AtomicSentence ComplexSentence AtomicSentence True False Symbol Symbol P Q R ComplexSentence negation conjunction disjunction implication biconditional Sentence (Sentence Sentence) (Sentence Sentence) (Sentence Sentence) (Sentence Sentence) 28 14

15 Propositional Logic Semantics In propositional logic, a model simply fixes the truth value for every proposition symbol. The semantics must specify how to compute the truth value of any sentence, given a model. Truth table Artificial Intelligence: A Modern Approach, 2nd ed., Figure Propositional Logic P Q says that If P is true, then I am claiming that Q is true. Otherwise, I am making no claim. P Q shows that it is true whenever both P Q and Q P are true. e.g. B 1,1 (P 1,2 P 2,1 ) B 1,1 (P 1,2 P 2,1 ) is true but incomplete

16 Propositional Logic We often omit the parentheses by obeying the order of precedence (from highest to lowest):,,,, and. P Q R Sis equivalent to (( P) (Q R)) S We allow A B C, A B C, and A B C. However, we do not allow A B C since it is ambiguous. A (B C) and (A B) C have different meaning. 31 Propositional Logic A logical knowledge base is a conjunction of sentences. If we start with an empty KB and do TELL(KB, S 1 ), TELL(KB, S n ) then we have KB = S 1 S n

17 Propositional Logic A simple knowledge base for the wumpus world (only considering the pits) There is no pit in [1, 1]. R 1 : P 1, 1 A square is breezy if and only if there is a pit in a neighboring square. (True in all wumpus worlds) R 2 : B 1,1 (P 1,2 P 2,1 ) R 3 : B 2,1 (P 1,1 P 2,2 P 3,1 ) Agent percepts R 4 : B 1,1 R 5 : B 2,1 P? OK B 33 Inference The aim of logical inference is to decide whether KB for some sentence. Our first algorithm will enumerate the models and check that is true in every model in which KB is true. e.g. In the previous slide, we have seven relevant proposition symbols. There are 2 7 = 128 possible models, and in three of them KB is true

18 Inference 1 = P 1, 2 OK B R 1 : P 1, 1 R 2 : B 1,1 (P 1,2 P 2,1 ) R 3 : B 2,1 (P 1,1 P 2,2 P 3,1 ) R 4 : B 1,1 128 models R 5 : B 2,1 Artificial Intelligence: A Modern Approach, 2nd ed., Figure Inference Exercise Write down the related rules. Apply the truth table to do model checking. Wumpus world: Is there a breeze in [2,2]? B? B Minesweeper: Where is the mine? 1 1 D A B 1 1 C

19 Inference Artificial Intelligence: A Modern Approach, 2nd ed., Figure Inference Analysis TT-Entails is sound and complete. However, If KB and contain n symbols, then there are 2 n possible models. The time complexity is O(2 n ) and the space complexity is O(n). We will see more efficient algorithms later. But every known inference algorithm for propositional logic has a worst-case complexity that is exponential in the size of the input. (Propositional entailment is co-np-complete.) 38 19

20 Inference Before we plunge into the details of logical inference algorithms, we need some additional concepts related to entailment. equivalence validity satisfiability 39 Inference Logical equivalence Two sentences and are logically equivalent if they are true in the same set of models. We write this as. An alternative definition is if and only if and

21 Inference Logical equivalence Artificial Intelligence: A Modern Approach, 2nd ed., Figure Inference Validity (tautology) A sentence is valid if it is true in all models. The deduction theorem: For any sentences and, if and only if the sentence ( ) is valid. We can think of the TT-ENTAILS algorithm as checking the validity of (KB ). Conversely, every valid implication sentence describes a legitimate inference

22 Inference Satisfiability A sentence is satisfiable if it is true in some model. If a sentence is true in a model m, we say that m satisfies or that m is a model of. Determining the satisfiability of sentences in propositional logic was the first problem proved to be NP-complete. 43 Inference Satisfiability Validity and satisfiability are connected. if and only if the sentence ( ) is unsatisfiable. Proving from by checking the unsatisfiability of ( ) is called proof by contradiction. One assumes a sentence to be false and shows that this leads to a contradiction with known axioms

23 Reasoning Patterns in PL Inference rules Modus Ponens And-Elimination And-Introduction Or-Introduction All of the logical equivalences in slide 41 can be used as inference rules. 45 Reasoning Patterns in PL Example R 1 : P 1, 1 R 2 : B 1,1 (P 1,2 P 2,1 ) R 3 : B 2,1 (P 1,1 P 2,2 P 3,1 ) R 4 : B 1,1 R 5 : B 2,1 R 6 : (B 1,1 (P 1,2 P 2,1 )) ((P 1,2 P 2,1 ) B 1,1 ) R 7 : (P 1,2 P 2,1 ) B 1,1 R 8 : B 1,1 (P 1,2 P 2,1 ) R 9 : (P 1,2 P 2,1 ) R 10 : P 1,2 P 2,1 OK Biconditional elimination of R 2 And elimination of R 6 Contraposition of R 7 Modus Ponens with R 4 and R 8 De Morgan s Rule with R

24 Reasoning Patterns in PL The sequence of applications of inference rules is called a proof. Finding proofs is exactly like finding solutions to search problems. The successor function can be defined to generate all possible applications of inference rules. 47 Reasoning Patterns in PL Searching for proofs is an alternative to enumerating models. Although inference in propositional logic is NPcomplete, finding a proof can be highly efficient. e.g. The previous proof ignores B 3,1, P 1,1, P 2,2, etc. The simple truth-table algorithm, on the other hand, would be overwhelmed by the exponential explosion of models

25 Reasoning Patterns in PL Monotonicity The set of entailed sentences can only increase as information is added to the KB. For any sentences and, if KB, then (KB ). It means that inference rules can be applied whenever suitable premises are found in the KB the conclusion of the rule must follow regardless of what else is in the KB. 49 Conjunctive Normal Form A sentence expressed as a conjunction of disjunctions of literals is said to be in conjunctive normal form (CNF). A sentence in k-cnf has exactly k literals per clause. Every sentence can be transformed into a CNF sentence. exercise: B 1,1 (P 1,2 P 2,1 ) 50 25

26 Conjunctive Normal Form Example B 1,1 (P 1,2 P 2,1 ) (B 1,1 (P 1,2 P 2,1 )) ((P 1,2 P 2,1 ) B 1,1 ) ( B 1,1 (P 1,2 P 2,1 )) ( (P 1,2 P 2,1 ) B 1,1 ) ( B 1,1 P 1,2 P 2,1 ) ( P 1,2 P 2,1 ) B 1,1 ) ( B 1,1 P 1,2 P 2,1 ) (( P 1,2 B 1,1 ) ( P 2,1 B 1,1 )) ( B 1,1 P 1,2 P 2,1 ) ( P 1,2 B 1,1 ) ( P 2,1 B 1,1 ) 51 Resolution Unit resolution l i and m are complementary literals. Full resolution l i and m j are complementary literals

27 Resolution The resulting clause should contain only one copy of each literal. (The removal of multiple copies of literals is called factoring.) A B, A B A The resolution rule applied only to disjunctions of literals. (But, recall that every sentence can be transformed into a 3-CNF sentence.) 53 Resolution Any complete search algorithm, applying only the resolution rule, can derive any conclusion entailed by any knowledge base. Given that A is true, we cannot generate the consequence A B. But we can answer whether A B is true. This is called refutation completeness, meaning that resolution can always be used to either confirm or refute a sentence

28 A Resolution Algorithm Resolution-based inference procedures follow the principle of proof by contradiction. To show that KB, we show that (KB ) is unsatisfiable. First (KB ) is converted into CNF. Then, each pair of clauses that contain complementary literals is resolved to produce a new clause. 55 A Resolution Algorithm The process continues until one of two things happen: there are no new clauses that can be added, in which case KB does not entail ; or, two clauses (P and P) resolve to yield the empty clause, in which case KB entails 56 28

29 A Resolution Algorithm Artificial Intelligence: A Modern Approach, 2nd ed., Figure A Resolution Algorithm Example KB R 2 : B 1,1 (P 1,2 P 2,1 ) // ( B 1,1 P 1,2 P 2,1 ) ( P 1,2 B 1,1 ) ( P 2,1 B 1,1 ) R 4 : B 1,1 We wish to prove = P 1,2 KB CNF Any clause containing two complementary literals can be discarded. Artificial Intelligence: A Modern Approach, 2nd ed., Figure

30 A Resolution Algorithm Analysis The resolution closure RC(S) of a set of clause S is the set of all clauses derivable by repeated application of the resolution rule to clauses in S or their derivatives. RC(S) must be finite because there are only finitely many distinct clauses constructed by symbols P 1,, P k appearing in S. PL-RESOLUTION always terminates. Note that the last sentence might not be true without the factoring step that removes multiple copies of literals. 59 A Resolution Algorithm Analysis The Ground Resolution Theorem: If a set of clauses is unsatisfiable, then the resolution closure of those clauses contains the empty clause. We can prove this theorem by demonstrating its contrapositive: if the closure RC(S) does not contain the empty clause, then S is satisfiable

31 A Resolution Algorithm Analysis (contd.) We can construct a model for S with suitable truth values for P 1,, P k. For i from 1 to k, if there is a clause containing the literal P i such that all its other literals are false under the assignment of P 1,, P i-1, then assign false to P i. otherwise, assign true to P i. 61 Forward & Backward Chaining The completeness of resolution makes it a very important inference method. In many practical situations, however, the full power of resolution is not needed. Real-world KBs often contain only clauses of a restricted kind called Horn clauses

32 Forward & Backward Chaining Horn clauses A Horn clause is a disjunction of literals of which at most one is positive. In the following algorithm, we assume that each clause contains exactly one positive literal for simplicity. Exact one positive literal: definite clause Definite clause without negative literal: fact Without positive literal: integrity constraint Every Horn clause can be written as an implication. 63 Forward & Backward Chaining Horn clauses Inference with Horn clauses can be done through the forward chaining and backward chaining algorithms. Deciding entailment with Horn clauses can be done in time that is linear to the size of KB

33 Forward & Backward Chaining Forward chaining It begins from known facts (the clauses with only a positive literal) in the KB. If all the premises of an implication are known, then its conclusion is added to the set of known facts. The process continues until the query is added or until no further inferences can be made. 65 Forward & Backward Chaining HEAD[c]: the positive literal of c Artificial Intelligence: A Modern Approach, 2nd ed., Figure

34 Forward & Backward Chaining Artificial Intelligence: A Modern Approach, 2nd ed., Figure Forward & Backward Chaining Analysis Forward chaining is sound: every inference is essentially an application of Modus Ponens. Forward chaining is complete: Consider the final state of the inferred table after the algorithm terminates. The table contains true for each symbol inferred during the process, and false for all other symbols. We can view this table as a model of the KB. Any atomic sentence entailed by the KB must be true in this model, and thus it is inferred by the algorithm

35 Forward & Backward Chaining Backward chaining As its name suggest, it works backwards from the query. If the query q is known to be true, no work is needed. Otherwise, the algorithm finds those implications in the KB that conclude q. If all the premises of one of those implications can be proved true (by backward chaining), then q is true. 69 Forward & Backward Chaining 70 35

36 Forward & Backward Chaining Forward chaining is an example of data-driven reasoning. It can be used within an agent to derive conclusions from incoming percepts. Backward chaining is a form of goal-directed reasoning. It is useful for answering specific questions such as What should I do now. Its cost is often lower since it touches only relevant facts. An agent should share the work between forward and backward reasoning

7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring

7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring 109 7 LOGICAL AGENS We now turn to knowledge-based agents that have a knowledge base KB at their disposal With the help of the KB the agent aims at maintaining knowledge of its partially-observable environment

More information

CS 331: Artificial Intelligence Propositional Logic I. Knowledge-based Agents

CS 331: Artificial Intelligence Propositional Logic I. Knowledge-based Agents CS 331: Artificial Intelligence Propositional Logic I 1 Knowledge-based Agents Can represent knowledge And reason with this knowledge How is this different from the knowledge used by problem-specific agents?

More information

Knowledge-based Agents. CS 331: Artificial Intelligence Propositional Logic I. Knowledge-based Agents. Outline. Knowledge-based Agents

Knowledge-based Agents. CS 331: Artificial Intelligence Propositional Logic I. Knowledge-based Agents. Outline. Knowledge-based Agents Knowledge-based Agents CS 331: Artificial Intelligence Propositional Logic I Can represent knowledge And reason with this knowledge How is this different from the knowledge used by problem-specific agents?

More information

Logical Agent & Propositional Logic

Logical Agent & Propositional Logic Logical Agent & Propositional Logic Berlin Chen 2005 References: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 7 2. S. Russell s teaching materials Introduction The representation

More information

Intelligent Agents. Pınar Yolum Utrecht University

Intelligent Agents. Pınar Yolum Utrecht University Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Logical Agents (Based mostly on the course slides from http://aima.cs.berkeley.edu/) Outline Knowledge-based agents Wumpus world Logic in

More information

Logical Agent & Propositional Logic

Logical Agent & Propositional Logic Logical Agent & Propositional Logic Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:

More information

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 10, 5/9/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Logical Agents Chapter 7

More information

Logical Agents. Outline

Logical Agents. Outline Logical Agents *(Chapter 7 (Russel & Norvig, 2004)) Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability

More information

Logical Agents. Chapter 7

Logical Agents. Chapter 7 Logical Agents Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem

More information

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876

More information

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Set 6: Knowledge Representation: The Propositional Calculus Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Outline Representing knowledge using logic Agent that reason logically A knowledge based agent Representing

More information

Class Assignment Strategies

Class Assignment Strategies Class Assignment Strategies ì Team- A'ack: Team a'ack ì Individualis2c: Search for possible ì Poli2cal: look at others and make decision based on who is winning, who is loosing, and conversa;on ì Emo2on

More information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

INF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim

INF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim INF5390 Kunstig intelligens Logical Agents Roar Fjellheim Outline Knowledge-based agents The Wumpus world Knowledge representation Logical reasoning Propositional logic Wumpus agent Summary AIMA Chapter

More information

Artificial Intelligence Chapter 7: Logical Agents

Artificial Intelligence Chapter 7: Logical Agents Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents

More information

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 007 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence

More information

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14 0/0/4 Knowledge based agents Logical Agents Agents need to be able to: Store information about their environment Update and reason about that information Russell and Norvig, chapter 7 Knowledge based agents

More information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

CS 771 Artificial Intelligence. Propositional Logic

CS 771 Artificial Intelligence. Propositional Logic CS 771 Artificial Intelligence Propositional Logic Why Do We Need Logic? Problem-solving agents were very inflexible hard code every possible state E.g., in the transition of 8-puzzle problem, knowledge

More information

Proof Methods for Propositional Logic

Proof Methods for Propositional Logic Proof Methods for Propositional Logic Logical equivalence Two sentences are logically equivalent iff they are true in the same models: α ß iff α β and β α Russell and Norvig Chapter 7 CS440 Fall 2015 1

More information

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 008 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Propositional Logic Marc Toussaint University of Stuttgart Winter 2015/16 (slides based on Stuart Russell s AI course) Outline Knowledge-based agents Wumpus world Logic in general

More information

Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World

Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World School of Informatics, University of Edinburgh 26/01/18 Slide Credits: Jacques Fleuriot, Michael Rovatsos, Michael Herrmann Outline Knowledge-based

More information

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001 Logic Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001 Last Lecture Games Cont. α-β pruning Outline Games with chance, e.g. Backgammon Logical Agents and thewumpus World

More information

Logical agents. Chapter 7. Chapter 7 1

Logical agents. Chapter 7. Chapter 7 1 Logical agents Chapter 7 Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules

More information

TDT4136 Logic and Reasoning Systems

TDT4136 Logic and Reasoning Systems TDT436 Logic and Reasoning Systems Chapter 7 - Logic gents Lester Solbakken solbakke@idi.ntnu.no Norwegian University of Science and Technology 06.09.0 Lester Solbakken TDT436 Logic and Reasoning Systems

More information

Logical Agents: Propositional Logic. Chapter 7

Logical Agents: Propositional Logic. Chapter 7 Logical Agents: Propositional Logic Chapter 7 Outline Topics: Knowledge-based agents Example domain: The Wumpus World Logic in general models and entailment Propositional (Boolean) logic Equivalence, validity,

More information

Introduction to Artificial Intelligence. Logical Agents

Introduction to Artificial Intelligence. Logical Agents Introduction to Artificial Intelligence Logical Agents (Logic, Deduction, Knowledge Representation) Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Winter Term 2004/2005 B. Beckert: KI für IM p.1 Outline Knowledge-based

More information

Revised by Hankui Zhuo, March 21, Logical agents. Chapter 7. Chapter 7 1

Revised by Hankui Zhuo, March 21, Logical agents. Chapter 7. Chapter 7 1 Revised by Hankui Zhuo, March, 08 Logical agents Chapter 7 Chapter 7 Outline Wumpus world Logic in general models and entailment Propositional (oolean) logic Equivalence, validity, satisfiability Inference

More information

Artificial Intelligence. Propositional logic

Artificial Intelligence. Propositional logic Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Propositional Logic Marc Toussaint University of Stuttgart Winter 2016/17 (slides based on Stuart Russell s AI course) Motivation: Most students will have learnt about propositional

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (this lecture, Part I) Chapter 7.5 (next lecture, Part II) Next lecture topic: First-order

More information

Logical Agents. Santa Clara University

Logical Agents. Santa Clara University Logical Agents Santa Clara University Logical Agents Humans know things Humans use knowledge to make plans Humans do not act completely reflexive, but reason AI: Simple problem-solving agents have knowledge

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

Kecerdasan Buatan M. Ali Fauzi

Kecerdasan Buatan M. Ali Fauzi Kecerdasan Buatan M. Ali Fauzi Artificial Intelligence M. Ali Fauzi Logical Agents M. Ali Fauzi In which we design agents that can form representations of the would, use a process of inference to derive

More information

Logic. proof and truth syntacs and semantics. Peter Antal

Logic. proof and truth syntacs and semantics. Peter Antal Logic proof and truth syntacs and semantics Peter Antal antal@mit.bme.hu 10/9/2015 1 Knowledge-based agents Wumpus world Logic in general Syntacs transformational grammars Semantics Truth, meaning, models

More information

CS 380: ARTIFICIAL INTELLIGENCE

CS 380: ARTIFICIAL INTELLIGENCE CS 380: RTIFICIL INTELLIGENCE PREDICTE LOGICS 11/8/2013 Santiago Ontañón santi@cs.drexel.edu https://www.cs.drexel.edu/~santi/teaching/2013/cs380/intro.html Summary of last day: Logical gents: The can

More information

The Wumpus Game. Stench Gold. Start. Cao Hoang Tru CSE Faculty - HCMUT

The Wumpus Game. Stench Gold. Start. Cao Hoang Tru CSE Faculty - HCMUT The Wumpus Game Stench Stench Gold Stench Start 1 The Wumpus Game Stench in the square containing the wumpus and in the directly adjacent squares in the squares directly adjacent to a pit Glitter in the

More information

CSC242: Intro to AI. Lecture 11. Tuesday, February 26, 13

CSC242: Intro to AI. Lecture 11. Tuesday, February 26, 13 CSC242: Intro to AI Lecture 11 Propositional Inference Propositional Inference Factored Representation Splits a state into variables (factors, attributes, features, things you know ) that can have values

More information

CS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón

CS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón CS 380: RTIFICIL INTELLIGENCE PREDICTE LOGICS Santiago Ontañón so367@drexeledu Summary of last day: Logical gents: The can reason from the knowledge they have They can make deductions from their perceptions,

More information

7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7.

7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7. COMP944/984/34 6s Logic COMP944/ 984/ 34: rtificial Intelligence 7. Logical gents Outline Knowledge-based agents Wumpus world Russell & Norvig, Chapter 7. Logic in general models and entailment Propositional

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Module: Knowledge, Reasoning, and Planning Part 2 Logical Agents R&N: Chapter 7 1 Illustrative example: Wumpus World (Somewhat

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016

More information

Lecture 7: Logical Agents and Propositional Logic

Lecture 7: Logical Agents and Propositional Logic Lecture 7: Logical Agents and Propositional Logic CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA March 07, 2018 Amarda Shehu (580) 1 1

More information

Logical Agents. Chapter 7

Logical Agents. Chapter 7 Logical Agents Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Frank Hutter and Bernhard Nebel Albert-Ludwigs-Universität Freiburg

More information

CS 188: Artificial Intelligence Spring 2007

CS 188: Artificial Intelligence Spring 2007 CS 188: Artificial Intelligence Spring 2007 Lecture 8: Logical Agents - I 2/8/2007 Srini Narayanan ICSI and UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell or Andrew Moore

More information

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics

More information

Agents that reason logically

Agents that reason logically Artificial Intelligence Sanguk Noh Logical Agents Agents that reason logically A Knowledge-Based Agent. function KB-Agent (percept) returns an action Tell(KB, Make-Percept-Sentence(percept,t)) action Ask(KB,

More information

AI Programming CS S-09 Knowledge Representation

AI Programming CS S-09 Knowledge Representation AI Programming CS662-2013S-09 Knowledge Representation David Galles Department of Computer Science University of San Francisco 09-0: Overview So far, we ve talked about search, which is a means of considering

More information

Logical Agents. Soleymani. Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7

Logical Agents. Soleymani. Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7 Logical Agents CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7 Knowledge-based agents

More information

Inference Methods In Propositional Logic

Inference Methods In Propositional Logic Lecture Notes, Artificial Intelligence ((ENCS434)) University of Birzeit 1 st Semester, 2011 Artificial Intelligence (ENCS434) Inference Methods In Propositional Logic Dr. Mustafa Jarrar University of

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) First Lecture Today (Tue 21 Jun) Read Chapters 1 and 2 Second Lecture Today (Tue 21 Jun) Read Chapter 7.1-7.4 Next Lecture (Thu 23 Jun) Read Chapters 7.5 (optional:

More information

Logical agents. Chapter 7. Chapter 7 1

Logical agents. Chapter 7. Chapter 7 1 Logical agents Chapter 7 Chapter 7 1 Outline Knowledge-based agents Logic in general models and entailment Propositional (oolean) logic Equivalence, validity, satisfiability Inference rules and theorem

More information

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World Agenda Artificial Intelligence 10. Propositional Reasoning, Part I: Principles How to Think About What is True or False 1 Introduction Álvaro Torralba Wolfgang Wahlster 2 Propositional Logic 3 Resolution

More information

Logical Agents. Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7

Logical Agents. Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7 Logical Agents CE417: Introduction to Artificial Intelligence Sharif University of Technology Soleymani In which we design agents that can form representations of a complex world, use a process of inference

More information

Last update: March 4, Logical agents. CMSC 421: Chapter 7. CMSC 421: Chapter 7 1

Last update: March 4, Logical agents. CMSC 421: Chapter 7. CMSC 421: Chapter 7 1 Last update: March 4, 00 Logical agents CMSC 4: Chapter 7 CMSC 4: Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general models and entailment Propositional (oolean) logic Equivalence,

More information

Logical Agents. Outline

Logical Agents. Outline ogical gents Chapter 6, Ie Chapter 7 Outline Knowledge-based agents Wumpus world ogic in general models and entailment ropositional (oolean) logic Equivalence, validity, satisfiability Inference rules

More information

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic Propositional Logic Reading: Chapter 7.1, 7.3 7.5 [ased on slides from Jerry Zhu, Louis Oliphant and ndrew Moore] Logic If the rules of the world are presented formally, then a decision maker can use logical

More information

Inference Methods In Propositional Logic

Inference Methods In Propositional Logic Lecture Notes, Advanced Artificial Intelligence (SCOM7341) Sina Institute, University of Birzeit 2 nd Semester, 2012 Advanced Artificial Intelligence (SCOM7341) Inference Methods In Propositional Logic

More information

Lecture Overview [ ] Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 6. Motivation. Logical Agents

Lecture Overview [ ] Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 6. Motivation. Logical Agents Lecture Overview [7.1-7.4] COMP 3501 / COMP 4704-4 Lecture 6 Prof. JGH 318 Logical Agents Wumpus World Propositional Logic Inference Theorem Proving via model checking Motivation Existing techniques help

More information

Chương 3 Tri th ức và lập luận

Chương 3 Tri th ức và lập luận Chương 3 Tri thức và lập luận Nội dung chính chương 3 Lecture 1 Lecture 2 Lecture 3,4 I. Logic ngôn ngữ của tư duy II. Logic mệnh đề (cú pháp, ngữ nghĩa, sức mạnh biểu diễn, các thuật toán suy diễn) III.

More information

Lecture 6: Knowledge 1

Lecture 6: Knowledge 1 rtificial Intelligence, CS, Nanjing University Spring, 08, Yang Yu Lecture 6: Knowledge http://cs.nju.edu.cn/yuy/course_ai8.ash Previously... Basic ability: search Path-based search Iterative-improvement

More information

Propositional Logic Part 1

Propositional Logic Part 1 Propositional Logic Part 1 Yingyu Liang yliang@cs.wisc.edu Computer Sciences Department University of Wisconsin, Madison [Based on slides from Louis Oliphant, Andrew Moore, Jerry Zhu] slide 1 5 is even

More information

Propositional Logic: Methods of Proof (Part II)

Propositional Logic: Methods of Proof (Part II) Propositional Logic: Methods of Proof (Part II) You will be expected to know Basic definitions Inference, derive, sound, complete Conjunctive Normal Form (CNF) Convert a Boolean formula to CNF Do a short

More information

CS 7180: Behavioral Modeling and Decision- making in AI

CS 7180: Behavioral Modeling and Decision- making in AI CS 7180: Behavioral Modeling and Decision- making in AI Review of Propositional Logic Prof. Amy Sliva September 7, 2012 Outline General properties of logics Syntax, semantics, entailment, inference, and

More information

Logic & Logic Agents Chapter 7 (& background)

Logic & Logic Agents Chapter 7 (& background) Lecture Notes, Advanced Artificial Intelligence (SCOM7341) Sina Institute, University of Birzeit 2 nd Semester, 2012 Advanced Artificial Intelligence (SCOM7341) Logic & Logic Agents Chapter 7 (& background)

More information

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5 rtificial Intelligence Topic 12 Logical Inference Reading: Russell and Norvig, Chapter 7, Section 5 c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Logical

More information

Logical Agents. Soleymani. Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7

Logical Agents. Soleymani. Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7 Logical Agents CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 7 Wumpus world Wumpus

More information

Knowledge based Agents

Knowledge based Agents Knowledge based Agents Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Knowledge Based Agents

More information

CS 4700: Artificial Intelligence

CS 4700: Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Fall 2017 Instructor: Prof. Haym Hirsh Lecture 12 Prelim Tuesday, March 21 8:40-9:55am Statler Auditorium Homework 2 To be posted on Piazza 4701 Projects:

More information

Propositional Logic: Methods of Proof (Part II)

Propositional Logic: Methods of Proof (Part II) Propositional Logic: Methods of Proof (Part II) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (previous lecture, Part I) Chapter 7.5 (this lecture, Part II) (optional: 7.6-7.8)

More information

Lecture 7: Logic and Planning

Lecture 7: Logic and Planning Lecture 7: Logic and Planning Planning and representing knowledge Logic in general Propositional (Boolean) logic and its application to planning COMP-424, Lecture 8 - January 30, 2013 1 What is planning?

More information

Inference in Propositional Logic

Inference in Propositional Logic Inference in Propositional Logic Deepak Kumar November 2017 Propositional Logic A language for symbolic reasoning Proposition a statement that is either True or False. E.g. Bryn Mawr College is located

More information

Propositional Logic: Methods of Proof. Chapter 7, Part II

Propositional Logic: Methods of Proof. Chapter 7, Part II Propositional Logic: Methods of Proof Chapter 7, Part II Inference in Formal Symbol Systems: Ontology, Representation, ti Inference Formal Symbol Systems Symbols correspond to things/ideas in the world

More information

Artificial Intelligence Knowledge Representation I

Artificial Intelligence Knowledge Representation I Artificial Intelligence Knowledge Representation I Agents that reason logically knowledge-based approach implement agents that know about their world and reason about possible courses of action needs to

More information

CS:4420 Artificial Intelligence

CS:4420 Artificial Intelligence CS:4420 Artificial Intelligence Spring 2018 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart

More information

Logic & Logic Agents Chapter 7 (& Some background)

Logic & Logic Agents Chapter 7 (& Some background) Lecture Notes on Logic & Logic Agents University of Birzeit, Palestine 2013 Artificial Intelligence Logic & Logic Agents Chapter 7 (& Some background) Dr. Mustafa Jarrar Sina Institute, University of Birzeit

More information

Adversarial Search & Logic and Reasoning

Adversarial Search & Logic and Reasoning CSEP 573 Adversarial Search & Logic and Reasoning CSE AI Faculty Recall from Last Time: Adversarial Games as Search Convention: first player is called MAX, 2nd player is called MIN MAX moves first and

More information

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning COMP9414, Monday 26 March, 2012 Propositional Logic 2 COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning Overview Proof systems (including soundness and completeness) Normal Forms

More information

Logical Agents. Administrative. Thursday: Midterm 1, 7p-9p. Next Tuesday: DOW1013: Last name A-M DOW1017: Last name N-Z

Logical Agents. Administrative. Thursday: Midterm 1, 7p-9p. Next Tuesday: DOW1013: Last name A-M DOW1017: Last name N-Z Logical Agents Mary Herchenhahn, mary-h.com EECS 492 February 2 nd, 2010 Administrative Thursday: Midterm 1, 7p-9p DOW1013: Last name A-M DOW1017: Last name N-Z Next Tuesday: PS2 due PS3 distributed---

More information

CSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9

CSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin Today 9/28 Review propositional logic Reasoning with Models Break More reasoning Knowledge Representation A knowledge representation is a formal scheme

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

More information

CS:4420 Artificial Intelligence

CS:4420 Artificial Intelligence CS:4420 rtificial Intelligence Spring 2018 Logical gents Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart Russell

More information

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit: Three days of interesting talks & workshops from industry experts across Australia Explore new computing topics Network with students & employers in Brisbane Price: $25 (incl. T-Shirt, morning tea and

More information

Outline. Logic. Knowledge bases. Wumpus world characteriza/on. Wumpus World PEAS descrip/on. A simple knowledge- based agent

Outline. Logic. Knowledge bases. Wumpus world characteriza/on. Wumpus World PEAS descrip/on. A simple knowledge- based agent Outline Logic Dr. Melanie Mar/n CS 4480 October 8, 2012 Based on slides from hap://aima.eecs.berkeley.edu/2nd- ed/slides- ppt/ Knowledge- based agents Wumpus world Logic in general - models and entailment

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

7.5.2 Proof by Resolution

7.5.2 Proof by Resolution 137 7.5.2 Proof by Resolution The inference rules covered so far are sound Combined with any complete search algorithm they also constitute a complete inference algorithm However, removing any one inference

More information

Deliberative Agents Knowledge Representation I. Deliberative Agents

Deliberative Agents Knowledge Representation I. Deliberative Agents Deliberative Agents Knowledge Representation I Vasant Honavar Bioinformatics and Computational Biology Program Center for Computational Intelligence, Learning, & Discovery honavar@cs.iastate.edu www.cs.iastate.edu/~honavar/

More information

Propositional Logic: Methods of Proof (Part II)

Propositional Logic: Methods of Proof (Part II) Propositional Logic: Methods of Proof (Part II) You will be expected to know Basic definitions Inference, derive, sound, complete Conjunctive Normal Form (CNF) Convert a Boolean formula to CNF Do a short

More information

A simple knowledge-based agent. Logical agents. Outline. Wumpus World PEAS description. Wumpus world characterization. Knowledge bases.

A simple knowledge-based agent. Logical agents. Outline. Wumpus World PEAS description. Wumpus world characterization. Knowledge bases. simple knowledge-based agent ogical agents Chapter 7 function K-gent( percept) returns an action static: K, a knowledge base t, a counter, initially, indicating time Tell(K, ake-ercept-entence( percept,

More information

Propositional inference, propositional agents

Propositional inference, propositional agents ropositional inference, propositional agents Chapter 7.5 7.7 Chapter 7.5 7.7 1 Outline Inference rules and theorem proving forward chaining backward chaining resolution Efficient model checking algorithms

More information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

More information

Propositional and First-Order Logic

Propositional and First-Order Logic Propositional and First-Order Logic Chapter 7.4 7.8, 8.1 8.3, 8.5 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer Logic roadmap overview Propositional logic (review) Problems with

More information

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning  Hanna Kurniawati COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati" Last week" Main components of PRM" Collision check for a configuration"

More information

First Order Logic (FOL)

First Order Logic (FOL) First Order Logic (FOL) CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter

More information

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information