Reasoning with Higher-Order Abstract Syntax and Contexts: A Comparison
A variety of logical frameworks support the use of higher-order abstract syntax (HOAS) in representing formal systems given via axioms and inference rules and reasoning about them. In such frameworks, object-level binding is encoded directly using meta-level binding. Although these systems seem superficially the same, they differ in a variety of ways; for example, in how they handle a context of assumptions and in what theorems about a given formal system can be expressed and proven. In this paper, we present several case studies which highlight a variety of different aspects of reasoning using HOAS, with the intention of providing a basis for qualitative comparison of different systems. We then carry out such a comparison among three systems: Twelf, Beluga, and Hybrid. We also develop a general set of criteria for comparing such systems. We hope that others will implement these challenge problems, apply these criteria, and further our understanding of the trade-offs involved in choosing one system over another for this kind of reasoning.
KeywordsInference Rule Deductive System Recursive Call Logical Framework Sequent Calculus
Unable to display preview. Download preview PDF.
- 1.Aydemir, B., et al.: Mechanized metatheory for the masses: The POPLmark challenge. In: Hurd, J., Melham, T.F. (eds.) TPHOLs 2005. LNCS, vol. 3603, pp. 50–65. Springer, Heidelberg (2005)Google Scholar
- 4.Dunfield, J., Pientka, B.: Case analysis of higher-order data. In: LFMTP’08. Electr. Notes in Theor. Comput. Sci, vol. 228, pp. 69–84 (2009)Google Scholar
- 5.Felty, A.P., Momigliano, A.: Hybrid: A definitional two-level approach to reasoning with higher-order abstract syntax. CoRR, abs/0811.4367 (2008)Google Scholar
- 10.Momigliano, A., Martin, A.J., Felty, A.P.: Two-level Hybrid: A system for reasoning using higher-order abstract syntax. In: LFMTP’07. Electr. Notes Theor. Comput. Sci, vol. 196, pp. 85–93 (2008)Google Scholar
- 17.Schürmann, C.: Automating the Meta Theory of Deductive Systems. PhD thesis, Department of Computer Science, Carnegie Mellon University. CMU-CS-00-146 (2000)Google Scholar