Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] type conversion

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] type conversion


chronological Thread 
  • From: Taral <taralx AT gmail.com>
  • To: "Lucian M. Patcas" <lucs12 AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] type conversion
  • Date: Fri, 27 Aug 2010 19:14:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=MYp7cjQJGNLm1bdxf9CqiWuKpkKRjewRz+2S7GAAeFCibo1/OUUKvSYEisk8/4MvL/ 0nAPDvGVWNad+VqqsR671UnKs0fb+4DWUcP5EzoPjx1+6uReq0K8Wp/BoJrV6uP0Pi60 CSk16Hs3hyItWDGQ7ITBVSUhkWbUJb66uw8f4=

On Fri, Aug 27, 2010 at 5:29 PM, Lucian M. Patcas 
<lucs12 AT gmail.com>
 wrote:
> forall t : nat, prod t bool
>
> and the typechecker complained that t was not of type "Type". But t : nat :
> Set : Type. Unless I am missing something, how can I convince the
> typechecker to do this type conversion?

Elements of sets are not sets. t is not a type, it's a value...

-- 
Taral 
<taralx AT gmail.com>
"Please let me know if there's any further trouble I can give you."
    -- Unknown




Archive powered by MhonArc 2.6.16.

Top of Page