PDA1
PDA1
PDA1
• Empty stack is λ.
In PDA the stack holds a special symbol Z0 that indicates the bottom of the stack.
Pushdown Automaton
Formally, a pushdown automaton is a nondeterministic machine defined
by the 7-tuple (Q, Σ, Γ, δ, q0, Z0, F), where
,Q is a finite set of states -
- Σ is an input alphabet ,
- Γ is the stack alphabet of symbols that can be pushed on the stack,
δ : Q × Σε × Γε → P(Q × Γ*) is the transition function, where no tuple is -
,mapped to an infinite set
- q0 ∈ Q is the start state,
- Z0 ∈ Γ is the stack start symbol, and
- F ⊆ Q is the set of accepting states.
NOTES
● The automaton accepts if it ends in an accepting state with no
input remaining.
● The language of a PDA is the set of strings that the PDA accepts:
L(P) = { w ∈ Σ* | P accepts w }
● If P is a PDA where L(P) = L, we say that P recognizes L.
Input symbol Top of stack Stack operations
Push or Pop
(a , Z0 ̸ a Z0 )