added prop_of: thm -> term (at last!);
authorwenzelm
Thu, 17 Jan 2002 21:04:16 +0100
changeset 12803 37131c76dff6
parent 12802 c69bd9754473
child 12804 163a85ba885b
added prop_of: thm -> term (at last!);
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Thu Jan 17 21:03:55 2002 +0100
+++ b/src/Pure/thm.ML	Thu Jan 17 21:04:16 2002 +0100
@@ -50,6 +50,7 @@
   type 'a attribute 	(* = 'a * thm -> 'a * thm *)
   val eq_thm		: thm * thm -> bool
   val sign_of_thm       : thm -> Sign.sg
+  val prop_of           : thm -> term
   val transfer_sg	: Sign.sg -> thm -> thm
   val transfer		: theory -> thm -> thm
   val tpairs_of         : thm -> (term * term) list
@@ -324,6 +325,7 @@
   end;
 
 fun sign_of_thm (Thm {sign_ref, ...}) = Sign.deref sign_ref;
+fun prop_of (Thm {prop, ...}) = prop;
 
 (*merge signatures of two theorems; raise exception if incompatible*)
 fun merge_thm_sgs