Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Duplicated definition in standard library

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Duplicated definition in standard library


Chronological Thread 
  • From: Cao Qinxiang <caoqinxiang AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Duplicated definition in standard library
  • Date: Tue, 26 Mar 2019 14:25:43 +0800
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=caoqinxiang AT gmail.com; spf=Pass smtp.mailfrom=caoqinxiang AT gmail.com; spf=None smtp.helo=postmaster AT mail-ot1-f48.google.com
  • Ironport-phdr: 9a23:toimsB+ER2/dt/9uRHKM819IXTAuvvDOBiVQ1KB40+0cTK2v8tzYMVDF4r011RmVBN2dtKMP2raempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffhlEiCC/bL52Ixm7qQrcvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh/27XhM5/gqJVrhyiuhJx3ZLbbZqPO/ZiZK7QZ88WSXZDU8tXSidPApm8b4wKD+cZI+tXtY79rEYVoxu/AwmtC+LvxSVOhn/5wKY31PguHhvB3Aw5HtIOtnvVrNTvO6cUXuC416bIzTDZYPNX3Tfx8pTHchckofyVW797bMnfyVE3Gg/bklmdrZbpMjCV2+gXrWSX8vZsWfighmMkrQx6vyKhyd02iobTg4IY0lDE+jt9wIYyPdC4TVR0Yd+gEJdJsCGaK5Z6TtosQ2xnuys20LIGuZm8fCgFzJQo2QTTZOCAc4iN+h7jVeCRLilkhH99Zr6zmxK//VKjx+D8TMW4zktGojZfntTDtX0BzxnT5dKGSvt58EehwzGP1wXL5+5YO080krPbK58nwr8/l5ocq0LDHiDtlUX5ia+ZbEQk+uyy5+v7ZbXmo4eQN5VohQHmLqQuhsu/DPwkPQgJRmiX4Piz1Ln+/ULiW7hKlf03kqzBsJ/AP8gbp6i5AxVU0ok58Rq/AS2mg5wkmiwMK0sAcxaahaDoPUvPKbb2F6SRmVOpxRxiwLj/P7vxA5zLITCXm77mZLd7+09VzgUbwtVW5pYSAbYEdqGgEnTtvcDVW0dqeze/xPzqXY0kh9EuHFmXC6rcC5v89FqB5+YhOe6JPdZHtzP0Kvxj7Pnr3yZgxQ0tOJKx1J5SU0iWW+x8KhzAM3Xpi9YFV2wNu1hmFbG4uBi5STdWIk2Kcec86zU8Ut/0CI7CQsWqnOXE0nvrWJJRYW9CBxaHFnK6L4g=

Thank you very much!

Qinxiang Cao
Shanghai Jiao Tong University, John Hopcroft Center
Room 1110-2, SJTUSE Building
800 Dongchuan Road, Shanghai, China, 200240



On Mon, Mar 25, 2019 at 6:23 PM Théo Zimmermann <theo.zimmi AT gmail.com> wrote:
Hi,

I'd recommend you use the version in Classes.RelationClasses. Defining
instances of the classes defined there should allow you to
subsequently use the reflexivity and transitivity tactics.

I was actually unaware of the existence of
Relations.Relation_Definitions. After looking at the log of this file,
I can tell you that it has been largely untouched since its creation
in the archive in 2000 (and then maybe it was already a copy-paste
from an older file). I don't know if there are any parts of this file
that are still useful to people and not duplicated elsewhere, but I
think it would be good to open an issue on the GitHub repository to
suggest its deprecation.

Best,
Théo

Le lun. 25 mars 2019 à 07:33, Cao Qinxiang <caoqinxiang AT gmail.com> a écrit :
>
> Dear Coq clubbers,
>
> I find it really annoying that similar definitions appear more than once in Coq's standard library. For example, reflexive and transitive appear both in Classes.RelationClasses and Relations.Relation_Definitions.
>
> In this case, is there any suggestion which one should I use? Also, is there a plan in Coq development team to merge such definitions?
>
> Best,
> Qinxiang Cao
> Shanghai Jiao Tong University, John Hopcroft Center
> Room 1110-2, SJTUSE Building
> 800 Dongchuan Road, Shanghai, China, 200240
>



Archive powered by MHonArc 2.6.18.

Top of Page