Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] HoTT ideas already present in CIC?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] HoTT ideas already present in CIC?


Chronological Thread 
  • From: Siddharth Bhat <siddu.druid AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] HoTT ideas already present in CIC?
  • Date: Sun, 27 May 2018 18:33:28 +0530
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=siddu.druid AT gmail.com; spf=Pass smtp.mailfrom=siddu.druid AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f51.google.com
  • Ironport-phdr: 9a23:cqdYexZSqFsuycFlkdKLy7b/LSx+4OfEezUN459isYplN5qZoMy+bnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCazbL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE2/mHYiMx+gqxYrhy8uRJw35XZb5uJOPdkZK7RYc8WSGhHU81MVyJBGIS8b44XAuQcPOZXspTyp1sUohukGQmsBP7kxyJIhnDswa0xzuMsERrH3AM9At0OrW7Yo8jvNKcPUOC60bLFzTrGb/xM2Df97JLEfQwmofGJRL99d9fax0o3Fw7dkFmctYjoMymW2+kNqWSX8fdsWOG1h2Mntg18pCWkyN02hYnTnI0Vz0jJ9SVnz4YxIt21UEt7bsSlEJtUri2aMIp2Tt87T2FmuCs216cKuZG8fCgNx5QnwwDQZ+abfIiP5xLvTOeRITFmi3J5YL+zmQq+/Ey6xuD/VsS4ykhGojdGn9XWtn0BygTf6s2dRft8+keh1yyP1wfW6uxcOkA0lLfUJIM8wrIqi5UTq1nDHi7rl0jtg6+Wc18r+ums6+j9frrmoZqcO5duig7iKqQuhtC/AeMgPwcSWGib4P2w26Hn/U3kW7pHleY2k6ncsJDCP8sXvK+5AwlP0oYi8RmzFTmm0M5L1UUAeVlCYVeMi5XjE1DIOvHxS/ml0Hq2lzI+/PHKMr3oGInNZlLDmaupKa1850JBjgYp0NFTz51RA7AFZvn0Xxmi55TjEhYlPlnskK7cA9Jn29ZGADPdMuqiKKrX9GSwyKcqKuiIapUSvW+kefcg7v/qy3Q+nA1EJPX77d4scHm9W89eDQCBe3O124UOFG4Lukw1S+m40ATfAw4WXG67WucH3h9+CI+iCt2eFIWkgbjE2ybjW5MLPyZJDVeDFXqufIKBCa8B

I see, interesting. Could you provide me a reference to read more about impredicavity of CIC? 

And, do you have any thoughts on part 2, regarding univalance and why it is interesting?

Thanks
Siddharth

On Sun 27 May, 2018, 01:03 Jason -Zhong Sheng- Hu, <fdhzs2010 AT hotmail.com> wrote:

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.


Sincerely Yours,

Jason Hu

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?
 
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!
--
Sending this from my phone, please excuse any typos!



Archive powered by MHonArc 2.6.18.

Top of Page