coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] injectivity on existT
- Date: Mon, 30 May 2016 18:51:02 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f178.google.com
- Ironport-phdr: 9a23:wN9QcxIvgzmiu2bzF9mcpTZWNBhigK39O0sv0rFitYgUKfXxwZ3uMQTl6Ol3ixeRBMOAu6MC1rad6vqocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC3oLqi6vrodX6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86Fpy8kVWqLjOq88ULZwDTI8Mmlz6te4mwPESF6t4X0VTmUflFJsDgnb4RfmFsPztS37ted51SSyMsj/TLRyUjOnufQ4ACT0gTsKYmZquFrcjdZ92fpW
On 05/30/2016 06:45 PM, Daniel Schepler wrote:
On Mon, May 30, 2016 at 2:50 PM, Adam Chlipala
<adamc AT csail.mit.edu>
wrote:
In general, it requires an axiom. If you [Require Import Eqdep], you get itAnd in a specific case, if you have a decision procedure for equality
as [inj_pair2].
On 05/30/2016 05:48 PM, Jonathan Leivent wrote:
Is this provable?:
Lemma existT_inj : forall T f x a b, @existT T f x a = @existT T f x b ->
a = b.
I can't prove it with injectivity, or by f_equal with projT2. If it is
provable, what's the secret ingredient?
to x, then existT_inj holds for that case. (Ex: if T = nat; or if T =
option A, and x = None.)
That's precisely what I need - as I do have decidable equality for the type involved. I see it now: Eqdep_dec.inj_pair2_eq_dec:
Thanks!
-- Jonathan
- [Coq-Club] injectivity on existT, Jonathan Leivent, 05/30/2016
- Re: [Coq-Club] injectivity on existT, Adam Chlipala, 05/30/2016
- Re: [Coq-Club] injectivity on existT, Daniel Schepler, 05/31/2016
- Re: [Coq-Club] injectivity on existT, Jonathan Leivent, 05/31/2016
- Re: [Coq-Club] injectivity on existT, Jonathan Leivent, 05/31/2016
- Re: [Coq-Club] injectivity on existT, Jonathan Leivent, 05/31/2016
- Re: [Coq-Club] injectivity on existT, Daniel Schepler, 05/31/2016
- Re: [Coq-Club] injectivity on existT, Adam Chlipala, 05/30/2016
Archive powered by MHonArc 2.6.18.