JAIST Repository

JAIST Repository

JAIST Repository https://dspace.jaist.ac.jp/ Alternate Stacking Technique Revisited: Inclusion Title Problem of Superdeterministic Pushdown Automata Author(s) Nguyen, Van Tang; Ogawa, Mizuhito Citation IPSJ Transactions on Programming, 1(1): 36-46 Issue Date 2008-06-26 Type Journal Article Text version publisher URL http://hdl.handle.net/10119/7923 社団法人 情報処理学会, Nguyen Van Tang, Mizuhito Ogawa, IPSJ Transactions on Programming, 1(1), 2008, 36-46. ここに掲載した著作物の利用に関する 注意: 本著作物の著作権は(社)情報処理学会に帰属 します。本著作物は著作権者である情報処理学会の許 可のもとに掲載するものです。ご利用に当たっては「 著作権法」ならびに「情報処理学会倫理綱領」に従う ことをお願いいたします。 Notice for the use of this material: The copyright of this material is Rights retained by the Information Processing Society of Japan (IPSJ). This material is published on this web site with the agreement of the author (s) and the IPSJ. Please be complied with Copyright Law of Japan and the Code of Ethics of the IPSJ if any users wish to reproduce, make derivative work, distribute or make available to the public any part or whole thereof. All Rights Reserved, Copyright (C) Information Processing Society of Japan. Description Japan Advanced Institute of Science and Technology IPSJ Transactions on Programming Vol. 1 No. 1 36–46 (June 2008) the length change of stacks is the same. Regular Paper In Ref. 2), the authors used the alternate stacking technique 7) to show that Alternate Stacking Technique Revisited: Inclusion the inclusion problem L(A) ⊆ L(B), where A is a PDA and B is an SPDA, is 2) Problem of Superdeterministic Pushdown Automata decidable. The key idea of the original proof is to construct a simulating push- down automaton M such that L(A) ⊆ L(B)iffL(M)=∅. However, the original Nguyen Van Tang†1 and Mizuhito Ogawa†1 construction encodes everything as stack symbols (in an intricate way), and thus control states and transition rules of M couldnotbegivenindetails.Further- This paper refines the alternate stacking technique used in Greibach- more, to decide the emptiness of M, one has to use an auxiliary procedure to Friedman’s proof of the language inclusion problem L(A) ⊆ L(B), where A is a check whether a configuration of the PDA A is live (i.e., whether a configuration pushdown automaton (PDA) and B is a superdeterministic pushdown automa- ton (SPDA). In particular, we propose a product construction of a simulating reaches an accepting configuration) or not. These properties of their simulat- PDA M, whereas the one given by the original proof encoded everything as a ing PDA M lead to a complicated proof of soundness and completeness for the stack symbol. This construction avoids the need for the “liveness” condition in 2) the alternate stacking technique, and the correctness proof becomes simpler. decision procedure . In this paper, we refine the alternate stacking technique 7) used in Greibach- Friedman’s proof 2). Basically, there are three main steps in the proof of the decidability of the inclusion problem L(A) ⊆ L(B), where A is a PDA and B is an 1. Introduction SPDA. First, establishing Key lemma (Lemma 3.3 2)) to find a bounded number Recent interest in model checking makes us recall inclusion problems. Typi- k that is used for alternate stacking. Second, constructing a simulating PDA cally, the automata theoretic explanation of model checking on finite transition M by using the alternate stacking technique (Section 3). Third, based on the systems is the decidability of the inclusion problem L(A) ⊆ L(B) among finite construction of M in the second step, proving soundness and completeness of the automata, where A and B describe a model and a specification, respectively. construction L(A) ⊆ L(B)iffL(M)=∅ (Section 4). Our refinement contributes The standard methodology for the inclusion problem is to, (1) take the comple- to the last two steps. In particular, we give a more direct product construction ment L(B)c, (2) take the intersection between L(A)andL(B)c, and (3) check of the simulating PDA M, which is different from the one given by the original its emptiness. This also works when A is extended to a pushdown automaton proof, where everything is encoded as a stack symbol. This construction avoids (PDA), but fails when B is extended to a pushdown automaton. To our knowl- the need for the “liveness” condition, and the correctness proof becomes simpler. edge, for decidable inclusion with a general pushdown automaton A,thelargest This paper is organized as follows. In Section 2, we recall the terminology, nota- class of B is the superdeterministic pushdown automata (SPDAs), proposed by tions, and basic definitions of superdeterministic pushdown automata. Section 3 Greibach and Friedman 2). An SPDA is a DPDA satisfying: presents our refinement on the alternate stacking technique used in Ref. 2). We (1) finite delay (i.e., a bounded number of -transitions in a row can be applied show the detailed construction of simulating PDA. This section also gives a sim- to any configuration), and ple example to illustrate our construction technique. Section 4 provides simple ( 2 ) for two configurations sharing the same control state, transitions with the proof of soundness and completeness for the decision procedure, i.e., L(A) ⊆ L(B) same symbol lead to configurations sharing the same control state such that iff L(M)=∅. We discuss some related works on decidable inclusion problems in Section 5. Section 6 concludes the paper. †1 School of Information Science, Japan Advanced Institute of Science and Technology 36 c 2008 Information Processing Society of Japan 37 Alternate Stacking Technique Revisited: Inclusion Problem of Superdeterministic Pushdown Automata The transition relation between configurations is defined by: if (p, X) −→a (q, α), 2. Superdeterministic Pushdown Automata then (p, βX) −→a (q, βα) for any β ∈ Γ∗, and we call it one-step computation.A u v 2.1 Pushdown Automata transition (p, βX) −→ (q, βα)isan-transition.Ifc1 −→ c2 and c2 −→ c3,we ∗ uv Let Σ = {a, b, c, ...} be a finite set of letters. The set Σ denotes all finite words write c1 −→ c3 and call it a computation from c1 to c3 on the input uv.For over Σ. The empty word is denoted by ε. A subset of Σ∗ is called a language. any configuration c,wewritec −→τ c, and we call it a zero-step computation, ∈ ∗ ··· ∈ a1 an Given a nonempty word w Σ we write w = a1a2 an where ai Σ denotes where τa = aτ = a for all a ∈ Σ. A sequence c1 −→ c2 ··· −−→ cn+1 of one-step a1 the i-th letter of w for all 1 ≤ i ≤ n. Let denote head(w) the first letter of w, computations is an n-step computation. If we have an n-step computation c1 −→ | | | | |·| a2 an i.e., head(w) = a1.Thelength w of w is n and ε = 0. The notation also c2 −→ c3 ···−−→ cn+1 with |c1|≤|ci|,1≤ i ≤ n+1, wewrite c1 ↑ (a1 ···an)cn+1. denotes the cardinality of a set, the absolute value of an integer, and the size of This is a stacking computation. a pushdown automaton (see definition below). APDAA is of delay d if, whenever there is a sequence of one-step computations: Definition 1. A pushdown automaton (PDA) A over an alphabet Σ is a tuple c1 −→ c2 −→ c3 ··· −→ cn,thenn − 1 ≤ d (i.e., at most d-rules in a row can be A =(Q, Σ, Γ,Z0, Δ,q0,F),where applied to any configuration). A PDA A is d finite delay if it is of delay d for (1) Q = {p, q, r, ...} is a finite set of control states, some d ≥ 0. It is easy to see that if a PDA is of delay 0, then it is real-time. (2) Γ={X, Y, Z, ...} is a finite set of stack symbols such that Q∩Γ=∅, Z0 ∈ Γ Languages. We consider PDAs accepting by a final state and an empty stack. A is the initial stack symbol, language accepted from a configuration c is L(c)={w ∈ Σ∗ | c −→w (q, ε),q ∈ F }. a (3) Δ is a finite set of transition rules of the form (p, X) −→ (q, α) where The language accepted by a PDA A is L(A)=L((q0,Z0)). The PDAs M1 and ∗ p, q ∈ Q, a ∈ Σ ∪{}, X ∈ Γ,andα ∈ Γ ,and/∈ Σ (empty input word) M2 are equivalent, denoted as M1 ≡ M2, if they accept the same language, i.e., is a special symbol, L(M1)=L(M2). Configurations c1 in M1 and c2 in M2 are equivalent, denoted w (4) q0 is the initial control state, as c1 ≡ c2,ifL(c1)=L(c2). For a configuration c, c is accessible if (q0,Z0) −→ c (5) and F ⊆ Q is a set of final control states. for some w ∈ Σ∗. c is live if c −→w (q, ε)forsomeq ∈ F and some w ∈ Σ∗. a For a rule (p, X) −→ (q, α) ∈ Δ, we call (p, X)themode of the rule with input 2.2 Normalized Pushdown Automata a;ifa = ,thisisan-rule. If no rule is defined for (p, X)inQ × Γ, (p, X) For the purpose of our work, it is convenient to use a normal form of pushdown is a blocking mode.Ifno-rule is defined for mode (p, X)and(p, X)isnota automata. a blocking mode, we call it a reading mode. Wesaythatarule(p, X) −→ (q, α) Definition 2. A pushdown automaton A =(Q, Σ, Γ,Z0, Δ,q0,F) is normalized is a push, internal,orpop rule if |α| = 2,1, or 0, respectively. A PDA is called if a real-time (RPDA) if (p, X) −→ (q, α) ∈ Δ implies that a = .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    12 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us