- ...primitives
- This is equivalent
to the ability of the ``goto'' construct to express any form of control
construct.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...execution
- E.g., what should be run in parallel.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...conditions
- I.e., which assignments of values to the variables.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...list
- Certain features of Prolog, like
the delay construct, may violate this rule.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...implementable
- The efficiency of implementation
comes from the possibility of specializing the Herbrand Theorem to allow verification
of satisfiability using a single atom instead of an arbitrary finite sets of atoms.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...backtracking
- And some other variations, like support for
dynamic type checking.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...pragmas
- Pragmas are non-executable
instructions which are simply used to pass information to the further compilation
stages.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...problems
- And offers additional
advantages, like simplifying integration between Prolog and C.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...potential
- By talking about potential we intend that during the
execution the dependency may actually not occur.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...programs
- Datalog is a simplified version of Prolog commonly used to program deductive databases
[113].
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...
- Usually is called Herbrand Base, while the set of all ground
terms is named Herbrand Universe.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...execution
- Or requiring an extremely complex and expensive
backtracking pattern to cure the failure.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...yet
- Peter Van Roy managed to produce various examples to
show that there is no inherent reason why logic languages should be slower
than traditional imperative ones. In particular, the Aquarius compiler, thanks
to a very sophisticated compile-time analysis phase, is capable of generating
code which can recognize non-initialized variables which are passed as
arguments through registers. This allows Aquarius to execute certain
recursive integer functions faster than standard implementations of the
same functions in C [90].
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...terms
- Although certain built-in
operations can be actually applied only on certain terms, e.g. arithmetic operations.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...tree
- With the constraint that successors of a free node
should be themselves free.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...necessary
- I.e., unavoidable.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...[58]
- On
which various systems have been based, like &-Prolog [55] and DDAS [94].
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...agent
- Recovering
memory requires access to the agent's registers, which is unfeasible without
stopping such agent from its current activity.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...arrays
- Other methods, like the
Version Vectors model [8], guarantee the same level of
efficiency but have never been concretized in an efficient implementation.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...execution
- Although, as mentioned
repeatedly before, this seems to be a drawback of and-parallelism, since it introduces an
a-priori overhead which will affect the sequential efficiency of the system.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...subgoals
- As long as there are no
order-sensitive calls in their executions.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...easier
- Lists are always built
starting from existing other lists-this considerably simplifies the task of keeping
track of sizes of the arguments of the functions.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.