coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] question about universes and equalities
- Date: Mon, 9 May 2016 11:14:27 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f169.google.com
- Ironport-phdr: 9a23:xmfGpxXVODt3MuZJpYIZxOKDiVLV8LGtZVwlr6E/grcLSJyIuqrYZheOt8tkgFKBZ4jH8fUM07OQ6PCxHzVaqsnR+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq8yVOl8D22r1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdfFXEtN30/zMztrxjKCwWVtVUGVWBDsB1OChTF5ReyeprwrCb8qqIp2i6cPM77Sb05cTun5qZvDhTvjXFUZHYC7GjLh5ko3+pgqxW7qkknzg==
On 05/09/2016 09:13 AM, Matthieu Sozeau wrote:
Variables S1 S2 : Set.That's a regression in tauto indeed, which now requires exact equality
Goal @eq Type S1 S2 -> @eq Type S1 S2.
intro H.
Fail tauto.
assumption.
Qed.
Why does tauto fail, when assumption succeeds? Is this a bug in tauto?
of the universes, through a non linear goal pattern matching:
match goal with ?X1 |- ?X1 forces both instances of X1 to be convertible,
with no additional universe constraints currently, but the two types are
initially different. This can be fixed easily to allow the same flexibility
as in 8.4 (or assumption) to unify the universes as well.
Just submitted as #4721
Definition T1 : Type := S1.This one is a bit more surprising: congruence does not work up to
Definition T2 : Type := S2.
Goal T1 = T1.
congruence.
Undo.
tauto.
Undo.
unfold T1.
Fail congruence.
tauto.
Qed.
cumulativity Set <= Type(i) (already in 8.4). It builds a proof of [@eq Set
S1 S1] by inferring the type of S1, but this proof can no longer apply to
the [@eq Type S1 S1] goal, because Type cannot be unified with Set in
general. It can also be fixed by allowing larger types in the proofs
produced by congruence.
This is #4718, submitted before I started to think that maybe I was just using universes incorrectly.
Best,
-- Matthieu
Thanks, Matthieu.
-- Jonathan
- [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Matthieu Sozeau, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Matthieu Sozeau, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Stefan Monnier, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/10/2016
- Re: [Coq-Club] question about universes and equalities, Clément Pit--Claudel, 05/10/2016
- Re: [Coq-Club] question about universes and equalities, Clément Pit--Claudel, 05/10/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/10/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/09/2016
- Re: [Coq-Club] question about universes and equalities, Jonathan Leivent, 05/08/2016
- Re: [Coq-Club] question about universes and equalities, Jason Gross, 05/08/2016
Archive powered by MHonArc 2.6.18.