Lax314295.FOOfAperiodic
Aperiodic automata recognise first-order definable languages
concepts/Lax314295/FOOfAperiodic.lean · lax-314295
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 130 of the paper of lax-157538, Transducers
Theorem
Every language recognised by an aperiodic deterministic automaton is definable in first-order logic (Theorem C.4.11 of Transducers, the implication from aperiodic to definable). The automaton, read as a Mealy machine, is a composition of flip-flops by Theorem A.2.8, and the state of a flip-flop at a position is determined by the last resetting letter before it, which first-order logic can express; composing the formulas along the decomposition gives a first-order description of the run.
Lean source view on GitHub
| 1 | import Lax765601.StateTransformations |
| 2 | import Lax314295.MSOLogic |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Aperiodic automata recognise first-order definable languages |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every language recognised by an aperiodic deterministic automaton is |
| 10 | definable in first-order logic (Theorem C.4.11 of *Transducers*, the |
| 11 | implication from aperiodic to definable). The automaton, read as a Mealy |
| 12 | machine, is a composition of flip-flops by Theorem A.2.8, and the state of a |
| 13 | flip-flop at a position is determined by the last resetting letter before it, |
| 14 | which first-order logic can express; composing the formulas along the |
| 15 | decomposition gives a first-order description of the run. |
| 16 | |
| 17 | # Formalization notes |
| 18 | |
| 19 | Aperiodicity is `TransAperiodic` on the transition function of a mathlib |
| 20 | `DFA` with a finite state set. The alphabet is assumed finite. |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax314295.FOOfAperiodic |
| 24 | |
| 25 | open Lax765601.StateTransformations Lax314295.MSOLogic |
| 26 | |
| 27 | /-- The language of an aperiodic dfa is first-order definable. -/ |
| 28 | axiom foDefinable_of_aperiodic_dfa {A σ : Type} [Finite A] [Finite σ] (M : DFA A σ) |
| 29 | (hM : TransAperiodic M.step) : FODefinable M.accepts |
| 30 | |
| 31 | end Lax314295.FOOfAperiodic |
| 32 |
Formalization notes
Aperiodicity is on the transition function of a mathlib with a finite state set. The alphabet is assumed finite.
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