src/Pure/Proof/proof_rewrite_rules.ML
changeset 70447 755d58b48cec
parent 70417 eb6ff14767cd
child 70449 6e34025981be
--- a/src/Pure/Proof/proof_rewrite_rules.ML	Tue Jul 30 13:22:29 2019 +0200
+++ b/src/Pure/Proof/proof_rewrite_rules.ML	Tue Jul 30 14:35:29 2019 +0200
@@ -265,7 +265,7 @@
               then I
               else cons (name, SOME prop)
             | _ => I) [prf] [];
-      in Reconstruct.expand_proof ctxt thms end;
+      in Proofterm.expand_proof ctxt thms end;
   in
     rewrite_terms (Pattern.rewrite_term (Proof_Context.theory_of ctxt) defs' [])
       (fst (insert_refl defnames [] (f prf)))
@@ -276,7 +276,7 @@
 
 fun elim_vars mk_default prf =
   let
-    val prop = Reconstruct.prop_of prf;
+    val prop = Proofterm.prop_of prf;
     val tv = Term.add_vars prop [];
     val tf = Term.add_frees prop [];
 
@@ -354,8 +354,8 @@
         ~1 => error "expand_of_class: missing class hypothesis"
       | i => PBound i;
     fun reconstruct prf prop = prf |>
-      Reconstruct.reconstruct_proof ctxt prop |>
-      Reconstruct.expand_proof ctxt [("", NONE)] |>
+      Proofterm.reconstruct_proof ctxt prop |>
+      Proofterm.expand_proof ctxt [("", NONE)] |>
       Same.commit (Proofterm.map_proof_same Same.same Same.same hyp)
   in
     map2 reconstruct