Finite automata are MSO-definable

Lax146103.NFAToMSO · concepts/Lax146103/NFAToMSO.lean · lax-146103

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural 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
    5 concepts; 1 descendant hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax146103.NFARecognizable
    2import Lax146103.WordStructure
    3
    4/-!
    5---
    6title: Finite automata are MSO-definable
    7type: theorem
    8---
    9
    10Every nondeterministic finite automaton over a finite alphabet has a monadic
    11second-order sentence that holds on exactly the words accepted by the
    12automaton.
    13-/
    14
    15namespace Lax146103.NFAToMSO
    16
    17open Lax146103.MSOSyntax
    18open Lax146103.WordStructure
    19
    20universe u
    21
    22axiom 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
    26end Lax146103.NFAToMSO
    27
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…