Skip to main content
QUICK REVIEW

[Paper Review] A cartesian closed fibration of higher-order regular languages

Paul-André Melliès, Vincent Moreau|arXiv (Cornell University)|Jan 25, 2026
semigroups and automata theoryComputer Science0 citations
TL;DR

The paper presents two constructions of a cartesian closed fibration of higher-order regular languages and extends Brzozowski derivatives to higher-order settings.

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.

Motivation & Objective

  • Motivate and formalize higher-order regular languages as refinements of simple types in a fibrational setting.
  • Establish closure properties of higher-order regular languages under product, arrow types, and inverse images.
  • Provide two constructions of a cartesian closed fibration: a fibrational approach and a profinite-calculus based approach.
  • Generalize Brzozowski derivatives to higher-order languages using Isbell-like adjunctions.

Proposed method

  • Define Reg as a bifibration over the Lambek-like category Lam with objects (A, L) where L is a regular language of type A.
  • Prove closure under product A × B and arrow A ⇒ B for regular languages (Theorem A).
  • Show that inverse image along a closed lambda-term M: A ⇒ B preserves regularity (Theorem B).
  • Construct two independent proofs of Theorem C that Reg → Lam is a cartesian closed fibration: (i) fibrational approach using reflective morphisms and Frobenius reciprocity; (ii) profinite calculus approach via change-of-base from Clopen over Stone spaces.
  • Use the profinite lambda-calculus to realize Reg via a pullback Reg ← Clopen ← Stone with a change-of-base along the profinite lambda-terms bΛ to recover the fibration.

Experimental results

Research questions

  • RQ1Can higher-order regular languages be closed under product and function-space constructions within a fibrational framework?
  • RQ2Does inverse image along higher-order lambda-terms preserve regularity, and thus enable a cartesian closed fibration Reg → Lam?
  • RQ3How can Brzozowski derivatives be extended to higher-order languages via derivative-like constructions and adjunctions?
  • RQ4Can profinite techniques provide an alternative, conceptually simpler construction of the same cartesian closed fibration?

Key findings

  • Higher-order languages of type A×B and A⇒B are regular when L_A and L_B are regular (Theorem A).
  • Inverse image along a closed lambda-term M: A⇒B preserves regularity, yielding M−1(L) regular if L is regular (Theorem B).
  • The fibration Reg → Lam is cartesian closed, established via two independent constructions (fibrational and profinite).
  • A two-step approach to Brzozowski derivatives for higher-order languages is obtained through Isbell-like adjunctions, generalizing the classical derivative.
  • The colimit construction Reg = colim(Reg[1], Reg[2], …) yields a cartesian closed fibration after applying reflective morphisms and Frobenius reciprocity (Theorem C).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.