aboutsummaryrefslogtreecommitdiff
path: root/tactics/setoid_replace.ml
diff options
context:
space:
mode:
authorcoq2002-05-02 15:37:22 +0000
committercoq2002-05-02 15:37:22 +0000
commit0dfd236fc86f3016d8b9276820b60579922ff0a8 (patch)
treec44b20b2bbd9e60dab4b1f478ff079e842e4e1c9 /tactics/setoid_replace.ml
parent1d08096be11d3b0a8aeed8e2b1d94f92bab7d965 (diff)
Minor correction of get_lem_name
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2664 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/setoid_replace.ml')
-rw-r--r--tactics/setoid_replace.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/setoid_replace.ml b/tactics/setoid_replace.ml
index 5ff8be0f44..1ebc684878 100644
--- a/tactics/setoid_replace.ml
+++ b/tactics/setoid_replace.ml
@@ -303,7 +303,7 @@ let gen_lem_name m = match kind_of_term m with
| Const sp -> add_suffix (basename sp) "_ext"
| Ind (sp, i) -> add_suffix (basename sp) ((string_of_int i)^"_ext")
| Construct ((sp,i),j) -> add_suffix
- (basename sp) ((string_of_int i)^(string_of_int i)^"_ext")
+ (basename sp) ((string_of_int i)^(string_of_int j)^"_ext")
| _ -> errorlabstrm "New Morphism" (str "The term " ++ prterm m ++ str "is not a known name")
let gen_lemma_tail m lisset body n =