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: Enrico Tassi <enrico.tassi AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Ssreflect rewrite term matching in vanilla Coq
  • Date: Mon, 21 Dec 2015 14:50:50 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=enrico.tassi AT inria.fr; spf=None smtp.mailfrom=gares AT fettunta.org; spf=None smtp.helo=postmaster AT fettunta.org
  • Ironport-phdr: 9a23:y7vjYRQ+UcH/RVX6Rm1fox+urdpsv+yvbD5Q0YIujvd0So/mwa64ZxWN2/xhgRfzUJnB7Loc0qyN4/6mATRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niabqo9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86Fpy8kVWqLjOq88ULZwDTI8Mmlz6te4mwPESF6i4GEdWWJerhNTGAmNuBz8RJb6tW3mv/Fm2QGbO9f3RPY6Q2LxvO9QVBb0hXJfZHYC+2bNh5kogQ==

On Mon, Dec 21, 2015 at 12:42:39PM +0100, Guillaume Melquiond wrote:
> I suppose you already considered the following solution, but just in
> case you didn't, here it is. While it is a bit more verbose and less
> readable than "by tac", you can use ";[|tac..]" to achieve the same kind
> of goal solving.

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.

Best,
--
Enrico Tassi



Archive powered by MHonArc 2.6.18.

Top of Page