Reference. Coinduction in flow: the later modality in fibrations

This paper provides a construction on fibrations that gives access to the so-called later modality, which allows for a controlled form of recursion in coinductive proofs and programs. The construction is essentially a generalisation of the topos of trees from the codomain fibration over sets to arbitrary fibrations. As a result, we obtain a framework that allows the addition of a recursion principle for coinduction to rather arbitrary logics and programming languages. The main interest of using recursion is that it allows one to write proofs and programs in a goal-oriented fashion. This enables easily understandable coinductive proofs and programs, and fosters automatic proof search.

Part of the framework are also various results that enable a wide range of applications: transportation of (co)limits, exponentials, fibred adjunctions and first-order connectives from the initial fibration to the one constructed through the framework. This means that the framework extends any first-order logic with the later modality. Moreover, we obtain soundness and completeness results, and can use up-to techniques as proof rules. Since the construction works for a wide variety of fibrations, we will be able to use the recursion offered by the later modality in various context. For instance, we will show how recursive proofs can be obtained for arbitrary (syntactic) first-order logics, for coinductive set-predicates, and for the probabilistic modal mu-calculus. Finally, we use the same construction to obtain a novel language for probabilistic productive coinductive programming. These examples demonstrate the flexibility of the framework and its accompanying results.

Cite

Cite as @basold_2019 (helia, typst) · \cite{basold_2019} (LaTeX)
BibTeX
bibtex · 11 lines
@inproceedings{basold_2019,
 title = {Coinduction in flow: the later modality in fibrations},
 author = {Basold, Henning},
 year = {2019},
 booktitle = {8th Conference on Algebra and Coalgebra in Computer Science (CALCO 2019)},
 series = {LIPIcs},
 volume = {139},
 pages = {8:1--8:22},
 url = {https://doi.org/10.4230/LIPIcs.CALCO.2019.8},
 doi = {10.4230/LIPIcs.CALCO.2019.8}
}
hayagriva YAML (typst)
yaml · 16 lines
basold_2019:
  type: article
  title: 'Coinduction in flow: the later modality in fibrations'
  author: Basold, Henning
  date: 2019
  page-range: 8:1–8:22
  url: https://doi.org/10.4230/LIPIcs.CALCO.2019.8
  serial-number:
    doi: 10.4230/LIPIcs.CALCO.2019.8
  parent:
    type: proceedings
    title: 8th Conference on Algebra and Coalgebra in Computer Science (CALCO 2019)
    volume: 139
    parent:
      type: proceedings
      title: LIPIcs
Cites 71 works (5 here)
With notes (5)

A domain theory for statistical probabilistic programming vakar-2019-a

We give an adequate denotational semantics for languages with recursive higher-order types, continuous probability distributions, and soft constraints. These are expressive languages for building Bayesian models of the kinds used in computational statistics and machine learning. Among them are untyped languages, similar to Church and WebPPL, because our semantics allows recursive mixed-variance datatypes. Our semantics justifies important program equivalences including commutativity. Our new semantic model is based on ‘quasi-Borel predomains’. These are a mixture of chain-complete partial orders (cpos) and quasi-Borel spaces. Quasi-Borel spaces are a recent model of probability theory that focuses on sets of admissible random elements. Probability is traditionally treated in cpo models using probabilistic powerdomains, but these are not known to be commutative on any class of cpos with higher order functions. By contrast, quasi-Borel predomains do support both a commutative probabilistic powerdomain and higher-order functions. As we show, quasi-Borel predomains form both a model of Fiore’s axiomatic domain theory and a model of Kock’s synthetic measure theory.
PDF · DOI · pldb

A convenient category for higher-order probability theory heunen-2017-a

DOI · arXiv

Productive coprogramming with guarded recursion atkey-2013-productive

PDF · DOI · pldb

First steps in synthetic guarded domain theory: step-indexing in the topos of trees birkedalFirstStepsSGDT2012

We present the topos S of trees as a model of guarded recursion. We study the internal dependently-typed higher-order logic of S and show that S models two modal operators, on predicates and types, which serve as guards in recursive definitions of terms, predicates, and types. In particular, we show how to solve recursive type equations involving dependent types. We propose that the internal logic of S provides the right setting for the synthetic construction of abstract versions of step-indexed models of programming languages and program logics. As an example, we show how to construct a model of a programming language with higher-order store and recursive types entirely inside the internal logic of S. Moreover, we give an axiomatic categorical treatment of models of synthetic guarded domain theory and prove that, for any complete Heyting algebra A with a well-founded basis, the topos of sheaves over A forms a model of synthetic guarded domain theory, generalizing the results for S.
DOI

Categorical Logic and Type Theory jacobs-1999

This book is an attempt to give a systematic presentation of both logic and type theory from a categorical perspective, using the unifying concept of fibred category. Its intended audience consists of logicians, type theorists, category theorists and (theoretical) computer scientists.

External (66)
basold_2019 reference entries/refs/basold_2019/basold_2019.hel