10 Mar 2005
CS 3243 - FOL and Prolog
38
Interpretation of Rules
l
Rules can be given a declarative reading or a
procedural reading.
H
:-
G
1
,
G
2
,
,
G
n
.
That H is provable follows
from goals G
1
, G
2
, , G
n
being
provable.
To execute procedure H, the
procedures called by goals G
1
,
G
2
, , G
n
are executed first.
Declarative reading:
Procedural reading:
Form of rule: