Download:
|
by C. -h. L. Ong
In Proceedings of LICS’02. IEEE
ftp://ftp.comlab.ox.ac.uk/pub/Documents/techpapers/Luke.Ong/lics02.ps.gz
Add To MetaCart
Abstract:
We prove that observational equivalence of 3rd-order finitary Idealized Algol (IA) is decidable using Game Semantics. By modelling state explicitly in our games, we show that the denotation of a term M of this fragment of IA (built up from finite base types) is a compactly innocent strategy-with-state i.e. the strategy is generated by a finite view function fM. Given any such fM, we construct a real-time deterministic pushdown automata (DPDA) that recognizes the complete plays of the knowing-strategy denotation of M. Since such plays characterize observational equivalence, and there is an algorithm for deciding whether any two DPDAs recognize the same language, we obtain a procedure for deciding observational equivalence of 3rdorder finitary IA. This algorithmic representation of program meanings, which is compositional, provides a foundation for model-checking a wide range of behavioural properties of IA and other cognate programming languages. Another result concerns 2nd-order IA with recursion: we show that observational equivalence for this fragment is undecidable.
Citations
|
275
|
Computation: Finite and Infinite Machines
– Minsky
- 1967
|
|
137
|
The essence of Algol
– Reynolds
- 1981
|
|
74
|
sharing and state: a fully abstract game semantics for idealized ALGOL with active expressions
– Abramsky, McCusker
- 1996
|
|
20
|
Operational semantics and program equivalence
– Pitts
- 2000
|
|
20
|
Decidability of DPDA equivalence
– Stirling
- 2001
|
|
16
|
Reasoning about idealized algol using regular languages
– Ghica, McCusker
|
|
16
|
Finitary PCF is not decidable
– Loader
- 2001
|
|
15
|
Game semantics
– Hyland
|
|
14
|
On full abstraction for PCF: I. models, observables and the full abstraction problem, II. Dialogue games and innocent strategies, III. A fully abstract and universal game model, Inform. Comput
– Hyland, Ong
- 2000
|
|
11
|
Regular language semantics for a call-by-value programming language, accepted for publication
– Ghica
- 2001
|
|
10
|
The equivalence problem for real-time strict deterministic languages
– Oyamaguchi, Honda, et al.
- 1980
|
|
9
|
A regular-language model for Hoare-style correctness statements
– Ghica
- 2001
|
|
5
|
Games for recursive types. BCS Distinguished Dissertation
– McCusker
- 1998
|
|
3
|
Complexity of finite memory programs with recursion
– Jones, Muchnick
- 1978
|
|
2
|
On the semantics of Idealized Algol without the bad-variable constructor
– McCusker
- 2001
|
|
2
|
Complete formal systems for equivalence problems
– Senizergues
- 1999
|
|
1
|
Semantics via game theory. Lecture slides
– Abramsky
- 2001
|
|
1
|
Deciding DPDA equivalence is primitive recursive. Ftp-able preprint
– Stirling
- 2001
|