【发布时间】:2021-04-20 10:25:54
【问题描述】:
我是一个初学者并试图证明这个引理:
Lemma test: forall n m p q : nat,
n <= p \/ m <= q -> n + m <= p + q.
我试过了
From Coq Require Export Lia.
Lemma test: forall n m p q : nat,
n <= p \/ m <= q -> n + m <= p + q
Proof.
intros; omega.
和Lia,但它不起作用。我该如何继续?
【问题讨论】:
-
您应该导入 Lia,而不是导出它。这就是导致你的战术失败的原因。
标签: coq coq-tactic