CSE 5731 Lecture 18 Putting First-Order Logic to Work CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Artificial Intelligence 4. Knowledge Representation
Artificial Intelligence 9. Resolution Theorem Proving
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Logic: The Big Picture Propositional logic: atomic statements are facts –Inference via resolution is sound and complete (though likely computationally.
Cs7120 (Prasad)L22-MetaPgm1 Meta-Programming
Logic Programming Automated Reasoning in practice.
CSE 311: Foundations of Computing Fall 2013 Lecture 3: Logic and Boolean algebra.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Artificial Intelligence Inference in first-order logic Fall 2008 professor: Luigi Ceccaroni.
What is AI? What can it do today?. Definitions of AI can be categorized as follows Think like humans “cognitive science” E.g. General Problem Solver [Newell&Simon.
Ontology From Wikipedia, the free encyclopedia In philosophy, ontology (from the Greek oν, genitive oντος: of being (part. of εiναι: to be) and –λογία:
Vygotsky Activity Group Activity.
AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
CPSC 322, Lecture 20Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook.
Logic Programming Languages. Objective To introduce the concepts of logic programming and logic programming languages To introduce a brief description.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Modelling Conceptual Knowledge using Logic - Week 6 Lee McCluskey Department of Computing and Mathematical Sciences University of Huddersfield.
Describing Syntax and Semantics
Do we need theoretical computer science in software engineering curriculum: an experience from Uni Novi Sad Bansko, August 28, 2013.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
1 Mathematical Institute Serbian Academy of Sciences and Arts, Belgrade DEUKS Meeting Valencia, September 9-11, 2008, Valencia New PhD modules proposal.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Wednesday, February 7, 2001.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Formal Verification Lecture 9. Formal Verification Formal verification relies on Descriptions of the properties or requirements Descriptions of systems.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Knowledge Representation of Statistic Domain For CBR Application Supervisor : Dr. Aslina Saad Dr. Mashitoh Hashim PM Dr. Nor Hasbiah Ubaidullah.
Authoring: In and Out of the Real World MesMuses 2003 Andy Dingley Codesmiths
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
1 Prolog and Logic Languages Aaron Bloomfield CS 415 Fall 2005.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Bertram Ludäscher Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
348 Knowl Repre & Categ – part 3. Ethan D – Anna V – Jeff W – Samson M – Jacob V – Jacqueline S Living things: Kangaroos fireflies fishes scorpions possums.
Artificial Intelligence 7. Making Deductive Inferences Course V231 Department of Computing Imperial College, London Jeremy Gow.
Automated Theorem Proving Presentation by Kenny Pearce CSE 391: Artificial Intelligence April 22, 2005.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
The Semantic Web Riccardo Rosati Dottorato in Ingegneria Informatica Sapienza Università di Roma a.a. 2006/07.
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 42 Wednesday, 22.
Development of Cognition and Language: Vygotsky EDU 330: Educational Psychology Daniel Moos.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Artificial Intelligence Knowledge Representation.
CS 416 Artificial Intelligence Lecture 13 First-Order Logic Chapter 9 Lecture 13 First-Order Logic Chapter 9.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Artificial Intelligence Logical Agents Chapter 7.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Introduction to Artificial Intelligence Heshaam Faili University of Tehran.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Sub-fields of computer science. Sub-fields of computer science.
Computer Science cpsc322, Lecture 20
Ontology From Wikipedia, the free encyclopedia
Lecture 2 Propositional Logic
Development of Cognition and Language: Vygotsky
Chapter 10: Mathematical proofs
Artificial Intelligence introduction(2)
Logic Programming Languages
Assignment-2 due now Enterprise Architecture Conference Sat. Oct 27
Computer Science cpsc322, Lecture 20
Logical reasoning systems
Presentation transcript:

CSE 5731 Lecture 18 Putting First-Order Logic to Work CSE 573 Artificial Intelligence I Henry Kautz Fall 2001

CSE 5732 Applications of FOL Proving Theorems in Mathematics Proving Programs Correct Programming Ontologies – what kids of things makes up the world? Planning – how does the world change over time?

CSE 5733 Theorem Proving Mathematics Small number of axioms Deep results In 1933, E. V. Huntington presented the following basis for Boolean algebra: x + y = y + x. [commutativity] (x + y) + z = x + (y + z). [associativity] n(n(x) + y) + n(n(x) + n(y)) = x. [Huntington equation] Shortly thereafter, Herbert Robbins conjectured that the Huntington equation can be replaced with a simpler one: n(n(x + y) + n(x + n(y))) = x. [Robbins equation] Algebras satisfying commutativity, associativity, and the Robbins equation became known as Robbins algebras. Question: is every Robbins algebra Boolean? Solved October 10, 1996, by the theorem prover EQP Open question for 63 years! William McCune, Argonne National Laboratory 8 days on an RS/6000 processor

CSE 5734 Theorem Proving Program Verification Huge number of axioms Tedious (but vital!) results J. Strother Moore (Boyer-Moore Theorem Prover) Correctness of the AMD5k86 Floating-Point Division: If p and d are double extended precision floating-point numbers (d /= 0) and mode is a rounding mode specifying a rounding style and target format of precision n not exceeding 64, then the result delivered by the K5 microcode is p/d rounded according to mode.

CSE 5735 The TPTP (Thousands of Problems for Theorem Provers) Problem Library Logic Combinatory logic Logic calculi Henkin models Mathematics Set theory Graph theory Algebra Boolean algebra Robbins algebra Left distributive Lattices Groups Rings General algebra Number theory Topology Analysis Geometry Field theory Category theory Computer science Computing theory Knowledge representation Natural Language Processing Planning Software creation Software verification Engineering Hardware creation Hardware verification Social sciences Management Syntactic Puzzles Miscellaneous

CSE 5736 Progress Automated theorem proving “stalled” in 1980’s Recent resurgence Massive memory, speed Code sharing via web –you can download a program to do your homework! Integration of propositional reasoning techniques into FOL theorem proving –clever heuristics for grounding formulas

CSE 5737 Programming in Logic Prolog – FOL as a programming logic FO Horn clauses –still Turing complete! –restricted form of resolution theorem proving –Idea: Predicate = Program –Function symbols = way to build data structures [ 1, 2, 3 ] = cons(1,cons(2,cons(3,nil)))  X, T. member(X, cons(X, T))  X, Y, T. (member(X, T)  member(X, cons(Y,T))) member(X, [X|T]). member(X, [Y|T]) :- member(X, T). query: member(3, [1, 2, 3, 4]) returns true

CSE 5738 Prolog: Computing Values append([], L, L). append([H|L1], L2, [H|L3]) :- append(L1,L2,L3). queries: append([1,2],[3,4],[1,2,3,4]) returns true append([1,2],[3,4],X) returns X = [1,2,3,4] append([1,2],Y,[1,2,3,4]) returns Y=[3,4]

CSE 5739 Deductive Databases Datalog: Facts = DB relations (tables) Rules = Prolog without function symbols Decidable, but PTIME-complete salary_by_name(X,Y) :- ssn(X,N) & salary_by_ssn(N,Y).

CSE Ontologies on·tol·o·gy n. The branch of metaphysics that deals with the nature of being. AI definition: a set of axioms that describe some aspect of the world in terms of types of objects and relationships between objects.

CSE Example Ontology: Categories anything physical abstract machineanimalanimate robothuman position emotion happiness

CSE Example Ontology: Subtypes anything physical abstract machineanimalanimate robothuman position emotion happiness  x. (anything(x)  (physical(x)  abstract(x)))  x. (robot(x)  machine(x))

CSE Example Ontology: Relations anything physical abstract machineanimalanimate robothuman position emotion happiness  x. (physical(x)   y. (position(y)  location(x,y)) location experience

CSE Example Ontology: Instances anything physical abstract machineanimalanimate robothuman position emotion happiness robot(R2D2) location(R2D2, X24Y99Z33)  position(X24Y99Z33) location experience R2D2

CSE Why Formalize Ontologies? Knowledge exchange and reuse Common syntax not enough How do the your meanings relate to my meanings? –Is Bill Gate’s meaning of “expensive” the same as mine? What to do when we have different ways of conceptualizing the world? –Eskimo’s words for snow

CSE Categories in Dyirbal, an aboriginal language of Australia Bayi: men, kangaroos, possums, bats, most snakes, most fishes, some birds, most insects, the moon, storms, rainbows, boomerangs, some spears, etc. Balan: women, anything connected with water or fire, bandicoots, dogs, platypus, echidna, some snakes, some fishes, most birds, fireflies, scorpions, crickets, the stars, shields, some spears, some trees, etc. Balam: all edible fruit and the plants that bear them, tubers, ferns, honey, cigarettes, wine, cake. Bala: parts of the body, meat, bees, wind, yamsticks, some spears, most trees, grass, mud, stones, noises, language, etc.

CSE Ontologies + XML = Semantic Web (Tim Berners-Lee)

CSE Representing Change