Complexity results on balanced context-free languages

  • Authors:
  • Akihiko Tozawa;Yasuhiko Minamide

  • Affiliations:
  • IBM Research, Tokyo Research Laboratory, IBM Japan ltd.;Department of Computer Science, University of Tsukuba

  • Venue:
  • FOSSACS'07 Proceedings of the 10th international conference on Foundations of software science and computational structures
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Some decision problems related to balanced context-free languages are important for their application to the static analysis of programs generating XML strings. One such problem is the balancedness problem which decides whether or not the language of a given context-free grammar (CFG) over a paired alphabet is balanced. Another important problem is the validation problem which decides whether or not the language of a CFG is contained by that of a regular hedge grammar (RHG). This paper gives two new results; (1) the balancedness problem is in PTIME; and (2) the CFG-RHG containment problem is 2EXPTIME-complete.