equal
deleted
inserted
replaced
63 if i <= length prems then nth prems (i - 1) |
63 if i <= length prems then nth prems (i - 1) |
64 else error ("Not enough premises for prem" ^ string_of_int i ^ |
64 else error ("Not enough premises for prem" ^ string_of_int i ^ |
65 " in propositon: " ^ Syntax.string_of_term ctxt t) |
65 " in propositon: " ^ Syntax.string_of_term ctxt t) |
66 end; |
66 end; |
67 |
67 |
68 val _ = Context.>> |
68 val _ = Context.>> (Context.map_theory |
69 (add_style "lhs" (fst oo style_binargs) #> |
69 (add_style "lhs" (fst oo style_binargs) #> |
70 add_style "rhs" (snd oo style_binargs) #> |
70 add_style "rhs" (snd oo style_binargs) #> |
71 add_style "prem1" (style_parm_premise 1) #> |
71 add_style "prem1" (style_parm_premise 1) #> |
72 add_style "prem2" (style_parm_premise 2) #> |
72 add_style "prem2" (style_parm_premise 2) #> |
73 add_style "prem3" (style_parm_premise 3) #> |
73 add_style "prem3" (style_parm_premise 3) #> |
85 add_style "prem15" (style_parm_premise 15) #> |
85 add_style "prem15" (style_parm_premise 15) #> |
86 add_style "prem16" (style_parm_premise 16) #> |
86 add_style "prem16" (style_parm_premise 16) #> |
87 add_style "prem17" (style_parm_premise 17) #> |
87 add_style "prem17" (style_parm_premise 17) #> |
88 add_style "prem18" (style_parm_premise 18) #> |
88 add_style "prem18" (style_parm_premise 18) #> |
89 add_style "prem19" (style_parm_premise 19) #> |
89 add_style "prem19" (style_parm_premise 19) #> |
90 add_style "concl" (K Logic.strip_imp_concl)); |
90 add_style "concl" (K Logic.strip_imp_concl))); |
91 |
91 |
92 end; |
92 end; |