Finite automata are MSO-definable
Lax146103.NFAToMSO · concepts/Lax146103/NFAToMSO.lean · lax-146103
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every nondeterministic finite automaton over a finite alphabet has a monadic second-order sentence that holds on exactly the words accepted by the automaton.
Concept map
Lean source view on GitHub
| 1 | import Lax146103.NFARecognizable |
| 2 | import Lax146103.WordStructure |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Finite automata are MSO-definable |
| 7 | type: theorem |
| 8 | --- |
| 9 | |
| 10 | Every nondeterministic finite automaton over a finite alphabet has a monadic |
| 11 | second-order sentence that holds on exactly the words accepted by the |
| 12 | automaton. |
| 13 | -/ |
| 14 | |
| 15 | namespace Lax146103.NFAToMSO |
| 16 | |
| 17 | open Lax146103.MSOSyntax |
| 18 | open Lax146103.WordStructure |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | axiom nfa_definable_by_mso {Sigma : Type u} [Fintype Sigma] |
| 23 | {Q : Type} [Fintype Q] (M : NFA Sigma Q) : |
| 24 | ∃ phi : MSOSyntax.Sentence (wordLanguage Sigma), M.accepts = sentenceLanguage phi |
| 25 | |
| 26 | end Lax146103.NFAToMSO |
| 27 |
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments