Set and bag expressions [001Y]

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.

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}\}.

Context

Notes on redesign of the Swarm type system [000U]

Backlinks

Definition. Monomorphic typing judgment [001O]

Swarm polytypes [001N]

Definition. Requirement contexts [000Z]