Finite Automata Included in Deterministic Pushdown Automata #
This file proves the inclusion directly on automata. A DFA is simulated by a
DPDA whose stack alphabet is Unit: every input transition updates the finite
control exactly as the DFA does and replaces the sole stack symbol by itself.
An NFA is first determinized by the subset construction and then passed through
the same simulation.
Main results #
DPDA_of_DFA— the stack-ignoring DPDA associated with a DFA.DPDA_of_DFA_accepts— the construction preserves the accepted language.DFA_subclass_DPDA— every DFA language is a DPDA language.NFA_subclass_DPDA— every NFA language is a DPDA language.
Any accepting run of the simulating DPDA is the corresponding DFA run.
Every language accepted by a DFA is accepted by a DPDA, via DPDA_of_DFA.
DFA-recognizable languages form a subclass of DPDA-recognizable languages.
Every language accepted by an NFA is accepted by a DPDA. The construction
first uses the finite subset construction and then DPDA_of_DFA.
NFA-recognizable languages form a subclass of DPDA-recognizable languages.