↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Computer : n017.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:35 PM UTC 2026

% Result   : Unsatisfiable 166.04s 166.35s
% Output   : Proof 167.13s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   18
%            Number of leaves      :   78
% Syntax   : Number of formulae    :  234 ( 102 unt;   0 typ;   0 def)
%            Number of atoms       :  701 (  61 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  864 ( 405   ~; 388   |;   0   &)
%                                         (  71 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    9 (   2 avg)
%            Number of FOOLs       :    8 (   8 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    :    5 (   5 usr;   2 con; 0-2 aty)
%            Number of variables   :  300 ( 283   !;   0   ?; 300   :)

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

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

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

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

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

tff(implies_type,type,
    implies: ( $i * $i ) > $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(q,p),or(not(or(not(or(p,q)),q)),q)) = or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)) ) ),
    inference(quant_inst,[status(thm)],[]) ).

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

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

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

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

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

tff(14,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(15,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)],[14]) ).

tff(16,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(17,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(18,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[17,16]) ).

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

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

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

tff(22,plain,
    axiom(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))),
    inference(unit_resolution,[status(thm)],[21,20]) ).

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

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

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

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

tff(27,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[26,25]) ).

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

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

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

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

tff(32,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q)))))
    | ~ axiom(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(modus_ponens,[status(thm)],[31,30]) ).

tff(33,plain,
    theorem(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))),
    inference(unit_resolution,[status(thm)],[32,29,22]) ).

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

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

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

tff(37,plain,
    not(or(not(or(p,q)),q)) = not(implies(or(p,q),q)),
    inference(monotonicity,[status(thm)],[36]) ).

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

tff(39,plain,
    or(not(implies(or(p,q),q)),q) = or(not(or(not(or(p,q)),q)),q),
    inference(monotonicity,[status(thm)],[38]) ).

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

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

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

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

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

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

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

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

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

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

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

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

tff(52,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)],[51]) ).

tff(53,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(54,axiom,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_3) ).

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

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

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

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

tff(59,plain,
    axiom(implies(p,or(q,p))),
    inference(unit_resolution,[status(thm)],[58,57]) ).

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

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

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

tff(63,plain,
    theorem(implies(p,or(q,p))),
    inference(unit_resolution,[status(thm)],[62,29,59]) ).

tff(64,plain,
    theorem(or(not(p),or(q,p))),
    inference(modus_ponens,[status(thm)],[63,50]) ).

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

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

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

tff(68,plain,
    or(not(implies(or(p,q),q)),or(not(p),q)) = or(not(implies(or(p,q),q)),implies(p,q)),
    inference(monotonicity,[status(thm)],[67]) ).

tff(69,plain,
    implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),or(not(p),q))) = implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),implies(p,q))),
    inference(monotonicity,[status(thm)],[68]) ).

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

tff(71,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(72,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)],[71]) ).

tff(73,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(74,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(75,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[74,73]) ).

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

tff(77,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[76,72]) ).

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

tff(79,plain,
    axiom(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[78,77]) ).

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

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

tff(82,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),or(not(p),q))))
    | ~ axiom(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),or(not(p),q)))) ),
    inference(modus_ponens,[status(thm)],[81,80]) ).

tff(83,plain,
    theorem(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[82,29,79]) ).

tff(84,plain,
    theorem(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),implies(p,q)))),
    inference(modus_ponens,[status(thm)],[83,70]) ).

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

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

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

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

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

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

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

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

tff(93,plain,
    ~ theorem(implies(implies(or(p,q),q),implies(p,q))),
    inference(modus_ponens,[status(thm)],[92,91]) ).

tff(94,plain,
    ~ theorem(or(not(implies(or(p,q),q)),implies(p,q))),
    inference(modus_ponens,[status(thm)],[93,90]) ).

tff(95,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(96,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)],[95]) ).

tff(97,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(98,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(99,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)],[98]) ).

tff(100,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(101,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[100,99]) ).

tff(102,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[101,97]) ).

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

tff(104,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[103,96]) ).

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

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

tff(107,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(implies(or(p,q),q)),implies(p,q)))
    | ~ theorem(or(not(p),or(not(implies(or(p,q),q)),q)))
    | ~ theorem(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),implies(p,q)))) ),
    inference(modus_ponens,[status(thm)],[106,105]) ).

tff(108,plain,
    ( theorem(or(not(implies(or(p,q),q)),implies(p,q)))
    | ~ theorem(or(not(p),or(not(implies(or(p,q),q)),q)))
    | ~ theorem(implies(or(not(p),or(not(implies(or(p,q),q)),q)),or(not(implies(or(p,q),q)),implies(p,q)))) ),
    inference(unit_resolution,[status(thm)],[107,104]) ).

tff(109,plain,
    ~ theorem(or(not(p),or(not(implies(or(p,q),q)),q))),
    inference(unit_resolution,[status(thm)],[108,94,84]) ).

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

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

tff(112,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(p),or(not(implies(or(p,q),q)),q)))
    | ~ theorem(or(not(p),or(q,p)))
    | ~ theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(implies(or(p,q),q)),q)))) ),
    inference(modus_ponens,[status(thm)],[111,110]) ).

tff(113,plain,
    ( ~ theorem(or(not(p),or(q,p)))
    | ~ theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(implies(or(p,q),q)),q)))) ),
    inference(unit_resolution,[status(thm)],[112,104,109]) ).

tff(114,plain,
    ~ theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(implies(or(p,q),q)),q)))),
    inference(unit_resolution,[status(thm)],[113,64]) ).

tff(115,plain,
    ~ theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q)))),
    inference(modus_ponens,[status(thm)],[114,45]) ).

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

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

tff(118,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))
    | ~ theorem(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)))
    | ~ theorem(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(modus_ponens,[status(thm)],[117,116]) ).

tff(119,plain,
    ( theorem(implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))
    | ~ theorem(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)))
    | ~ theorem(implies(implies(or(q,p),or(not(or(not(or(p,q)),q)),q)),implies(or(not(p),or(q,p)),or(not(p),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(unit_resolution,[status(thm)],[118,104]) ).

tff(120,plain,
    ~ theorem(implies(or(q,p),or(not(or(not(or(p,q)),q)),q))),
    inference(unit_resolution,[status(thm)],[119,115,33]) ).

tff(121,plain,
    ~ theorem(or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))),
    inference(modus_ponens,[status(thm)],[120,13]) ).

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

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

tff(124,plain,
    implies(implies(or(p,q),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))) = implies(or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))),
    inference(monotonicity,[status(thm)],[123]) ).

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

tff(126,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),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(127,plain,
    axiom(implies(implies(or(p,q),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))),
    inference(unit_resolution,[status(thm)],[126,20]) ).

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

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

tff(130,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(or(p,q),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))))
    | ~ axiom(implies(implies(or(p,q),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(modus_ponens,[status(thm)],[129,128]) ).

tff(131,plain,
    theorem(implies(implies(or(p,q),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))),
    inference(unit_resolution,[status(thm)],[130,29,127]) ).

tff(132,plain,
    theorem(implies(or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))),
    inference(modus_ponens,[status(thm)],[131,125]) ).

tff(133,plain,
    or(not(or(p,q)),or(not(implies(or(p,q),q)),q)) = or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q)),
    inference(monotonicity,[status(thm)],[39]) ).

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

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

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

tff(137,plain,
    or(not(implies(or(p,q),q)),or(not(or(p,q)),q)) = or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)),
    inference(monotonicity,[status(thm)],[38]) ).

tff(138,plain,
    implies(or(not(implies(or(p,q),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q))) = implies(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q))),
    inference(monotonicity,[status(thm)],[137]) ).

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

tff(140,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),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(141,plain,
    axiom(implies(or(not(implies(or(p,q),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))),
    inference(unit_resolution,[status(thm)],[140,77]) ).

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

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

tff(144,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(implies(or(p,q),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q))))
    | ~ axiom(implies(or(not(implies(or(p,q),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))) ),
    inference(modus_ponens,[status(thm)],[143,142]) ).

tff(145,plain,
    theorem(implies(or(not(implies(or(p,q),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))),
    inference(unit_resolution,[status(thm)],[144,29,141]) ).

tff(146,plain,
    theorem(implies(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))),
    inference(modus_ponens,[status(thm)],[145,139]) ).

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

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

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

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

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

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

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

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

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

tff(156,plain,
    ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
    inference(modus_ponens,[status(thm)],[155,154]) ).

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

tff(158,plain,
    ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
    inference(modus_ponens,[status(thm)],[157,153]) ).

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

tff(160,plain,
    axiom(implies(or(not(or(p,q)),q),or(q,not(or(p,q))))),
    inference(unit_resolution,[status(thm)],[159,158]) ).

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

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

tff(163,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(not(or(p,q)),q),or(q,not(or(p,q)))))
    | ~ axiom(implies(or(not(or(p,q)),q),or(q,not(or(p,q))))) ),
    inference(modus_ponens,[status(thm)],[162,161]) ).

tff(164,plain,
    theorem(implies(or(not(or(p,q)),q),or(q,not(or(p,q))))),
    inference(unit_resolution,[status(thm)],[163,29,160]) ).

tff(165,plain,
    theorem(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q))))),
    inference(modus_ponens,[status(thm)],[164,151]) ).

tff(166,plain,
    or(not(implies(or(p,q),q)),or(q,not(or(p,q)))) = or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))),
    inference(monotonicity,[status(thm)],[38]) ).

tff(167,plain,
    implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q))) = implies(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))),or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q))),
    inference(monotonicity,[status(thm)],[166,137]) ).

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

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

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

tff(171,plain,
    implies(implies(or(q,not(or(p,q))),or(not(or(p,q)),q)),implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q)))) = implies(or(not(or(q,not(or(p,q)))),or(not(or(p,q)),q)),implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q)))),
    inference(monotonicity,[status(thm)],[170]) ).

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

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

tff(174,plain,
    axiom(implies(implies(or(q,not(or(p,q))),or(not(or(p,q)),q)),implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q))))),
    inference(unit_resolution,[status(thm)],[173,20]) ).

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

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

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

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

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

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

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

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

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

tff(184,plain,
    axiom(implies(or(q,not(or(p,q))),or(not(or(p,q)),q))),
    inference(unit_resolution,[status(thm)],[183,158]) ).

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

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

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

tff(188,plain,
    theorem(implies(or(q,not(or(p,q))),or(not(or(p,q)),q))),
    inference(unit_resolution,[status(thm)],[187,29,184]) ).

tff(189,plain,
    theorem(or(not(or(q,not(or(p,q)))),or(not(or(p,q)),q))),
    inference(modus_ponens,[status(thm)],[188,182]) ).

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

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

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

tff(193,plain,
    ( theorem(implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q))))
    | ~ theorem(or(not(or(q,not(or(p,q)))),or(not(or(p,q)),q)))
    | ~ theorem(implies(or(not(or(q,not(or(p,q)))),or(not(or(p,q)),q)),implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q))))) ),
    inference(unit_resolution,[status(thm)],[192,104]) ).

tff(194,plain,
    theorem(implies(or(not(implies(or(p,q),q)),or(q,not(or(p,q)))),or(not(implies(or(p,q),q)),or(not(or(p,q)),q)))),
    inference(unit_resolution,[status(thm)],[193,189,179]) ).

tff(195,plain,
    theorem(implies(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))),or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))),
    inference(modus_ponens,[status(thm)],[194,168]) ).

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

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

tff(198,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))
    | ~ theorem(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))),or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))) ),
    inference(modus_ponens,[status(thm)],[197,196]) ).

tff(199,plain,
    ( theorem(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))
    | ~ theorem(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))))
    | ~ theorem(implies(or(not(or(not(or(p,q)),q)),or(q,not(or(p,q)))),or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))) ),
    inference(unit_resolution,[status(thm)],[198,104]) ).

tff(200,plain,
    theorem(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q))),
    inference(unit_resolution,[status(thm)],[199,195,165]) ).

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

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

tff(203,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))
    | ~ theorem(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))
    | ~ theorem(implies(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))) ),
    inference(modus_ponens,[status(thm)],[202,201]) ).

tff(204,plain,
    ( theorem(or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))
    | ~ theorem(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)))
    | ~ theorem(implies(or(not(or(not(or(p,q)),q)),or(not(or(p,q)),q)),or(not(or(p,q)),or(not(implies(or(p,q),q)),q)))) ),
    inference(unit_resolution,[status(thm)],[203,104]) ).

tff(205,plain,
    theorem(or(not(or(p,q)),or(not(implies(or(p,q),q)),q))),
    inference(unit_resolution,[status(thm)],[204,200,146]) ).

tff(206,plain,
    theorem(or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q))),
    inference(modus_ponens,[status(thm)],[205,136]) ).

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

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

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

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

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

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

tff(213,plain,
    ( ~ theorem(or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q)))
    | theorem(implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))
    | ~ theorem(implies(or(not(or(p,q)),or(not(or(not(or(p,q)),q)),q)),implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q))))) ),
    inference(unit_resolution,[status(thm)],[212,104]) ).

tff(214,plain,
    theorem(implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))),
    inference(unit_resolution,[status(thm)],[213,206,132]) ).

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

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

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

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

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

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

tff(221,plain,
    axiom(implies(or(q,p),or(p,q))),
    inference(unit_resolution,[status(thm)],[220,158]) ).

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

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

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

tff(225,plain,
    theorem(implies(or(q,p),or(p,q))),
    inference(unit_resolution,[status(thm)],[224,29,221]) ).

tff(226,plain,
    theorem(or(not(or(q,p)),or(p,q))),
    inference(modus_ponens,[status(thm)],[225,219]) ).

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

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

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

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

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

tff(232,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | ~ theorem(or(not(or(q,p)),or(p,q)))
    | theorem(or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))
    | ~ theorem(implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))) ),
    inference(modus_ponens,[status(thm)],[231,230]) ).

tff(233,plain,
    ( theorem(or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))
    | ~ theorem(implies(or(not(or(q,p)),or(p,q)),or(not(or(q,p)),or(not(or(not(or(p,q)),q)),q)))) ),
    inference(unit_resolution,[status(thm)],[232,104,226]) ).

tff(234,plain,
    $false,
    inference(unit_resolution,[status(thm)],[233,214,121]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02  % Problem    : LCL218-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.02  % Command    : run_E %s %d THM
% 0.07/0.34  % Computer : n017.cluster.edu
% 0.07/0.34  % Model    : x86_64 x86_64
% 0.07/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.07/0.34  % Memory   : 8046.5625MB
% 0.07/0.34  % OS       : Linux 6.8.0-71-generic
% 0.07/0.34  % CPULimit   : 300
% 0.07/0.34  % WCLimit    : 300
% 0.07/0.34  % DateTime   : Sat Sep  5 03:45:23 UTC 2026
% 0.07/0.34  % CPUTime    : 
% 166.04/166.35  % SZS status Unsatisfiable
% 166.04/166.35  % SZS output start Proof
% See solution above
% 0.12/168.05  % E exiting
%------------------------------------------------------------------------------