src/Pure/Isar/proof.ML
changeset 60449 229bad93377e
parent 60447 fa9bff5cd679
child 60461 22995ec9fefd
equal deleted inserted replaced
60448:78f3c67bc35e 60449:229bad93377e
  1010           |> fold_burrow (Assumption.add_assms Assumption.assume_export)
  1010           |> fold_burrow (Assumption.add_assms Assumption.assume_export)
  1011               ((map o map) (Thm.cterm_of params_ctxt) assumes_propss)
  1011               ((map o map) (Thm.cterm_of params_ctxt) assumes_propss)
  1012           |> (fn (premss, ctxt') => ctxt'
  1012           |> (fn (premss, ctxt') => ctxt'
  1013                 |> not (null assumes_propss) ?
  1013                 |> not (null assumes_propss) ?
  1014                   (snd o Proof_Context.note_thmss ""
  1014                   (snd o Proof_Context.note_thmss ""
  1015                     [((Binding.name Auto_Bind.premsN, []),
  1015                     [((Binding.name Auto_Bind.thatN, []),
  1016                       [(Assumption.local_prems_of ctxt' ctxt, [])])])
  1016                       [(Assumption.local_prems_of ctxt' ctxt, [])])])
  1017                 |> (snd o Proof_Context.note_thmss ""
  1017                 |> (snd o Proof_Context.note_thmss ""
  1018                     (assumes_bindings ~~ map (map (fn th => ([th], []))) premss)));
  1018                     (assumes_bindings ~~ map (map (fn th => ([th], []))) premss)));
  1019 
  1019 
  1020         val _ = Variable.warn_extra_tfrees fix_ctxt goal_ctxt;
  1020         val _ = Variable.warn_extra_tfrees fix_ctxt goal_ctxt;