考虑到欧米茄策略是在COQ中重新定论的,该如何导入LIA策略?
我有错误:
Error: The reference lia was not found in the current environment.
如何解决?
代码:
Require Import Lia.
Theorem t:
forall n: nat, 1 + n > n.
Proof.
Show Proof.
intro.
Show Proof.
lia.
Show Proof.
Qed.
I got the error:
Error: The reference lia was not found in the current environment.
how do I fix it?
code:
Require Import Lia.
Theorem t:
forall n: nat, 1 + n > n.
Proof.
Show Proof.
intro.
Show Proof.
lia.
Show Proof.
Qed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
做
需要导入lia。
在顶部。例如,注意这是
Omega
编辑的替代:
正如Ana Borges所指出的那样:
Do
Require Import Lia.
at the top. e.g.note this is a replacement for
Omega
Edit:
As Ana Borges kindly pointed out: