Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Existential instantiation with addition information

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Existential instantiation with addition information


Chronological Thread 
  • From: David Asher <asher AT informatik.hu-berlin.de>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Existential instantiation with addition information
  • Date: Thu, 26 Nov 2015 17:06:20 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=asher AT informatik.hu-berlin.de; spf=Pass smtp.mailfrom=asher AT informatik.hu-berlin.de; spf=None smtp.helo=postmaster AT mailout1.informatik.hu-berlin.de
  • Ironport-phdr: 9a23:tcJGyhcZELhMi6+1fMHfhFNblGMj4u6mDksu8pMizoh2WeGdxc69Yx7h7PlgxGXEQZ/co6odzbGG7uawASdQu96oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDvvc2LKFUSzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IeezAcq85Vb1VCig9eyBwvZWz9EqLcQzazXwFGk4SjxAAVwPC9VTxWor7mir8rOt0nieAa57YV7cxDBir8aZnADbziCodf2ow62HakORxiqxcuheoux18hY7JJYuYLv5/eOXRcIVJFiJ6Qs9NWnkZUcuHZIwVAr9EZL4Aog==

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




Archive powered by MHonArc 2.6.18.

Top of Page