coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Clément Pit--Claudel <clement.pit AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re:[Coq-Club]
- Date: Wed, 30 Mar 2016 14:40:55 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=clement.pit AT gmail.com; spf=SoftFail smtp.mailfrom=clement.pit AT gmail.com; spf=None smtp.helo=postmaster AT mout.kundenserver.de
- Ironport-phdr: 9a23:OMseFBUPojdepXFIp02aAnZlIInV8LGtZVwlr6E/grcLSJyIuqrYZhCCt8tkgFKBZ4jH8fUM07OQ6PCwHzZQqsvb+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq82VOVUD2WD1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdfFXEtN30/zMztrxjKCwWVtVUGVWBDuR7JBgXD8CbCX4u09wD+v/dx1S3SacbyQLU5Xyjk96Z3YBDtgSYDcTU+9TeE2YRLkKtHrUf59FREyInObdTNOQ==
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.
>
>
Attachment:
signature.asc
Description: OpenPGP digital signature
- [Coq-Club], Benoît Viguier, 03/30/2016
- Re:[Coq-Club], Pierre Casteran, 03/30/2016
- Re:[Coq-Club], Clément Pit--Claudel, 03/30/2016
- Re:[Coq-Club], Benoît Viguier, 03/30/2016
- Re:[Coq-Club], Clément Pit--Claudel, 03/30/2016
- Re:[Coq-Club], Thorsten Altenkirch, 03/30/2016
- Re:[Coq-Club], roux cody, 03/30/2016
- Re:[Coq-Club], Thorsten Altenkirch, 03/30/2016
- Re:[Coq-Club], Clément Pit--Claudel, 03/30/2016
- Re:[Coq-Club], Thorsten Altenkirch, 03/30/2016
- Re:[Coq-Club], roux cody, 03/30/2016
- Re:[Coq-Club], Thorsten Altenkirch, 03/30/2016
- Re:[Coq-Club], Clément Pit--Claudel, 03/30/2016
- Re:[Coq-Club], Benoît Viguier, 03/30/2016
- Re:[Coq-Club], Emilio Jesús Gallego Arias, 03/30/2016
Archive powered by MHonArc 2.6.18.