Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Ssreflect rewrite term matching in vanilla Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Ssreflect rewrite term matching in vanilla Coq


Chronological Thread 
  • From: Robbert Krebbers <mail AT robbertkrebbers.nl>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Ssreflect rewrite term matching in vanilla Coq
  • Date: Mon, 21 Dec 2015 14:54:53 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mail AT robbertkrebbers.nl; spf=None smtp.mailfrom=mail AT robbertkrebbers.nl; spf=None smtp.helo=postmaster AT smtp1.science.ru.nl
  • Ironport-phdr: 9a23:YJH0gxZfBdMOqFdvL5/rmTv/LSx+4OfEezUN459isYplN5qZpc+9bnLW6fgltlLVR4KTs6sC0LqI9fi4EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35rxj7j60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD884mosVHSODxe7kyZb1eFjUvdW4vt+PxshyWdwyF7HYGTi01iBdCCQXf91muW57wtgPgseB31TOGPtf7R7o5Qy/k6aM9G0ygszsOKzNsqDKfscd3lq8O+B8=

Hi Enrico,

On 12/21/2015 02:50 PM, Enrico Tassi wrote:
Or, if you are not afraid of trying an experimental branch, you can
use /n/ instead of //, where /n/ invokes the user defined ltac ssrdonen
tactic (n is a number, 0 is reserved).

The branch is called feature/plugin-next on github
https://github.com/math-comp/math-comp
Unfortunately the only doc at the current stage is `git log` and the only
examples are in the ssrtest disrectory. Last, it is for 8.5 only.
That is a nice feature!

But I have to say, a number is albeit short not very descriptive. Why not also allow /ltac/ where "ltac" can be arbitrary ltac code? I tend to write things like:

rewrite foo by eauto using foo bar baz

Best,

Robbert



Archive powered by MHonArc 2.6.18.

Top of Page