« Up

coqeal 2.0.0 Error 🔥

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.17.0      The Coq Proof Assistant
coq-core              8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Cyril Cohen <cyril.cohen@inria.fr>"
homepage: "https://github.com/coq-community/coqeal"
dev-repo: "git+https://github.com/coq-community/coqeal.git"
bug-reports: "https://github.com/coq-community/coqeal/issues"
license: "MIT"
synopsis: "CoqEAL - The Coq Effective Algebra Library"
description: """
This Coq library contains a subset of the work that was developed in the context
of the ForMath EU FP7 project (2009-2013). It has two parts:
- theory, which contains developments in algebra including normal forms of matrices,
  and optimized algorithms on MathComp data structures.
- refinements, which is a framework to ease change of data representations during a proof."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {(>= "8.16" & < "8.19~") | (= "dev")}
  "coq-bignums" 
  "coq-paramcoq" {>= "1.1.3"}
  "coq-hierarchy-builder" {>= "1.4.0"}
  "coq-mathcomp-ssreflect" {>= "2.0"}
  "coq-mathcomp-algebra" 
  "coq-mathcomp-multinomials" {>= "2.0"}
  "coq-mathcomp-real-closed" {>= "2.0"}
]
conflicts: [ "coq-hierarchy-builder" {>= "1.7.0"} ]
tags: [
  "category:Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms"
  "keyword:effective algebra"
  "keyword:elementary divisor rings"
  "keyword:Smith normal form"
  "keyword:mathematical components"
  "keyword:Bareiss"
  "keyword:Karatsuba multiplication"
  "keyword:refinements"
  "logpath:CoqEAL"
]
authors: [
  "Guillaume Cano"
  "Cyril Cohen"
  "Maxime Dénès"
  "Érik Martin-Dorel"
  "Anders Mörtberg"
  "Damien Rouhling"
  "Pierre Roux"
  "Vincent Siles"
]
url {
  src: "https://github.com/coq-community/coqeal/archive/refs/tags/2.0.0.tar.gz"
  checksum: "sha512=8cc232e9704d99a48463a0909aaa5469acdd8e7587b11e2b5bee6a662c8ba51c2b4712e6ac9c3800dd22ae08767cb9039cc508cc10f88b7e0f13ed8047a80260"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coqeal.2.0.0 coq.8.17.0
Return code
0

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
true
Return code
0

Install dependencies

Command
opam list; echo; timeout 4h opam install -y --deps-only coq-coqeal.2.0.0 coq.8.17.0
Return code
0
Duration
37 m 0 s

Install 🚀

Command
opam list; echo; timeout 4h opam install -y -v coq-coqeal.2.0.0 coq.8.17.0
Return code
7936
Duration
2 m 0 s
Output
# Packages matching: installed
# Name                    # Installed   # Synopsis
atd                       2.15.0        Parser for the ATD data format description language
atdgen                    2.15.0        Generates efficient JSON serializers, deserializers and validators
atdgen-runtime            2.15.0        Runtime library for code generated by atdgen
atdts                     2.15.0        TypeScript code generation for ATD APIs
base-bigarray             base
base-threads              base
base-unix                 base
biniou                    1.2.2         Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve
camlp-streams             5.0.1         The Stream and Genlex libraries for use with Camlp4 and Camlp5
cmdliner                  1.2.0         Declarative definition of command line interfaces for OCaml
conf-gmp                  4             Virtual package relying on a GMP lib system installation
coq                       8.17.0        The Coq Proof Assistant
coq-bignums               9.0.0+coq8.17 Bignums, the Coq library of arbitrarily large numbers
coq-core                  8.17.0        The Coq Proof Assistant -- Core Binaries and Tools
coq-elpi                  1.18.0        Elpi extension language for Coq
coq-hierarchy-builder     1.6.0         High level commands to declare and evolve a hierarchy based on packed classes
coq-mathcomp-algebra      2.2.0         Mathematical Components Library on Algebra
coq-mathcomp-bigenough    1.0.1         A small library to do epsilon - N reasoning
coq-mathcomp-field        2.2.0         Mathematical Components Library on Fields
coq-mathcomp-fingroup     2.2.0         Mathematical Components Library on finite groups
coq-mathcomp-finmap       2.1.0         Finite sets, finite maps, finitely supported functions
coq-mathcomp-multinomials 2.2.0         A Multivariate polynomial Library for the Mathematical Components Library
coq-mathcomp-real-closed  2.0.0         Mathematical Components Library on real closed fields
coq-mathcomp-solvable     2.2.0         Mathematical Components Library on finite groups (II)
coq-mathcomp-ssreflect    2.2.0         Small Scale Reflection
coq-paramcoq              1.1.3+coq8.17 Plugin for generating parametricity statements to perform refinement proofs
coq-stdlib                8.17.0        The Coq Proof Assistant -- Standard Library
coqide-server             8.17.0        The Coq Proof Assistant, XML protocol server
cppo                      1.6.9         Code preprocessor like cpp for OCaml
dune                      3.13.0        Fast, portable, and opinionated build system
easy-format               1.3.4         High-level and functional interface to the Format module of the OCaml standard library
elpi                      1.17.4        ELPI - Embeddable λProlog Interpreter
menhir                    20231231      An LR(1) parser generator
menhirCST                 20231231      Runtime support library for parsers generated by Menhir
menhirLib                 20231231      Runtime support library for parsers generated by Menhir
menhirSdk                 20231231      Compile-time library for auxiliary tools related to Menhir
ocaml                     4.14.0        The OCaml compiler (virtual package)
ocaml-base-compiler       4.14.0        Official release 4.14.0
ocaml-compiler-libs       v0.12.4       OCaml compiler libraries repackaged
ocaml-config              2             OCaml Switch Configuration
ocaml-options-vanilla     1             Ensure that OCaml is compiled with no special options enabled
ocamlfind                 1.9.6         A library manager for OCaml
ppx_derivers              1.2.1         Shared [@@deriving] plugin registry
ppx_deriving              5.2.1         Type-driven code generation for OCaml
ppxlib                    0.31.0        Standard infrastructure for ppx rewriters
re                        1.11.0        RE is a regular expression library for OCaml
result                    1.5           Compatibility Result module
seq                       base          Compatibility package for OCaml's standard iterator type starting from 4.07.
sexplib0                  v0.16.0       Library containing the definition of S-expressions and some base converters
stdlib-shims              0.3.0         Backport some of the new stdlib features to older compiler
yojson                    2.1.2         Yojson is an optimized parsing and printing library for the JSON format
zarith                    1.13          Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is 8.17.0).
The following actions will be performed:
  - install coq-coqeal 2.0.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-coqeal.2.0.0: http]
[coq-coqeal.2.0.0] downloaded from https://github.com/coq-community/coqeal/archive/refs/tags/2.0.0.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-coqeal: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqeal.2.0.0)
- coq_makefile -f _CoqProject -o Makefile.coq
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqeal.2.0.0'
- COQDEP VFILES
- COQC theory/atomic_operations.v
- COQC theory/ssrcomplements.v
- COQC theory/minor.v
- COQC theory/perm_eq_image.v
- COQC theory/gauss.v
- COQC theory/karatsuba.v
- COQC theory/ssralg_ring_tac.v
- COQC theory/toomcook.v
- COQC refinements/hrel.v
- COQC refinements/param.v
- COQC refinements/poly_op.v
- 'leq_R' is now a registered translation.
- 'nilp_R' is now a registered translation.
- COQC theory/stronglydiscrete.v
- COQC theory/binetcauchy.v
- COQC theory/closed_poly.v
- COQC theory/rank.v
- COQC theory/strassen.v
- COQC refinements/refinements.v
- COQC theory/dvdring.v
- COQC refinements/pos.v
- COQC refinements/poly_div.v
- COQC refinements/trivial_seq.v
- COQC refinements/boolF2.v
- COQC refinements/binnat.v
- COQC refinements/binint.v
- COQC refinements/binord.v
- COQC refinements/seqpoly.v
- COQC refinements/hpoly.v
- COQC refinements/rational.v
- 'exp_seqpoly_R' is now a registered translation.
- File "./refinements/seqpoly.v", line 463, characters 16-26:
- Error:
- In environment
- R : ringType
- C : Type
- rAC : R -> C -> Type
- N : Type
- rN : nat -> N -> Type
- H : zero_of C
- H0 : one_of C
- H1 : opp_of C
- H2 : add_of C
- H3 : mul_of C
- H4 : eq_of C
- H5 : implem_of R C
- H6 : spec_of C R
- H7 : zero_of N
- H8 : one_of N
- H9 : add_of N
- H10 : eq_of N
- H11 : spec_of N nat
- refines0 : refines rAC 0 0%C
- refines1 : refines rAC 1 1%C
- refines2 : refines (rAC ==> rAC) -%R -%C
- refines3 : refines (rAC ==> rAC ==> rAC) +%R +%C
- refines4 : refines (rAC ==> rAC ==> rAC)  *%R *%C
- refines5 : refines (rAC ==> rAC ==> bool_R) eqtype.eq_op eq_op
- refines6 : refines (rAC ==> eq) spec_id spec
- refines7 : refines rN 0%N 0%C
- refines8 : refines rN 1%N 1%C
- refines9 : refines (rN ==> rN ==> rN) addn +%C
- refines10 : refines (rN ==> rN ==> bool_R) eqtype.eq_op eq_op
- refines11 : refines (rN ==> nat_R) spec_id spec
- The term "list_R rAC" has type "seq R -> seq C -> Type"
- while it is expected to have type "seq R -> {poly R}"
- (cannot unify "seq C -> Type" and "{poly R}").
- 
- make[2]: *** [Makefile.coq:830: refinements/seqpoly.vo] Error 1
- make[2]: *** [refinements/seqpoly.vo] Deleting file 'refinements/seqpoly.glob'
- make[2]: *** Waiting for unfinished jobs....
- 'expQnat_R' is now a registered translation.
- 'exp_hpoly_R' is now a registered translation.
- make[1]: *** [Makefile.coq:409: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqeal.2.0.0'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of coq-coqeal failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-coqeal.2.0.0 ===================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqeal.2.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqeal-9661-335865.env
# output-file          ~/.opam/log/coq-coqeal-9661-335865.out
### output ###
# [...]
# The term "list_R rAC" has type "seq R -> seq C -> Type"
# while it is expected to have type "seq R -> {poly R}"
# (cannot unify "seq C -> Type" and "{poly R}").
# 
# make[2]: *** [Makefile.coq:830: refinements/seqpoly.vo] Error 1
# make[2]: *** [refinements/seqpoly.vo] Deleting file 'refinements/seqpoly.glob'
# make[2]: *** Waiting for unfinished jobs....
# 'expQnat_R' is now a registered translation.
# 'exp_hpoly_R' is now a registered translation.
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqeal.2.0.0'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqeal 2.0.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coqeal.2.0.0 coq.8.17.0' failed.

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none