Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Making an OrderedType(WithLeibniz)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Making an OrderedType(WithLeibniz)


Chronological Thread 
  • From: Ian Lynagh <igloo AT earth.li>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Making an OrderedType(WithLeibniz)
  • Date: Tue, 18 Feb 2014 21:41:02 +0000


Hi all,

I'm trying to make an OrderedType(WithLeibniz) so that I can make an
MSetList. However, I'd like to write as few proof as possible, and the
ways I've found seem to require more proofs than I'd have thought were
necessary.

I've found Coq.Structures.OrderedTypeEx, but it doesn't seem to make
something of the right type, e.g. eq_equiv and lt_strorder are missing.

I've also found
http://permalink.gmane.org/gmane.science.mathematics.logic.coq.club/7252
which looks like it is meant to be a working example, but when I try it
the proofs for eq_equiv and lt_strorder are missing.

Has anyone got an example of the best way to make an OrderedType, e.g.
for nat, please?

I have coq 8.4pl3 (December 2013).


Thanks
Ian



  • [Coq-Club] Making an OrderedType(WithLeibniz), Ian Lynagh, 02/18/2014

Archive powered by MHonArc 2.6.18.

Top of Page