A βcanonicalizedβ type V is one where all free inference
variables have been rewritten to βcanonical varsβ. These are
numbered starting from 0 in order of first appearance.
A set of values corresponding to the canonical variables from some
Canonical. You can give these values to
canonical_value.instantiate to instantiate them into the canonical
value at the right places.
A projection of a Canonical<V>, as produced by Canonical::project. Useful as a marker when
dealing with fields within a Canonical<V>, because it indicates that T may contain
canonical bound variables that must be instantiated before use.
State used and modified by a canonicalizer during canonicalization. To avoid many allocations,
this state is reused by many canonicalizers from GlobalCaches.
Information about a canonical variable that is included with the
canonical value. This is sufficient information for code to create
a copy of the canonical value in some other inference context,
with fresh inference variables replacing the canonical values.