equal
deleted
inserted
replaced
53 writeln (cat_lines |
53 writeln (cat_lines |
54 (["Safe rules:"] @ map Display.string_of_thm_without_context safes @ |
54 (["Safe rules:"] @ map Display.string_of_thm_without_context safes @ |
55 ["Unsafe rules:"] @ map Display.string_of_thm_without_context unsafes)); |
55 ["Unsafe rules:"] @ map Display.string_of_thm_without_context unsafes)); |
56 |
56 |
57 (*Returns the list of all formulas in the sequent*) |
57 (*Returns the list of all formulas in the sequent*) |
58 fun forms_of_seq (Const("SeqO'",_) $ P $ u) = P :: forms_of_seq u |
58 fun forms_of_seq (Const(@{const_name "SeqO'"},_) $ P $ u) = P :: forms_of_seq u |
59 | forms_of_seq (H $ u) = forms_of_seq u |
59 | forms_of_seq (H $ u) = forms_of_seq u |
60 | forms_of_seq _ = []; |
60 | forms_of_seq _ = []; |
61 |
61 |
62 (*Tests whether two sequences (left or right sides) could be resolved. |
62 (*Tests whether two sequences (left or right sides) could be resolved. |
63 seqp is a premise (subgoal), seqc is a conclusion of an object-rule. |
63 seqp is a premise (subgoal), seqc is a conclusion of an object-rule. |