src/Sequents/modal.ML
changeset 38500 d5477ee35820
parent 32960 69916a850301
child 41449 7339f0e7c513
equal deleted inserted replaced
38499:8f0cd11238a7 38500:d5477ee35820
    27 struct
    27 struct
    28 local open Modal_Rule
    28 local open Modal_Rule
    29 in 
    29 in 
    30 
    30 
    31 (*Returns the list of all formulas in the sequent*)
    31 (*Returns the list of all formulas in the sequent*)
    32 fun forms_of_seq (Const("SeqO",_) $ P $ u) = P :: forms_of_seq u
    32 fun forms_of_seq (Const(@{const_name SeqO'},_) $ P $ u) = P :: forms_of_seq u
    33   | forms_of_seq (H $ u) = forms_of_seq u
    33   | forms_of_seq (H $ u) = forms_of_seq u
    34   | forms_of_seq _ = [];
    34   | forms_of_seq _ = [];
    35 
    35 
    36 (*Tests whether two sequences (left or right sides) could be resolved.
    36 (*Tests whether two sequences (left or right sides) could be resolved.
    37   seqp is a premise (subgoal), seqc is a conclusion of an object-rule.
    37   seqp is a premise (subgoal), seqc is a conclusion of an object-rule.