Back to Search Start Over

Fragments of ML Decidable by Nested Data Class Memory Automata

Authors :
C.-H. Luke Ong
Conrad Cotton-Barratt
David Hopkins
Andrzej S. Murawski
Pitts, Andrew
Source :
Lecture Notes in Computer Science ISBN: 9783662466773, FoSSaCS
Publication Year :
2015
Publisher :
Springer Berlin Heidelberg, 2015.

Abstract

The call-by-value language RML may be viewed as a canonical restriction of Standard ML to ground-type references, augmented by a “bad variable” construct in the sense of Reynolds. We consider the fragment of (finitary) RML terms of order at most 1 with free variables of order at most 2, and identify two subfragments of this for which we show observational equivalence to be decidable. The first subfragment, RML\(^{\rm P-Str}_{2\vdash 1}\), consists of those terms in which the P-pointers in the game semantic representation are determined by the underlying sequence of moves. The second subfragment consists of terms in which the O-pointers of moves corresponding to free variables in the game semantic representation are determined by the underlying moves. These results are shown using a reduction to a form of automata over data words in which the data values have a tree-structure, reflecting the tree-structure of the threads in the game semantic plays. In addition we show that observational equivalence is undecidable at every third- or higher-order type, every second-order type which takes at least two first-order arguments, and every second-order type (of arity greater than one) that has a first-order argument which is not the final argument.

Details

ISBN :
978-3-662-46677-3
ISSN :
03029743
ISBNs :
9783662466773
Database :
OpenAIRE
Journal :
Lecture Notes in Computer Science ISBN: 9783662466773, FoSSaCS
Accession number :
edsair.doi.dedup.....86a75f05ed01f7176f0a9aef3a1ca635
Full Text :
https://doi.org/10.1007/978-3-662-46678-0_16