Sussex Research Online: No conditions. Results ordered -Date Deposited. 2023-11-30T06:04:29Z EPrints https://sro.sussex.ac.uk/images/sitelogo.png http://sro.sussex.ac.uk/ 2012-02-06T20:15:22Z 2012-06-07T15:48:38Z http://sro.sussex.ac.uk/id/eprint/24986 This item is in the repository with the URL: http://sro.sussex.ac.uk/id/eprint/24986 2012-02-06T20:15:22Z Locally Boolean domains

Bistable bidomains have been used to give a simple order-theoretic construction of a cartesian closed category of sequential functions. In this paper, we investigate the intensional properties of a full subcategory, the locally boolean domains, in which the bistable structure is given by an involution operation. We show that every pointed locally boolean domain is the limit of an ω-chain of “prenex normal forms” constructed using only products and lifted sums. We use this result to describe a model of linear logic (incorporating both intuitionistic and polarized classical fragments). We show that affine and bistable functions correspond to unique “strategies” on the associated normal forms, and that function composition corresponds to “parallel composition plus hiding” of these strategies.

J Laird 114881
2012-02-06T19:39:55Z 2012-06-07T11:39:11Z http://sro.sussex.ac.uk/id/eprint/21695 This item is in the repository with the URL: http://sro.sussex.ac.uk/id/eprint/21695 2012-02-06T19:39:55Z A calculus of coroutines

We describe a simple but expressive calculus of sequential processes, represented as coroutines. We show that this calculus can be used to express a variety of programming language features including procedure calls, labelled jumps, integer references and stacks. We describe the operational properties of the calculus using reduction rules and equational axioms.

We describe a notion of categorical model for our calculus, and give a simple example of such a model based on a category of games and strategies. We prove full abstraction results showing that equivalence in the categorical model corresponds to observational equivalence in the calculus, and also to equivalence of evaluation trees, which are infinitary normal forms for the calculus.

We show that our categorical model can be used to interpret the untyped λ-calculus and use this fact to extract a sound translation of the latter into our calculus of coroutines.

James Laird 114881
2012-02-06T18:42:40Z 2012-05-31T11:44:19Z http://sro.sussex.ac.uk/id/eprint/17856 This item is in the repository with the URL: http://sro.sussex.ac.uk/id/eprint/17856 2012-02-06T18:42:40Z A fully abstract game semantics of local exceptions

A fully abstract game semantics for an extension of Idealized Algol with locally declared exceptions is presented. It is based on "Hyland-Ong games", but as well as relaxing the constraints which impose functional behaviour (as in games models of other computational effects such as continuations and references), new structure is added to plays in the form of additional pointers which track the flow of control. The semantics is proved to be fully abstract by a factorization of strategies into a 'new-exception generator' and a strategy with local control flow. It is shown, using examples, that there is no model of exceptions which is a conservative extension of the semantics of Idealized Algol without the new pointers.

James Laird 114881
2012-02-06T18:33:15Z 2012-05-31T10:59:57Z http://sro.sussex.ac.uk/id/eprint/17088 This item is in the repository with the URL: http://sro.sussex.ac.uk/id/eprint/17088 2012-02-06T18:33:15Z Game semantics and Linear CPS interpretation

We present a semantic analysis of the “linearly used continuation-passing interpretation” of functional languages, based on game semantics. This consists of a category of games with a coherence condition on moves—yielding a fully complete model of an affine-type theory—and a syntax-independent and full embedding of a category of Hyland–Ong/Nickau-style “well-bracketed” games into it. We show that this embedding corresponds precisely to linear CPS interpretation in its action on a games model of call-by-value PCF, yielding a proof of full abstraction for the associated translation. We discuss extensions of the semantics to deal with recursive types, call-by-name evaluation, non-local jumps, and state.

James Laird 114881