• Media type: Text; E-Article; Electronic Conference Proceeding
  • Title: Improved Functional Flow and Reachability Analyses Using Indexed Linear Tree Grammars
  • Contributor: Kochems, Jonathan [Author]; Ong, C.H. Luke [Author]
  • Published: Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2011
  • Language: English
  • DOI: https://doi.org/10.4230/LIPIcs.RTA.2011.187
  • Keywords: collecting semantics ; term rewriting ; higher-order program ; indexed linear tree grammar ; reachability ; Flow analysis
  • Origination:
  • Footnote: Diese Datenquelle enthält auch Bestandsnachweise, die nicht zu einem Volltext führen.
  • Description: The collecting semantics of a program defines the strongest static property of interest. We study the analysis of the collecting semantics of higher-order functional programs, cast as left-linear term rewriting systems. The analysis generalises functional flow analysis and the reachability problem for term rewriting systems, which are both undecidable. We present an algorithm that uses indexed linear tree grammars (ILTGs) both to describe the input set and compute the set that approximates the collecting semantics. ILTGs are equi-expressive with pushdown tree automata, and so, strictly more expressive than regular tree grammars. Our result can be seen as a refinement of Jones and Andersen's procedure, which uses regular tree grammars. The main technical innovation of our algorithm is the use of indices to capture (sets of) substitutions, thus enabling a more precise binding analysis than afforded by regular grammars. We give a simple proof of termination and soundness, and demonstrate that our method is more accurate than other approaches to functional flow and reachability analyses in the literature.
  • Access State: Open Access