Skip to Content.
Sympa Menu

coq-club - RE: [Coq-Club] which set of functions in coq defined algebra operation?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

RE: [Coq-Club] which set of functions in coq defined algebra operation?


Chronological Thread 
  • From: Mandy Martino <tesleft AT hotmail.com>
  • To: John Wiegley <johnw AT newartisans.com>
  • Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: RE: [Coq-Club] which set of functions in coq defined algebra operation?
  • Date: Sat, 23 Jan 2016 13:07:11 +0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=tesleft AT hotmail.com; spf=Pass smtp.mailfrom=tesleft AT hotmail.com; spf=None smtp.helo=postmaster AT BLU004-OMC4S9.hotmail.com
  • Importance: Normal
  • Ironport-phdr: 9a23:bB4KTRVJm+bbEWfvf5tWQRKuTTTV8LGtZVwlr6E/grcLSJyIuqrYZhOOt8tkgFKBZ4jH8fUM07OQ6PC+HzVYv93R6DgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2NJVwQ2nHtOftbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN4xxd7FTDSwnPmYp/4Wr8ECbFUrcrkcbB0cRkhwAPAnI4xX3T9+lsCz6sPVV3iSFNNfqTKs9Xy/k5KBuHkzGkiACYhsw9m3Gwul5lr5aphXp8wBy2IrZbp29NP1ie6rceZURQm8XDZUZbDBIHo7pN9hHNOEGJ+sN6tCl/1Y=

Hi  John,

i  find that  it  is  suitable for ocaml,    it  seems  ocaml  is the  fastest  way to  redefine  equality or  isomorphism.

Regards,

Martin 



From: tesleft AT hotmail.com
To: johnw AT newartisans.com
CC: coq-club AT inria.fr
Date: Sat, 23 Jan 2016 10:51:15 +0800
Subject: RE: [Coq-Club] which set of functions in coq defined algebra operation?

Hi  John,

i would like  custom  define  equi_trans    , 

can  coq  allow  to redefine  this ?  how  to  do  this  custom ?

if not, how to Extraction  Coq.Relations.Relation_Definitions to   a  ML  file  or  agda2  file?


Record equivalence : Prop :=
      { equiv_refl : reflexive;
        equiv_trans : transitive;
        equiv_sym : symmetric}.


Regards,

Martin 


> From: johnw AT newartisans.com
> To: tesleft AT hotmail.com
> CC: coq-club AT inria.fr
> Subject: Re: [Coq-Club] which set of functions in coq defined algebra operation?
> Date: Fri, 22 Jan 2016 18:18:12 -0800
>
> >>>>> Mandy Martino <tesleft AT hotmail.com> writes:
>
> > which set of functions in coq defined algebra operation from equality or
> > congruence relation or equivalence relation?
>
> Perhaps you are looking for?
>
> https://coq.inria.fr/library/Coq.Relations.Relation_Definitions.html
> https://coq.inria.fr/library/Coq.Classes.RelationClasses.html
>
> I'm not entirely sure what you really want, though.
>
> --
> John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2



Archive powered by MHonArc 2.6.18.

Top of Page