Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] How to evaluate reflexive tactics? (in a robust way)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] How to evaluate reflexive tactics? (in a robust way)


Chronological Thread 
  • From: Armaël Guéneau <armael.gueneau AT ens-lyon.fr>
  • To: coq-club AT inria.fr, Guillaume Melquiond <guillaume.melquiond AT inria.fr>
  • Subject: Re: [Coq-Club] How to evaluate reflexive tactics? (in a robust way)
  • Date: Thu, 8 Nov 2018 11:56:10 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=armael.gueneau AT ens-lyon.fr; spf=Pass smtp.mailfrom=armael.gueneau AT ens-lyon.fr; spf=None smtp.helo=postmaster AT labbe.ens-lyon.fr
  • Ironport-phdr: 9a23:DkEFdRyy1sTeAmzXCy+O+j09IxM/srCxBDY+r6Qd2uoQIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CWGRPQMhRWSxCDI2yYYQAAOgOMvpXoYTmu1sDrwGzCRWwCO7hyDJFgGL9060g0+QmFAHLxBAtH8gLsHvOsNL1ML8dX+GozK7SyzXMcelZ2Srg44XPaB8hu/SMUqhufsrV00UvGB7FgUuWqYP7JTyVy/8AvHad7+p7TO6vj24mqwZ3ojS1yMcskJDEi4QIwV7H7SV02Js5KNKkREJhY9OpEoFcuzybOoZ0WM8uXX9ktDgixrEbp5K2fzIGxZApyhLFavGKcpKE7xzlWe2MOzl3nmhld6i6hxuq8Uiv1On8Vs6s3VZOtCVKicLDuW4X2xPN7MiHUeJx/kOh2DaI0QDf8O9EIVosmaraLZ4u3KIwm4IOvUnMAiP6gkf7ga2Mekk5++Wl6f7rbqv4qpOCL4N0jxvxMqUqmsyxG+Q4NQ0OUnCB9uSm0b3s51P2QLFQgv05j6nWrpbaKtoBqa6kGAJazIAj6w2mAzei0NUYmn8HIEhLeBKdl4TpIU3BIOjkDfejhFShiCtkx/ffPrH4HprNKmXDn6z6cLZm609czRIzwspF65JVDLEBOvPzVVXruNzWFB8zKxa0zPr/CNVhyoMeXnqCAqqHP6PWqF+I++MvI+6KZIIOuTf9Kv0l6OX0jXAjg1MdfK+p3YEWaH+iBPhmLV+ZMjLQhYIKFn5PtQ4jRsTrjkeDWHhdfTL6cL894jUyFYerRaLOQpmwgbuH0G/vEYBXYmRPF1WBV3Llc5yZWvAKZAqTJNVgm3oKT+7yZZUm0ESHrgrzSL5QAfdV/CARqNq33cJw7uDX0x4v+Dp5Btm13meWCmVlmWVOSSVgj/M3mlB01lrWifswuPdfD9EGoqoRCl5rZ66Z9PRzDpXJYiyEe96ITFi8RdD/WmM8SMl0x84JZQBzAYf710yR72+RG7YQ0oezKtks6KuFhCr8Id04z2fB0u8vlQt+G5YdBSidnqd6sjPrKcvJnkGezvf4ca0W1iOL+WGYiG6fu0ceXhQiCag=

> A good idea is generally not to store the constants directly as an
> argument of the constructor. It is better to store them in a map and use
> an index in the constructor. There are two advantages. First, you no
> longer care about it being evaluated. Second, your simplification code
> can now be made aware that two constants are equal.

Thanks, that sounds like a better idea indeed. Could you detail a bit
more how it would work, though? The interpretation function would still
have to take this map as argument, if I'm not mistaking? How do you
prevent the map itself (and the constants inside) from being evaluated?

> Still, you might later on still have some evaluation issues, especially
> when inverting the reification process. In that case, I suggest taking a
> look at the "Strategy" vernacular.

Thanks again, I didn't know about that one; I will keep that in mind.




Archive powered by MHonArc 2.6.18.

Top of Page