From Syntactic Theories to Interpreters: Automating the Proof of Unique Decomposition
- Yong XiaoAffiliated withDepartment of Computer and Information Science, University of Oregon
- , Amr SabryAffiliated withComputer Science Department, Indiana University
- , Zena M. AriolaAffiliated withDepartment of Computer and Information Science, University of Oregon
Rent the article at a discountRent now
* Final gross prices may vary according to local VAT.Get Access
Developing syntactic theories for reasoning about programming languages usually involves proving a unique-decomposition lemma. The proof of such a lemma is tedious, error-prone, and is usually attempted many times during the design of a theory. We therefore investigate the automation of such proofs.
We map the unique-decomposition lemma to the problems of checking equivalence and ambiguity of syntactic definitions. Because checking these properties of context-free grammars is undecidable, we work with regular tree grammars and use algorithms on finite tree automata to perform the checking. To make up for the insufficient expressiveness of regular tree grammars, we extend the basic framework with built-in types and constants, contexts, and polymorphic types.
Our implementation extends an earlier system by Xiao et al.  that translates semantic specifications expressed as syntactic theories to interpreters. We have successfully used the combined system to generate interpreters and verify the unique-decomposition lemma for a number of examples.
- From Syntactic Theories to Interpreters: Automating the Proof of Unique Decomposition
Higher-Order and Symbolic Computation
Volume 14, Issue 4 , pp 387-409
- Cover Date
- Print ISSN
- Online ISSN
- Kluwer Academic Publishers
- Additional Links
- syntactic theories
- proof automation
- regular tree grammars
- finite tree automata
- Industry Sectors