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

Proof of `First-order relabellings are computed by aperiodic bimachines`

groundedproofs/Lax314295Proofs/Results.lean · lax-314295

What this proof establishes

Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.

Read the Lean proof on GitHub

Description

A first-order relabelling is computed by an aperiodic bimachine (Theorem C.4.16, the first implication): aperiodic automata for the formulas run from both ends (Transducers.foRelabellingiffaperiodicBimachineTransducers.foRelabelling_iff_aperiodicBimachine, left to right).

Proof strategy

The source turns every formula of the relabelling, with its free variable replaced by a marked position, into a first-order sentence, recognises it by an aperiodic dfa (Theorem C.4.11) and by its reverse, and assembles the products into a bimachine whose left and right automata are aperiodic (PartC/FORev.leanPartC/FORev.lean, PartC/FOPos.leanPartC/FOPos.lean, PartC/FORelabBimach.leanPartC/FORelabBimach.lean). The bridge transports the relabelling along toSrcReltoSrcRel with AllFOAllFO; aperiodic bimachines come from Part B's bridge.

Attribution

Theorem C.4.16 of Transducers, Part C; formalised by Aristotle (Harmonic), PartC/FORelabBimach.leanPartC/FORelabBimach.lean, PartC/MSO.leanPartC/MSO.lean.