Logic Programming Theory and Examples

3/3/00


Click here to start


Table of Contents

Logic Programming Theory and Examples

Example

A Session

A session (cont)

A session (cont)

Lists in Prolog

Defining Predicates on Lists

concat a.k.a. append

concat used backwards

Logic Prog. vs Functional Prog.

Programming in Prolog

Predicate Logic

Clause Form

Horn Clauses

How Does Matching Work in Prolog?

Unification of Literals

Horn-Clause Resolution

A Backtracking Horn-Clause Resolver

Author: Steven L. Tanimoto

Email: tanimoto@cs.washington.edu