↑ Up

Z3---4.15.1.UNS-Prf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Z3---4.15.1
% Problem  : LCL230-3 : TPTP v9.3.1. Released v2.3.0.
% Transfm  : NO INFORMATION
% Format   : NO INFORMATION
% Command  : run_E %s %d THM

% Computer : n015.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8046.5625MB
% OS       : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Mon Sep  7 02:59:38 PM UTC 2026

% Result   : Unsatisfiable 145.63s 145.99s
% Output   : Proof 146.85s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   19
%            Number of leaves      :   71
% Syntax   : Number of formulae    :  217 (  98 unt;   0 typ;   0 def)
%            Number of atoms       :  640 (  67 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  786 ( 370   ~; 354   |;   0   &)
%                                         (  62 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    9 (   2 avg)
%            Number of FOOLs       :    7 (   7 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-2 aty)
%            Number of variables   :  272 ( 257   !;   0   ?; 272   :)

% Comments : 
%------------------------------------------------------------------------------
tff(theorem_type,type,
    theorem: $i > $o ).

tff(implies_type,type,
    implies: ( $i * $i ) > $i ).

tff(or_type,type,
    or: ( $i * $i ) > $i ).

tff(r_type,type,
    r: $i ).

tff(not_type,type,
    not: $i > $i ).

tff(q_type,type,
    q: $i ).

tff(p_type,type,
    p: $i ).

tff(axiom_type,type,
    axiom: $i > $o ).

tff(1,plain,
    ^ [Y: $i,X: $i] :
      refl(( ( implies(X,Y) = or(not(X),Y) )
      <=> ( implies(X,Y) = or(not(X),Y) ) )),
    inference(bind,[status(th)],[]) ).

tff(2,plain,
    ( ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
  <=> ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ( ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
  <=> ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(4,axiom,
    ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',implies_definition) ).

tff(5,plain,
    ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
    inference(skolemize,[status(sab)],[5]) ).

tff(7,plain,
    ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
    inference(modus_ponens,[status(thm)],[6,2]) ).

tff(8,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r))) = or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(9,plain,
    implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r))) = or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r))))
  <=> theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ),
    inference(monotonicity,[status(thm)],[9]) ).

tff(11,plain,
    ( theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
  <=> theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ),
    inference(symmetry,[status(thm)],[10]) ).

tff(12,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(not(q),or(p,q)),or(not(q),r)) = or(not(or(not(q),or(p,q))),or(not(q),r)) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(13,plain,
    implies(or(not(q),or(p,q)),or(not(q),r)) = or(not(or(not(q),or(p,q))),or(not(q),r)),
    inference(unit_resolution,[status(thm)],[12,7]) ).

tff(14,plain,
    or(not(or(not(q),or(p,q))),or(not(q),r)) = implies(or(not(q),or(p,q)),or(not(q),r)),
    inference(symmetry,[status(thm)],[13]) ).

tff(15,plain,
    or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))) = or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),
    inference(monotonicity,[status(thm)],[14]) ).

tff(16,plain,
    implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))) = implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))),
    inference(monotonicity,[status(thm)],[15]) ).

tff(17,plain,
    ( theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))))
  <=> theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(monotonicity,[status(thm)],[16]) ).

tff(18,plain,
    ^ [B: $i,A: $i,C: $i] :
      refl(( axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
      <=> axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) )),
    inference(bind,[status(th)],[]) ).

tff(19,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
    inference(quant_intro,[status(thm)],[18]) ).

tff(20,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
    inference(rewrite,[status(thm)],[]) ).

tff(21,axiom,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_5) ).

tff(22,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[21,20]) ).

tff(23,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(skolemize,[status(sab)],[22]) ).

tff(24,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[23,19]) ).

tff(25,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
    | axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(26,plain,
    axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[25,24]) ).

tff(27,plain,
    ^ [X: $i] :
      refl(( ( theorem(X)
          | ~ axiom(X) )
      <=> ( theorem(X)
          | ~ axiom(X) ) )),
    inference(bind,[status(th)],[]) ).

tff(28,plain,
    ( ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) )
  <=> ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) ) ),
    inference(quant_intro,[status(thm)],[27]) ).

tff(29,plain,
    ( ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) )
  <=> ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(30,axiom,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',rule_1) ).

tff(31,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[30,29]) ).

tff(32,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(skolemize,[status(sab)],[31]) ).

tff(33,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[32,28]) ).

tff(34,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))))
      | ~ axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))))
      | ~ axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(35,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))))
    | ~ axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(36,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))))
    | ~ axiom(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[35,34]) ).

tff(37,plain,
    theorem(implies(or(not(or(not(or(p,q)),r)),or(not(or(not(q),or(p,q))),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[36,33,26]) ).

tff(38,plain,
    theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))),
    inference(modus_ponens,[status(thm)],[37,17]) ).

tff(39,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r))) = or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(40,plain,
    implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r))) = or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),
    inference(unit_resolution,[status(thm)],[39,7]) ).

tff(41,plain,
    or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))) = implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r))),
    inference(symmetry,[status(thm)],[40]) ).

tff(42,plain,
    ( theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
  <=> theorem(implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(monotonicity,[status(thm)],[41]) ).

tff(43,plain,
    ( theorem(implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r))))
  <=> theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(symmetry,[status(thm)],[42]) ).

tff(44,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(p,q),r) = or(not(or(p,q)),r) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(45,plain,
    implies(or(p,q),r) = or(not(or(p,q)),r),
    inference(unit_resolution,[status(thm)],[44,7]) ).

tff(46,plain,
    implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))) = implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r))),
    inference(monotonicity,[status(thm)],[45]) ).

tff(47,plain,
    ( theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))))
  <=> theorem(implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(monotonicity,[status(thm)],[46]) ).

tff(48,plain,
    ^ [B: $i,A: $i,C: $i] :
      refl(( axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
      <=> axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) )),
    inference(bind,[status(th)],[]) ).

tff(49,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) ),
    inference(quant_intro,[status(thm)],[48]) ).

tff(50,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) ),
    inference(rewrite,[status(thm)],[]) ).

tff(51,axiom,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_6) ).

tff(52,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[51,50]) ).

tff(53,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(skolemize,[status(sab)],[52]) ).

tff(54,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[53,49]) ).

tff(55,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
    | axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(56,plain,
    axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[55,54]) ).

tff(57,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))))
      | ~ axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))))
      | ~ axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(58,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))))
    | ~ axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(59,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r))))
    | ~ axiom(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))) ),
    inference(modus_ponens,[status(thm)],[58,57]) ).

tff(60,plain,
    theorem(implies(implies(or(p,q),r),implies(or(not(q),or(p,q)),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[59,33,56]) ).

tff(61,plain,
    theorem(implies(or(not(or(p,q)),r),implies(or(not(q),or(p,q)),or(not(q),r)))),
    inference(modus_ponens,[status(thm)],[60,47]) ).

tff(62,plain,
    theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r)))),
    inference(modus_ponens,[status(thm)],[61,43]) ).

tff(63,plain,
    ^ [Y: $i,X: $i] :
      refl(( ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
      <=> ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) ) )),
    inference(bind,[status(th)],[]) ).

tff(64,plain,
    ( ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) )
  <=> ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) ) ),
    inference(quant_intro,[status(thm)],[63]) ).

tff(65,plain,
    ( ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) )
  <=> ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(66,plain,
    ^ [Y: $i,X: $i] :
      rewrite(( ( theorem(X)
          | ~ theorem(implies(Y,X))
          | ~ theorem(Y) )
      <=> ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) ) )),
    inference(bind,[status(th)],[]) ).

tff(67,plain,
    ( ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(implies(Y,X))
        | ~ theorem(Y) )
  <=> ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) ) ),
    inference(quant_intro,[status(thm)],[66]) ).

tff(68,axiom,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(implies(Y,X))
      | ~ theorem(Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',rule_2) ).

tff(69,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[68,67]) ).

tff(70,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[69,65]) ).

tff(71,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(skolemize,[status(sab)],[70]) ).

tff(72,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[71,64]) ).

tff(73,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(74,plain,
    ( ( theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) )
  <=> ( ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(75,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ) ),
    inference(monotonicity,[status(thm)],[74]) ).

tff(76,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
      | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ) ),
    inference(transitivity,[status(thm)],[75,73]) ).

tff(77,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
    | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(78,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
    | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[77,76]) ).

tff(79,plain,
    ( ~ theorem(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))))
    | theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),implies(or(not(q),or(p,q)),or(not(q),r))),or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r))))) ),
    inference(unit_resolution,[status(thm)],[78,72]) ).

tff(80,plain,
    theorem(or(not(or(not(q),or(p,q))),or(not(or(not(or(p,q)),r)),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[79,62,38]) ).

tff(81,plain,
    theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))),
    inference(modus_ponens,[status(thm)],[80,11]) ).

tff(82,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(not(or(p,q)),r),or(not(q),r)) = or(not(or(not(or(p,q)),r)),or(not(q),r)) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(83,plain,
    implies(or(not(or(p,q)),r),or(not(q),r)) = or(not(or(not(or(p,q)),r)),or(not(q),r)),
    inference(unit_resolution,[status(thm)],[82,7]) ).

tff(84,plain,
    implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))) = implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))),
    inference(monotonicity,[status(thm)],[83]) ).

tff(85,plain,
    ( theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
  <=> theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(monotonicity,[status(thm)],[84]) ).

tff(86,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
    | axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(87,plain,
    axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[86,54]) ).

tff(88,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
      | ~ axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
      | ~ axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(89,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
    | ~ axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(90,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
    | ~ axiom(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[89,88]) ).

tff(91,plain,
    theorem(implies(implies(or(not(or(p,q)),r),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[90,33,87]) ).

tff(92,plain,
    theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))),
    inference(modus_ponens,[status(thm)],[91,85]) ).

tff(93,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(p,q),or(p,r)) = or(not(or(p,q)),or(p,r)) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(94,plain,
    implies(or(p,q),or(p,r)) = or(not(or(p,q)),or(p,r)),
    inference(unit_resolution,[status(thm)],[93,7]) ).

tff(95,plain,
    or(not(or(p,q)),or(p,r)) = implies(or(p,q),or(p,r)),
    inference(symmetry,[status(thm)],[94]) ).

tff(96,plain,
    not(or(not(or(p,q)),or(p,r))) = not(implies(or(p,q),or(p,r))),
    inference(monotonicity,[status(thm)],[95]) ).

tff(97,plain,
    not(implies(or(p,q),or(p,r))) = not(or(not(or(p,q)),or(p,r))),
    inference(symmetry,[status(thm)],[96]) ).

tff(98,plain,
    or(not(implies(or(p,q),or(p,r))),or(not(q),r)) = or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)),
    inference(monotonicity,[status(thm)],[97]) ).

tff(99,plain,
    or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)) = or(not(implies(or(p,q),or(p,r))),or(not(q),r)),
    inference(symmetry,[status(thm)],[98]) ).

tff(100,plain,
    or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)) = or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),
    inference(monotonicity,[status(thm)],[97]) ).

tff(101,plain,
    or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)) = or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),
    inference(symmetry,[status(thm)],[100]) ).

tff(102,plain,
    implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))) = implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),
    inference(monotonicity,[status(thm)],[101,99]) ).

tff(103,plain,
    implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))) = implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))),
    inference(monotonicity,[status(thm)],[102]) ).

tff(104,plain,
    ( theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))))
  <=> theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(monotonicity,[status(thm)],[103]) ).

tff(105,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
    | axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(106,plain,
    axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))),
    inference(unit_resolution,[status(thm)],[105,54]) ).

tff(107,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))))
      | ~ axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))))
      | ~ axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(108,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))))
    | ~ axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(109,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))))
    | ~ axiom(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(modus_ponens,[status(thm)],[108,107]) ).

tff(110,plain,
    theorem(implies(implies(or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r)),or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))),
    inference(unit_resolution,[status(thm)],[109,33,106]) ).

tff(111,plain,
    theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))),
    inference(modus_ponens,[status(thm)],[110,104]) ).

tff(112,plain,
    or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))) = or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),
    inference(monotonicity,[status(thm)],[99]) ).

tff(113,plain,
    or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))) = or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),
    inference(monotonicity,[status(thm)],[101]) ).

tff(114,plain,
    implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))) = implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r)))),
    inference(monotonicity,[status(thm)],[113,112]) ).

tff(115,plain,
    ( theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
  <=> theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(monotonicity,[status(thm)],[114]) ).

tff(116,plain,
    ( theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
  <=> theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))) ),
    inference(symmetry,[status(thm)],[115]) ).

tff(117,plain,
    ( ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r)))))
  <=> ~ theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))) ),
    inference(monotonicity,[status(thm)],[116]) ).

tff(118,plain,
    or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))) = or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),
    inference(monotonicity,[status(thm)],[97]) ).

tff(119,plain,
    implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))) = implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))),
    inference(monotonicity,[status(thm)],[118]) ).

tff(120,plain,
    ( theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))))
  <=> theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(monotonicity,[status(thm)],[119]) ).

tff(121,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
    | axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(122,plain,
    axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))),
    inference(unit_resolution,[status(thm)],[121,24]) ).

tff(123,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))))
      | ~ axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))))
      | ~ axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(124,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))))
    | ~ axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(125,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))))
    | ~ axiom(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(modus_ponens,[status(thm)],[124,123]) ).

tff(126,plain,
    theorem(implies(or(not(implies(or(p,q),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))),
    inference(unit_resolution,[status(thm)],[125,33,122]) ).

tff(127,plain,
    theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))),
    inference(modus_ponens,[status(thm)],[126,120]) ).

tff(128,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))) = or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(129,plain,
    implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))) = or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),
    inference(unit_resolution,[status(thm)],[128,7]) ).

tff(130,plain,
    or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))) = implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))),
    inference(symmetry,[status(thm)],[129]) ).

tff(131,plain,
    ( theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
  <=> theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) ),
    inference(monotonicity,[status(thm)],[130]) ).

tff(132,plain,
    ( theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))))
  <=> theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r)))) ),
    inference(symmetry,[status(thm)],[131]) ).

tff(133,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
    | axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(134,plain,
    axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))),
    inference(unit_resolution,[status(thm)],[133,24]) ).

tff(135,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))))
      | ~ axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))))
      | ~ axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(136,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))))
    | ~ axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(137,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r))))
    | ~ axiom(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))) ),
    inference(modus_ponens,[status(thm)],[136,135]) ).

tff(138,plain,
    theorem(implies(or(not(or(p,q)),or(p,r)),or(p,or(not(or(p,q)),r)))),
    inference(unit_resolution,[status(thm)],[137,33,134]) ).

tff(139,plain,
    theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r)))),
    inference(modus_ponens,[status(thm)],[138,132]) ).

tff(140,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
      | ~ theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
      | ~ theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
      | ~ theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(141,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(142,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(modus_ponens,[status(thm)],[141,140]) ).

tff(143,plain,
    ( theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),or(p,r))),or(p,or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))) ),
    inference(unit_resolution,[status(thm)],[142,72]) ).

tff(144,plain,
    theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)))),
    inference(unit_resolution,[status(thm)],[143,139,127]) ).

tff(145,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(q,r) = or(not(q),r) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(146,plain,
    implies(q,r) = or(not(q),r),
    inference(unit_resolution,[status(thm)],[145,7]) ).

tff(147,plain,
    or(not(q),r) = implies(q,r),
    inference(symmetry,[status(thm)],[146]) ).

tff(148,plain,
    or(p,or(not(q),r)) = or(p,implies(q,r)),
    inference(monotonicity,[status(thm)],[147]) ).

tff(149,plain,
    or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))) = or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))),
    inference(monotonicity,[status(thm)],[148]) ).

tff(150,plain,
    implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))) = implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r)))),
    inference(monotonicity,[status(thm)],[149]) ).

tff(151,plain,
    ( theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))))
  <=> theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) ),
    inference(monotonicity,[status(thm)],[150]) ).

tff(152,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
    | axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(153,plain,
    axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[152,24]) ).

tff(154,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))))
      | ~ axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))))
      | ~ axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(155,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))))
    | ~ axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(156,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r)))))
    | ~ axiom(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[155,154]) ).

tff(157,plain,
    theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[156,33,153]) ).

tff(158,plain,
    theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))),
    inference(modus_ponens,[status(thm)],[157,151]) ).

tff(159,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))) = or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(160,plain,
    implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))) = or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))),
    inference(unit_resolution,[status(thm)],[159,7]) ).

tff(161,plain,
    or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))) = implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))),
    inference(symmetry,[status(thm)],[160]) ).

tff(162,plain,
    ( theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
  <=> theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r)))) ),
    inference(monotonicity,[status(thm)],[161]) ).

tff(163,plain,
    ( theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))))
  <=> theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r)))) ),
    inference(symmetry,[status(thm)],[162]) ).

tff(164,plain,
    ( ~ theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))))
  <=> ~ theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r)))) ),
    inference(monotonicity,[status(thm)],[163]) ).

tff(165,plain,
    ( ~ theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r))))
  <=> ~ theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r)))) ),
    inference(rewrite,[status(thm)],[]) ).

tff(166,axiom,
    ~ theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r)))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_this) ).

tff(167,plain,
    ~ theorem(implies(implies(or(p,q),or(p,r)),or(p,implies(q,r)))),
    inference(modus_ponens,[status(thm)],[166,165]) ).

tff(168,plain,
    ~ theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r)))),
    inference(modus_ponens,[status(thm)],[167,164]) ).

tff(169,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
      | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
      | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(170,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
    | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(171,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
    | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) ),
    inference(modus_ponens,[status(thm)],[170,169]) ).

tff(172,plain,
    ( theorem(or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))
    | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))),or(not(implies(or(p,q),or(p,r))),or(p,implies(q,r))))) ),
    inference(unit_resolution,[status(thm)],[171,72]) ).

tff(173,plain,
    ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[172,168,158]) ).

tff(174,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
      | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
      | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(175,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(176,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[175,174]) ).

tff(177,plain,
    ( ~ theorem(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))))
    | ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(unit_resolution,[status(thm)],[176,72,173]) ).

tff(178,plain,
    ~ theorem(implies(or(p,or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(implies(or(p,q),or(p,r))),or(not(q),r))))),
    inference(unit_resolution,[status(thm)],[177,144]) ).

tff(179,plain,
    ~ theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r))))),
    inference(modus_ponens,[status(thm)],[178,117]) ).

tff(180,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
      | ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
      | ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(181,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
    | ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(182,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
    | ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(modus_ponens,[status(thm)],[181,180]) ).

tff(183,plain,
    ( theorem(implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))
    | ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(implies(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))),implies(or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(or(p,q)),r))),or(p,or(not(or(not(or(p,q)),or(p,r))),or(not(q),r)))))) ),
    inference(unit_resolution,[status(thm)],[182,72]) ).

tff(184,plain,
    ~ theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[183,179,111]) ).

tff(185,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
      | ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(186,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(187,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(modus_ponens,[status(thm)],[186,185]) ).

tff(188,plain,
    ( theorem(implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))
    | ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(implies(or(not(or(not(or(p,q)),r)),or(not(q),r)),implies(or(not(implies(or(p,q),or(p,r))),or(not(or(p,q)),r)),or(not(implies(or(p,q),or(p,r))),or(not(q),r))))) ),
    inference(unit_resolution,[status(thm)],[187,72]) ).

tff(189,plain,
    ~ theorem(or(not(or(not(or(p,q)),r)),or(not(q),r))),
    inference(unit_resolution,[status(thm)],[188,184,92]) ).

tff(190,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(q,or(p,q)) = or(not(q),or(p,q)) ) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(191,plain,
    implies(q,or(p,q)) = or(not(q),or(p,q)),
    inference(unit_resolution,[status(thm)],[190,7]) ).

tff(192,plain,
    or(not(q),or(p,q)) = implies(q,or(p,q)),
    inference(symmetry,[status(thm)],[191]) ).

tff(193,plain,
    ( theorem(or(not(q),or(p,q)))
  <=> theorem(implies(q,or(p,q))) ),
    inference(monotonicity,[status(thm)],[192]) ).

tff(194,plain,
    ( theorem(implies(q,or(p,q)))
  <=> theorem(or(not(q),or(p,q))) ),
    inference(symmetry,[status(thm)],[193]) ).

tff(195,plain,
    ^ [B: $i,A: $i] :
      refl(( axiom(implies(A,or(B,A)))
      <=> axiom(implies(A,or(B,A))) )),
    inference(bind,[status(th)],[]) ).

tff(196,plain,
    ( ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
  <=> ! [B: $i,A: $i] : axiom(implies(A,or(B,A))) ),
    inference(quant_intro,[status(thm)],[195]) ).

tff(197,plain,
    ( ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
  <=> ! [B: $i,A: $i] : axiom(implies(A,or(B,A))) ),
    inference(rewrite,[status(thm)],[]) ).

tff(198,axiom,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_3) ).

tff(199,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[198,197]) ).

tff(200,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(skolemize,[status(sab)],[199]) ).

tff(201,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[200,196]) ).

tff(202,plain,
    ( ~ ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
    | axiom(implies(q,or(p,q))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(203,plain,
    axiom(implies(q,or(p,q))),
    inference(unit_resolution,[status(thm)],[202,201]) ).

tff(204,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(q,or(p,q)))
      | ~ axiom(implies(q,or(p,q))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(q,or(p,q)))
      | ~ axiom(implies(q,or(p,q))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(205,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(q,or(p,q)))
    | ~ axiom(implies(q,or(p,q))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(206,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(q,or(p,q)))
    | ~ axiom(implies(q,or(p,q))) ),
    inference(modus_ponens,[status(thm)],[205,204]) ).

tff(207,plain,
    theorem(implies(q,or(p,q))),
    inference(unit_resolution,[status(thm)],[206,33,203]) ).

tff(208,plain,
    theorem(or(not(q),or(p,q))),
    inference(modus_ponens,[status(thm)],[207,194]) ).

tff(209,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(q),or(p,q)))
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(q),or(p,q)))
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(210,plain,
    ( ( theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(or(not(q),or(p,q)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) )
  <=> ( ~ theorem(or(not(q),or(p,q)))
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(211,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(or(not(q),or(p,q)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(q),or(p,q)))
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ) ),
    inference(monotonicity,[status(thm)],[210]) ).

tff(212,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(or(not(q),or(p,q)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | ~ theorem(or(not(q),or(p,q)))
      | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
      | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ) ),
    inference(transitivity,[status(thm)],[211,209]) ).

tff(213,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(or(not(q),or(p,q)))
    | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(214,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | ~ theorem(or(not(q),or(p,q)))
    | theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ),
    inference(modus_ponens,[status(thm)],[213,212]) ).

tff(215,plain,
    ( theorem(or(not(or(not(or(p,q)),r)),or(not(q),r)))
    | ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))) ),
    inference(unit_resolution,[status(thm)],[214,72,208]) ).

tff(216,plain,
    ~ theorem(implies(or(not(q),or(p,q)),or(not(or(not(or(p,q)),r)),or(not(q),r)))),
    inference(unit_resolution,[status(thm)],[215,189]) ).

tff(217,plain,
    $false,
    inference(unit_resolution,[status(thm)],[216,81]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem    : LCL230-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.03  % Command    : run_E %s %d THM
% 0.09/0.37  % Computer : n015.cluster.edu
% 0.09/0.37  % Model    : x86_64 x86_64
% 0.09/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.37  % Memory   : 8046.5625MB
% 0.09/0.37  % OS       : Linux 6.8.0-71-generic
% 0.09/0.37  % CPULimit   : 300
% 0.09/0.37  % WCLimit    : 300
% 0.09/0.37  % DateTime   : Sat Sep  5 05:20:45 UTC 2026
% 0.09/0.37  % CPUTime    : 
% 145.63/145.99  % SZS status Unsatisfiable
% 145.63/145.99  % SZS output start Proof
% See solution above
% 0.16/147.68  % E exiting
%------------------------------------------------------------------------------