[Paper Review] The Next 700 Challenge Problems for Reasoning with Higher-Order Abstract Syntax Representations: Part 1-A Common Infrastructure for Benchmarks
This paper introduces ORBI, an open repository and common infrastructure for benchmarking systems that reason with binders using higher-order abstract syntax (HOAS). It standardizes context representation and structural reasoning, enabling qualitative comparison of meta-reasoning systems and setting the foundation for future research in logical frameworks and proof environments.
A variety of logical frameworks support the use of higher-order abstract syntax (HOAS) in representing formal systems. Although these systems seem superficially the same, they differ in a variety of ways; for example, how they handle a context of assumptions and which theorems about a given formal system can be concisely expressed and proved. Our contributions in this paper are three-fold: 1) we develop a common infrastructure for representing benchmarks for systems supporting reasoning with binders, 2) we present several concrete benchmarks, which highlight a variety of different aspects of reasoning within a context of assumptions, and 3) we design an open repository ORBI, (Open challenge problem Repository for systems supporting reasoning with BInders). Our work sets the stage for providing a basis for qualitative comparison of different systems. This allows us to review and survey the state of the art, which we do in great detail for four systems in Part 2 of this paper (Felty et al, 2015). It also allows us to outline future fundamental research questions regarding the design and implementation of meta-reasoning systems.
Motivation & Objective
- To address the lack of standardized benchmarks for systems supporting reasoning with binders and higher-order abstract syntax (HOAS).
- To unify diverse approaches to context modeling and structural reasoning (e.g., weakening, exchange, strengthening) across different logical frameworks.
- To establish a common infrastructure that enables qualitative comparison of systems like Twelf, Beluga, Abella, and Hybrid.
- To support future research by identifying fundamental design and implementation challenges in meta-reasoning environments.
- To create a foundation for extensible, extensible specification languages and automated reasoning support in formal systems.
Proposed method
- Designing a unified representation for contexts using operations like rm (remove) and perm (permute), enabling lattice-based reasoning over context relationships.
- Defining a formal specification language within ORBI to express logical judgments, hypothetical and parametric reasoning, and structural properties of contexts.
- Implementing a repository (ORBI) that hosts benchmarks with standardized syntax and semantics for cross-tool comparison.
- Using the framework to encode and compare benchmarks across four systems in Part 2, including challenges involving substitution, logical relations, and coinductive reasoning.
- Supporting both inductive and coinductive reasoning through a modular design that allows extension to infinite behaviors and generalized (co)inductive definitions.
- Integrating support for relational encodings of functions (e.g., depth counting, variable counting) while managing totality and determinacy constraints.
Experimental results
Research questions
- RQ1How can a common infrastructure be designed to standardize benchmarking for systems using higher-order abstract syntax?
- RQ2What are the key differences in how systems model and reason about contexts of assumptions, especially regarding weakening, exchange, and strengthening?
- RQ3How can structural properties of contexts be uniformly represented and verified across diverse logical frameworks?
- RQ4What are the limitations of current HOAS-based systems in handling complex specifications, such as those involving explicit substitutions or higher-order functions?
- RQ5How can future proof environments better support meta-reasoning by abstracting away bureaucratic details like capture-avoiding substitution and renaming?
Key findings
- The ORBI repository provides a standardized, open-source infrastructure for comparing reasoning systems that use higher-order abstract syntax, enabling consistent benchmarking.
- The framework enables a unified treatment of context manipulations—such as weakening, strengthening, and exchange—through formal operations like rm and perm.
- The paper identifies that current HOAS systems often lack built-in support for basic decision procedures (e.g., arithmetic via Coq’s omega), forcing users to re-prove trivial facts.
- Many systems still require relational encodings for functional specifications (e.g., counting bound variables), which introduces proof obligations for totality and determinacy.
- Logical relations and reducibility candidates, essential for proofs like strong normalization, are difficult to express directly in systems like Twelf but are feasible in Beluga and Abella with different encodings.
- The framework supports a lattice-theoretic view of contexts, where context relationships can be modeled via join operations and order relations (e.g., x ≤ y via rm operations), paving the way for advanced reasoning and proof translation between systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.