使用 coqide,命令“Require Import BigN”在 coq 8.6 中有效,但在 coq 8.7 中无效
Using coqide, the command `Require Import BigN` worked using coq 8.6 but not in coq 8.7
我使用 OPAM 安装 bignum
$ opam upgrade bignum
Already up-to-date.
使用 coq 8.6 代码 Require Import BigN.
导入了库但是
使用 coq 8.7 我得到一个错误。
所以我将这行代码隔离在一个文件 bignum_problem.v 中。那么运行
coqc bignum_problem
产生响应
File "./bignum_problem.v", line 1, characters 15-19:
Error: Unable to locate library BigN
.
Coq 模块的文档建议我需要一个文件 BigN.vo 但 .opam 目录中没有这样的文件。我错过了什么?
似乎bignum
指的是一个OCaml库;您可能想要安装 coq-bignums
。我刚刚在我的机器上安装了那个库,并且能够使用命令
要求 BigN
From Bignums Require Import BigN.
我使用 OPAM 安装 bignum
$ opam upgrade bignum
Already up-to-date.
使用 coq 8.6 代码 Require Import BigN.
导入了库但是
使用 coq 8.7 我得到一个错误。
所以我将这行代码隔离在一个文件 bignum_problem.v 中。那么运行
coqc bignum_problem
产生响应
File "./bignum_problem.v", line 1, characters 15-19:
Error: Unable to locate library
BigN
.
Coq 模块的文档建议我需要一个文件 BigN.vo 但 .opam 目录中没有这样的文件。我错过了什么?
似乎bignum
指的是一个OCaml库;您可能想要安装 coq-bignums
。我刚刚在我的机器上安装了那个库,并且能够使用命令
BigN
From Bignums Require Import BigN.