coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <pierre.courtieu AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] dealing with setoid rewriting problems
- Date: Tue, 1 Dec 2015 08:31:12 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f43.google.com
- Ironport-phdr: 9a23:cOklXBXKOFrCD8aOfAEPQza5s+rV8LGtZVwlr6E/grcLSJyIuqrYZhyPt8tkgFKBZ4jH8fUM07OQ6PC9HzxRqs/Z4DgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2OJVUZz2PlMftbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN5IDUKdAAT86H2cw7czt/VmfHErcrkcbBy8dlQMNCAzY5jn7WI3wu230rKA1jCKdJIj9Sa0+cTWk9aZiDhHy3nQpLTk8pVnWh9Zqgepwpw+7ux1y3saAeICYLuBzOKjaYMkGRGdcdslUXi1FRIi7at1cXKI6Ie9Eotyl9BM1phykCFzwVe4=
Note that in Proofgeneral you can use this flag in a more or less decent way by looking at *coq* buffer and hitting return there. In recent versions of pg (git clone https://github/ProofGeneral/PG) the debugging messages should be displayed in correct buffers.
P.
Le mardi 1 décembre 2015, James Lottes <jlottes AT gmail.com> a écrit :
Le mardi 1 décembre 2015, James Lottes <jlottes AT gmail.com> a écrit :
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.