src/Sequents/prover.ML
changeset 38500 d5477ee35820
parent 33049 c38f02fdf35d
child 55228 901a6696cdd8
equal deleted inserted replaced
38499:8f0cd11238a7 38500:d5477ee35820
    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.