coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Nuno Gaspar <nmpgaspar AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] should typecheck... right
- Date: Thu, 1 Aug 2013 18:05:04 +0200
Hello.
Well, I'm having an hard time reproducing an example I was given. I think I can resume it to the following (I'm actually not sure my simplification didn't break the original problem...but heh)Parameter l : list nat.
Parameter x_nil : forall n:nat, In n nil.
Parameter x_not_nil : forall (n:nat), In n l.
Fixpoint test l :=
match l with
nil => x_nil
| cons e r => x_not_nil
end.
How would go for making this typecheck? I'm sure it can be done..
Thank you fellas.
--
Bart: Look at me, I'm a grad student, I'm 30 years old and I made $600 dollars last year.
Marge: Bart! Don't make fun of grad students, they just made a terrible life choice.
- [Coq-Club] should typecheck... right, Nuno Gaspar, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Beta Ziliani, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Valentin Robert, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Cedric Auger, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Cedric Auger, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/01/2013
- Re: [Coq-Club] should typecheck... right, t x, 08/02/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/02/2013
- Re: [Coq-Club] should typecheck... right, t x, 08/02/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Cedric Auger, 08/04/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/05/2013
- Re: [Coq-Club] should typecheck... right, Cedric Auger, 08/01/2013
- Re: [Coq-Club] should typecheck... right, Nuno Gaspar, 08/01/2013
Archive powered by MHonArc 2.6.18.