src/ZF/Tools/cartprod.ML
changeset 22596 d0d2af4db18f
parent 15674 4a1d07bb53e2
child 24584 01e83ffa6c54
--- a/src/ZF/Tools/cartprod.ML	Wed Apr 04 20:22:32 2007 +0200
+++ b/src/ZF/Tools/cartprod.ML	Wed Apr 04 23:29:33 2007 +0200
@@ -106,7 +106,7 @@
 fun split_rule_var (Var(v,_), Type("fun",[T1,T2]), rl) =
       let val T' = factors T1 ---> T2
           val newt = ap_split T1 T2 (Var(v,T'))
-          val cterm = Thm.cterm_of (#sign(rep_thm rl))
+          val cterm = Thm.cterm_of (Thm.theory_of_thm rl)
       in
           remove_split (instantiate ([], [(cterm (Var(v, Ind_Syntax.iT-->T2)), 
                                            cterm newt)]) rl)