added maxidx_of;
authorwenzelm
Thu, 13 Apr 2006 12:01:07 +0200
changeset 19429 e425e74b01af
parent 19428 43bfe55759b0
child 19430 177e35232d1b
added maxidx_of;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Thu Apr 13 12:01:06 2006 +0200
+++ b/src/Pure/thm.ML	Thu Apr 13 12:01:07 2006 +0200
@@ -75,6 +75,7 @@
   val eq_thms: thm list * thm list -> bool
   val theory_of_thm: thm -> theory
   val sign_of_thm: thm -> theory    (*obsolete*)
+  val maxidx_of: thm -> int
   val prop_of: thm -> term
   val proof_of: thm -> Proofterm.proof
   val tpairs_of: thm -> (term * term) list
@@ -443,6 +444,7 @@
 fun theory_of_thm (Thm {thy_ref, ...}) = Theory.deref thy_ref;
 val sign_of_thm = theory_of_thm;
 
+fun maxidx_of (Thm {maxidx, ...}) = maxidx;
 fun prop_of (Thm {prop, ...}) = prop;
 fun proof_of (Thm {der = (_, proof), ...}) = proof;
 fun tpairs_of (Thm {tpairs, ...}) = tpairs;