它是否认为,如果我可以为每个特定的P n n__确定一个命题,那么我也可以决定是否forall n, P n?感觉它应该可以通过n进行一些归纳,但是我如何在Coq中证明这一点呢?Lemma dec_forall: (forall n, decidable (P n)) ->
decidable (forall
Lemma lemma : forall e : t, x = y. intro e; trivial.End foo.当您用rewrite prop替换rewrite prop2时,coq失败并出现隐含错误。然而,在我的观点中,coq应该在重写步骤之后产生forall e : t, True。有人能帮我吗?
我想在Coq中证明这个引理:b : Typeg : a -> b______________________________________(1/1)(forall x : a, g x = h x) -> forall x : a, f x = h x
我知道Coq.Relations.Relation_Definiti