Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Beginner question -- equality of types

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Beginner question -- equality of types


Chronological Thread 
  • From: Kevin Sullivan <sullivan.kevinj AT gmail.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] Beginner question -- equality of types
  • Date: Mon, 3 Jun 2013 12:25:34 -0400

Hi folks, sorry for a newbie question. I've started playing around with types as values, but I'm not sure how to do simple computations with such values. One such computation would be comparison for equality. I'm obviously missing some basic knowlege. Here's a simple but broken program that should make my intent clear. What do I need to go read to make this work? Thanks!

Definition teq (t1 t2: Set) : bool :=
  if (t1 = t2) then true else false.

Kevin



Archive powered by MHonArc 2.6.18.

Top of Page