Reference. Compositional Program Verification with Polynomial Functors in Dependent Type Theory

We present a framework for compositional program verification based on polynomial functors in dependent type theory. In this framework, polynomial functors serve as program interfaces, Kleisli morphisms for the free monad monad serve as implementations, and dependent polynomials encode pre/postcondition specifications. We show that implementations and their verifications compose via wiring diagrams, and that Mealy machines provide a compositional coalgebraic operational semantics. We identify the abstract categorical structure underlying this compositionality as a monoidal functor from specifications to interfaces with a compatible monoidal natural transformation of lax monoidal presheaves; this opens the door to generalizations to other categories, monoidal products, etc., including settings for concurrency and relational verification, which we sketch. As a proof-of-concept, the entire framework has been formalized in Agda.

Cite

Cite as @aberle-2026-compositional (helia, typst) · \cite{aberle-2026-compositional} (LaTeX)
BibTeX
bibtex · 8 lines
@misc{aberle-2026-compositional,
  author = {CB Aberle},
  title = {Compositional Program Verification with Polynomial Functors in Dependent Type Theory},
  year = {2026},
  month = {4},
  eprint = {2604.01303},
  archiveprefix = {arXiv}
}
hayagriva YAML (typst)
yaml · 7 lines
aberle-2026-compositional:
  type: misc
  title: Compositional Program Verification with Polynomial Functors in Dependent Type Theory
  author: Aberle, CB
  date: 2026-04
  serial-number:
    arxiv: '2604.01303'
Cites 10 works (1 here)
With notes (1)

Wellfounded Trees and Dependent Polynomial Functors gambino_wellfounded_2004

We set out to study the consequences of the assumption of types of wellfounded trees in dependent type theories. We do so by investigating the categorical notion of wellfounded tree introduced in [16]. Our main result shows that wellfounded trees allow us to define initial algebras for a wide class of endofunctors on locally cartesian closed categories.
DOI
aberle-2026-compositional reference entries/refs/aberle-2026-compositional/aberle-2026-compositional.hel