src/Pure/thm.ML
changeset 79261 2e6fcc331f10
parent 79260 f4067f14c9ed
child 79262 64c655e8e8bf
equal deleted inserted replaced
79260:f4067f14c9ed 79261:2e6fcc331f10
  2370         val thy' = Context.certificate_theory cert handle ERROR msg =>
  2370         val thy' = Context.certificate_theory cert handle ERROR msg =>
  2371           raise CONTEXT (msg, [], [], [state, orule], Option.map Context.Proof opt_ctxt);
  2371           raise CONTEXT (msg, [], [], [state, orule], Option.map Context.Proof opt_ctxt);
  2372         val constraints' =
  2372         val constraints' =
  2373           union_constraints constraints1 constraints2
  2373           union_constraints constraints1 constraints2
  2374           |> insert_constraints_env thy' env;
  2374           |> insert_constraints_env thy' env;
  2375         fun zproof p q = ZTerm.todo_proof p;
  2375         fun zproof p q =
       
  2376           ZTerm.bicompose_proof thy' env smax flatten Bs As A oldAs n (nlift + 1) p q;
  2376         fun proof p q =
  2377         fun proof p q =
  2377           Proofterm.bicompose_proof env smax flatten Bs As A oldAs n (nlift + 1) p q;
  2378           Proofterm.bicompose_proof env smax flatten Bs As A oldAs n (nlift + 1) p q;
  2378         val th =
  2379         val th =
  2379           Thm (deriv_rule2 zproof proof rder' sder,
  2380           Thm (deriv_rule2 zproof proof rder' sder,
  2380            {tags = [],
  2381            {tags = [],