A type substitution maps type variables to types and applies to a type by replacing each of its variables. A type equation asks for a type substitution with .
'a := int and 'b := bool; the right children are then 'a, already int, and 'c, so 'c := int. Both trees become the tree on the right (unification_of_the_figure).