Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] eauto loops

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] eauto loops


Chronological Thread 
  • From: Matthieu Sozeau <mattam AT mattam.org>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] eauto loops
  • Date: Tue, 28 Jun 2016 07:57:49 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mattam AT mattam.org; spf=Pass smtp.mailfrom=matthieu.sozeau AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f47.google.com
  • Ironport-phdr: 9a23:C90imhxcVZLEbWrXCy+O+j09IxM/srCxBDY+r6Qd0ekUIJqq85mqBkHD//Il1AaPBtSDrasewLOP6OjJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbWtXNeIxJ3ujKibwN76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtM0rzyMFsPU4ssVETK/SfqIiTLUeAi51HXoy4ZjOvAXfTQqC+zMnVXcbmwcAVw3M8A3zW7/0uzfmv+873zOVa56lBYsoUCivuv84ACTjjz0KYmY0

Hi Vadim,

  no, they are different currently, typeclasses eauto has the ability to backtrack more on dependent goals, i.e. goals
that depend on each other. I'd be curious to understand how you got the trace above though!
Best regards,
-- Matthieu

On Tue, Jun 28, 2016 at 1:13 AM Vadim Zaliva <vzaliva AT cmu.edu> wrote:

On Mon, Jun 27, 2016 at 10:14 AM, Matthieu Sozeau <mattam AT mattam.org> wrote:
  could you give a bit more context about this? Are you calling eauto or 
typeclasses eauto for example?

Sorry, I am still learning typeclass resolution. I was now aware of typeclass eauto, and it is very helpful. Another advice, given earlier in this list was to use "Set Ltac Debug" to trace "typeclass eauto" which is also very helpful.
Using these two techniques I was able to move past this problem, and now continuing to debug my code.

One related question: is "typeclass eauto" just "eauto with typelcasses_instances" plus additional debug output?


--
CMU ECE PhD candidate
Mobile: +1(510)220-1060




Archive powered by MHonArc 2.6.18.

Top of Page