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] Question an 8.6 changes on typeclasses eauto (multi-goal)
- Date: Wed, 9 Nov 2016 16:05:39 -0500
- 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-f177.google.com
- Ironport-phdr: 9a23:1q9xQxTfMxkGgb9AEQ9Z5dksjdpsv+yvbD5Q0YIujvd0So/mwa69YRaN2/xhgRfzUJnB7Loc0qyN4vumATRLuM/Z+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLqsUanYRuJrssxhfVv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/WfKgcJyka1bugqsqQFhzY7aYI+bN/Rwca3SctwYWWVPUd1cVzBDD46mc4cDE+QMMOZeooLgp1UOtxy+BQy0Ce3rzT9IgGX53bE60+s7FwHNwQouEMwPsHTKstr1MrsSWv2ywanKyjXDafJW2TTj54jMbB8uv+qBXb11ccXLyEkvExnJgUmXqYzgJj6Y0PkGvWuD7+d4S+6jl2oqpxtyrzWv3MsglJfFip4PxlzZ9yh0wp45KN+lREJhf9KpHpRduzuHO4Z4Xs8uWX9ktSg4x7AApJW1ZjIFyI49yB7ac/GHc5aH4hbkVOuJJDd3nnNleLamixar8kis1vTwVsep3FtIrCdJiNbMtncK1xzc7siIVOFx8Vum2TaKzwzT6+dELl4olafDNZIt3ro9moAQvEnDBCP6hlv6gLOMekk5+OWl6fzrYrD8qZ+dM490hBv+MqMrmsGnA+Q4NQ4OX2mY+eui0L3s41P2Ta5Fjv0ziKbZsZTaKd4Hqa6+Bg9Zypwj5AqnDze6zNQYmmEKI05CeBKeloTmJ1XOIO3jAvqkmFStkDJrx+jcMbH7A5XNKGLDkLb7crpn5U5c0ll78dcK7JVNT7oFPfjbW0nrtdWeAAVqHRazxrPFD9N0yoMXXyqrD66HPaXO+QuK4eQuIOSIaYI9tzP0Kvxj7Pnr2yxq0WQBdLWkiMNEIEuzGe5rdh2U
On 11/09/2016 11:43 AM, Soegtrop, Michael wrote:
Dear Jonathan,
thanks for pointing out the Tactic Notation trick! I give it a try. I would
make sure that I do this in a way so that I can use sed to change to whatever
other mechanism for this is supported in future versions of Coq.
Would you consider running the Coq scripts through a macro preprocessor, so that those ugly foo/bar redefinitions can be abstracted into a macro?
I recall once asking someone whether there was a way to place a macro preprocessor between coqtop and its IDE (PG in my case), but I don't recall the answer...
This method might be much faster than the eauto method I use currently,
because eauto repeatedly checks all hints if they solve the goal, which is
never the case in this situation and thus a waste of time.
One feature of typeclasses eauto is that it prunes the search space a bit. It won't backtrack to alternative successes in a non-depended-on subgoal - because such alternative successes can't possibly have an impact on the overall proof (except to waste time). I'm not sure that will help in your situation, though.
-- Jonathan
- [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Soegtrop, Michael, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Jonathan Leivent, 11/09/2016
- RE: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Soegtrop, Michael, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Jonathan Leivent, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Clément Pit--Claudel, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Jonathan Leivent, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Paul A. Steckler, 11/09/2016
- RE: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Soegtrop, Michael, 11/10/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Clément Pit--Claudel, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Jonathan Leivent, 11/09/2016
- RE: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Soegtrop, Michael, 11/09/2016
- Re: [Coq-Club] Question an 8.6 changes on typeclasses eauto (multi-goal), Jonathan Leivent, 11/09/2016
Archive powered by MHonArc 2.6.18.