SLIDE 1
Declarative versus procedural meaning
There are two ways of understanding a Prolog program. For example, consider the abstract query
P :- Q, R.
where P, Q and R are objects. This clause can be read in two ways:
- 1. P is true if Q and R are true.
- 2. To prove P, first prove Q and next prove R.
73 / 109