Coder Social home page Coder Social logo

w-types-in-setoids's Introduction

W-types-in-setoids

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

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. In particular, we characterise the setoid of algebra morphisms from the (candidate) initial algebra to a given algebra as a setoid on a dependent W-type. We conclude discussing the case of discrete (i.e. free) setoids. By using dependent W-types, we avoid other assumptions like elimination into a type universe or Uniqueness of Identity Proofs, that are used in constructions by Palmgren and by van den Berg, respectively. The results have been verified in Coq and a formalisation is available on the author's GitHub page.

Reference is given in the source files to definitions and statements in the paper.

The paper is mapped to this repository as follows:

Section n --> S(n-2)*.v

Not everything in Section 2 is formalised here. In particular, the formalisation does not include proofs of Theorems 2.8 and 2.9. For a Coq proof of the latter, see Palmgren, LCC setoids in Coq.

N.B. The file S20_AlgGlue.v takes a little more time to type-check than the other files.

w-types-in-setoids's People

Contributors

j-emmen avatar

Stargazers

El Pin Al avatar Tim Kersey avatar Yiqi Xu avatar Nikita avatar

Watchers

 avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.