]> matita.cs.unibo.it Git - helm.git/commitdiff
Added an almost working version of Generalize tactic.
authorMichele Galatà <??>
Thu, 12 Dec 2002 15:36:00 +0000 (15:36 +0000)
committerMichele Galatà <??>
Thu, 12 Dec 2002 15:36:00 +0000 (15:36 +0000)
helm/gTopLevel/variousTactics.ml

index 7d074838526d76c3036f9a4bbcc300deddb6e402..615cf43b4930c954b4fc3f187138610d7c9c8091 100644 (file)
@@ -74,15 +74,15 @@ let generalize_tac ~term ~status:((proof,goal) as status) =
      T.thens 
       ~start:(P.cut_tac 
        ~term:(
-         C.Prod (
-          (C.Name "dummy_for_gen"))
-          (CicTypeChecker.type_of_aux' metasenv context term)),
+         C.Prod(
+          (C.Name "dummy_for_gen"), 
+          (CicTypeChecker.type_of_aux' metasenv context term),
           (ProofEngineReduction.replace_lifting_csc 1
             ~equality:(==) 
             ~what:term 
             ~with_what:(C.Rel 1) (* C.Name "dummy_for_gen" *)  
             ~where:ty)
-          )    
+          )))  
       ~continuations: [(P.apply_tac ~term:(C.Rel 1)) ; T.id_tac]
       ~status
 ;;
@@ -112,10 +112,3 @@ let compare_tac ~term1 ~term2 ~status:((proof, goal) as status) =
 ;;
 *)
 
-
-
-(*** DOMANDE ***
-
-- field, omega... come ring?
-
-*)