arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.24468cs.FL
收藏

命名自动机与名称释放

Nominal Automata with Name Deallocation

Friedrich-Alexander-Universitt Erlangen-Nrnberg(弗里德里希·亚历山大埃尔朗根-纽伦堡大学)

Simon Prucker, Stefan Milius, Lutz Schröder

AI总结:

本文提出一种新的命名自动机模型,用于描述具有显式分配和释放的数据词语言,通过添加释放转换扩展了现有模型,并证明其与自然表达语言的等价性。

摘要:

数据词中的绑定器形式化了同时分配的内存。大多数形式语言中的名称绑定机制,如λ演算,遵循正确嵌套的作用域。相比之下,具有显式内存分配和释放的状态编程语言,如C,常常交织分配内存区域的作用域。这种现象在专门的正式ism中得到捕捉,如动态序列和括号代数,它们同样具有显式分配和释放字母的功能。一种经典的用于数据语言的形式ism是寄存器自动机,已被证明等价于名义集上的自动机模型。在本文中,我们介绍了一种命名自动机模型,用于描述具有显式分配和释放的数据词语言,其强烈类似于动态序列,通过添加释放转换扩展了现有命名自动机模型。使用有限NFA类型的表示,我们建立了 Kleene 定理,证明其与自然表达语言的等价性。此外,我们证明我们的非确定性模型允许确定化,这在名义和寄存器自动机领域相当不寻常。

英文摘要:

Data words with binders formalize concurrently allocated memory. Most name-binding mechanisms in formal languages, such as the $λ$-calculus, adhere to properly nested scoping. In contrast, stateful programming languages with explicit memory allocation and deallocation, such as C, commonly interleave the scopes of allocated memory regions. This phenomenon is captured in dedicated formalisms such as dynamic sequences and bracket algebra, which similarly feature explicit allocation and deallocation of letters. One of the classical formalisms for data languages are register automata, which have been shown to be equivalent to automata models over nominal sets. In the present work, we introduce a nominal automaton model for languages of data words with explicit allocation and deallocation that strongly resemble dynamic sequences, extending existing nominal automata models by adding deallocating transitions. Using a finite NFA-type representation of the model, we establish a Kleene theorem that shows equivalence with a natural expression language. Moreover, we show that our non-deterministic model allows for determinization, a quite unusual phenomenon in the realm of nominal and register automata.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑