coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] hint cost vs. order
- Date: Thu, 15 Oct 2015 21:15:52 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f42.google.com
- Ironport-phdr: 9a23:pj4MlB1jRz6q8eLJsmDT+DRfVm0co7zxezQtwd8ZsegSLfad9pjvdHbS+e9qxAeQG96Lt7QV06GL6ujJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6OyZXvnL3rs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLVry/dKAlR/QMBzM/dmsx+cfDtB/ZTALJ6GFKAUsMlR8dIQHe6xeycY32qTCy4uh0wy6cMtfxVqtlcTun5qZvDhTvjXFUZHYC7GjLh5ko3+pgqxW7qkknzg==
I think you may be looking for bug 3199?
On Thu, Oct 15, 2015 at 7:10 PM, Jonathan Leivent <jonikelee AT gmail.com> wrote:
Is it the case that auto is supposed to try all (pattern applicable) hints in ascending cost order, regardless of hint declaration order? That seems to be what the refman implies - although it says very little about cost. However, there appear to be cases where auto will try a higher cost hint that was declared later before a lower cost hint declared earlier. Is that a bug?
Interestingly, it looks like using auto with nocore and a small db can outperform combining the hints from that small db into a single recursive match-based tactic. However, I'm finding it difficult to use hint cost to control the order in which hints are tried.
-- Jonathan
- [Coq-Club] hint cost vs. order, Jonathan Leivent, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jason Gross, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jonathan Leivent, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jason Gross, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jonathan Leivent, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jason Gross, 10/16/2015
- Re: [Coq-Club] hint cost vs. order, Jonathan Leivent, 10/16/2015
- [Coq-Club] auto performance vs. match (was: hint cost vs. order), Jonathan Leivent, 10/20/2015
- Re: [Coq-Club] hint cost vs. order, Jason Gross, 10/16/2015
Archive powered by MHonArc 2.6.18.