Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Any proof assistant for Observational Type Theory?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Any proof assistant for Observational Type Theory?


Chronological Thread 
  • From: Ilmārs Cīrulis <ilmars.cirulis AT gmail.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Any proof assistant for Observational Type Theory?
  • Date: Fri, 24 Mar 2017 16:28:56 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=ilmars.cirulis AT gmail.com; spf=Pass smtp.mailfrom=ilmars.cirulis AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f45.google.com
  • Ironport-phdr: 9a23:i8uWkBaFlg8CjvzdMLU7MEL/LSx+4OfEezUN459isYplN5qZr869bnLW6fgltlLVR4KTs6sC0LuK9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6ybL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE7/mHZisJ+gqFGrhy/uxNy2JTbbJ2POfdkYq/RYdEXSGxcVchRTSxBBYa8YpMMAeoFOOZdqZP9p0ATphagBAmsHv7vyjtJhn/twKY31OUhEQXD3AM6BdIOq27Yo8n0NKcITOC1yKjIzS7YYvNZ3Dfy8onIchQ7rf6QWrJwdNPcxE8yHA3LiVWQrJbqPzKT1ukVtmiU9ethVOOoi2I9rwFxoyCjxsYwhYXTnI0a1krI9Th6wIotPt24VFR0bsKnEJtXqSGVKZF2Qs0mQ2Fvtic20KEJuZm+fCUM1Z8pxAbfZuSZf4SU5h/vTuWcLDdiiH57Zb6yiQy+/Eegx+D6S8K6ykxFrjBfndnJrn0N1wLc6syASvZl+0euwzeP1wTK5uFaIkA4ibPXK5Auz7MwjJYTvkPDHij5mEXykqCabFkr+u+t6+j/Y7XmoIGTN5Nshw3gLqgjntazDOc4PwQUQWSX5Oqx2Kfs8ED5WLlKi+c5kqjdsJDUP8Qboau5DhdU0oYn7hawFS2m0M8CkXYbLVJFYg+Hj4zoO1HVO/34AvK/jE6tkDdv3fzJIrrhApDVInjZjLjhZap961JbyAcr0d9f4ItUBqgdL/L3R0/+r8fVDgQ5Mgyx2+boEs9x1oIYWWKVA6+WKrnesVGS5rFnH+7ZLoQSoXP2L+Uvz//ol34w31EHN+H91pwOLXu8A/5OIkODYHOqjM1XQkkQuQ9rbejvI0eZGRVSfWu2Xrl0sjA/DYu8FsHIR5qwhL2a9Ci+F5xSIGtBDwbfQj/Ta4yYVqJUO2qpKch7n2lcWA==

Thank you both for answers - Bas and Roman!

On Fri, Mar 24, 2017 at 1:35 PM, Roman <effectfully AT gmail.com> wrote:
Hi. I'm the author of that Agda library. AFAIK there is no real
implementation of OTT. Epigram 2 could be one, but it was never
released. The Francesco Mazzoli's thesis ([1]) is about building a
proof assistant around OTT, but:

> The author learnt the hard way the implementation challenges for such a project, and ran out of time while implementing observational equality. While the constructs and typing rules are present, the machinery to make it happen (equality reduction, coercions, quotation, etc.) is not present yet.

There is also an Agda formalization (my library is not a
formalization) by Conor McBride ([2]), but it's not a usable eDSL (and
has no user-defined data types).

You can use my library for simple things that involve just sigma, pi,
universes, top and bottom, but I use my own version of descriptions,
so in order to introduce new data types into the OTT universe you'll
have to study that generic programming machinery. Inductive families
are supported as well, but are hard to use, because Agda's unification
is nailed to definitional equality, so you have to manually take care
of all the observational unification constraints (see [3]).

All in all, if you want to write something serious with OTT, there
doesn't seem to be an implementation. If you want to feel a taste of
OTT, my library should be fine. In the latter case feel free to ask
questions, I don't have much time now, but I'll try to help.

[1] http://www.doc.ic.ac.uk/teaching/distinguished-projects/2013/f.mazzoli.pdf
[2] http://mazzo.li/epilogue/index.html%3Fp=1098.html
[3] http://stackoverflow.com/questions/38957229/pattern-matching-in-observational-type-theory




Archive powered by MHonArc 2.6.18.

Top of Page