Lax314295.RegularOfMSODefinable
MSO-definable languages are regular
concepts/Lax314295/RegularOfMSODefinable.lean · lax-314295
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 118 of the paper of lax-157538, Transducers
Theorem
Every language definable in monadic second-order logic is regular (Theorem C.4.1 of Transducers, Büchi–Elgot–Trakhtenbrot, the implication from definable to regular). It follows from Lemma C.4.2 on formulas with free variables, by induction on the formula: the annotated strings satisfying a formula form a regular language, Boolean connectives are Boolean operations on languages, and a quantifier is a projection of the annotation.
Lean source view on GitHub
| 1 | import Lax314295.MSOLogic |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: MSO-definable languages are regular |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every language definable in monadic second-order logic is regular (Theorem |
| 9 | C.4.1 of *Transducers*, Büchi–Elgot–Trakhtenbrot, the implication from |
| 10 | definable to regular). It follows from Lemma C.4.2 on formulas with free |
| 11 | variables, by induction on the formula: the annotated strings satisfying a |
| 12 | formula form a regular language, Boolean connectives are Boolean operations on |
| 13 | languages, and a quantifier is a projection of the annotation. |
| 14 | |
| 15 | # Formalization notes |
| 16 | |
| 17 | The alphabet is assumed finite, as in the book. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax314295.RegularOfMSODefinable |
| 21 | |
| 22 | open Lax314295.MSOLogic |
| 23 | |
| 24 | /-- An mso-definable language is regular. -/ |
| 25 | axiom isRegular_of_msoDefinable {A : Type} [Finite A] {L : Language A} (hL : MSODefinable L) : |
| 26 | L.IsRegular |
| 27 | |
| 28 | end Lax314295.RegularOfMSODefinable |
| 29 |
Formalization notes
The alphabet is assumed finite, as in the book.
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments