removed obsolete simple_note_thms;
authorwenzelm
Tue, 21 Nov 2006 20:48:06 +0100
changeset 21449 0413b46ee5ef
parent 21448 09c953c07008
child 21450 f16c9e6401d1
removed obsolete simple_note_thms;
src/Pure/Isar/proof.ML
--- a/src/Pure/Isar/proof.ML	Tue Nov 21 20:48:03 2006 +0100
+++ b/src/Pure/Isar/proof.ML	Tue Nov 21 20:48:06 2006 +0100
@@ -60,7 +60,6 @@
   val chain: state -> state
   val chain_facts: thm list -> state -> state
   val get_thmss: state -> (thmref * Attrib.src list) list -> thm list
-  val simple_note_thms: string -> thm list -> state -> state
   val note_thmss: ((string * Attrib.src list) *
     (thmref * Attrib.src list) list) list -> state -> state
   val note_thmss_i: ((string * attribute list) *
@@ -610,7 +609,6 @@
   gen_thmss (ProofContext.note_thmss_i "") (K []) I I (K I) o map (apsnd Thm.simple_fact);
 
 fun get_thmss state srcs = the_facts (note_thmss [(("", []), srcs)] state);
-fun simple_note_thms name thms = note_thmss_i [((name, []), [(thms, [])])];
 
 end;
 
@@ -661,7 +659,7 @@
     |> assume_i assumptions
     |> add_binds_i AutoBind.no_facts
     |> map_context (ProofContext.restore_naming (context_of state))
-    |> `the_facts |-> simple_note_thms name
+    |> `the_facts |-> (fn thms => note_thmss_i [((name, []), [(thms, [])])])
   end;
 
 in