equal
deleted
inserted
replaced
311 val asm = Term.list_all_free (xs ~~ Ts, Logic.list_implies (props, thesis)); |
311 val asm = Term.list_all_free (xs ~~ Ts, Logic.list_implies (props, thesis)); |
312 in |
312 in |
313 ctxt' |> (snd o ProofContext.add_fixes (map (fn b => (b, NONE, NoSyn)) bs)); |
313 ctxt' |> (snd o ProofContext.add_fixes (map (fn b => (b, NONE, NoSyn)) bs)); |
314 ctxt' |> Variable.auto_fixes asm |
314 ctxt' |> Variable.auto_fixes asm |
315 |> ProofContext.add_assms_i Assumption.assume_export |
315 |> ProofContext.add_assms_i Assumption.assume_export |
316 [((name, [ContextRules.intro_query NONE]), [(asm, [])])] |
316 [((name, [Context_Rules.intro_query NONE]), [(asm, [])])] |
317 |>> (fn [(_, [th])] => th) |
317 |>> (fn [(_, [th])] => th) |
318 end; |
318 end; |
319 |
319 |
320 val atts = map (Attrib.internal o K) |
320 val atts = map (Attrib.internal o K) |
321 [Rule_Cases.consumes (~ (length obtains)), Rule_Cases.case_names case_names]; |
321 [Rule_Cases.consumes (~ (length obtains)), Rule_Cases.case_names case_names]; |