coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: <michael.soegtrop AT intel.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] avoid recursive expansion with simpl or cbv
- Date: Mon, 21 Oct 2013 13:48:46 +0200
Dear COQ users,
I wonder if there is a way to specify the recursion depth in simpl or cbv
tactics. E.g. in the following case:
Fixpoint even (n:nat) : Prop :=
match n with
| 0 => True
| 1 => False
| S (S p) => even p
end.
Eval simpl in even(4).
is it possible to get even(2) as answer instead of True? This is of cause a
not so interesting example, but I have a case where I want to restrict the
evaluation depth in an inductive proof, because after one evaluation I can use
the induction hypothesis to simplify the goal, but not after full recursive
evalutaion.
Thanks & best regards,
Michael
- [Coq-Club] avoid recursive expansion with simpl or cbv, michael.soegtrop, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Laurent Théry, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Arnaud Spiwack, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Nuno Gaspar, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Laurent Théry, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Robbert Krebbers, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Gert Smolka, 10/21/2013
- RE: [Coq-Club] avoid recursive expansion with simpl or cbv, Soegtrop, Michael, 10/21/2013
- RE: [Coq-Club] avoid recursive expansion with simpl or cbv, Soegtrop, Michael, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Nuno Gaspar, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Arnaud Spiwack, 10/21/2013
- Re: [Coq-Club] avoid recursive expansion with simpl or cbv, Laurent Théry, 10/21/2013
Archive powered by MHonArc 2.6.18.