Generalization and instantiation [001P]

XXX add capability set variables and describe. Where can the different kinds of variables occur? (Hence, where do we need to apply substitutions?)