src/Pure/Thy/export_theory.ML
changeset 70917 693e811b91bb
parent 70915 bd4d37edfee4
child 70919 692095bafcd9
--- a/src/Pure/Thy/export_theory.ML	Sun Oct 20 21:12:18 2019 +0200
+++ b/src/Pure/Thy/export_theory.ML	Sun Oct 20 21:34:29 2019 +0200
@@ -255,13 +255,11 @@
     val lookup_thm_id = Global_Theory.lookup_thm_id thy;
 
     fun proof_boxes_of thm thm_id =
-      if export_standard_proofs then []
-      else
-        let
-          val dep_boxes =
-            thm |> Thm_Deps.proof_boxes (fn thm_id' =>
-              if #serial thm_id = #serial thm_id' then false else is_some (lookup_thm_id thm_id'));
-        in dep_boxes @ [thm_id] end;
+      let
+        val dep_boxes =
+          thm |> Thm_Deps.proof_boxes (fn thm_id' =>
+            if #serial thm_id = #serial thm_id' then false else is_some (lookup_thm_id thm_id'));
+      in dep_boxes @ [thm_id] end;
 
     fun expand_name thm_id (header: Proofterm.thm_header) =
       if #serial header = #serial thm_id then ""