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>
- Subject: Re: [Coq-Club] coq + higher inductive types + proof irrelevance?
- Date: Fri, 27 Jul 2018 12:40:28 +0200
- Authentication-results: mail2-smtp-roc.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-yw0-f173.google.com
- Ironport-phdr: 9a23:DwMLQha2gCvsjUunnjmfeqb/LSx+4OfEezUN459isYplN5qZr8+/bnLW6fgltlLVR4KTs6sC17KI9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa8bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVSNBDIOyYYUMAeQcI+hXs4bzqkASrRunHwSgGP/jxiNKi3LwwKY00/4hEQbD3AE4At8Bqm/Up8joOqcKUOC10LXIwivZb/NNxDzw75PHfgo7rv2WU7N8a9HRyVEuFwPZklWft5blPyiO2+QCtmiU9etgVea1h2E7rAFxpyGiy8ExgYfHgYIVz0rL9SR/wIstOdK4T1R7Ydi6H5tUsyGWLZV5Td4/Q21wpSk10LIGuYWnfCgXyJQnwwTTZOGZfIWO/xntV/6RLC9miH55fL+znRW//Ei6xuHhV8S4zUxGojdHn9TCsH0Gygbd5dKdSvRn+0eswTaP2B7X6uFDOU00kLDUK58lwrIplpsSv1jPEjb4mEnrjqKbeF8o+uev6+TgbbXmooGTO5VohQH5N6Qigs2/AeImPQgSR2WX5/iw2bn58UD6QLhGlOA6n6jEvJzAOMgWpKC0DxdQ0ok56ha/Czmm0M4fnXkCNF9KYwiLgJLzN1DAOvz4Fu+/g1WwkDd32f/GJKbhD47CLnjGirjhfLJ951RAxwo0yNBT/4hUBa0ZIPLvRk/xs8TVAQM+Mwyt2uroFNF91p4FVm+UGa+YMKbSsUeS6e41IumMYpUVuDfnJPQ/6f7ulyxxpVhIVq6wlbATdXrwSv9hOgCSZWfmqtYHC2YD+AQkGr/EklqHBBRafD6JR6Mg+jwhE8ryB8HKAJ/rm6SAwDu2BIZ+aWVPC1TKGnDtIdbXE8wQYT6fd5cy2gcPUqKsHsp4jUn35V3KjoF/J++RwRU28Jfq1dx7/erWzEhg+jl9DsDb2GaIHTgtwjE4AgQu1aU6mnRTj0+Z2PEh0fNdHN1XofhOV1VibMOO/6lBE9n3Hzn5UJKJRVKhGIv0BDgwSpcg3IdLbR8iQJOtiRfM2yfsCLgQxeSG
Correct, that's the way Vladimir did it in Foundations.
On Fri, Jul 27, 2018 at 11:39 AM, Steven Schäfer
<s.schaefer89 AT googlemail.com>
wrote:
> The propositional truncation of a type "A" is a type "trunc A" with a
> constructor "tr : A -> trunc A" and an elimination principle into all
> h-propositions (singleton types) "trec : forall B, (forall x y : B, x
> = y) -> (A -> B) -> trunc A -> B" with the appropriate beta reduction
> rule "trec B H f (tr x) = f x".
>
> From this, together with functional and propositional extensionality,
> you can build quotients in the same way as you usually do it in set
> theory, as the type of inhabited equivalence classes of an equivalence
> relation. The trick is that that the existential quantifier is built
> from the propositional truncation of a dependent sum, instead of using
> the existential quantifier in Prop.
>
> For example, let "R : A -> A -> Prop" be an equivalence relation. Then
> the quotient of A by R can be defined as
>
> Definition quot := { P : A -> Prop & trunc { x : A | P = R x } }.
>
> I think I've seen this in the unimath library, but I'm not sure.
>
> - Steven
>
> 2018-07-27 9:57 GMT+02:00 Siddharth Bhat
> <siddu.druid AT gmail.com>:
>> Could you please expand on "propositional truncation" and what that means?
>>
>> I googled, and what I gather is that it is some existential witness of
>> inhabitation of a type that does not provide an explicit witness?
>>
>> If so, I don't see how this gives rise to quotients -- could you please
>> give
>> me a sketch of the construction?
>>
>> Thanks,
>> siddharth
>>
>>
>> On Fri 27 Jul, 2018, 13:20 Bas Spitters,
>> <b.a.w.spitters AT gmail.com>
>> wrote:
>>>
>>> Matthieu and Amin recently went through such questions in the set model of
>>> CIC:
>>> drops.dagstuhl.de/opus/volltexte/2018/9199/pdf/LIPIcs-FSCD-2018-29.pdf
>>>
>>> On Fri, Jul 27, 2018 at 9:32 AM, Steven Schäfer
>>> <s.schaefer89 AT googlemail.com>
>>> wrote:
>>> > Hi Abhishek,
>>> >
>>> > Quotient types exist and proof irrelevance (along with propositional
>>> > and functional extensionality) holds in the setoid model of type
>>> > theory. The difference to higher-inductive types is that you cannot
>>> > add computation rules on paths, since that would give you homotopy
>>> > pushouts and thus also the circle and other non-hsets.
>>> >
>>> > If you are worried about consistency you could also just axiomatize
>>> > the "propositional trunctation" (or rather, squash types as in NuPRL)
>>> > and then derive quotient types from that together with funext/propext.
>>> >
>>> > - Steven
>>> >
>>> > 2018-07-26 23:27 GMT+02:00 Abhishek Anand
>>> > <abhishek.anand.iitg AT gmail.com>:
>>> >> I understand that UIP (implied by proof irrelevance) is inconsistent
>>> >> with
>>> >> univalence.
>>> >>
>>> >> Can higher inductive types (or just some kind of "level 1" quotients
>>> >> where I
>>> >> don't care about distinguishing equality proofs) be added to Coq
>>> >> without
>>> >> needing to blacklist the proof irrelevance axiom?
>>> >>
>>> >> --
>>> >> -- Abhishek
>>> >> http://www.cs.cornell.edu/~aa755/
>>
>> --
>> Sending this from my phone, please excuse any typos!
- [Coq-Club] coq + higher inductive types + proof irrelevance?, Abhishek Anand, 07/26/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Jason -Zhong Sheng- Hu, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Steven Schäfer, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Bas Spitters, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Siddharth Bhat, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Steven Schäfer, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Bas Spitters, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Steven Schäfer, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Siddharth Bhat, 07/27/2018
- Re: [Coq-Club] coq + higher inductive types + proof irrelevance?, Bas Spitters, 07/27/2018
Archive powered by MHonArc 2.6.18.