Abstract Syntax: Substitution and Binders

John Power
2007 Electronical Notes in Theoretical Computer Science  
We summarise Fiore et al's paper on variable substitution and binding, then axiomatise it. Generalising their use of the category F of finite sets to model untyped cartesian contexts, we let S be an arbitrary pseudo monad on Cat and consider (S1) op : this generality includes linear contexts, affine contexts, and contexts for the Logic of Bunched Implications. Given a pseudo-distributive law of S over the (partial) pseudo-monad Tcoc − = [(−) op , Set] for free cocompletions, one can define a
more » ... onical substitution monoidal structure on the category [(S1) op , Set], generalising Fiore et al's substitution monoidal structure for cartesian contexts: this provides a natural substitution structure for the above examples. We give a concrete description of this substitution monoidal structure in full generality. We then give an axiomatic definition of a binding signature, then state and prove an initial algebra semantics theorem for binding signatures in full generality, once again extending the definitions and theorem of Fiore et al. A delicate extension of the research includes the category P b(Inj op , Set) studied by Gabbay and Pitts in their quite different analysis of binders, which we compare and contrast with that of Fiore et al.
doi:10.1016/j.entcs.2007.02.024 fatcat:koq3jtxmyrbh5cfsxllm5hucm4