equal
deleted
inserted
replaced
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 = [], |