Programming Languages III - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Programming Languages III

Description:

Clause form. Inconsistency. empty clause. Automatic Reasoning. using reduction ad ... to the original statements and the statement until an empty clause occurs ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 11
Provided by: shyhka
Category:

less

Transcript and Presenter's Notes

Title: Programming Languages III


1
Programming Languages III
  • Shyh-Kang Jeng
  • Department of Electrical Engineering/
  • Graduate Institute of Communication Engineering
  • National Taiwan University

2
Additional Reading
  • S. Russell and P. Norvig, Artificial
    Intelligence A Modern Approach, Englewood
    Cliffs, NJ Prentice Hall, 1995

3
Logical Deduction
  • Either Kermit is on stage or Kermit is sick
  • Kermit is not on stage
  • Kermit is sick
  • Resolution Principle

4
Clause Form
  • First-order predicate logic
  • Implication
  • Clause form

5
Inconsistency
empty clause
6
Automatic Reasoning using reduction ad absurdum
  • Want to confirm a collection of statements
    implies the statement
  • Same as contradicting the statement
  • Apply resolution to the original statements and
    the statement until an empty clause occurs
  • With inconsistent with the original
    statements, the original statements must imply

7
Unification
8
Prolog (1)
  • PROgramming in LOGic
  • A Prolog program consists of a collection of
    initial statements upon which the underlying
    algorithm bases its deductive reasoning
  • Predicate
  • A fact about its argument
  • Examples

9
Prolog (2)
  • Rule
  • Goal
  • Proposed to the system and the system applies the
    resolution to try to confirm that the goal is a
    consequence of the initial statements

10
Prolog Queries
Write a Comment
User Comments (0)
About PowerShow.com