Abstract
Visibly pushdown languages are a subclass of deterministic context-free languages that can model nonregular properties of interest in program analysis. This class properly contains typical classes of parenthesized languages like “balanced” and “input-driven” languages. Visibly pushdown languages are closed under boolean operations and some decision problems, such as inclusion and universality, are decidable. In this paper, we study the membership problem for this class of languages and show that it can be solved in time linear in the size of the input grammar and in the length of the input word. The algorithm consists of a reduction to the reachability problem on game graphs. The same approach can be efficiently applied when the input language is given as a visibly pushdown automaton, moreover we also show time complexities of the same problem using other approaches. We further motivate our result showing an application to XML schema.
Work partially supported by funds for the research from MIUR 2006, grant “Metodi Formali per la verifica di sistemi chiusi ed aperti”, Università di Salerno.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Aho, A., Ullman, J.: The theory of Parsing, Translation and Compiling, vol. I. Prentice-Hall, Englewood Cliffs (1973)
Alur, R., Benedikt, M., Etessami, K., Godefroid, P., Reps, T.W., Yannakakis, M.: Analysis of recursive state machines. ACM Trans. Program. Lang. Syst. 27(4), 786–818 (2005)
Alur, R., Kumkar, V., Madhusudan, P., Viswanathan, M.: Congruences for visibly pushdown languages. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 1102–1114. Springer, Heidelberg (2005)
Alur, R., Madhusudan, P.: Visibly Pushdown Languages. In: A preliminary version appears in Proc. of the 36th ACM Symp. on Theory of Computing (STOC 2004), pp. 201–211 (2004), www.cis.upenn.edu/~alur/
Ball, T., Rajamani, S.: Bebop: A Symbolic Model Checker for Boolean Programs. In: Havelund, K., Penix, J., Visser, W. (eds.) SPIN 2000. LNCS, vol. 1885, pp. 113–130. Springer, Heidelberg (2000)
Berstel, J., Boasson, L.: Balanced Grammars and Their Languages. In: Brauer, W., Ehrig, H., Karhumäki, J., Salomaa, A. (eds.) Formal and Natural Computing. LNCS, vol. 2300, pp. 3–25. Springer, Heidelberg (2002)
Berstel, J., Boasson, L.: Formal Properties of XML Grammars and Languages. Acta Informatica 38, 649–671 (2002)
Bouajjani, A., Esparza, J., Maler, O.: Reachability analysis of pushdown automata: Application to model-checking. In: Mazurkiewicz, A., Winkowski, J. (eds.) CONCUR 1997. LNCS, vol. 1243, pp. 135–150. Springer, Heidelberg (1997)
Burkart, O., Steffen, B.: Model Checking for Context-Free Processes. In: Cleaveland, W.R. (ed.) CONCUR 1992. LNCS, vol. 630, pp. 123–137. Springer, Heidelberg (1992)
Dymond, P.W.: Input-driven languages are Recognized in Log n Space. IPL 26, 247–250 (1988)
Esparza, J., Kucera, A., Schwoon, S.: Model checking LTL with regular valuations for pushdown systems. Information and Computation 186(2), 355–376 (2003)
Ginsburg, S., Harrison, M.A.: Bracketed Context-free languages. J. Computer and System Sci. 1, 1–23 (1967)
Henzinger, T.A., Jhala, R., Majumdar, R., Necula, G.C., Sutre, G., Weimer, W.: Temporal-Safety Proofs for Systems Code. In: Brinksma, E., Larsen, K.G. (eds.) CAV 2002. LNCS, vol. 2404, pp. 526–538. Springer, Heidelberg (2002)
Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, Reading (2001)
Knuth, D.E.: A characterization of parenthesis languages. Information and Control 11(3), 269–289 (1967)
Kumkar, V., Madhusudan, P., Viswanathan, M.: Visibly Pushdown Languages for XML. Technical Report UIUCDCS-R-2006-2704, UIUC (2006)
Lynch, N.: Log Space Recognition and Traslation of Parenthesis Languages. J. ACM 24(4), 583–590 (1977)
McNaughton, R.: Parenthesis grammars. J. ACM 14(3), 490–500 (1967)
Reps, T.W., Horwitz, S., Sagiv, S.: Precise Interprocedural Dataflow Analysis via Graph Reachability. In: Proc. of the 22nd Symposium on Principles of Programming Languages (POPL 1995), pp. 49–61 (1995)
Thomas, W.: On the synthesis of strategies in infinite games. In: Mayr, E.W., Puech, C. (eds.) STACS 1995. LNCS, vol. 900, pp. 1–13. Springer, Heidelberg (1995)
von Braunmhl, B., Verbeek, R.: Input-driven languages are Recognized in Log n Space. In: Karpinski, M. (ed.) FCT 1983. LNCS, vol. 158, pp. 40–51. Springer, Heidelberg (1983)
W3C Recommendation. Extensible Markup Language (XML) 1.0, 2nd edn. (October 6, 2000), http://www.w3.org/TR/REC-xml
W3C Recommendation. XML Schema Part 0, 1 and 2 (May 2, 2001), http://www.w3.org/TR/xmlschema-0,1,2
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
La Torre, S., Napoli, M., Parente, M. (2006). On the Membership Problem for Visibly Pushdown Languages. In: Graf, S., Zhang, W. (eds) Automated Technology for Verification and Analysis. ATVA 2006. Lecture Notes in Computer Science, vol 4218. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11901914_10
Download citation
DOI: https://doi.org/10.1007/11901914_10
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-47237-7
Online ISBN: 978-3-540-47238-4
eBook Packages: Computer ScienceComputer Science (R0)