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

Lax314295.RationalOfRelabelling

MSO relabellings are rational

concepts/Lax314295/RationalOfRelabelling.lean · lax-314295

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.

    In the paper

    Theorem

    Every function definable by an mso relabelling is rational (Theorem C.4.4 of Transducers, Bloem–Engelfriet, the implication from relabelling to rational). By Claim C.4.6 the strings annotated at every position with the formula true there form a regular language, so an automaton with output guesses the annotation, checks it, and outputs the output map of the guessed formulas.

    Lean source view on GitHub

    1import Lax132576.RationalFunctions
    2import Lax314295.MSORelabellings
    3
    4/-!
    5---
    6title: MSO relabellings are rational
    7type: theorem
    8---
    9Every function definable by an mso relabelling is rational (Theorem C.4.4 of
    10*Transducers*, Bloem–Engelfriet, the implication from relabelling to rational).
    11By Claim C.4.6 the strings annotated at every position with the formula true
    12there form a regular language, so an automaton with output guesses the
    13annotation, checks it, and outputs the output map of the guessed formulas.
    14
    15# Formalization notes
    16
    17Both alphabets are assumed finite, as in the book.
    18-/
    19
    20namespace Lax314295.RationalOfRelabelling
    21
    22open Lax132576.RationalFunctions Lax314295.MSORelabellings
    23
    24/-- A function definable by an mso relabelling is rational. -/
    25axiom isRationalFun_of_isMSORelabelling {A B : Type} [Finite A] [Finite B]
    26 {f : List A → List B} (hf : IsMSORelabelling f) : IsRationalFun f
    27
    28end Lax314295.RationalOfRelabelling
    29
    Show Proof

    Formalization notes

    Both alphabets are assumed finite, as in the book.

    Used by

    none

    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

    Loading discussion…