Skip to Content.
Sympa Menu

coq-club - Re:[Coq-Club]

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re:[Coq-Club]


Chronological Thread 
  • From: roux cody <cody.roux AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re:[Coq-Club]
  • Date: Wed, 30 Mar 2016 11:11:22 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=cody.roux AT gmail.com; spf=Pass smtp.mailfrom=cody.roux AT gmail.com; spf=None smtp.helo=postmaster AT mail-ob0-f170.google.com
  • Ironport-phdr: 9a23:weYBsBZ3zl3KNYHCf47t8YP/LSx+4OfEezUN459isYplN5qZpc+4bnLW6fgltlLVR4KTs6sC0LqG9fqwEjNRqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7D0oc2YPFQArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq8/VPlTCCksG2Ez/szi8xfZHiWV4X5JSGILglJDBATUpEXxWZvg9DH9q/pV1yyTPMmwRrcxD2fxp5x3QQPl3X9UfwUy93va35R9

I think he was referring to *propositional extensionality* AKA

pext : forall p q : Prop, (p <-> q) <-> p = q

This is not really comparable with functional extensionality, but it "feels" strong, since it's approximately the excluded middle (I don't think it implies it though). It does imply proof irrelevance.

This was found to lead to non-termination and inconsistency in some version as documented here
https://sympa.inria.fr/sympa/arc/coq-club/2013-12/msg00119.html

But I believe this was fixed shortly afterwards. I think efforts are made for this principle to be consistent with the current Coq implementation, since it holds in the "proof-irrelevant model" which is often taken as the informal mental model of the system.

Best,
Cody

On Wed, Mar 30, 2016 at 10:48 AM, Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk> wrote:
Why would you call ³functional extensionality² a ³strong axiom²? It is
certainly accepted in HoTT (as a consequence of univalence) and it seems
rather an error that it is not provable in Coq (however, one which isn¹t
so easy to fix but see iur work on OTT).

I don¹t know what Maxime said, but it rather seems that functional
extensionality can reveal problems with other principles. However, it is
very wrong then to blame functional extensionality.

Thorsten

On 30/03/2016 13:40, "Clément Pit--Claudel" <clement.pit AT gmail.com> wrote:

>It's a pretty heavy axiom, but it should be fine. Would rephrasing your
>original lemma to use an equivalence instead of equality work, though?
>
>If not, see https://coq.inria.fr/cocorico/CoqAndAxioms and
>https://coq.inria.fr/faq#htoc36 for background on using axioms with Coq.
>
>Best,
>Clément.
>
>On 03/30/2016 02:27 PM, Benoît Viguier wrote:
>> Hi,
>>
>> thanks for your quick answers. Is there any risk I should know while
>>using this Axiom ? It seemed it was inconsistent with Coq termination in
>>late 2013 cf Maxime Dénès talk.
>>
>> Regards.
>>
>> Benoît
>>
>> 2016-03-30 13:36 GMT+02:00 Clément Pit--Claudel <clement.pit AT gmail.com
>><mailto:clement.pit AT gmail.com>>:
>>
>>     On 03/30/2016 01:12 PM, Benoît Viguier wrote:
>>     > Can someone explain me why I am not allowed to complete this
>>proof ? Using the functionnal extensionality, it should be right. No ?
>>
>>     No. You need Prop Extensionality for that rewrite to be valid.
>>
>>       Axiom prop_ext : forall (P Q : Prop),
>>           (P <-> Q) -> P = Q.
>>       apply prop_ext.
>>       rewrite Nat.leb_le.
>>       reflexivity.
>>
>>     Clément.
>>
>>
>





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.





Archive powered by MHonArc 2.6.18.

Top of Page