src/Pure/more_thm.ML
changeset 70830 8f050cc0ec50
parent 70586 57df8a85317a
child 70839 2136e4670ad2
equal deleted inserted replaced
70829:1fa55b0873bc 70830:8f050cc0ec50
   661     val thy = Thm.theory_of_thm thm;
   661     val thy = Thm.theory_of_thm thm;
   662     val (_, prop) =
   662     val (_, prop) =
   663       Logic.unconstrainT (Thm.shyps_of thm)
   663       Logic.unconstrainT (Thm.shyps_of thm)
   664         (Logic.list_implies (Thm.hyps_of thm, Thm.prop_of thm));
   664         (Logic.list_implies (Thm.hyps_of thm, Thm.prop_of thm));
   665   in
   665   in
   666     Proofterm.proof_of (Proofterm.strip_thm (Thm.proof_body_of thm))
   666     Proofterm.strip_thm_proof (Thm.proof_of thm)
   667     |> Proofterm.reconstruct_proof thy prop
   667     |> Proofterm.reconstruct_proof thy prop
   668     |> Proofterm.expand_proof thy [("", NONE)]
   668     |> Proofterm.expand_proof thy [("", NONE)]
   669     |> Proofterm.rew_proof thy
   669     |> Proofterm.rew_proof thy
   670     |> Proofterm.no_thm_proofs
   670     |> Proofterm.no_thm_proofs
   671     |> not full ? Proofterm.shrink_proof
   671     |> not full ? Proofterm.shrink_proof