coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason -Zhong Sheng- Hu <fdhzs2010 AT hotmail.com>
- To: Coq-Club Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] HoTT ideas already present in CIC?
- Date: Sat, 26 May 2018 19:32:23 +0000
- Accept-language: en-CA, en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=fdhzs2010 AT hotmail.com; spf=Pass smtp.mailfrom=fdhzs2010 AT hotmail.com; spf=Pass smtp.helo=postmaster AT NAM01-SN1-obe.outbound.protection.outlook.com
- Ironport-phdr: 9a23:rKMaChH28kEbmAUWBm/W4J1GYnF86YWxBRYc798ds5kLTJ7zoMmwAkXT6L1XgUPTWs2DsrQY07GQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDSwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelas4byqEADogGiCQWwHu7j1iNEimHw0KYn0+ohCwbG3Ak4EtwKqnvUt9L1NKEPWuysz6bIzTLDb/VZ2Tzg9YbIcg4uofeDXb5pbMHfy1QvHB7Cg1WetIPlPzKU1v8Tv2SH8uZsSfmii24gqwFtpzig3MYsio3Tio0JzVDE8Dx0zYAoLtO7UE52edGpHIdKuyyeKYd6WN0uT3t1tComybAKoZC7czYJxZg7whPSbvKKfJWM7x/tUeueOyx3iXx4dL+6mxmy/0qtyuP5W8aozFlHoCRFn9/RvX4XzRPT8NKISv5l80ehxzmP0wfT5/lcL00okqTXN4MtzqctmJQLrEjPByj2l17og6OMcUUk5/So5P/gYrX7oJ+TKpV4ihnkMqQphsywH/g3MhQPX2ic/+Swzrrj/VDlQLVOif02larZvIrGKsQco661Gw5V0oA95BajFzqr38gUkWMDIV5bYh6LkZLlN0zSLP37Ffu/hk6jkDZvx/DIJL3hBZDNI2DNkLj8fbZ86lVcxBQvwdxC+55ZEbEBIPXvWk/0rtPYDxs5PxaozObgDdVxzpkeVn6XAq+FLKPStkeF6f4oI+mVfYMapDL9K+U+6PP1ln84mVodfbGz0pcNaXC4GO5mI0SDbnb2jNcBCzRCgg1rZ+vzzXaGTDQbTHKvVepo7TYiTYmiEI3rR4a3gbXH0j3tTbNMYWUTKFmXFnGgMreEXPEDIBmSL8lu13QkSPD1RYMhxwr07Fai47pgMu/d+ylevpXmgosmr9bPnA0/oGQnR/+W1HuAGiQtxjtRFm0GmZtnqEk48W+tlK1xgvhWD9tWvqgbUgAmMJfdy6pxDNWgA1udLOfMc06vR5CdOR90Vsg4moRcY0FhHtyjilbI2C/4W+ZIxYzOP4Q99+fn51a0J8t5zCqZho8IqgF/B/BpbCihjKM58BXPDYnUlUnfj7ytaakXwC/K8iGE0HaKu0ZbFgV3VPecUA==
Hi Siddharth,
To the best of my understanding, for the first point, the equality in Coq cannot be used, as it's defined to be impredicative, while HoTT is really predicative. With the presence of impredicativity, you cannot obtain proof relevance; in the case otherwise, you will get into Russell's paradox. Essentially, what's stopping you from going to ?A : Prop is that any Prop is necessarily opaque. To achieve infinite groupoid, you will need an infinite hierarchy of universes to state that, which says eq needs to live in Type instead.
From: coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of Siddharth Bhat <siddu.druid AT gmail.com>
Sent: May 26, 2018 3:00:03 PM
To: Coq-Club Club
Subject: [Coq-Club] HoTT ideas already present in CIC?
Sent: May 26, 2018 3:00:03 PM
To: Coq-Club Club
Subject: [Coq-Club] HoTT ideas already present in CIC?
Hello all,
-- I've been trying to understand the philosophy of HoTT, and the distinctions it presents with
CIC.
So, from what I can tell, the major difference between the two seems to be:
1. The infinity-groupoid structure.
2. The univalence axiom.
Regarding #1, Why not construct this "tower of equalities" within
CIC? I understand that the regular eq type has the signature:
eq
: ?A -> ?A -> Prop
where
?A : [ |- Type]
But what stops us from setting
?A : [ |- Prop]
and recovering the "infinity groupoid? As long as we do not have
proof irrelevance, the tower should not collapse, right?
2. Univalence:
Let me first sketch out what I understand of Univalence, to make sure I have not missed something with the definition itself. Univalence talks about two things:
a. Equality, which is a type with one constructor refl, which models Leibniz equality.
b. Equivalence, which is a constructive bijection between two objects.
Univalence states that "equality is equivalent to equivalence". The forward direction (equality -> equivalence) is clear (if
a = b, use id as the bijection between a and b). The backward (equivalence -> equality) is taken to be the axiom which we cannot prove within
HoTT. Roughly, the philosophy seems to say that "equivalent objects are equal".
In Coq/CIC, do we not already sort of take this persective when using
Setoids? essentially, we are saying that "we do not care about true equality", but we are happy working with stuff "upto equivalence". Is this not
exactly what Univalence is trying to do? I understand that CIC does not let you
convert from equivalence to equality, but does that really matter?
What am I missing here, in my understanding of HoTT? I do not understand why there has been an explosion of interest in HoTT, when it seems to me that CIC can do whatever
HoTT can?
Thanks,
~Siddharth
Sending this from my phone, please excuse any typos!
- [Coq-Club] HoTT ideas already present in CIC?, Siddharth Bhat, 05/26/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Jason -Zhong Sheng- Hu, 05/26/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Siddharth Bhat, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Éric Tanter, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Éric Tanter, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, José Manuel Rodriguez Caballero, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Siddharth Bhat, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, José Manuel Rodriguez Caballero, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Siddharth Bhat, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, José Manuel Rodriguez Caballero, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Éric Tanter, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Éric Tanter, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Siddharth Bhat, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Thorsten Altenkirch, 05/27/2018
- Re: [Coq-Club] HoTT ideas already present in CIC?, Jason -Zhong Sheng- Hu, 05/26/2018
Archive powered by MHonArc 2.6.18.