Fragments of ML Decidable by Nested Data Class Memory Automata
Conrad Cotton-Barratt, David Hopkins, Andrzej S. Murawski, and C.-H., Luke Ong

TL;DR
This paper identifies specific fragments of the RML language where observational equivalence is decidable, using automata over data words with tree-structured data values, and proves undecidability results for higher-order types.
Contribution
It introduces automata-based techniques to decide observational equivalence for certain RML fragments and delineates the boundaries of decidability in higher-order types.
Findings
Decidability of observational equivalence for certain RML fragments.
Automata over data words with tree-structured data values are used for analysis.
Undecidability results for higher-order types beyond certain levels.
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 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · semigroups and automata theory
