W-types in setoids

Jacopo Emmenegger
9/7/2018
math.LO

Official code: j-emmen/W-types-in-setoids (5 stars, Coq, last commit 2022-12-25).

Abstract

We present a construction of W-types in the setoid model of extensional Martin-Löf type theory using dependent W-types in the underlying intensional theory. More precisely, we prove that the internal category of setoids has initial algebras for polynomial endofunctors.

Show full abstract

In particular, we characterise the setoid of algebra morphisms from the initial algebra to a given algebra as a setoid on a dependent W-type. We conclude by discussing the case of free setoids. We work in a fully intensional theory and, in fact, we assume identity types only when discussing free setoids. By using dependent W-types we can also avoid elimination into a type universe. The results have been verified in Coq and a formalisation is available on the author's GitHub page.

View on arXivView PDF

Code Implementations(1)

This is the Coq formalisation of the paper "W-types in setoids", arXiv:1809.02375.

50CoqSep 11, 20193 years ago

Similar Papers

Cite this paper

@article{emmenegger2018wtypes,
  title  = {W-types in setoids},
  author = {Jacopo Emmenegger},
  year   = {2018},
  eprint = {1809.02375},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.02375}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.02375.svg)](https://codeofpaper.com/paper/1809.02375)

Discussion