src/Provers/order.ML
changeset 22578 b0eb5652f210
parent 19617 7cb4b67d4b97
child 23577 c5b93c69afd3
equal deleted inserted replaced
22577:1a08fce38565 22578:b0eb5652f210
    75 functor Order_Tac_Fun (Less: LESS_ARITH): ORDER_TAC =
    75 functor Order_Tac_Fun (Less: LESS_ARITH): ORDER_TAC =
    76 struct
    76 struct
    77 
    77 
    78 (* Extract subgoal with signature *)
    78 (* Extract subgoal with signature *)
    79 fun SUBGOAL goalfun i st =
    79 fun SUBGOAL goalfun i st =
    80   goalfun (List.nth(prems_of st, i-1),  i, sign_of_thm st) st
    80   goalfun (List.nth(prems_of st, i-1),  i, Thm.theory_of_thm st) st
    81                              handle Subscript => Seq.empty;
    81                              handle Subscript => Seq.empty;
    82 
    82 
    83 (* Internal datatype for the proof *)
    83 (* Internal datatype for the proof *)
    84 datatype proof
    84 datatype proof
    85   = Asm of int 
    85   = Asm of int