proven
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Evidence
Each proof establishes this claim relative to its assumptions.
-
no assumptions
thm✓Lax52.NFAToMSO
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.
Lean source view on GitHub
| 1 | import Lax52.NFARecognizable |
| 2 | import Lax52.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 Lax52.NFAToMSO |
| 16 | |
| 17 | open Lax52.MSOSyntax |
| 18 | open Lax52.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 Lax52.NFAToMSO |
| 27 |
Used by
From Mathlib
none
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