[Agda] Quotient types in Agda, if you Trust Me

Thorsten Altenkirch Thorsten.Altenkirch at nottingham.ac.uk
Thu May 14 11:33:20 CEST 2015


Just a general remark: if we just want to have hsets we know how to
implement this so that canonicity holds based on our work on Observational
Type Theory. Conor and his team went some way to do when working on
Epigram 2, which alas never was finished.

At some point we discussed adding this to Agda at an AIM. One problem is
that you can¹t just allow pattern matching on inductive families which
implicitly use equality, i.e. which repeat variables (such as
propositional equality itself).

Maybe we should revisit this. However, it would be good to do this in a
way which is compatible with future extensions to capture HoTT properly.

Also we should¹t just have quotient types but 1st order HITs (I call the
quotient-inductive types or QITs). There are a number of applications
where QITs are essential and they generalise quotient types. E.g. This is
used to formalise the Reals in the book and Ambrus and I are working on
Type Theory in Type Theory based on this.

Thorsten





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.



More information about the Agda mailing list