Table of Contents
Fetching ...

A cartesian closed fibration of higher-order regular languages

Paul-André Melliès, Vincent Moreau

TL;DR

The paper addresses how to realize a cartesian-closed fibration of higher-order regular languages, extending recognizability from finite words to simply-typed λ-terms. It delivers two independent constructions: a fibrational approach based on $Q$-regular languages and a topological/profinite approach leveraging Stone duality and the profinite λ-calculus, both yielding the cartesian-closed fibration $p: ext{Reg} o oldsymbol{ ext{Lam}}$. It further extends Brzozowski derivatives to higher-order languages via an Isbell-like adjunction and investigates openness of λ-terms, culminating in a comprehensive account of two complementary viewpoints and their implications for higher-order automata theory. This framework connects recognizability, topology, and type-theoretic semantics, and points toward potential MSO-like logics for higher-order languages with practical implications for formal reasoning about λ-terms and their languages.

Abstract

We explain how to construct in two different ways a cartesian closed fibration of higher-order regular languages in the sense of Salvati. In the first construction, we use fibrational techniques to derive the cartesian closed fibration from the various categories of regular languages of $λ$-terms associated to finite sets of ground states. In the second construction, we take advantage of the recent notion of profinite $λ$-calculus to define the cartesian closed fibration by a change-of-base from the fibration of clopen subsets over the category of Stone spaces, using an elegant idea coming from Hermida. We illustrate the expressive power of the cartesian closed fibration by generalizing the notion of Brzozowski derivative to higher-order regular languages, using an Isbell-like adjunction in the sense of Melliès and Zeilberger.

A cartesian closed fibration of higher-order regular languages

TL;DR

The paper addresses how to realize a cartesian-closed fibration of higher-order regular languages, extending recognizability from finite words to simply-typed λ-terms. It delivers two independent constructions: a fibrational approach based on -regular languages and a topological/profinite approach leveraging Stone duality and the profinite λ-calculus, both yielding the cartesian-closed fibration . It further extends Brzozowski derivatives to higher-order languages via an Isbell-like adjunction and investigates openness of λ-terms, culminating in a comprehensive account of two complementary viewpoints and their implications for higher-order automata theory. This framework connects recognizability, topology, and type-theoretic semantics, and points toward potential MSO-like logics for higher-order languages with practical implications for formal reasoning about λ-terms and their languages.

Abstract

We explain how to construct in two different ways a cartesian closed fibration of higher-order regular languages in the sense of Salvati. In the first construction, we use fibrational techniques to derive the cartesian closed fibration from the various categories of regular languages of -terms associated to finite sets of ground states. In the second construction, we take advantage of the recent notion of profinite -calculus to define the cartesian closed fibration by a change-of-base from the fibration of clopen subsets over the category of Stone spaces, using an elegant idea coming from Hermida. We illustrate the expressive power of the cartesian closed fibration by generalizing the notion of Brzozowski derivative to higher-order regular languages, using an Isbell-like adjunction in the sense of Melliès and Zeilberger.
Paper Structure (9 sections, 10 theorems, 91 equations)

This paper contains 9 sections, 10 theorems, 91 equations.

Key Result

theorem 1

For any "cartesian closed fibration" $p : \mathbf{E} \to \mathbf{B}$ and "cartesian functor" $F : \mathbf{C}\to \mathbf{B}$, the category $\metapull{\mathbf{E}}{F}$ which is the pullback \begin{tikzcd}[ampersand replacement=\&] {\metapull{\E}{F}} \& \E \\ \Ccategory\& \B where the canonical morphism is obtained by currying the image of the evaluation morphism by $F$. M

Theorems & Definitions (21)

  • definition 1
  • definition 2
  • definition 3
  • theorem 1
  • definition 4
  • definition 5
  • proposition 1
  • theorem 2
  • definition 6
  • definition 7
  • ...and 11 more