Aperiodicity, Star-freeness, and First-order Logic Definability of Operator Precedence Languages
Dino Mandrioli, Matteo Pradella, Stefano Crespi Reghizzi

TL;DR
This paper extends the classic equivalence between star-freeness, aperiodicity, and first-order logic definability from regular languages to operator-precedence languages, a broad class of deterministic context-free languages used in programming language syntax.
Contribution
It introduces OP-expressions to characterize OPLs and proves aperiodic OPLs are first-order definable, generalizing fundamental formal language theory results.
Findings
Aperiodic OPLs are shown to be first-order definable.
Established the equivalence among star-freeness, aperiodicity, and first-order logic for OPLs.
Proposed a grammar transformation method to prove these properties.
Abstract
A classic result in formal language theory is the equivalence among non-counting, or aperiodic, regular languages, and languages defined through star-free regular expressions, or first-order logic. Past attempts to extend this result beyond the realm of regular languages have met with difficulties: for instance it is known that star-free tree languages may violate the non-counting property and there are aperiodic tree languages that cannot be defined through first-order logic. We extend such classic equivalence results to a significant family of deterministic context-free languages, the operator-precedence languages (OPL), which strictly includes the widely investigated visibly pushdown, alias input-driven, family and other structured context-free languages. The OP model originated in the '60s for defining programming languages and is still used by high performance compilers; its rich…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Ferroelectric and Negative Capacitance Devices · Formal Methods in Verification
