pith. sign in

arxiv: 1505.03343 · v3 · pith:UEW2QLLJnew · submitted 2015-05-13 · 💻 cs.FL

Zero-One Law for Regular Languages and Semigroups with Zero

classification 💻 cs.FL
keywords zero-oneregularlanguagelanguageszerobooleanprovealgebraic
0
0 comments X
read the original abstract

A regular language has the zero-one law if its asymptotic density converges to either zero or one. We prove that the class of all zero-one languages is closed under Boolean operations and quotients. Moreover, we prove that a regular language has the zero-one law if and only if its syntactic monoid has a zero element. Our proof gives both algebraic and automata characterisation of the zero-one law for regular languages, and it leads the following two corollaries: (i) There is an O(n log n) algorithm for testing whether a given regular language has the zero-one law. (ii) The Boolean closure of existential first-order logic over finite words has the zero-one law.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.