Lectures onType Theory
GAL sharing graphs and the parallel-beta cost signature
appendix sectionrules

GAL sharing graphs and the parallel-beta cost signature

A GAL bus is an ordered bundle of wires. Graphs use root, void, croissant, bracket, and fan nodes. At bus width n, a fan has total arity 3n and one marked main level. The full relation GAL is contextual closure of the six bus schemes in Gonthier–Abadi–Lévy Figure 2, without their optional garbage rules; GAL is its reflexive-transitive closure. A labeled rightmost-fan contraction is written GGAL:(u,v)aG. The parameterized relation is a subrelation of the full graph step, not the relation whose closure defines graph normality.

The diagrammatic term translation is fixed by three clauses: a variable is a width-three bus; application combines the function and argument graphs with an upper call fan and one lower fan for every shared free variable; abstraction feeds the bound-variable bus through an abstraction fan, uses a void when the binder is absent, and brackets every remaining free-variable bus. A second stage forgets directions, moves names to roots, and adds roots. Readback follows access paths consistent on all but the rightmost wire and reconstructs syntax at rightmost fans. These are the precise imported diagrammatic objects of convention 42.3, definition 42.4, definition 42.5.

For the separate typed cost result, A,B::=oAB,P,Q::=xAλx:A.PPQ, with Bool=ooo, and |o|=1,|AB|=1+|A|+|B|,|xA|=|A|,|λx:A.P|=1+|P|,|PQ|=1+|P|+|Q|. One parallel beta step contracts one complete Lévy family. The elementary hierarchy is K0(n)=n and Kj+1(n)=2Kj(n).

Search the book

Type to search the local edition.