aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorletouzey2003-04-16 22:23:58 +0000
committerletouzey2003-04-16 22:23:58 +0000
commit8568214f1b7950fe9c5d95c04e851c00f49751ce (patch)
tree91d2fe6ba491c2e7df9ef28eccffcfe37fd286da /tactics
parent391605f6195f92603ca960014db302dc79e6d24f (diff)
simplification: fst (list_chop n l) = firstn n l et snd (list_chop n l) = list_skipn n l
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3931 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/eqdecide.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/eqdecide.ml4 b/tactics/eqdecide.ml4
index a14a7b2dea..22f0d36afa 100644
--- a/tactics/eqdecide.ml4
+++ b/tactics/eqdecide.ml4
@@ -131,7 +131,7 @@ let solveLeftBranch rectype g =
| _ :: lhs :: rhs :: _ ->
let (mib,mip) = Global.lookup_inductive rectype in
let nparams = mip.mind_nparams in
- let getargs l = snd (list_chop nparams (snd (decompose_app l))) in
+ let getargs l = list_skipn nparams (snd (decompose_app l)) in
let rargs = getargs (snd rhs)
and largs = getargs (snd lhs) in
List.fold_right2