src/Provers/eqsubst.ML
changeset 15915 b0e8b37642a4
parent 15855 55e443aa711d
child 15929 68bd1e16552a
--- a/src/Provers/eqsubst.ML	Tue May 03 02:44:10 2005 +0200
+++ b/src/Provers/eqsubst.ML	Tue May 03 02:45:55 2005 +0200
@@ -28,8 +28,8 @@
 sig
 
   type match = 
-       ((Term.indexname * Term.typ) list (* type instantiations *)
-        * (Term.indexname * Term.term) list) (* term instantiations *)
+       ((Term.indexname * (Term.sort * Term.typ)) list (* type instantiations *)
+        * (Term.indexname * (Term.typ * Term.term)) list) (* term instantiations *)
        * (string * Term.typ) list (* fake named type abs env *)
        * (string * Term.typ) list (* type abs env *)
        * Term.term (* outer term *)
@@ -122,13 +122,13 @@
   : EQSUBST_TAC
 = struct
 
-  (* a type abriviation for match infomration *)
+  (* a type abriviation for match information *)
   type match = 
-       ((Term.indexname * Term.typ) list (* type instantiations *)
-         * (Term.indexname * Term.term) list) (* term instantiations *)
-        * (string * Term.typ) list (* fake named type abs env *)
-        * (string * Term.typ) list (* type abs env *)
-        * Term.term (* outer term *)
+       ((Term.indexname * (Term.sort * Term.typ)) list (* type instantiations *)
+        * (Term.indexname * (Term.typ * Term.term)) list) (* term instantiations *)
+       * (string * Term.typ) list (* fake named type abs env *)
+       * (string * Term.typ) list (* type abs env *)
+       * Term.term (* outer term *)
 
 
 (* FOR DEBUGGING...
@@ -209,7 +209,7 @@
 fun apply_subst_in_concl i th (cfvs, conclthm) rule m = 
     (RWInst.rw m rule conclthm)
       |> IsaND.unfix_frees cfvs
-      |> RWInst.beta_eta_contract_tac
+      |> RWInst.beta_eta_contract
       |> (fn r => Tactic.rtac r i th);
 
 (*
@@ -281,7 +281,7 @@
     (RWInst.rw m rule pth)
       |> Thm.permute_prems 0 ~1
       |> IsaND.unfix_frees cfvs
-      |> RWInst.beta_eta_contract_tac
+      |> RWInst.beta_eta_contract
       |> (fn r => Tactic.dtac r i th);
 
 (*