Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Re: Universe Polymorphism

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Re: Universe Polymorphism


chronological Thread 
  • From: David Leduc <david.leduc6 AT googlemail.com>
  • To: Andreas Abel <andreas.abel AT ifi.lmu.de>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Re: Universe Polymorphism
  • Date: Tue, 14 Sep 2010 13:49:29 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=v/iPAoWsMkFykusReDpp1vQMs02GU1s1r1Fz5MyT3crcz+ytUowAC3ceDjuGq4cUqy BrBo5Ua5xz0NunpbzAdlnr9KrlYtDzaLLqDL7glCJO4sACj+4d2PTibNFG8CDQE834uE v3H3bCQwPvjdLjKGaU3aXx3iKqNlQK6UT21xc=

HI Andreas,

Andreas Abel 
<andreas.abel AT ifi.lmu.de>
 wrote:
> During the Agda meeting which finished a week ago we started to add
> cumulativity

This looks like a very dynamic community!!

> As of now, you can play with explicit universe polymorphism and cumulativity
> in MiniAgda (see my homepage).  There your example looks like:

I'm not familiar with Agda's syntax.

> data T (i : Size) : Set $i
> { inn : (out : Set i) -> T i
> }

I guess 'inn' is for the 't' in my example.
What is 'out'? Why do you need it?

> fun U : (i : Size) -> T $i
> { U i = inn $i (T i)
> }

I guess it's a function definition by case analysis (here the only
case is 'i'), right?
I'm surprised by the $i in the type of U. Shouldn't it be the successor of 
$i???
Why do you pass two arguments to 'inn' while according to its
definition it appears to take only one?




Archive powered by MhonArc 2.6.16.

Top of Page