Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Order of subgoals due [rewrite] and [replace]

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Order of subgoals due [rewrite] and [replace]


Chronological Thread 
  • From: Enrico Tassi <enrico.tassi AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Order of subgoals due [rewrite] and [replace]
  • Date: Mon, 17 Jun 2013 16:37:42 +0200

On Mon, Jun 17, 2013 at 03:01:30PM +0200, Robbert Krebbers wrote:
> rewrite foo; rewrite bar; rewrite baz

I guess this line is equivalent to "rewrite foo bar baz" in ssreflect,
but not to "rewrite foo, bar, baz" in standard Coq (if one of the rewrite
rules generates a side goal for example).

> Doesn't ssreflect have syntax for that? How about borrowing that?

Ssreflect's syntax supports reversing the list of subgoals or rotating
this list back and forward. This is clearly sufficient for short lists
of goals (as it is often the case in the MathComp library), but may not
be as general as Arnaud wants it.
Anyway it is documented here: http://hal.inria.fr/inria-00258384 page 37.

Cheers
--
Enrico Tassi



Archive powered by MHonArc 2.6.18.

Top of Page