Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Mysterious Universes introduced by List.tl and List.repeat

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Mysterious Universes introduced by List.tl and List.repeat


Chronological Thread 
  • From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Mysterious Universes introduced by List.tl and List.repeat
  • Date: Wed, 6 Sep 2017 07:49:41 +0200

On 06/09/2017 01:14, Jan-Oliver Kaiser wrote:
> Hey everyone,
>
> List.tl and List.repeat are outliers in the List module as they
> introduce new universes which upper-bound list's own universe variable
> in the global graph. Why is that?

Good catch. They are created because of the implicit argument of nil,
which is of type Type. I have no idea whether this deficiency of Coq is
easily fixed, but we can at least remove these superfluous universes by
explicit setting the argument of nil in the definitions of tl and repeat.

Best regards,

Guillaume



Archive powered by MHonArc 2.6.18.

Top of Page