Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax52.NFAToMSO

Finite automata are MSO-definable

concepts/Lax52/NFAToMSO.lean · lax-52

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.

    Concept map

    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Evidence

    Each proof establishes this claim relative to its assumptions.

    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

    1import Lax52.NFARecognizable
    2import Lax52.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 Lax52.NFAToMSO
    16
    17open Lax52.MSOSyntax
    18open Lax52.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 Lax52.NFAToMSO
    27
    Show Proof

    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

    Loading discussion…