Since types can be polymorphic in capabilities and entities, it's
not enough to just keep track of e.g. literal capability sets; we
need to keep track of variables that can stand for unknown
collections, with the ability to combine them with other collections.
a collection variable \delta (in general, different metavariables are used for different types of collections),
a singleton collection, denoted \{e\}, or
the union of two collection expressions, \Delta _1 \cup \Delta _2,
quotiented by the assumption that (\cup , \varnothing ) are a monoid;
i.e.\cup is associative, and \varnothing is an identity
for \cup . Put another way, collection expressions are a free
commutative monoid over XXX
XXX free extension! Do we really need all this?
XXX what to do about provisioning oracle etc.? Come up with some examples of how it ought to work?
but quotiented by the assumption that \varnothing is the identity for \cup , and \cup is associative, commutative and idempotent. For example, (\varnothing \cup \delta ) \cup (\{\mathsf {Lambda}\} \cup \delta ) = \delta \cup \{\mathsf {Lambda}\}. We also write set literals like \{\mathsf {Exc}(\mathsf {if}), \mathsf {Lambda}\} as an abbreviation for \{\mathsf {Exc}(\mathsf {if})\} \cup \{\mathsf {Lambda}\}.