Geometry of interaction
The geometry of interaction, GoI in short, was defined in the early nineties by Girard as an interpretation of linear logic into operators algebra: formulae were interpreted by Hilbert spaces and proofs by partial isometries.
This was a striking novelty as it was the first time that a mathematical model of logic (lambda-calculus) didn't interpret a proof of as a morphism from (the space interpreting) A to (the space interpreting) B and proof composition (cut rule) as the composition of morphisms. Rather the proof was interpreted as an operator acting on (the space interpreting) , that is a morphism from to . For proof composition the problem was then, given an operator on and another one on to construct a new operator on . This problem was originally expressed as a feedback equation solved by the execution formula. The execution formula has some formal analogies with Kleene's formula for recursive functions, which allowed to claim that GoI was an operational semantics, as opposed to traditionnal denotational semantics.
The first instance of the GoI was restricted to the MELL fragment of linear logic (Multiplicative and Exponential fragment) which is enough to encode lambda-calculus. Since then Girard proposed several improvements: firstly the extension to the additive connectives known as Geometry of Interaction 3 and more recently a complete reformulation using Von Neumann algebras that allows to deal with some aspects of implicit complexity
The GoI has been a source of inspiration for various authors. Danos and Regnier have reformulated the original model exhibiting its combinatorial nature using a theory of reduction of paths in proof-nets and showing the link with abstract machines; in particular the execution formula appears as the composition of two automata that interact one with the other through their common interface. Also the execution formula has rapidly been understood as expressing the composition of strategies in game semantics. It has been used in the theory of sharing reduction for lambda-calculus in the Abadi-Gonthier-Lévy reformulation and simplification of Lamping's representation of sharing. Finally the original GoI for the MELL fragment has been reformulated in the framework of traced monoidal categories following an idea originally proposed by Joyal.
The Geometry of Interaction as an abstract machine
The Geometry of Interaction as operators
The original construction of GoI by Girard follows a general pattern already mentionned in coherent semantics under the name symmetric reducibility. First set a general space; here, in the case of GoI, the space will be the space of bounded operators on . This is where the interpretations of proof objects will live. Second define a suitable duality on the space that will be denoted as . For the GoI, two dualities have proved to work, the first one being nilpotency: two operators u and v are dual if uv is nilpotent, that is, if there is an nonegative integer n such that (uv)n = 0. Last define a type as a set of objects T that is equal to its bidual: . Putting it in ground terms this means that iff for all operator v, if , that is if u'v is nilpotent for all , then , that is uv is nilpotent.
It remains to interpret logical operations in this framework, that is to associate a type to each formula, an object to each proof and to show the adequacy lemma: if u is the interpretation of a proof of the formula A then u belongs to the type associated to A.
We begin by a brief tour of the operations on H that will be used in the sequel.
Let us denote by the canonical hilbertian basis of ; en is the sequence containing only 0's but at the n's position where its value is 1: where δin is the standard Kroenecker function. Recall that the adjoint of an operator u is the operator defined by for any .
A partial isometry is an operator u satisfying ; as a consequence is a projector the range of which is the range of u; we will call codomain the range of u. Similarly is also a projector the range of which is the domain of u (which is orthogonal to the kernel of u). The domain and the codomain of u are both closed subspace of H and u restricted to its domain is an isometry. If the domain u is H that is if we say that u has full domain, and similarly for codomain.
If u is a partial isometry then is also a partial isometry the domain of which is the codomain of u and the codomain of which is the domain of u.
If u and v are two partial isometries, the equation means that the codomains of u and v are orthogonal and that their direct sum is H.
We shall define a number of operators on H by describing their action on the basis (en); actually most of the operators that are used to interpret logical operations will turn out to be defined as partial permutations on the basis, which in particular entails that they are partial isometries.
Interpreting the tensor
The first step is, given two types A and B, to construct the type . For this purpose we will define an isomorphism by where and are given by:
- p(en) = e2n,
- q(en) = e2n + 1.
This is actually arbitrary, any two partial isometries p,q with full domain and such that the sum of their codomains is H would do the job.