]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/variousTactics.ml
name specifications added for elim_intros, elim_intros_simpl and elim_type
[helm.git] / helm / ocaml / tactics / variousTactics.ml
index 73309c43ecfb387cf2f901700c52461f26ad0b45..e2003f48d4ab1b2b437393245b5b3aa8d9fa4476 100644 (file)
@@ -68,10 +68,6 @@ exception TheSelectedTermsMustLiveInTheGoalContext
 exception AllSelectedTermsMustBeConvertible;;
 exception GeneralizationInHypothesesNotImplementedYet;;
 
-(* serve una funzione che cerchi nel ty dal basso a partire da term, i lambda
-e li aggiunga nel context, poi si conta la lunghezza di questo nuovo
-contesto e si lifta di tot... COSA SIGNIFICA TUTTO CIO'?????? *)
-
 let generalize_tac 
  ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[])
  pattern
@@ -89,7 +85,6 @@ let generalize_tac
     let (_,context,ty) as conjecture = CicUtil.lookup_meta goal metasenv in
     let selected_hyps,terms_with_context =
      ProofEngineHelpers.select ~metasenv ~conjecture ~pattern in
-    assert (selected_hyps = []);
     let typ,term =
      match terms_with_context, term with
         [], None ->