equal
deleted
inserted
replaced
211 ); |
211 ); |
212 |
212 |
213 fun read_condeq thy = |
213 fun read_condeq thy = |
214 let val thy' = add_syntax thy |
214 let val thy' = add_syntax thy |
215 in fn s => |
215 in fn s => |
216 let val t = Logic.varify (Sign.read_prop thy' s) |
216 let val t = Logic.varify (Syntax.read_prop_global thy' s) |
217 in (map Logic.dest_equals (Logic.strip_imp_prems t), |
217 in (map Logic.dest_equals (Logic.strip_imp_prems t), |
218 Logic.dest_equals (Logic.strip_imp_concl t)) |
218 Logic.dest_equals (Logic.strip_imp_concl t)) |
219 end handle TERM _ => error ("Not a (conditional) meta equality:\n" ^ s) |
219 end handle TERM _ => error ("Not a (conditional) meta equality:\n" ^ s) |
220 end; |
220 end; |
221 |
221 |