Hole-bounded and phase-bounded languages are incomparable #
The last sentence of Proposition 2 of [AGKR20] states that there is a
language accepted by phase-bounded MPDAs but not by hole-bounded ones, and vice versa. The
witnesses are visibly pushdown languages over a, b, c, d, where a and b push on stacks
0 and 1 and c and d pop from them:
L_bh(MPDA.HoleSeparation.language) is2-hole-bounded (holeBounded_two), but its wordsaᵐ bᵐ (c d)ᵐalternate2 * mpops between the two stacks, so they need2 * mphases.L' = {(a b)ⁿ cⁿ dⁿ}(MPDA.HoleSeparation.phaseLanguage) is2-phase-bounded, but after(a b)ⁿeach of thenpendingas is the first pending push of its own hole.
As in MPDA.HoleSeparation, the statements are for MPDAs that read the letters visibly, and the
separation of languages uses bounded acceptance (MPDA.boundedLanguage). A finite visibly MPDA
MPDA.HoleSeparation.phaseAutomaton recognizes exactly L'.
Main definitions #
MPDA.HoleSeparation.phaseLanguage: the languageL'.MPDA.HoleSeparation.phaseAutomaton: a finite visibly MPDA recognizingL'.
Main results #
MPDA.HoleSeparation.not_phaseBounded: runs onaᵐ bᵐ (c d)ᵐ ∈ L_bhare notK-phase-bounded forK < 2 * m.MPDA.HoleSeparation.phaseBounded_two: runs on words ofL'are2-phase-bounded.MPDA.HoleSeparation.not_holeBounded: runs on(a b)ⁿ cⁿ dⁿ ∈ L'are notK-hole-bounded forK < n.MPDA.HoleSeparation.language_phaseAutomaton:phaseAutomatonrecognizes exactlyL'.MPDA.HoleSeparation.holeBounded_incomparable_phaseBounded:L'is the2-phase-bounded but noK-hole-bounded language of a visibly MPDA, andL_bhthe2-hole-bounded but noK-phase-bounded one.
References #
- [S. Akshay, P. Gastin, S. Krishna, S. Roychowdhury, Revisiting Underapproximate Reachability for Multipushdown Systems] [AGKR20]
L_bh is not phase-bounded #
L_bh is not phase-bounded: a run of a visibly MPDA on aᵐ bᵐ (c d)ᵐ is not
K-phase-bounded for K < 2 * m, since its 2 * m pops alternate between the two stacks. This is
the claim "L_bh is not k-phase bounded" in the proof of Proposition 2 of
[AGKR20] (arXiv:2002.05950v2, printed p. 7).
The language L' #
The language L' = {(a b)ⁿ cⁿ dⁿ} of [AGKR20].
L' is 2-phase-bounded: every run of a visibly MPDA on a word of L' splits into the
phase (a b)ⁿ cⁿ, which pops only from stack 0, and the phase dⁿ. This is the claim "L' is
2-phase bounded" in the proof of Proposition 2 of [AGKR20]
(arXiv:2002.05950v2, printed p. 7).
L' is not hole-bounded #
L' is not hole-bounded: a run of a visibly MPDA on (a b)ⁿ cⁿ dⁿ is not K-hole-bounded
for K < n. After (a b)ⁿ, each pending a is a hole push, since the b after it stays pending
until after its matching c, and two pending as never belong to the same hole, since a b
separates them. This is the claim "L' is not hole-bounded" in the proof of Proposition 2 of
[AGKR20] (arXiv:2002.05950v2, printed p. 7).
An automaton recognizing L' #
Control states of phaseAutomaton: reading (a b)ⁿ before an a (x) or before a b
(y), reading cⁿ (cs), and reading dⁿ (ds).
- x : PhaseState
- y : PhaseState
- cs : PhaseState
- ds : PhaseState
Instances For
The transitions of phaseAutomaton.
- x_a : PhaseStep PhaseState.x (Letter.a, Op.push 0 ()) PhaseState.y
- y_b : PhaseStep PhaseState.y (Letter.b, Op.push 1 ()) PhaseState.x
- x_c : PhaseStep PhaseState.x (Letter.c, Op.pop 0 ()) PhaseState.cs
- cs_c : PhaseStep PhaseState.cs (Letter.c, Op.pop 0 ()) PhaseState.cs
- cs_d : PhaseStep PhaseState.cs (Letter.d, Op.pop 1 ()) PhaseState.ds
- ds_d : PhaseStep PhaseState.ds (Letter.d, Op.pop 1 ()) PhaseState.ds
A visibly MPDA recognizing L': the as and bs push, and the cs and ds pop them.
phaseAutomaton recognizes exactly L'.
The incomparability of languages #
Hole-bounded and phase-bounded languages are incomparable, the last sentence of
Proposition 2 of [AGKR20] (arXiv:2002.05950v2, Section 2.1, printed
pp. 6–7) for visibly MPDAs, with bounded acceptance (MPDA.boundedLanguage). The language L' is
the 2-phase-bounded language of a finite visibly MPDA, which also recognizes exactly L', but
for every K it is not the K-hole-bounded language of any visibly MPDA; and the language L_bh
is the 2-hole-bounded language of a finite visibly MPDA
(language_separates_holeBounded_scopeBounded), but for every K it is not the K-phase-bounded
language of any visibly MPDA. So neither class of languages contains the other.