src/Pure/proofterm.ML
changeset 77890 26d49c15bff0
parent 77889 5db014c36f42
child 78759 461e924cc825
equal deleted inserted replaced
77889:5db014c36f42 77890:26d49c15bff0
  2135 
  2135 
  2136 fun export_enabled () = Options.default_bool "export_proofs";
  2136 fun export_enabled () = Options.default_bool "export_proofs";
  2137 fun export_standard_enabled () = Options.default_bool "export_standard_proofs";
  2137 fun export_standard_enabled () = Options.default_bool "export_standard_proofs";
  2138 
  2138 
  2139 fun export_proof_boxes_required thy =
  2139 fun export_proof_boxes_required thy =
  2140   Context.theory_base_name thy = Context.PureN orelse
  2140   Context.theory_long_name thy = Context.PureN orelse
  2141     (export_enabled () andalso not (export_standard_enabled ()));
  2141     (export_enabled () andalso not (export_standard_enabled ()));
  2142 
  2142 
  2143 fun export_proof_boxes bodies =
  2143 fun export_proof_boxes bodies =
  2144   let
  2144   let
  2145     fun export_thm (i, thm_node) boxes =
  2145     fun export_thm (i, thm_node) boxes =