Observational equivalence of 3rd-order Idealized Algol is decidable
Proceedings - Symposium on Logic in Computer Science - Trang 245-256
Tóm tắt
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 f/sub M/. Given any such f/sub M/, 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 3rd-order 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.
Từ khóa
#Computer languages #Laboratories #Automata #Character recognition #Concrete #Application software #Computer applications #Algorithm design and analysis #Hardware #Data securityTài liệu tham khảo
mccusker, 1998, Games for recursive types
mccusker, 2001, On the semantics of Idealized Algol without the bad-variable constructor, Technical Report 01/01 SOCS University of Sussex
minsky, 1967, Computation Finite and Infinite Machines
o'hearn, 1997, Algol-like languages, i and ii
10.1016/S0019-9958(80)90887-6
pitts, 2000, Operational semantics and program equivalence, APPSEM 2000 Summer School Lectures Portugal
reynolds, 1978, The essence of Algol, Algorithmic Languages, 345
sénizergues, 2001, Complete formal systems for equivalence problems, TCS, 231:309
10.1016/S0304-3975(00)00389-3
stirling, 2001, Deciding DPDA equivalence is primitive recursive, Ftp-able preprint
10.1016/S1571-0661(04)80958-7
ghica, 0, A regular-language model for Hoare-style correctness statements, Proc VCL'2001
10.1017/CBO9780511526619.005
10.1007/3-540-45022-X_10
10.1145/322063.322074
10.1006/inco.2000.2917
10.1007/978-1-4757-3851-3_10
abramsky, 2001, Semantics via game theory, Lecture slides Marktoberdorf International Summer School
10.1016/S0304-3975(00)00194-8