src/HOL/Decision_Procs/cooper_tac.ML
changeset 35625 9c818cab0dd0
parent 33004 715566791eb0
child 36692 54b64d4ad524
equal deleted inserted replaced
35624:c4e29a0bb8c1 35625:9c818cab0dd0
    64 
    64 
    65 (* object implication to meta---*)
    65 (* object implication to meta---*)
    66 fun mp_step n th = if (n=0) then th else (mp_step (n-1) th) RS mp;
    66 fun mp_step n th = if (n=0) then th else (mp_step (n-1) th) RS mp;
    67 
    67 
    68 
    68 
    69 fun linz_tac ctxt q i = ObjectLogic.atomize_prems_tac i THEN (fn st =>
    69 fun linz_tac ctxt q i = Object_Logic.atomize_prems_tac i THEN (fn st =>
    70   let
    70   let
    71     val g = List.nth (prems_of st, i - 1)
    71     val g = List.nth (prems_of st, i - 1)
    72     val thy = ProofContext.theory_of ctxt
    72     val thy = ProofContext.theory_of ctxt
    73     (* Transform the term*)
    73     (* Transform the term*)
    74     val (t,np,nh) = prepare_for_linz q g
    74     val (t,np,nh) = prepare_for_linz q g