coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Bas Spitters <b.a.w.spitters AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Cc: Thorsten Altenkirch <t.altenkirch AT googlemail.com>
- Subject: Re:[Coq-Club]
- Date: Sun, 28 Feb 2021 11:06:15 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=b.a.w.spitters AT gmail.com; spf=Pass smtp.mailfrom=b.a.w.spitters AT gmail.com; spf=None smtp.helo=postmaster AT mail-pj1-f49.google.com
- Ironport-phdr: 9a23:Zrcgoh2Aylh+zIq9smDT+DRfVm0co7zxezQtwd8ZseMUKPad9pjvdHbS+e9qxAeQG9mCurQV16GL7ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVgDexe7d/IRq5oQjRtsQdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LpwRRT2lCkIKSI28GDPisxxkq1bpg6hpwdiyILQeY2ZKeZycr/Ycd4cWGFPXNteVzZZD4yzYYsADeoPM+hboYfguVUBsRSwCBKwBOP20DJEmmP60bE43uknDArI3BYgH9ULsHnMsdj6LrwSWv2owqnQzDXDc+9W1inn6IjTbxsspuqDUahqfsbLx0gjDRjFjk2RqYz5IzOayP4Ns3OA4upvUOKgkW8nqwVrrjezwccsj5DEi4QIwV/L6St32pw6JcGkSEFle96kFoNdujyEO4Z1TM4vXn1ltTg0x7MGupO2fCYExpopyRLDaPGKcZSF7g/hWeuRIDp1hXZodba/iRuu/kWt1PDxW9Wo3FtMsyFLnN7MtnUX2BzS7MiKUuFy/l2u2DaOyQDf8OZEIVo7labDJJ4hw6IwlpoOsUvYBCP5hEL2jKqQe045+eao8/zqbqv6qpKYLYN5iQHzPr4wlsCiAOk0KAcDUmyd9O+hzrPs51f5T69PjvAukqnWrpTaJcMDq668GQBV04Ij5w+nDzekzdgUhHcHIV1BdR6dgIjpPFbOIP/8DfihmVijjDBrx/XeMr3gBJXCMGTDna//cbph70NQ0gk+wNBF655KF70MIej/V0D1udDACx82KQ20w+LpCNVn0YMeXHqCDbSDPKzIq1OJ6PgjI/KUZI8UpDb9N+Yq5+T1jXIill8deLOm3ZoTaHyiAvtmJECZbWL2gtgdCWcKohY+TOvyhVKeVj5Tfm++UL445jEmE42rFpzDR4CogLyZxii3BJxWZmZcClCNC3jkbYuEW+1fIB6Vd+Rmi3QvUaWrA9sq0gjrvwvnwZJmKPDV82sWr8Sw+sJy4rj5nAp6ziR1E9iQyXrFG2sylyUXASQu3bxjrFZm4liG2Kl8xfdfEIoAtLtyTg4mOMuEnKRBANfoV1eEJ4/REQr0cpCdGTg0C+kJ7ZoWeU8kQoetixnC22yhBLpHz+XWVqxxybrV2j3KH+g4y3vC0/N83VwvQ88KLW//w6Ajpk7cAInGl0jfnKGvJ/xFjXz9sVybxG/Lh3l2FQt5UKHLR3caPxKEotHw50eERLirW+0q
The README links to the article giving background of the design of the
library.
These issues are documented in sec6 here:
https://arxiv.org/abs/1610.04591
I'm not sure copying them to the README would clarify things.
On Sun, Feb 28, 2021 at 10:40 AM Vincent Semeria
<vincent.semeria AT gmail.com> wrote:
>
> Hi Hugo.
>
> Is indices-matter the only compiler switch in HoTT that makes it different
> from standard Coq? It would be good to list all those switches in HoTT's
> readme page
> https://github.com/HoTT/HoTT
> which currently only says
> "The HoTT library is a development of homotopy-theoretic ideas in the Coq
> proof assistant."
>
> On Tue, Feb 23, 2021 at 4:03 PM Hugo Herbelin <Hugo.Herbelin AT inria.fr>
> wrote:
>>
>> [Coq-Club] Parametricity Axiom
>> Reply-To:
>> In-Reply-To:
>> <DB7PR06MB59609EB3EBDF565194064FDCA4809 AT DB7PR06MB5960.eurprd06.prod.outlook.com>
>>
>> Hi,
>>
>> Indeed that would be the case in HoTT but the thing here is that Coq
>> is unfortunately not "fully compatible" with HoTT, even with Prop =
>> HProp in mind, since by default, "indices do not matter": in vanilla
>> Coq, all equalities land in Prop, even say "bool = bool", while, to
>> comply with HoTT, equality should not be Prop-truncated. [To avoid
>> Prop-truncation, there is the option -indices-matter (used in the HoTT
>> library). In particular, it prevents proof-irrelevance to imply
>> UIP_refl.]
>>
>> Incidentally, there is an idea in the air to make Coq compatible with
>> univalence (and classical logic) without having to switch option
>> -indices-matter on. This would be to reinterpret each existing Type(n)
>> as HSet(n) and to add a new hierarchy, say Univ, standing for the
>> usual Martin-Löf's universes, so that indices matter can be on by
>> default without incompatibilities. Then, univalence would be stated in
>> Univ. I don't know what others think.
>>
>> Best,
>>
>> Hugo
>>
>> On Tue, Feb 23, 2021 at 01:44:26PM +0000, Thorsten Altenkirch wrote:
>> > No it doesn't as long as Prop means HProp (at most one inhabitant).
>> > Classical logic is consistent with univalence.
>> >
>> > This is different if you say "forall P : Type, P \/ ~P, because then you
>> > can use Hedberg's theorem to show that all tyoes have a propositional
>> > equality and this does contradict univalence.
>> >
>> >
>> >
>> > On 20/02/2021, 22:06, "coq-club-request AT inria.fr on behalf of Daniel
>> > Schepler" <coq-club-request AT inria.fr on behalf of dschepler AT gmail.com>
>> > wrote:
>> >
>> > On Fri, Feb 19, 2021 at 4:34 PM Maximilian Wuttke
>> > <mwuttke97 AT posteo.de> wrote:
>> > > > Variable classic_dec : forall P : Prop, {P} + {~P}.
>> > > > Variable UIP_refl : forall (X : Type) (x : X) (H : x = x), H =
>> > eq_refl.
>> >
>> > Incidentally, classic : forall P : Prop, P \/ ~P implies proof
>> > irrelevance, and therefore as a corollary classic_dec implies
>> > UIP_refl.
>> > --
>> > Daniel Schepler
- Re:[Coq-Club], Hugo Herbelin, 02/23/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
- Re:[Coq-Club], Bas Spitters, 02/28/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
- Re:[Coq-Club], Hugo Herbelin, 02/28/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
- Re:[Coq-Club], Bas Spitters, 02/28/2021
- Re:[Coq-Club], Pierre-Marie Pédrot, 02/28/2021
- Re:[Coq-Club], Bas Spitters, 02/28/2021
- Re:[Coq-Club], Hugo Herbelin, 02/28/2021
- Re:[Coq-Club], Pierre-Marie Pédrot, 02/28/2021
- Re:[Coq-Club], Bas Spitters, 02/28/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
- Re:[Coq-Club], Michael Shulman, 02/28/2021
- Re:[Coq-Club], Hugo Herbelin, 02/28/2021
- Re:[Coq-Club], Hugo Herbelin, 02/28/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
- Re:[Coq-Club], Bas Spitters, 02/28/2021
- Re:[Coq-Club], Vincent Semeria, 02/28/2021
Archive powered by MHonArc 2.6.19+.