src/Pure/more_thm.ML
changeset 64574 1134e4d5e5b7
parent 64568 a504a3dec35a
child 65458 cf504b7a7aa7
--- a/src/Pure/more_thm.ML	Fri Dec 16 14:06:31 2016 +0100
+++ b/src/Pure/more_thm.ML	Fri Dec 16 19:07:16 2016 +0100
@@ -111,7 +111,7 @@
   val untag: string -> attribute
   val kind: string -> attribute
   val register_proofs: thm list -> theory -> theory
-  val join_theory_proofs: theory -> unit
+  val consolidate_theory: theory -> unit
   val show_consts_raw: Config.raw
   val show_consts: bool Config.T
   val show_hyps_raw: Config.raw
@@ -644,8 +644,8 @@
 fun register_proofs more_thms =
   Proofs.map (fold (cons o Thm.trim_context) more_thms);
 
-fun join_theory_proofs thy =
-  Thm.join_proofs (map (Thm.transfer thy) (rev (Proofs.get thy)));
+fun consolidate_theory thy =
+  List.app (Thm.consolidate o Thm.transfer thy) (rev (Proofs.get thy));