coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Gregory Malecha <gmalecha AT cs.harvard.edu>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Universe Checks in 8.5
- Date: Fri, 4 Sep 2015 00:31:45 -0700
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=gmalecha AT cs.harvard.edu; spf=None smtp.mailfrom=gmalecha AT cs.harvard.edu; spf=None smtp.helo=postmaster AT mail.eecs.harvard.edu
- Ironport-phdr: 9a23:joItFRb1F6OIbUtQkcFYxMD/LSx+4OfEezUN459isYplN5qZpcu9bnLW6fgltlLVR4KTs6sC0LqK9fi9EjVZvN6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDuvcWOKFwR2XKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGY2zRakzTKRZATI6KCh1oZSz7ViQBTeIs1AbSy09lgdCS1zO6wi/VZPsuAP7sPB80W+UJ5ulY6ozXGGN9apkTwX5wAIOMzMy8Gif3sN1haZWqxKojxdkhY7dep+cLvY4c6/AK4BJDVFdV9pcAnQSSri3aJECWq9YZb5V
This might be an issue with Admitted proofs. I tried inlining bar and then foo and things broke. I will continue to look into things.
--
This is not related to my work on the vm, but I guess it is somewhat related since it also has to do with universes.
On Fri, Sep 4, 2015 at 12:13 AM, Enrico Tassi <enrico.tassi AT inria.fr> wrote:
On Thu, Sep 03, 2015 at 07:23:09PM -0700, Gregory Malecha wrote:
> Hello --
>
> I'm working on a development trying to track down a universe inconsistency
> and I've run into difficulties tracking it down. I have a blank file and do:
>
> Require Import foo.
> Require Import bar.
>
> Here I get a universe inconsistency when including bar.
>
> So I include the text of foo verbatim and run it, I get a universe
> inconsistency. I included contents of foo to find the minimal amount that
> is necessary to retain the universe inconsistency. So now I have,
>
> (* a bunch of stuff included from foo *)
> Require Import bar. (* <<--- universe inconsistency here *)
>
> Now I repeat the process on bar. But when I inline the contents of bar and
> evaluate it, Coq accepts all of the definitions without a universe
> inconsistency.
>
> Is this expected behavior? Are there extra checks that are occuring when
> importing a file that are not processed when the definitions are done
> inline? Is there some reason why inlining should make universes consistent?
Is this related to your work on making vm_compute and universe
polymorphism work correctly in 8.5, or it is an unrelated problem you
are trying to pin down?
To my knowledge, all universes related optimizations (like coalescing
two universes that could be distinct, i.e. imposing an extra constraint
to lower the number of universes) are done only at Qed time, so there
should be no extra check/optimization going on when you save a .vo or
require it. I know that universes names are still unstable (i.e. they
depend on the file name they appear in). Still, to my knowledge, this
should only affect pretty printing, not logical consistency (still this
may make your debugging harder...).
Could you share foo and bar?
Also, I guess coqdev would be a more appropriate venue for bugs
concerning 8.5.
Best,
--
Enrico Tassi
gregory malecha
- [Coq-Club] Universe Checks in 8.5, Gregory Malecha, 09/04/2015
- Re: [Coq-Club] Universe Checks in 8.5, Jason Gross, 09/04/2015
- Re: [Coq-Club] Universe Checks in 8.5, Enrico Tassi, 09/04/2015
- Re: [Coq-Club] Universe Checks in 8.5, Jesper Bengtson, 09/04/2015
- Re: [Coq-Club] Universe Checks in 8.5, Gregory Malecha, 09/04/2015
Archive powered by MHonArc 2.6.18.