Quotients of Bounded Natural Functors
Basil F\"urer, Andreas Lochbihler, Joshua Schneider, Dmitriy Traytel

TL;DR
This paper investigates conditions under which quotient types inherit bounded natural functor (BNF) structures in higher-order logic, extending the theory and automating the process in Isabelle/HOL with practical case studies.
Contribution
It identifies sufficient conditions for quotients to inherit BNF structures and introduces an automated command in Isabelle/HOL to facilitate this process.
Findings
Quotients do not always inherit BNF structure with naive lifting.
A more general lifting scheme supports problematic quotients.
Automated command reduces proof effort in Isabelle/HOL.
Abstract
The functorial structure of type constructors is the foundation for many definition and proof principles in higher-order logic (HOL). For example, inductive and coinductive datatypes can be built modularly from bounded natural functors (BNFs), a class of well-behaved type constructors. Composition, fixpoints, and, under certain conditions, subtypes are known to preserve the BNF structure. In this article, we tackle the preservation question for quotients, the last important principle for introducing new types in HOL. We identify sufficient conditions under which a quotient inherits the BNF structure from its underlying type. Surprisingly, lifting the structure in the obvious manner fails for some quotients, a problem that also affects the quotients of polynomial functors used in the Lean proof assistant. We provide a strictly more general lifting scheme that supports such problematic…
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.
