Next: Problem 11 - Languages
Up: Information Science II
Previous: Problem 5 - Compilation
Let
be a countably infinite set of variables, let
ba a constant symbol, and let
and
be function symbols. We define the set
of terms as the least set closed under the
following rules:
If variables
are distinct from each other,
denotes the term
obtained from
by replacing all the occurrences of each
with . We call
a substitution. Answer the following questions.
- 1.
- A substitution
is called a unifier of
and
if it satisfies
.
Check whether a unifier exists for the following each pair of terms. If so, answer a unifier.
- 2.
- A unifier
of
and
is called a most general unifier of
and
if, for any
unifier
of
and , there exists a substitution
such that
. Show that if both
and
are
most general unifiers of
and , then there is a substitution
such that
and
are mutually distinct variables.
(In other words, show the uniqueness of the most general unifier up to renaming of variables.)
- 3.
- Prove that if there is a unifier of
and , then there is also a most general unifier of
and .
- 1.
-
and
:
If
, then
and
is a unifier.
-
and :
Since
, there is no unifier for that pair of terms.
Next: Problem 11 - Languages
Up: Information Science II
Previous: Problem 5 - Compilation
Reynald AFFELDT
2000-06-08