src/Pure/Isar/specification.ML
changeset 33369 470a7b233ee5
parent 33368 b1cf34f1855c
child 33386 ff29d1549aca
equal deleted inserted replaced
33368:b1cf34f1855c 33369:470a7b233ee5
   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];