src/HOL/Tools/SMT/z3_proof_tools.ML
changeset 41172 a17c2d669c40
parent 41123 3bb9be510a9d
child 41281 679118e35378
--- a/src/HOL/Tools/SMT/z3_proof_tools.ML	Wed Dec 15 14:29:04 2010 +0100
+++ b/src/HOL/Tools/SMT/z3_proof_tools.ML	Wed Dec 15 16:29:56 2010 +0100
@@ -6,9 +6,7 @@
 
 signature Z3_PROOF_TOOLS =
 sig
-  (*accessing and modifying terms*)
-  val term_of: cterm -> term
-  val prop_of: thm -> term
+  (*modifying terms*)
   val as_meta_eq: cterm -> cterm
 
   (*theorem nets*)
@@ -51,12 +49,7 @@
 
 
 
-(* accessing terms *)
-
-val dest_prop = (fn @{const Trueprop} $ t => t | t => t)
-
-fun term_of ct = dest_prop (Thm.term_of ct)
-fun prop_of thm = dest_prop (Thm.prop_of thm)
+(* modifying terms *)
 
 fun as_meta_eq ct = uncurry U.mk_cequals (Thm.dest_binop (U.dest_cprop ct))