An Improved Implementation and Abstract Interface for Hybrid
Alan J. Martin (University of Ottawa), Amy P. Felty (University of, Ottawa)

TL;DR
This paper enhances the Hybrid framework in Isabelle/HOL by developing an abstract, mathematically rigorous interface that simplifies reasoning about object languages using higher-order abstract syntax, with practical benefits for proofs.
Contribution
The paper introduces an improved, more abstract interface for Hybrid that better encapsulates de Bruijn indices and facilitates higher-level reasoning about object languages.
Findings
New proof of adequacy for Hybrid
Enhanced reasoning capabilities for object logics
Complete characterization of Hybrid primitives at HOAS level
Abstract
Hybrid is a formal theory implemented in Isabelle/HOL that provides an interface for representing and reasoning about object languages using higher-order abstract syntax (HOAS). This interface is built around an HOAS variable-binding operator that is constructed definitionally from a de Bruijn index representation. In this paper we make a variety of improvements to Hybrid, culminating in an abstract interface that on one hand makes Hybrid a more mathematically satisfactory theory, and on the other hand has important practical benefits. We start with a modification of Hybrid's type of terms that better hides its implementation in terms of de Bruijn indices, by excluding at the type level terms with dangling indices. We present an improved set of definitions, and a series of new lemmas that provide a complete characterization of Hybrid's primitives in terms of properties stated at the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, Reasoning, and Knowledge · Advanced Algebra and Logic · Logic, programming, and type systems
