Skip to Content.
Sympa Menu

ssreflect - finite types

Subject: Ssreflect Users Discussion List

List archive

finite types


Chronological Thread 
  • From: Aleks Nanevski <>
  • To: "" <>
  • Subject: finite types
  • Date: Thu, 18 Jun 2009 07:04:54 +0100
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hi everyone,

 

I was wondering what is the easiest way to define a finite type out of a sequence of elements of type T : eqType.

 

The stuff given in SeqFinType section of fintype.v is a bit too demanding, as it is asking me to first prove that T : choiceType.

 

In the previous version of ssreflect, there was a way to do this in one line (via lemma which used to be called seq_enum), but that seems to have disappeared in the new version of the libraries.

 

Thanks,

Aleks

 

 



  • finite types, Aleks Nanevski, 06/18/2009

Archive powered by MHonArc 2.6.18.

Top of Page