2,400 research outputs found
Fibred Fibration Categories
We introduce fibred type-theoretic fibration categories which are fibred
categories between categorical models of Martin-L\"{o}f type theory. Fibred
type-theoretic fibration categories give a categorical description of logical
predicates for identity types. As an application, we show a relational
parametricity result for homotopy type theory. As a corollary, it follows that
every closed term of type of polymorphic endofunctions on a loop space is
homotopic to some iterated concatenation of a loop
Generic Fibrational Induction
This paper provides an induction rule that can be used to prove properties of
data structures whose types are inductive, i.e., are carriers of initial
algebras of functors. Our results are semantic in nature and are inspired by
Hermida and Jacobs' elegant algebraic formulation of induction for polynomial
data types. Our contribution is to derive, under slightly different
assumptions, a sound induction rule that is generic over all inductive types,
polynomial or not. Our induction rule is generic over the kinds of properties
to be proved as well: like Hermida and Jacobs, we work in a general fibrational
setting and so can accommodate very general notions of properties on inductive
types rather than just those of a particular syntactic form. We establish the
soundness of our generic induction rule by reducing induction to iteration. We
then show how our generic induction rule can be instantiated to give induction
rules for the data types of rose trees, finite hereditary sets, and
hyperfunctions. The first of these lies outside the scope of Hermida and
Jacobs' work because it is not polynomial, and as far as we are aware, no
induction rules have been known to exist for the second and third in a general
fibrational framework. Our instantiation for hyperfunctions underscores the
value of working in the general fibrational setting since this data type cannot
be interpreted as a set.Comment: For Special Issue from CSL 201
Codensity Lifting of Monads and its Dual
We introduce a method to lift monads on the base category of a fibration to
its total category. This method, which we call codensity lifting, is applicable
to various fibrations which were not supported by its precursor, categorical
TT-lifting. After introducing the codensity lifting, we illustrate some
examples of codensity liftings of monads along the fibrations from the category
of preorders, topological spaces and extended pseudometric spaces to the
category of sets, and also the fibration from the category of binary relations
between measurable spaces. We also introduce the dual method called density
lifting of comonads. We next study the liftings of algebraic operations to the
codensity liftings of monads. We also give a characterisation of the class of
liftings of monads along posetal fibrations with fibred small meets as a limit
of a certain large diagram.Comment: Extended version of the paper presented at CALCO 2015, accepted for
publication in LMC
Indexed induction and coinduction, fibrationally.
This paper extends the fibrational approach to induction and coinduction pioneered by Hermida and Jacobs, and developed by the current authors, in two key directions. First, we present a sound coinduction rule for any data type arising as the final coalgebra of a functor, thus relaxing Hermida and Jacobs’ restriction to polynomial data types. For this we introduce the notion of a quotient category with equality (QCE), which both abstracts the standard notion of a fibration of relations constructed from a given fibration, and plays a role in the theory of coinduction dual to that of a comprehension category with unit (CCU) in the theory of induction. Second, we show that indexed inductive and coinductive types also admit sound induction and coinduction rules. Indexed data types often arise as initial algebras and final coalgebras of functors on slice categories, so our key technical results give sufficent conditions under which we can construct, from a CCU (QCE) U : E -> B, a fibration with base B/I that models indexing by I and is also a CCU (QCE)
- …