coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Existential instantiation with addition information
- Date: Thu, 26 Nov 2015 11:33:45 -0500
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=adamc AT csail.mit.edu; spf=Pass smtp.mailfrom=adamc AT csail.mit.edu; spf=None smtp.helo=postmaster AT outgoing.csail.mit.edu
- Ironport-phdr: 9a23:1MvtxBUXgOP6bzirDryOFwQeUXfV8LGtZVwlr6E/grcLSJyIuqrYZheBt8tkgFKBZ4jH8fUM07OQ6PC9HzxYqsbc+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq8CVM10D1Gf1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdfFXEtN30/zMztrxjKCwWVtVUGVWBDuxZBBkDu7BX7Rp71u2Ouv+Z03SKyNtb/TLRyXDW+qapnVUm72288Kzcl/TSP2YRLh6VBrUf5qg==
It's easy to prove a lemma showing that, for any property of the natural numbers, if there exists a number that satisfies it, then there also exists a minimum number that satisfies it. You would then apply the lemma to transform your hypothesis before eliminating it.
On 11/26/2015 11:06 AM, David Asher wrote:
Hey Coq-Club,
I'm trying to prove a theorem in Coq for which I have got a proof in pencil and paper form. Unfortunately I'm stuck because in the proof there is a step for which
I haven't been able to find an equivalent in Coq. Somewhere during the proof session I have an existential proposition H in the context, i.e.
H: exists n : nat, P n
for some Prop P. In my pencil and paper proof I'm "instantiating" the existential variable as the smallest n, such that the Proposition holds. I am aware that
it is possible to "instatiate" an existential proposition in the context with
destruct H as [n]
This, however, just creates a fresh variable n in the context and "instantiates" the existential proposition with the freshly created variable. But I need some
additional information [ somethig like "~ (exists m, m < n /\ P m)" ] in the context. Any ideas how to solve this?
Thanks
David
- [Coq-Club] Existential instantiation with addition information, David Asher, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Adam Chlipala, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Pierre-Marie Pédrot, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Dominique Larchey-Wendling, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Pierre-Marie Pédrot, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Xavier Leroy, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Jean-Francois Monin, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Jean-Francois Monin, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Arnaud Spiwack, 11/26/2015
- Re: [Coq-Club] Existential instantiation with addition information, Arnaud Spiwack, 11/28/2015
- Re: [Coq-Club] Existential instantiation with addition information, Dominique Larchey-Wendling, 11/26/2015
Archive powered by MHonArc 2.6.18.