Renaming states and symbols #
Injections eS of states and eY of symbols rename actions (Turing.Action.map) and
configurations (Turing.Cfg.map). The renamed machine Turing.MultiTapeTM.map eS eY tm acts as
tm on renamed states and symbols and halts elsewhere, so its runs from renamed configurations are
the renamed runs of tm.
Main definitions #
Turing.Action.map,Turing.Cfg.map: renamed actions and configurations.Turing.MultiTapeTM.map: the renamed machine.
Main results #
Turing.MultiTapeTM.runFrom_map_map: the run of the renamed machine is the renamed run.
noncomputable def Turing.MultiTapeTM.map {k : ℕ} {Symbol : Type u_1} {State : Type u_2} {Symbol' : Type u_3} {State' : Type u_4} (eS : State ↪ State') (eY : Symbol ↪ Symbol') (tm : MultiTapeTM k Symbol State) :
MultiTapeTM k Symbol' State'
tm with renamed states and symbols: on renamed states and symbols it acts as tm, elsewhere
it halts.
Instances For
theorem Turing.MultiTapeTM.step_map {k : ℕ} {Symbol : Type u_1} {State : Type u_2} {Symbol' : Type u_3} {State' : Type u_4} {input : List Symbol} (eS : State ↪ State') (eY : Symbol ↪ Symbol') (tm : MultiTapeTM k Symbol State) (c : Cfg k Symbol State input) :
A step of the renamed machine is the renamed step.
theorem Turing.MultiTapeTM.runFrom_map_map {k : ℕ} {Symbol : Type u_1} {State : Type u_2} {Symbol' : Type u_3} {State' : Type u_4} {input : List Symbol} (eS : State ↪ State') (eY : Symbol ↪ Symbol') (tm : MultiTapeTM k Symbol State) (c : Cfg k Symbol State input) (t : ℕ) :
The run of the renamed machine is the renamed run.