coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Matthieu Sozeau <matthieu.sozeau AT inria.fr>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] latest Coq trunk breaks some things
- Date: Wed, 7 May 2014 09:58:38 +0200
Hi Jonathan,
Could you please report it on the coq bugzilla (coq.inria.fr/bugs)?
coq-club is not really appropriate for bug reports.
Best,
— Matthieu
On 7 mai 2014, at 05:13, Jonathan
<jonikelee AT gmail.com>
wrote:
> Another failure - this possibly pointing to some universe changes:
>
> Inductive Foo(A : Type) : Prop :=
> foo: A -> Foo A.
>
> Arguments foo [A] _.
>
> Scheme Foo_elim := Induction for Foo Sort Prop.
>
> Goal forall (fn : Foo nat), { x: nat | foo x = fn }.
> intro fn.
> induction fn as [n] using Foo_elim. (* should fail in a non-Prop context,
> but now succeeds *)
> exists n.
> reflexivity.
> Qed. (* fails with error below *)
> (* also note that "undo step" doesn't work once Qed fails *)
>
> (* The error produced at Qed is:
> Toplevel input, characters 0-4:
> Error: Illegal application:
> The term "Foo_elim" of type
> "forall (A : Type) (P : Foo A -> Prop),
> (forall a : A, P (foo a)) -> forall f0 : Foo A, P f0"
> cannot be applied to the terms
> "nat" : "Set"
> "fun f : Foo nat => {x : nat | foo x = f}" : "Foo nat -> Set"
> "fun n : nat => exist (fun x : nat => foo x = foo n) n eq_refl"
> : "forall n : nat, {x : nat | foo x = foo n}"
> "fn" : "Foo nat"
> The 2nd term has type "Foo nat -> Set" which should be coercible to
> "Foo nat -> Prop".
> *)
>
- [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Matthieu Sozeau, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
- Message not available
- [Coq-Club] professional advice for a young Coq developer, Larry D. Lee jr., 05/22/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Adam Chlipala, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Ramana Kumar, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, David MENTRE, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Adam Chlipala, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Bas Spitters, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, David MENTRE, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Adam Chlipala, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Jonathan, 05/23/2014
- Re: [Coq-Club] professional advice for a young Coq developer, Adam Chlipala, 05/23/2014
- [Coq-Club] professional advice for a young Coq developer, Larry D. Lee jr., 05/22/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Matthieu Sozeau, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
- Re: [Coq-Club] latest Coq trunk breaks some things, Jonathan, 05/07/2014
Archive powered by MHonArc 2.6.18.