Skip to Content.
Sympa Menu

coq-club - RE: [Coq-Club] Working with typeclasses in 8.2beta

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

RE: [Coq-Club] Working with typeclasses in 8.2beta


chronological Thread 
  • From: Georges Gonthier <gonthier AT microsoft.com>
  • To: Matthieu Sozeau <Matthieu.Sozeau AT lri.fr>, Brian Aydemir <baydemir AT cis.upenn.edu>
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: RE: [Coq-Club] Working with typeclasses in 8.2beta
  • Date: Sun, 23 Nov 2008 23:03:17 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

> I guess users of Canonical Structures may have had a similar problem.
> Application of the [rewrite] lemma on the simplified goal would require
> infering "back" the [Twiddle_bar] record during unification. The ssreflect
> [rewrite] might be able to do that (simply declaring [Twiddle_bar] as
> canonical in Coq doesn't work of course).

   Indeed, the ssr [rewrite] can do this; it inherits this capability from 
the Coq type inference unification code, which it calls to pick redexes and 
apply rewrite rules ("classic" Coq tactics call a completely different 
unification routine). Much of what we've developped simply wouldn't work 
without this feature, including the "big operator" library we presented at 
TPHOL'08.

Cheers,
-- Georges





Archive powered by MhonArc 2.6.16.

Top of Page