Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] coq library std++ 1.3 / coq 8.11

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] coq library std++ 1.3 / coq 8.11


Chronological Thread 
  • From: Jeremy Dawson <Jeremy.Dawson AT anu.edu.au>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>, Théo Zimmermann <theo.zimmi AT gmail.com>
  • Subject: Re: [Coq-Club] coq library std++ 1.3 / coq 8.11
  • Date: Mon, 23 Mar 2020 14:51:38 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=anu.edu.au; dmarc=pass action=none header.from=anu.edu.au; dkim=pass header.d=anu.edu.au; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0MUtUekJ8fw+o/Ybpzshh4rU19UJjK/UnlVFO+90+cM=; b=j4s8HRsm26HNg3XY+SzeqdsdtCstomgjJWoEUMT4uDi1ydVlidAc2K6PuLu4YhPFISE1ED3m9mH7wt1yImjm2Zhi/U1pRu+Qbke3T0gdaIknn3MP0/2402v9jE8EF/uQJ/CPcCpeXFBW67yJeVO/oDmsINo06n77dSfRR0ecI9SVHcjWEnEWS1aJ7IKj/ONhLXl8xlb57OqOAD02HGCpOmZ/0CHADbYQah4pqME3X781Onyuei1VVIJ3qkUQMpgbELdSSVU+TB5b7GIbjVZzH8ndAeoUnT/y3Nh3FY9jy/Vj2/TgJlXPBJ78CULLaYG3gaLiXbwmx6XDeX1Y58bXiw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gBJiEEu+kT/cqQeRpjkSn3Y27O/Mb8030kGb73sMtm80UPWZO4NF+oVy6veFygpyMAPphMYVA6Z2AILaScmmWfAR8IK+m5oCtWZtZv+L8+1Gcs7549JKAWAk2GhI3m/Y80rLYLEuTckrsITLBsMvy1/DmkAj4sxONaH+XDMzW/57LMFJEJljK0BJzkwTq4OYb++t0qFeEQJm82AhHwk6NVhfDCxmedagQGe1qFzXMoFKhJCzCRH3c9jezLrQLyAcmI0NK/hzlYRGUInP4/krVgdVJKWzck98gCj8kp3puwo8VHxOwiBPzxlXuPRAEk7BGECuMnBqrGO9FS+10jT11g==
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.mailfrom=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.helo=postmaster AT AUS01-ME1-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:dXt7zBevys0F7r+XMKJEOhVilGMj4u6mDksu8pMizoh2WeGdxc64Zx7h7PlgxGXEQZ/co6odzbGJ4+a9ASQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpW1aJhKqfwFyP6H+HpPYp8WxzeG7vZPJKU0cjz2kJLh2MR+erAPLt8BQj5E0bu4NyprO6klJfuFb32ZhI1Tbywr868D27p9m9iV4tPco9soGWqL/KfcWV7tdWRYrKW0w9YXHvAbYSg3HslkRSGgTg1xkChfe6xfSV5Hs9Cb2q6x0xX/JboXNUbkoVGH6vO9QQxjyhXJfbmJrwCTsksV1yZljjle5vRUmmdzdZpzTOfZjOKrAL4tDFDhxG/1JXikEObuSKo4GDu4PJ+Fd9tOvrl0T6xayGE+lGbG2k2IatjrNxaQ/lt8ZP0TG0QgnQ41cmUnv9IywEYpLFOe/we/P0CnJaO5Q1XHl8o/Ufxs9oPaKG7Vtbc7WzkppHATA3Ayd

Hi Theo,

Thanks - I wasn't aware of the details in your second para, but what I
am trying to do is to get access to the features described in the email
to this list of 21/3/20, where it said

we are pleased to announce the release of std++ 1.3: an extended
"standard" library for Coq. The std++ library includes a large selection
of definitions and lemmas on common data structures like lists,
relations, sets, finite sets, finite maps, and finite multisets; a
number of type classes for common properties of types (e.g., decidable
equality, countable, finite, infinite, inhabited); and useful tactics.

This release of the std++ library adds support for Coq 8.11 and is
available in Coq's opam repository.

I was assuming that this std++ library is what opam refers to as coq-stdpp

Cheers,

Jeremy Dawson


On 24/3/20 1:40 am, Théo Zimmermann wrote:
> Hi Jeremy,
>
> Indeed, opam is not really user-friendly when you are not used to it
> and when the copy-paste instructions do not work out of the box.
>
> But before trying to explain to you how to tackle this issue, would
> you mind confirming that you are indeed trying to update stdpp which
> is a library which *extends* the standard library of Coq, and not the
> standard library itself?
>
> The standard library is bound to the version of Coq: you get updates
> whenever you update Coq. External packages such as stdpp provide
> additional functionalities and can be installed via opam, but then it
> requires you to install Coq via opam as well (as opposed to using your
> distribution's package manager).
>
> Théo
>
> Le lun. 23 mars 2020 à 15:32, Jeremy Dawson
> <Jeremy.Dawson AT anu.edu.au>
> a écrit :
>>
>> Hi Ralf,
>>
>> Thanks - I tried opam update, and then as its output suggested doing
>> opam upgrade, I tried that.
>>
>> However it (apparently) tried to reinstall coq 8.8.2 (why?) and failed,
>> saying ERROR while compiling coq.8.8.2
>>
>> It suggested running
>> opam switch import
>> "/home/jeremy/opam-coq.8.8.2/ocaml-base-compiler.4.02.3/.opam-switch/backup/state-20200323132407.export"
>>
>> which seemed to hang at the point Processing 9/13: [coq: make]
>>
>> I think at the moment I have a working version of coq thanks to the
>> fedora package of coq, but how can I tell which version of the library
>> it is using?
>>
>> Thanks
>>
>> Jeremy
>>
>> On 3/23/20 7:04 PM, Ralf Jung wrote:
>>> Hi Jeremy,
>>>
>>> std++ 1.3 is compatible with Coq 8.8.2 (and even with Coq 8.7.2), so that
>>> cannot
>>> be the problem. It looks like your package definitions are quite
>>> outdated,
>>> given that it cannot even find Coq 8.11.0. Did you try "opam update"?
>>>
>>> Kind regards,
>>> Ralf
>>>
>>> On 23.03.20 03:26, Jeremy Dawson wrote:
>>>>
>>>> Hi,
>>>>
>>>> > This release of the std++ library adds support for Coq 8.11 and is
>>>> available in Coq's opam repository.
>>>>
>>>> At present I have Coq 8.8.2 on my machine, and I don't know what version
>>>> of the standard library. How do I find that out?
>>>> How do I install a new version of the standard library (ie what do I do
>>>> to make use of the fact that it is "available in Coq's opam repository"?
>>>>
>>>> Trying opam install coq-stdpp seems to start installing coq-stdpp 1.1.0
>>>> which I assume is not what I want.
>>>>
>>>> In any event I assume I have to upgrade to Coq 8.11 to make use of it,
>>>> would that be right?
>>>>
>>>> I've tried to do that, following instructions at
>>>> https://coq.inria.fr/opam-using.html but part way through I get
>>>>
>>>> [jeremy@localhost sysadmin]$ opam pin add coq 8.11.0
>>>> [ERROR] Package coq has no known version 8.11.0 in the repositories
>>>>
>>>> What do I need to do?
>>>>
>>>> Thanks
>>>>
>>>> Jeremy
>>>>
>>>



Archive powered by MHonArc 2.6.18.

Top of Page