]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/introductionTactics.ml
Added module DiscriminationTactics with brand new tactics Injection and
[helm.git] / helm / ocaml / tactics / introductionTactics.ml
index bc28c41709c92719a143d40506a9db6860a2f8e5..6318f489041d48e02e9590c501c53ff1a9e5cee1 100644 (file)
@@ -32,8 +32,9 @@ let constructor_tac ~n ~status:(proof, goal) =
      match (R.whd context ty) with
         (C.MutInd (uri, typeno, exp_named_subst))
       | (C.Appl ((C.MutInd (uri, typeno, exp_named_subst))::_)) ->
-         PrimitiveTactics.apply_tac ~status:(proof, goal)
+         PrimitiveTactics.apply_tac 
           ~term: (C.MutConstruct (uri, typeno, n, exp_named_subst))
+          ~status:(proof, goal)
       | _ -> raise (ProofEngineTypes.Fail "Constructor: failed")
 ;;