equal
deleted
inserted
replaced
268 fun interprete_parent name dist_thm_name parent_expr thy = |
268 fun interprete_parent name dist_thm_name parent_expr thy = |
269 let |
269 let |
270 |
270 |
271 fun solve_tac ctxt (_,i) st = |
271 fun solve_tac ctxt (_,i) st = |
272 let |
272 let |
273 val distinct_thm = ProofContext.get_thm ctxt (Name dist_thm_name); |
273 val distinct_thm = ProofContext.get_thm ctxt (Facts.Named (dist_thm_name, NONE)); |
274 val goal = List.nth (cprems_of st,i-1); |
274 val goal = List.nth (cprems_of st,i-1); |
275 val rule = DistinctTreeProver.distinct_implProver distinct_thm goal; |
275 val rule = DistinctTreeProver.distinct_implProver distinct_thm goal; |
276 in EVERY [rtac rule i] st |
276 in EVERY [rtac rule i] st |
277 end |
277 end |
278 |
278 |