coq-club AT inria.fr
Subject: The Coq mailing list
List archive
RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert"
Chronological Thread
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert"
- Date: Wed, 21 Jan 2015 10:21:20 +0000
- Accept-language: de-DE, en-US
Dear George,
splendid, the “have @f : type_of_f” tactic works like a charm! Even simplification of proof terms with compute works.
Thanks & best regards,
Michael
From: coq-club-request AT inria.fr [mailto:coq-club-request AT inria.fr]
On Behalf Of Georges Gonthier
As was pointed out, the new proof engine was already in 8.4, but the its new functionalities were not exposed in Ltac. The current Coq 8.4 release of Ssreflect does use them, however. In particular the tactic “have @f: type_of_f.” does exactly what you want. Ssreflect also supports (via the [: Pf1 Pf2] pattern) abstracting part of the term of f (see the manual). Enjoy, Georges
From:
arnaud.spiwack AT gmail.com [mailto:arnaud.spiwack AT gmail.com]
On Behalf Of Arnaud Spiwack
I'm not sure you would learn much by digging up my commits as Pierre-Marie suggests. But the bottom-line is that the proof given to a goal has always been a regular Coq term but the interactive proof mechanism was built in a way which made it unable to retrieve such a proof. I wrote a completely new mechanism which, among other things, support the feature you need (it's often called dependent subgoals). This new implementation was already partially part of the v8.4, but it's been only completed in v8.5.
On 20 January 2015 at 15:15, Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr> wrote: On 20/01/2015 14:59, Soegtrop, Michael wrote:
|
- [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Soegtrop, Michael, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Arnaud Spiwack, 01/20/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Soegtrop, Michael, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Pierre-Marie Pédrot, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Arnaud Spiwack, 01/20/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Georges Gonthier, 01/20/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Soegtrop, Michael, 01/21/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Enrico Tassi, 01/21/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Soegtrop, Michael, 01/21/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Georges Gonthier, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Arnaud Spiwack, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Pierre-Marie Pédrot, 01/20/2015
- RE: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Soegtrop, Michael, 01/20/2015
- Re: [Coq-Club] Tactic which remebers the value like "set" but creates a goal like "assert", Arnaud Spiwack, 01/20/2015
Archive powered by MHonArc 2.6.18.