嵌套数据类记忆自动机可判定的ML片段
Fragments of ML Decidable by Nested Data Class Memory Automata
摘要:
按值调用语言RML可以被看作是标准ML对接地类型引用的规范限制,并在雷诺兹意义上增加了“坏变量”构造。我们认为片段的(有限)RML条款的顺序最多为1与自由变量的顺序最多为2,并确定两个子片段,我们观察到的等价性是可判定的。第一个子片段由那些术语组成,其中游戏语义表示中的P指针由底层移动序列确定。第二个子片段由术语组成,其中对应于游戏语义表示中的自由变量的移动的O指针由底层移动确定。这些结果显示使用减少到一种形式的自动机的数据字,其中的数据值具有树结构,反映了树结构的线程在游戏中的语义发挥。此外,我们发现,观察等价是不可判定的,在每一个第三或更高的顺序类型,每一个二阶类型,其中至少需要两个一阶参数,和每一个二阶类型(arity大于1),有一个一阶参数,这不是最后的参数。
英文摘要:
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 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。