UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering A Hole in Goal Trees Notes for: D.W. Loveland and M. Stickel. “A Hole in Goal.

Slides:



Advertisements
Similar presentations
With examples from Number Theory
Advertisements

Logic & Critical Reasoning
Chapter 3 Elementary Number Theory and Methods of Proof.
1. An Overview of Prolog.
1 A formula in predicate logic An atom is a formula. If F is a formula then (~F) is a formula. If F and G are Formulae then (F /\ G), (F \/ G), (F → G),
Standard Logical Equivalences
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
Propositional Calculus A propositional calculus formula is composed of atomic propositions, which area simply statements that are either true or false.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6 [P]: Reasoning Under Uncertainty Section.
CSE (c) S. Tanimoto, 2008 Propositional Logic
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.5 [P]: Propositions and Inference Sections.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Controlling Backtracking Notes for Ch.5 of Bratko For CSCE 580 Sp03 Marco Valtorta.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using Definite Knowledge Notes for Ch.3 of Poole et al. CSCE 580 Marco Valtorta.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.12 [P]: Individuals and Relations Proofs.
Logic in Computer Science Transparency No Chapter 3 Propositional Logic 3.6. Propositional Resolution.
Inference and Resolution for Problem Solving
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using Definite Knowledge Notes for Ch.3 of Poole et al. CSCE 580 Marco Valtorta.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Introduction to Prolog Notes for Ch.1 of Bratko For CSCE 580 Sp03 Marco Valtorta.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 330 Programming Language Structures Haskell Fall 2005 Marco Valtorta
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6 [P]: Reasoning Under Uncertainty Sections.
Statements The most important idea in logic: Validity of an argument.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using Definite Knowledge Notes for Ch.3 of Poole et al. CSCE 580 Marco Valtorta.
Chapter 3 Propositional Logic
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 190 Computing in the Modern World Two Example Bayesian Networks March.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 330 Programming Language Structures Literate Programming in Haskell Fall.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Introduction to Functional Programming Notes for CSCE 190 Based on Sebesta,
Artificial Intelligence Chapter 17 Knowledge-Based Systems Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.12 [P]: Individuals and Relations Datalog.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Monkey and Bananas Exercise Notes on Exercise 3.10 of Bratko For CSCE 580 Sp03.
0 1 Todays Topics Resolution – top down and bottom up j-DREW BU procedure Subsumption – change to procedure Infinite Loops RuleML input – Prolog output.
CS1502 Formal Methods in Computer Science Lecture Notes 10 Resolution and Horn Sentences.
Formal Models of Computation Part II The Logic Model
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
FATIH UNIVERSITY Department of Computer Engineering Controlling Backtracking Notes for Ch.5 of Bratko For CENG 421 Fall03.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 781 AILog for Ch.5 Spring 2011 Marco Valtorta
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Today’s Topics Introduction to Proofs Rules of Inference Rules of Equivalence.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Propositional Logic Predicate Logic
CSE (c) S. Tanimoto, 2008 Predicate Calculus II 1 Predicate Calculus 2 Outline: Unification: definitions, algorithm Formal interpretations and satisfiability.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
Inverse, Contrapositive & indirect proofs Sections 6.2/6.3.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Introduction to Logic Programming: Prolog Notes for CSCE 190 Based on Bratko,
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Knowledge Based Systems
Computer Science cpsc322, Lecture 20
Discrete Mathematics Logic.
A statement is a contradiction
Resolution in the Propositional Calculus
Tutorial - Propositional Logic
Probabilistic Horn abduction and Bayesian Networks
Biointelligence Lab School of Computer Sci. & Eng.
Assignment-2 due now Enterprise Architecture Conference Sat. Oct 27
Propositional Logic.
CSCE 390 Professional Issues in Computer Science and Engineering Ch
Biointelligence Lab School of Computer Sci. & Eng.
Logical Truth To show a statement A is a logic truth (tautology) ...
MAT 3100 Introduction to Proof
Computer Science cpsc322, Lecture 20
CS2136: Paradigms of Computation
Presentation transcript:

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering A Hole in Goal Trees Notes for: D.W. Loveland and M. Stickel. “A Hole in Goal Trees: Some Guidance from Resolution Theory.” IEEE Transactions on Computing, C-25, 4 (April 1976), pp For CSCE 580 Sp03 Marco Valtorta

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Swimming Pool Problem Statement I have a swimming pool If I have a swimming pool and it does not rain, I will go swimming If I go swimming, I will get wet If it rains, I will get wet Prove that I will get wet a: I have a swimming pool b: I go swimming c: I get wet d: It rains

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Prolog Program with Negation a. b <- a, ~d. c <- b. c <- d. ?- c. There is no goal tree that establishes c! However, c logically follows from the four clauses above.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering A Sound and Complete Proof Procedure Add contrapositives, in particular the contrapositive of the last rule : –~d <- ~c. Check whether the negation of a goal appears as ancestor of the goal. If this is the case, mark the goal as proved This extension is sound and complete: only atoms that follow from the clauses are marked as proved, and all atoms that follow from the clauses can be marked as proved

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering The Example, Revisited c b d ~d a established, because it is a fact ~c established, because c is an ancestor and c is proved, because c is an ancestor of ~c in the goal tree.

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Soundness, Completeness, and Variables The rationale for this new proof procedure, which extends the usual goal tree procedure, is as follows: “Either c is true or ~c is true. If ~c is true, then we can establish c, …, which is impossible. Thus, c is true. This is an argument by contradiction” [L&S,p.337]. This proof procedure is also complete The generalization to the non-propositional case, using unification (matching) is also sound and complete