计算机科学 > 形式语言与自动机理论
[提交于 2025年7月4日]
标题:Deciding Sparseness of Regular Languages of Finite Trees and Infinite Words
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study the notion of sparseness for regular languages over finite trees and infinite words. A language of trees is called sparse if the relative number of $n$-node trees in the language tends to zero, and a language of infinite words is called sparse if it has measure zero in the Bernoulli probability space. We show that sparseness is decidable for regular tree languages and for regular languages of infinite words. For trees, we provide characterisations in terms of forbidden subtrees and tree automata, leading to a linear time decision procedure. For infinite words, we present a characterisation via infix completeness and give a novel proof of decidability. Moreover, in the non-sparse case, our algorithm computes a measurable subset of accepted words that can serve as counterexamples in almost-sure model checking. Our findings have applications to automata based model checking in formal verifications and XML schemas, among others.
提交历史
来自:Kord Eickmeyer[v1] 2025年7月4日 星期五 10:39:52 UTC