coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: James Lottes <jlottes AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] dealing with setoid rewriting problems
- Date: Tue, 1 Dec 2015 01:16:17 -0600
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jlottes AT gmail.com; spf=Pass smtp.mailfrom=jlottes AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f53.google.com
- Ironport-phdr: 9a23:q6ol/BEH5eSMG3+M7CbM0p1GYnF86YWxBRYc798ds5kLTJ75os+wAkXT6L1XgUPTWs2DsrQf27eQ4/GrCDRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niqbiqtaCO01hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv/h7TL7icq8kYbtdBTUgeyBptYy4/SXEGACI/z4XVngcuhtOGQnMqh/gDbnrtS6vlON41TLSGcrqUb0vEWCg66B3VBLzoCgCPj89tmrQj5oj3+pgvBu9qkknkMbva4aPOa8iL64=
Since nobody's mentioned it yet: you can trace through typeclass
resolution interactively with "Set Ltac Debug." in coqtop (though it's
not necessarily obvious which instances/hints are being triggered).
When I get stuck trying to figure out why typeclass resolution isn't
working as I expect, I often resort to pasting my whole development
into coqtop, up to just before the slow command, then "Set Ltac
Debug," followed by the problematic command (a rewrite in your case).
This can be pretty painful, but I haven't found a better way to debug
typeclass resolution.
Cheers,
James
On Mon, Nov 30, 2015 at 9:22 PM, Vadim Zaliva
<vzaliva AT cmu.edu>
wrote:
>
> On Nov 30, 2015, at 18:57 , Vadim Zaliva
> <vzaliva AT cmu.edu>
> wrote:
>
> Any hints how to analyze the debug log? What should I look for? Here is
> partial log file:
>
> http://bit.ly/1St2sZy
>
>
> Here is a digest of a bigger log file, which shows the search tree:
>
> http://bit.ly/1LK8n6Q
>
>
> Sincerely,
> Vadim Zaliva
>
> --
> CMU ECE PhD candidate
> Mobile: +1(510)220-1060
> Skype: vzaliva
>
- [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Clément Pit--Claudel, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Abhishek Anand, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, James Lottes, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Pierre Courtieu, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, James Lottes, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Abhishek Anand, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Vadim Zaliva, 12/01/2015
- Re: [Coq-Club] dealing with setoid rewriting problems, Clément Pit--Claudel, 12/01/2015
Archive powered by MHonArc 2.6.18.