coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Matthieu Sozeau <mattam AT mattam.org>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Find all universes in a term
- Date: Fri, 21 Oct 2016 08:20:35 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mattam AT mattam.org; spf=Pass smtp.mailfrom=matthieu.sozeau AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f182.google.com
- Ironport-phdr: 9a23:9/62OhUwyAA9RvFbGSpR2bwMtH/V8LGtZVwlr6E/grcLSJyIuqrYZhSCt8tkgFKBZ4jH8fUM07OQ6PG6HzFRqs/b7zhCKMUKDEBVz51O3kQJO42sNw7SFLbSdSs0HcBPBhdO3kqQFgxrIvv4fEDYuXao7DQfSV3VPAtxIfnpSMaJ15zkn8j7wZDYYh1JiTyhevsyaUzu9USC/vUR1KBlM+4azgbD6i9DfP0Tzmd1L3qSmQz974G+5sgw3T5XvqcE/tJcUaT3YuwDSq5VBSluZ2U8+NHisDHGRBeT735aVX8ZxEkbSzPZ5Q33C8+i+hDxsfBwjWzDZZX7
In this particular case you should look what Coq.Init.Datatypes.51 corresponds to, probably some inductive parameter, and see to what the inductive is applied in your term.
On Fri, Oct 21, 2016 at 6:02 AM Jason Gross <jasongross9 AT gmail.com> wrote:
Note that reduction can leave over floating universes
Definition foo := Eval hnf in let T := Type in let enforce := (Type : (Type : T)) in T.
Perhaps it comes from that, or from tactics?On Thu, Oct 20, 2016, 11:48 PM Gregory Malecha <gmalecha AT gmail.com> wrote:Hello --Is there a way to get Coq to tell you where a universe comes from in a term? I know that you can do:Set Printing All.Set Printing Universes.and then say:Print foo.To see all of the universe annotations, but this is giving me odd output for a particular function. In particular, the universe annotation is:(* MirrorCore.EnvI.30 |= Set <= MirrorCore.EnvI.30MirrorCore.EnvI.30 <= Coq.Init.Datatypes.51Urefl <= MirrorCore.EnvI.30*)But when I search the text of the term, MirrorCore.EnvI.30 does not occur anywhere.Any pointers would be greatly appreciated.--- gregory malecha
gmalecha.github.io
- [Coq-Club] Find all universes in a term, Gregory Malecha, 10/21/2016
- Re: [Coq-Club] Find all universes in a term, Jason Gross, 10/21/2016
- Re: [Coq-Club] Find all universes in a term, Matthieu Sozeau, 10/21/2016
- Re: [Coq-Club] Find all universes in a term, Gregory Malecha, 10/21/2016
- Re: [Coq-Club] Find all universes in a term, Matthieu Sozeau, 10/21/2016
- Re: [Coq-Club] Find all universes in a term, Jason Gross, 10/21/2016
Archive powered by MHonArc 2.6.18.