Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Decidable equality in Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Decidable equality in Coq


chronological Thread 
  • From: Chris Dams <chris.dams.nl AT gmail.com>
  • To: ldou AT cs.ecnu.edu.cn
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Decidable equality in Coq
  • Date: Fri, 8 Jul 2011 10:55:01 +0200

Dear Lisa Dou,

The problem is that you end your definition with "Qed." This creates a
defintion that is "opaque" and is never unfolded. This make sense for
proofs, but usually not for definitions. If you do not want an opaque
definition use "Defined." instead of "Qed."

All of the proofs that you are looking for can be resolved by using
just one tactic, namely "repeat decide equality". "decide equality" is
a very useful tactic because it solves quite a lot of decision of
equality goals.

Good luck,
Chris Dams



Archive powered by MhonArc 2.6.16.

Top of Page