coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Is eauto behavior desirable?
- Date: Thu, 15 Sep 2016 10:57:49 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f174.google.com
- Ironport-phdr: 9a23:ShT6uh/v2oFyC/9uRHKM819IXTAuvvDOBiVQ1KB91u0cTK2v8tzYMVDF4r011RmSDNydtK8P27Ke8/i5HzdRudDZ6DFKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvjotuMPk4Y3HL9Oeo0d0Tu612J94E/ushLEu4J0BzHo39FKax95FhDAhatpSv6/dq655V58i5d6LoL/s9EVrjmLexjFeQLRGduD2dg78ry8BLHUAGn530GU2xQnAAbLRLC6UTYWZH4rivzsKJZ1SiEMMvqBeQ2XjKj7KpvRRLAhyIONjp/+2bS3J8jxJlHqQ6s8kQsi7XfZ5uYYaJz
On 09/15/2016 10:42 AM, Soegtrop, Michael wrote:
Dear Jonathan,
It wasn't until recently in 8.5 that eauto took the hint costs intoI know, I reported the bug.
consideration at
all - it was previously trying hints in most-recent-first order regardless of
cost.
Yet few noticed.
I guess also taking into account that this change didn't break a lot of
developments, this means that few people are using eauto for non-trivial
stuff. So I wonder if one could change this behavior as well. I think it is
really bad for performance.
It's not just bad for performance. There are occasions where one has multiple subgoals with evar interdependencies such that one cannot accept just any arbitrary solution to one of the subgoals, as that solution might prevent solutions in the other(s). This was the case I was getting into when I noticed that eauto wasn't respecting hint costs, as I was trying to carefully arrange hints so that those that solved subgoals without instantiating "side" evars (hence not interfering with other subgoals) were given lower costs and so tried first.
I think that although many people are using (e)auto, few are probably doing so in a way such that the order of hints makes a noticeable difference.
-- Jonathan
- [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- RE: [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Matthieu Sozeau, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Matthieu Sozeau, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/19/2016
- RE: [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/20/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Matthieu Sozeau, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Matthieu Sozeau, 09/15/2016
- RE: [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/16/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
- RE: [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/16/2016
- RE: [Coq-Club] Is eauto behavior desirable?, Soegtrop, Michael, 09/15/2016
- Re: [Coq-Club] Is eauto behavior desirable?, Jonathan Leivent, 09/15/2016
Archive powered by MHonArc 2.6.18.