Formalising Inductive and Coinductive Containers

Containers capture the concept of strictly positive data types in programming. The original development of containers is done in the internal language of locally cartesian closed categories (LCCCs) with disjoint coproducts and W-types, and uniqueness of identity proofs (UIP) is implicitly assumed throughout. Although it is claimed that these developments can also be interpreted in extensional Martin-L"of type theory, this interpretation is not made explicit. In this paper, we present a formalisation of the results that `containers preserve least and greatest fixed points' in \cubicalagda, thereby giving a formulation in intensional type theory. Our proofs do not make use of UIP and thereby generalise the original results from talking about container functors on $\mathsf{Set}$ to container functors on the wild category of types. Our main incentive for using \cubicalagda is that its path type restores the equivalence between bisimulation and coinductive equality. Thus, besides developing container theory in a more general setting, we also demonstrate the usefulness of \cubicalagda's path type to coinductive proofs.

Publication Details

Journal
Repository@Nottingham (University of Nottingham)
Published
2025-10-01
Primary Topic
High voltage insulation and dielectric phenomena
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formalising Inductive and Coinductive Containers

Repository@Nottingham (University of Nottingham)
High voltage insulation and dielectric phenomena
article

Formalising Inductive and Coinductive Containers

article en

Abstract

Containers capture the concept of strictly positive data types in programming. The original development of containers is done in the internal language of locally cartesian closed categories (LCCCs) with disjoint coproducts and W-types, and uniqueness of identity proofs (UIP) is implicitly assumed throughout. Although it is claimed that these developments can also be interpreted in extensional Martin-L\"of type theory, this interpretation is not made explicit. In this paper, we present a formalisation of the results that `containers preserve least and greatest fixed points' in \cubicalagda, thereby giving a formulation in intensional type theory. Our proofs do not make use of UIP and thereby generalise the original results from talking about container functors on $\mathsf{Set}$ to container functors on the wild category of types. Our main incentive for using \cubicalagda is that its path type restores the equivalence between bisimulation and coinductive equality. Thus, besides developing container theory in a more general setting, we also demonstrate the usefulness of \cubicalagda's path type to coinductive proofs.

Repository@Nottingham (University of Nottingham)
Partnerships for the goals
Openalex Percentile: Top 59%
High voltage insulation and dielectric phenomena
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.