Registers inst as the instance for type. synthInstance? returns it without
running typeclass resolution, making inst the canonical representative for type.
Intended for satellite modules that construct instances for types they create themselves
(e.g., grind linarith's envelope type IntModule.OfNatModule.Q).
Instances For
Helper function for instantiating a type class type, and
then using the result to perform isDefEq x val.