Animating MRBNFs: Truly Modular Binding-Aware Datatypes in Isabelle/HOL

Jan van Brügge, Andrei Popescu, Dmitriy Traytel

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Nominal Isabelle provides powerful tools for meta-theoretic reasoning about syntax of logics or programming languages, in which variables are bound. It has been instrumental to major verification successes, such as Gödel’s incompleteness theorems. However, the existing tooling is not compositional. In particular, it does not support nested recursion, linear binding patterns, or infinitely branching syntax. These limitations are fundamental in the way nominal datatypes and functions on them are constructed within Nominal Isabelle. Taking advantage of recent theoretical advancements that overcome these limitations through a modular approach using the concept of map-restricted bounded natural functor (MRBNF), we develop and implement a new definitional package for binding-aware datatypes in Isabelle/HOL, called MrBNF. We describe the journey from the user specification to the end-product types, constants and theorems the tool generates. We validate MrBNF in two formalization case studies that so far were out of reach of nominal approaches: (1) Mazza’s isomorphism between the finitary and the infinitary affine λ-calculus, and (2) the POPLmark 2B challenge, which involves non-free binders for linear pattern matching.

Original languageEnglish
Title of host publication16th International Conference on Interactive Theorem Proving (ITP 2025)
EditorsYannick Forster, Chantal Keller
PublisherSchloss Dagstuhl - Leibniz-Zentrum für Informatik
ISBN (Electronic)9783959773966
DOIs
Publication statusPublished - 22 Sept 2025
Event16th International Conference on Interactive Theorem Proving 2025 - Reykjavik, Iceland
Duration: 28 Sept 20251 Oct 2025

Publication series

NameLeibniz International Proceedings in Informatics (LIPIcs)
Volume352
ISSN (Print)1868-8969

Conference

Conference16th International Conference on Interactive Theorem Proving 2025
Abbreviated titleITP 2025
Country/TerritoryIceland
CityReykjavik
Period28/09/251/10/25

Keywords

  • datatypes
  • inductive predicates
  • Isabelle/HOL
  • syntax with bindings

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Animating MRBNFs: Truly Modular Binding-Aware Datatypes in Isabelle/HOL'. Together they form a unique fingerprint.

Cite this