equal
deleted
inserted
replaced
55 val thy = Proof_Context.theory_of ctxt; |
55 val thy = Proof_Context.theory_of ctxt; |
56 val {intros,unfolds,refolds,consts} = TransferData.get (Context.Proof ctxt); |
56 val {intros,unfolds,refolds,consts} = TransferData.get (Context.Proof ctxt); |
57 val meta = Local_Defs.meta_rewrite_rule ctxt; |
57 val meta = Local_Defs.meta_rewrite_rule ctxt; |
58 val ths' = map meta ths; |
58 val ths' = map meta ths; |
59 val unfolds' = map meta unfolds and refolds' = map meta refolds; |
59 val unfolds' = map meta unfolds and refolds' = map meta refolds; |
60 val (_$_$t') = Thm.concl_of (Raw_Simplifier.rewrite ctxt true unfolds' (Thm.cterm_of thy t)) |
60 val (_$_$t') = Thm.concl_of (Raw_Simplifier.rewrite ctxt true unfolds' (Thm.global_cterm_of thy t)) |
61 val u = unstar_term consts t' |
61 val u = unstar_term consts t' |
62 val tac = |
62 val tac = |
63 rewrite_goals_tac ctxt (ths' @ refolds' @ unfolds') THEN |
63 rewrite_goals_tac ctxt (ths' @ refolds' @ unfolds') THEN |
64 ALLGOALS (Object_Logic.full_atomize_tac ctxt) THEN |
64 ALLGOALS (Object_Logic.full_atomize_tac ctxt) THEN |
65 match_tac ctxt [transitive_thm] 1 THEN |
65 match_tac ctxt [transitive_thm] 1 THEN |