Fixed small bug that caused some definitions to be "forgotten".
authorberghofe
Sun, 17 Nov 2002 23:43:53 +0100
changeset 13719 44fed7d0c305
parent 13718 9f94248d2f5a
child 13720 be087f48b99f
Fixed small bug that caused some definitions to be "forgotten".
src/Pure/Proof/extraction.ML
--- a/src/Pure/Proof/extraction.ML	Sat Nov 16 23:01:59 2002 +0100
+++ b/src/Pure/Proof/extraction.ML	Sun Nov 17 23:43:53 2002 +0100
@@ -478,7 +478,7 @@
                     val args = vfs_of prop;
                     val corr_prf' = foldr forall_intr_prf (args, corr_prf);
                   in
-                    ((name, (vs', ((nullt, nullt), corr_prf'))) :: defs',
+                    ((name, (vs', ((nullt, nullt), corr_prf'))) :: defs'',
                      prf_subst_TVars tye' corr_prf')
                   end
               | Some (_, prf') => (defs', prf_subst_TVars tye' prf'))
@@ -580,7 +580,7 @@
                                   Some (map TVar (term_tvars eqn))))) %%
                             corr_prf)))
                   in
-                    ((s, (vs', ((t', u), corr_prf'))) :: defs',
+                    ((s, (vs', ((t', u), corr_prf'))) :: defs'',
                      subst_TVars tye' u)
                   end
               | Some ((_, u), _) => (defs, subst_TVars tye' u))