coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
- To: Fabien Renaud <Fabien.Renaud AT inria.fr>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] How to talk about a restricted set of an inductive?
- Date: Thu, 03 Oct 2013 13:49:06 +0200
On 10/03/2013 01:40 PM, Fabien Renaud wrote:
I know that in my example the property is not true in general.You should probably give a more illustrative example. Here, any sensible restriction is the same as the property you wish to prove.
I would like to know if there is a way to restrict the statement on
NList_ which have been created by NList (for which the statement is true).
The best result you well get in this case is:
Goal forall A (l : list A) n, NList_ n l -> n <= length l.
Proof. induction 1; simpl; auto with arith. Qed.
- [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Rui Baptista, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Rui Baptista, 10/03/2013
- Message not available
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Robbert Krebbers, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Robbert Krebbers, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Rui Baptista, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Robbert Krebbers, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Cedric Auger, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Jonas Oberhauser, 10/04/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/04/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Jean-Francois Monin, 10/04/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/04/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Cedric Auger, 10/04/2013
- Message not available
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Rui Baptista, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Fabien Renaud, 10/03/2013
- Re: [Coq-Club] How to talk about a restricted set of an inductive?, Rui Baptista, 10/03/2013
Archive powered by MHonArc 2.6.18.