Reputation: 73
I used OPAM to install bignum
$ opam upgrade bignum
Already up-to-date.
With coq 8.6 the code Require Import BigN.
imported the library but
with coq 8.7 I get an error.
So I isolate this line of code in a file bignum_problem.v. Then running
coqc bignum_problem
produces the response
File "./bignum_problem.v", line 1, characters 15-19:
Error: Unable to locate library
BigN
.
The documentation for Coq modules suggests that I need a file BigN.vo but no such file appears in the .opam directory. What am I missing?
Upvotes: 4
Views: 161
Reputation: 23602
It seems that bignum
refers to an OCaml library; you might want to install coq-bignums
instead. I just installed that library on my machine and was able to require BigN
with the command
From Bignums Require Import BigN.
Upvotes: 6