jasmin-lang / coqword Goto Github PK
View Code? Open in Web Editor NEWYet Another Coq Library on Machine Words.
License: MIT License
Yet Another Coq Library on Machine Words.
License: MIT License
I tried to build this library, and the following error occured.
unlimit@ubuntu:~/Documents/constant-time/coqword-2.1$ make
dune build
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
3.8 and will be removed in an upcoming Dune version.
File "./src/word_ssrZ.v", line 87, characters 24-31:
Error: The reference EqMixin was not found in the current environment.
make: *** [Makefile:13: build] Error 1
I found EqMixin
is in ssreflect
library, and I already installed it.
unlimit@ubuntu:~/Documents/constant-time/coqword-2.1$ opam list
# Packages matching: installed
# Name # Installed # Synopsis
...
coq 8.17.1 pinned to version 8.17.1
coq-core 8.17.1 The Coq Proof Assistant -- Core Binaries and
coq-elpi 1.18.0 Elpi extension language for Coq
coq-hierarchy-builder 1.5.0 High level commands to declare and evolve a
coq-mathcomp-algebra 2.0.0 Mathematical Components Library on Algebra
coq-mathcomp-fingroup 2.0.0 Mathematical Components Library on finite gr
coq-mathcomp-ssreflect 2.0.0 Small Scale Reflection
...
Here, I could find coq mathcomp libraries installed.
But EqMixin
in ssreflect
cannot be found.
How can I solve this error?
Here are some versions I used:
OCaml 5.0.0 / 4.14
opam 2.1.0
Coq Proof Assistant 8.17.1 (compiled with OCaml 5.0.0)
Thanks.
Currently, the package for this project is called coq-mathcomp-word
, but the Coq logpath is CoqWord
. As per the discussion in coq/platform#271 please consider making the logpath more congruent with the package name. This will help people reusing the library.
An obvious logpath for a MathComp-related project would be mathcomp.word
(in parallel to mathcomp.ssreflect
).
The Coq team released Coq 8.19.0
on January 24th, 2024.
The corresponding Coq Platform release 2024.01
should be released before April 30th, 2024.
It can be delayed in case of difficulties until May 15th, 2024, but this should be an exception.
This issue is to inform you that the opam package we are currently testing in Coq Platform CI works fine with Coq 8.19.0
.
Coq Platform CI is currently testing opam package coq-mathcomp-word.3.0
from platform patch repository https://github.com/coq/platform/tree/main/opam/opam-coq-archive/released/packages/coq-mathcomp-word/coq-mathcomp-word.3.0/opam. This means we had to weaken some version restrictions in the opam package, but no other changes were required.
In case this is the version you want to see in Coq Platform, there is nothing to do for you - please just close this issue.
In case you would prefer to see an updated or an older version in the upcoming Coq Platform 2024.01
, please inform us as soon as possible and before March 31st, 2024!
The working branch of Coq Platform, can be found here main.
It contains package pick ~8.19~2024.01+beta1
which already supports Coq version 8.19.0
and contains already working (possibly patched / commit pinned) Coq Platform packages.
In case you want to select a different version, please don't close this issue, even after creating the new tag and/or opam package.
We will close the issue after updating Coq Platform.
This is a measure of 'double book keeping' in order to avoid that we ship the wrong version.
In any case, Coq Platform won't be released before this issue is closed!
Thanks!
P.S.: this issue has been created automatically based on CI status.
CC: coq/platform#405
The Coq team released Coq 8.17+rc1
on December 29th, 2022 and plans to release Coq 8.17.0 around March 7th, 2023.
The corresponding Coq Platform release 2023.03
should be released before April 14th, 2023.
It can be delayed in case of difficulties until June 30, 2023, but this should be an exception.
This issue is to inform you that the opam package we are currently testing in Coq Platform CI works fine with Coq 8.17+rc1
.
Coq Platform CI is currently testing opam package coq-mathcomp-word.2.0
from platform patch repository https://github.com/coq/platform/tree/main/opam/opam-coq-archive/released/packages/coq-mathcomp-word/coq-mathcomp-word.2.0/opam. In this version a file has been renamed in order to avoid naming conflicts with other packages.
In case this is the version you want to see in Coq Platform, there is nothing to do for you - please just close this issue.
In case you would prefer to see an updated or an older version in the upcoming Coq Platform 2023.03
, please inform us as soon as possible and before March 21st, 2023!
The working branch of Coq Platform, can be found here main.
It contains package pick ~8.17~2023.03+preview1
which already supports Coq version 8.17+rc1
and contains already working (possibly patched / commit pinned) Coq Platform packages.
In case you want to select a different version, please don't close this issue, even after creating the new tag and/or opam package.
We will close the issue after updating Coq Platform.
This is a measure of 'double book keeping' in order to avoid that we ship the wrong version.
In any case, Coq Platform won't be released before this issue is closed!
Thanks!
P.S.: this issue has been created automatically based on CI status.
CC: coq/platform#335
The Coq team released Coq 8.18.0
on September 7th, 2023.
The corresponding Coq Platform release 2023.10
should be released before November 30th, 2023.
It can be delayed in case of difficulties until January 15th, 2023, but this should be an exception.
This issue is to inform you that to our (possibly a few days old) best knowledge the latest released version of your project (2.1) does not work with Coq 8.18.0
.
We tried to remove version restrictions in opam files and possibly make or configure files, but this did not suffice.
Please note that in Coq Platform CI (unlike Coq CI) we test only released / tagged versions. Coq CI is currently testing commit cb8b06a on repository https://github.com/jasmin-lang/coqword - which likely means that this commit does work in Coq CI.
Could you please create a tag and opam package, or communicate us any existing tag that works with Coq branch v8.18, preferably before October 31st, 2023?
In case we might have to delay the Coq Platform release cause of issues with your project, we would prefer to be informed about the situation as early as possible.
In case the tag and opam package are available before October 31st, 2023, it will be included in an early Coq Platform beta release of the for Coq 8.18.0.
The working branch of Coq Platform, can be found here main.
It contains package pick ~8.18+beta1
which already supports Coq version 8.18.0
and contains already working (possibly patched / commit pinned) Coq Platform packages.
Please don't close this issue, even after creating the new tag and/or opam package.
We will close the issue after updating Coq Platform.
This is a measure of 'double book keeping' in order to avoid that we ship the wrong version.
In any case, Coq Platform won't be released before this issue is closed!
Thanks!
P.S.: this issue has been created automatically based on CI status.
CC: coq/platform#372
make -f Makefile.coq
make[1]: Entering directory '/home/biv/Documents/Deps-Jasmin/coqword'
COQDEP src/word.v
COQDEP src/ssrZ.v
W: This Makefile was generated by Coq 8.7.0
W: while the current Coq version is 8.8.2
COQC src/ssrZ.v
COQC src/word.v
File "./src/word.v", line 551, characters 0-29:
Error:
Ltac call to "by (ssrhintarg)" failed.
In environment
n : nat
w : n.-word
n_eq0 : n = 0
_view_subject_ : 0 = w
The term "word0" has type "?n.-word" while it is expected to have type
"val ?x1 = val ?x2".
.
@strub : the change in the install path in b94f002 from CoqWord
to mathcomp/word
(afair it was suggested by @palmskog) has the effect that other packages which do a From mathcomp Require ssrZ
now fail, because there are two ssrZ files under mathcomp:
# Error: Required library ssrZ matches several files in path (found
# /home/runner/.opam/__coq-platform.2022.09.0~dev/lib/coq/user-contrib/mathcomp/word/ssrZ.vo and
# /home/runner/.opam/__coq-platform.2022.09.0~dev/lib/coq/user-contrib/mathcomp/zify/ssrZ.vo).
This is really quite bad since ssrZ is a common thing to require.
I don't know why you copied ssrZ. If it is just for convenience / historic reasons please consider removing it and installing zify via opam. Otherwise please rename it.
In Coq Platform I am still using version 1.1 for the reason as mentioned here
Coq is currently failing to build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.