equal
deleted
inserted
replaced
273 Thm.standard_proof_of {full = true, expand_name = SOME o expand_name thm_id} thm |
273 Thm.standard_proof_of {full = true, expand_name = SOME o expand_name thm_id} thm |
274 else if Proofterm.export_enabled () then Thm.reconstruct_proof_of thm |
274 else if Proofterm.export_enabled () then Thm.reconstruct_proof_of thm |
275 else MinProof; |
275 else MinProof; |
276 val (prop, SOME proof) = |
276 val (prop, SOME proof) = |
277 standard_prop Name.context (Thm.extra_shyps thm) (Thm.full_prop_of thm) (SOME proof0); |
277 standard_prop Name.context (Thm.extra_shyps thm) (Thm.full_prop_of thm) (SOME proof0); |
278 val _ = |
278 val _ = Thm.expose_proofs thy [thm]; |
279 if Proofterm.export_proof_boxes_required thy |
|
280 then Proofterm.export_proof_boxes [proof] else (); |
|
281 in |
279 in |
282 (prop, deps, proof) |> |
280 (prop, deps, proof) |> |
283 let |
281 let |
284 open XML.Encode Term_XML.Encode; |
282 open XML.Encode Term_XML.Encode; |
285 val encode_proof = Proofterm.encode_standard_proof consts; |
283 val encode_proof = Proofterm.encode_standard_proof consts; |