Questions tagged «coq»


1
索引相等的归纳类型意味着索引相等
让我们有一个归纳类型为的foo索引x : X。 Parameter X : Type. Inductive foo : X -> Type := | constr : forall (x : X), foo x. 如果foo x = foo y暗示的话,我很好奇x = y。我不知道如何证明这一点。 Lemma type_equality_implies_index_equality : forall (x y : X), foo x = foo y -> x = y. 如果无法证明,为什么?
9 coq 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.