equal
deleted
inserted
replaced
212 OuterSyntax.command "lemmas" "define lemmas" K.thy_decl |
212 OuterSyntax.command "lemmas" "define lemmas" K.thy_decl |
213 (theorems Drule.lemmaK >> Toplevel.theory); |
213 (theorems Drule.lemmaK >> Toplevel.theory); |
214 |
214 |
215 val declareP = |
215 val declareP = |
216 OuterSyntax.command "declare" "declare theorems (improper)" K.thy_script |
216 OuterSyntax.command "declare" "declare theorems (improper)" K.thy_script |
217 (P.locale_target -- (P.and_list1 P.xthms1 >> flat) |
217 (P.locale_target -- (P.and_list1 P.xthms1 >> List.concat) |
218 >> (Toplevel.theory o uncurry IsarThy.declare_theorems)); |
218 >> (Toplevel.theory o uncurry IsarThy.declare_theorems)); |
219 |
219 |
220 |
220 |
221 (* name space entry path *) |
221 (* name space entry path *) |
222 |
222 |