A Type Checker for the exported files
do we need something else?
The type-checker is used to check both theories and
single objects
Objects are checked dynamically:
an environment keeps track of checked objects, when the t.c. finds a
reference to a new object, this one is recursively checked first.
Checks have been introduced to avoid (unsound)
cycles during the type-checking