Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coq's performance over destruct tactic

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coq's performance over destruct tactic


Chronological Thread 
  • From: Pierre Courtieu <pierre.courtieu AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Coq's performance over destruct tactic
  • Date: Fri, 11 May 2018 08:04:34 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-ot0-f181.google.com
  • Ironport-phdr: 9a23:KWrprx1BzKlV0XJNsmDT+DRfVm0co7zxezQtwd8Zse0QLfad9pjvdHbS+e9qxAeQG9mDsLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPbQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLnhykHODw5/m/ZicJ+kbxVrw66qhNl34LZepuYOOZicq7fe94RWGpPXtxWVyxEGo6ydYoPAPQbPeZCsYb2ukUDrRyjBQm2GOPvyyFHhmLr1qA9y+QhEB/J3BY6H90QqnjbsNL1NLoIUeCpzanH0yjDYuhZ2Tf48ofIcxQhreuQUrJ3dMrc0E8iHB7LgFWXrIzqJTKV1uIVvmiU7upgSeKvi3M8pA1rvjevwcIsh4/UjYwW0lDJ7Sd0zYkvKdGlVkJ2YcSoHZhOuy2AKod7Qd4uTmd1sygg0LIGo4S0fC0SxZQn2RHfb/uHfpCN4h35VeaRJS50hHV5eL6jnhqy/1Wsx+7hWsWu31ZKqS1FktbItn8TzRDc9s+HSv5l8keg3zaAyRzT5/lGLE07j6bXNoAtz74qmpcQr0jPBDL6lUbrgKOOc0Ur4Omo6+DpYrX8oZ+cMpd5ihn/MqswgMy/G/o3PhISUGic5OS8zqHj/UznT7VXlfA2nazZv4rbJcQfvKK2HwhV0oM75xalEzimyMgYnWUALF9dZB2HiJHpN0jSL/D8EPewmE+hkCxrxvDDJr3uGI/BLnnFkLf7fLZy8VRQyAQpzYMX25UBAbYYZfn3R0XZtdrCDxZ/PRbn7fzgDYBF144EQ2/HKaiEKr/TvELAsvouLvOWackevyvnN/ko+tbhiHY4nRkWeqz/jshfU2yxAvkzexbRWnHrmNpUST5b7Dp7d/TjjRi5aRAWYn+zW6wm4TRiUdCpCI7CQsamh7nThX7nTK0TXXhPDxW3KVmtb5+NAq5eZyebI8snmTsBB+D4Ft0RkCq2vQq/8IJJa+rZ/ipC68Dm3dlxourPzVQ8rGwtScua1G6JQid/mWZaHzI=

Don’t miss the point here: there are much less case analysis done with Michael’s solution than with yours.
P

Le ven. 11 mai 2018 à 05:55, Wilayat Khan <wilayatk AT gmail.com> a écrit :
Hello  Maxime

 I performed the same testing on Coq 8.8 and the numbers are almost the same. The time of case analysis using destruct, though, reduces dramatically with
Michael Soegtrop's tactic DestructMatchArg.

Best, 

Wilayat


On Tue, May 8, 2018 at 11:48 AM, Maxime Dénès <mail AT maximedenes.fr> wrote:
Hello,

Could you try the same experiments with Coq 8.8? 8.3 is fairly old and
Coq's performance has improved in many areas since then.

If the numbers are still not good, I suggest you open an issue at
https://github.com/coq/coq/issues

Thank you!

Maxime.

On 05/08/2018 06:30 AM, Wilayat Khan wrote:
> Hello
>
>   Am using tactic *destruct* over inductive variables of type bool with
> just two constructors. I observed, it takes too long (over 14 seconds)
> for the destruct to return when used for 14 variables at a time (e.g.,
> destruct a, b, c, d, e, f, g, h, i, j, k, l , m, n; simpl;auto) or used
> for individual variable, combined with ; (e.g., destruct a; destruct b;
> destruct c;...;simpl;auto). The time of execution increases with
> variables and terms.  Coq's performance is best at using destruct over 8
> variables at  a time. I am using Coq 8.3 on my 64bit Intel Core i5, 8GB
> RAM with 2.6GHz machine 
>
> I am wondering, if there is any systemic study/analysis assessing the
> performance of Coq over *destruct* tactic (in particular case analysis
> on inductive type bool) and comparing Coq (or interactive theorem
> provers in general) with automatic solvers.  
>
> Best, 
>
> Wilayat
>




Archive powered by MHonArc 2.6.18.

Top of Page