paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Regular matching problems for infinite trees

无限树的正则匹配问题
LMCS vol.Volume 18, Issue 12022匹配度 1/10 · 该论文是纯自动机与形式语言理论研究,讨论无限正则树上的正则匹配与替换问题,虽属形式化方法基础,但与用户画像中的静态分析、Agentic 程序、LLM 交叉、浮点程序分析或贝叶斯程序分析均无直接关联。引用 3 inbox
Carlos Camino, Volker Diekert, Besik Dundua, Mircea Marin, Géraud Sénizergues
crossref: 2026-09-10

AI 速览

一句话:将 Conway 的正则匹配可判定性结果推广到有限与无限正则树语言,并证明 inside-out 替换下极大解有限且可计算。

论文研究正则树语言的匹配问题,即是否存在变量替换 σ,使 σ(L)⊆R,其中 L、R 是有限秩字母表与变量并集上的正则树语言,σ 将每个变量映为非空树集合并采用 Engelfriet 与 Schmidt 的 inside-out 替换语义。Conway 曾对有限字语言证明该类问题可判定且仅有有限多个极大解,且极大解为正则替换、可有效计算。本文将该结果推广到有限树和无限树上的正则语言,证明 ∃σ∀x: σ(x)≠∅ ∧ σ_io(L)⊆R 可判定;极大解仍有限、正则且可计算。对于 outside-in 扩展 σ_oi,即使在有限树情形下相应问题仍开放。

问题
判断是否存在非空正则替换 σ,使 inside-out 替换后的正则树语言 σ_io(L) 包含于正则树语言 R。
方法
扩展 Conway 关于有限字语言匹配问题的理论,处理有限与无限树上的正则语言以及 inside-out 树替换。
评估
通过理论证明建立可判定性,并证明极大解有限、为正则替换且可有效计算;outside-in 情形留作开放问题。
原文摘要(Abstract)

We study the matching problem of regular tree languages, that is, "$\exists \sigma:\sigma(L)\subseteq R$?" where $L,R$ are regular tree languages over the union of finite ranked alphabets $\Sigma$ and $\mathcal{X}$ where $\mathcal{X}$ is an alphabet of variables and $\sigma$ is a substitution such that $\sigma(x)$ is a set of trees in $T(\Sigma\cup H)\setminus H$ for all $x\in \mathcal{X}$. Here, $H$ denotes a set of "holes" which are used to define a "sorted" concatenation of trees. Conway studied this problem in the special case for languages of finite words in his classical textbook "Regular algebra and finite machines" published in 1971. He showed that if $L$ and $R$ are regular, then the problem "$\exists \sigma \forall x\in \mathcal{X}: \sigma(x)\neq \emptyset\wedge \sigma(L)\subseteq R$?" is decidable. Moreover, there are only finitely many maximal solutions, the maximal solutions are regular substitutions, and they are effectively computable. We extend Conway's results when $L,R$ are regular languages of finite and infinite trees, and language substitution is applied inside-out, in the sense of Engelfriet and Schmidt (1977/78). More precisely, we show that if $L\subseteq T(\Sigma\cup\mathcal{X})$ and $R\subseteq T(\Sigma)$ are regular tree languages over finite or infinite trees, then the problem "$\exists \sigma \forall x\in \mathcal{X}: \sigma(x)\neq \emptyset\wedge \sigma_{\mathrm{io}}(L)\subseteq R$?" is decidable. Here, the subscript "$\mathrm{io}$" in $\sigma_{\mathrm{io}}(L)$ refers to "inside-out". Moreover, there are only finitely many maximal solutions $\sigma$, the maximal solutions are regular substitutions and effectively computable. The corresponding question for the outside-in extension $\sigma_{\mathrm{oi}}$ remains open, even in the restricted setting of finite trees.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1730,
  title = {Regular matching problems for infinite trees},
  author = {Carlos Camino and Volker Diekert and Besik Dundua and Mircea Marin and Géraud Sénizergues},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 18, Issue 1},
  year = {2022},
  doi = {10.46298/lmcs-18(1:25)2022}
}