Relabelling nondeterministic automata along a letter map #
Given a letter map f : Symbol → Symbol' and a nondeterministic automaton na over Symbol,
na.map f is the automaton over Symbol' with the same states, start and accepting states, which
can step from s to t on b whenever na can step from s to t on some letter a with
f a = b. It accepts exactly the image Language.map f (language na): this is the projection
step of the translation of monadic second-order logic into automata
Thomas, Section 3.
Unlike NA.FinAcc.preimage, which pulls an automaton back along a language homomorphism, map
pushes it forward along a letter-to-letter map, so it needs nondeterminism even when na is
deterministic.
Main definitions #
Cslib.Automata.NA.FinAcc.map: relabel the transitions of an automaton along a letter map.
Main results #
Cslib.Automata.NA.FinAcc.map_mTr: the multistep transitions ofna.map fare the images of those ofna.Cslib.Automata.NA.FinAcc.map_language_eq:na.map facceptsLanguage.map f (language na).
References #
Relabel the transitions of an automaton along a letter map f: na.map f steps from s to
t on b when na steps from s to t on some letter a with f a = b.