Coq 中的范围 - 没有解析就导入?

悉达多·巴特

考虑示例代码:

Require Import BinNat.
Open Scope N.

Check (N.ones).
(* Error: The reference ones
   was not found in the current environment. *)
Check (ones).

如何导入BinNat以这样的方式,我没有决心onesN.ones

安东·特鲁诺夫

Import命令可以帮助:

From Coq Require Import BinNat.
Import N.
About ones.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章