Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Re: [coqdev] What about a Coq ExtLib ?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Re: [coqdev] What about a Coq ExtLib ?


chronological Thread 
  • From: Thomas Braibant <thomas.braibant AT gmail.com>
  • To: Tom Prince <tom.prince AT ualberta.net>
  • Cc: Daniel Schepler <dschepler AT gmail.com>, coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Re: [coqdev] What about a Coq ExtLib ?
  • Date: Sun, 20 Mar 2011 19:23:29 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=CHgPSuDBnKFVejJdT/GMHsYlQCtgwtxzQd8ceCNTt7JMEyzs61UkwZrodrLN3TzRqr hzsVwiws9V2PZ8BkWHomyWozE3my6d68iyx8C/2cv9F0qurZ5hFAYtivb/VjadJDPYSG qS11jnfctFJzGcFkUBseGnxkyW1oYEtuhL0XY=

>> Also, I've found that as a practical matter, it's more difficult to use 
>> "if and
>> only if" results than the equivalent pair of split results, because "apply 
>> ->"
>> and "apply <-" aren't as good at unification as the stock "apply" (in
>> particular they don't accept "with" specifiers).  Is this something that 
>> should
>> be mentioned in the guidelines, to split up "if and only if" results?
>
> I wonder if this is best fixed by improving apply -> and apply <-
> rather than working around them in the library.

I agree with Tom: cluttering the name-space with partial lemmas (from
left to right, and from right to left) seems to be a not-that-good
design choice. E.g., in MSets, (where lemmas are stated as
equivalences) there seem to have been improvements regarding that,
w.r.t. FSets (where lemmas where stated as l2r and r2l versions).

I have little experience of problems with apply <- , apply ->, But i
think this is because I use rewrite a lot to apply such equivalences.

With best regards,
Thomas




Archive powered by MhonArc 2.6.16.

Top of Page