↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Computer : n005.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:47 PM UTC 2026

% Result   : Unsatisfiable 164.03s 164.34s
% Output   : Proof 165.12s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   19
%            Number of leaves      :   69
% Syntax   : Number of formulae    :  181 (  75 unt;   0 typ;   0 def)
%            Number of atoms       :  565 (  37 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  715 ( 339   ~; 321   |;   0   &)
%                                         (  55 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    7 (   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   :  271 ( 254   !;   0   ?; 271   :)

% 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(q_type,type,
    q: $i ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(35,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)],[34]) ).

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

tff(38,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[37,36]) ).

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

tff(40,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[39,35]) ).

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

tff(42,plain,
    axiom(implies(or(not(or(q,not(p))),or(not(p),q)),or(q,or(not(or(q,not(p))),or(not(p),q))))),
    inference(unit_resolution,[status(thm)],[41,40]) ).

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

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

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

tff(46,plain,
    theorem(implies(or(not(or(q,not(p))),or(not(p),q)),or(q,or(not(or(q,not(p))),or(not(p),q))))),
    inference(unit_resolution,[status(thm)],[45,29,42]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(64,plain,
    theorem(implies(or(q,not(p)),or(not(p),q))),
    inference(unit_resolution,[status(thm)],[63,29,60]) ).

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

tff(66,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(67,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)],[66]) ).

tff(68,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(69,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(70,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)],[69]) ).

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

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

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

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

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

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

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

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

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

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

tff(82,plain,
    theorem(or(q,or(not(or(q,not(p))),or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[81,75,65,46]) ).

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

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

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

tff(86,plain,
    ( theorem(or(not(or(q,not(p))),or(q,or(not(p),q))))
    | ~ theorem(or(q,or(not(or(q,not(p))),or(not(p),q))))
    | ~ theorem(implies(or(q,or(not(or(q,not(p))),or(not(p),q))),or(not(or(q,not(p))),or(q,or(not(p),q))))) ),
    inference(unit_resolution,[status(thm)],[85,75]) ).

tff(87,plain,
    theorem(or(not(or(q,not(p))),or(q,or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[86,82,33]) ).

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

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

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

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

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

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

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

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

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

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

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

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

tff(100,plain,
    axiom(implies(not(p),or(q,not(p)))),
    inference(unit_resolution,[status(thm)],[99,40]) ).

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

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

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

tff(104,plain,
    theorem(implies(not(p),or(q,not(p)))),
    inference(unit_resolution,[status(thm)],[103,29,100]) ).

tff(105,plain,
    theorem(or(not(not(p)),or(q,not(p)))),
    inference(modus_ponens,[status(thm)],[104,98]) ).

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

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

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

tff(109,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(110,plain,
    implies(p,q) = or(not(p),q),
    inference(unit_resolution,[status(thm)],[109,7]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(124,plain,
    ~ theorem(or(implies(p,q),implies(not(p),q))),
    inference(modus_ponens,[status(thm)],[123,122]) ).

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

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

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

tff(128,plain,
    ( ~ theorem(or(not(not(p)),or(or(not(p),q),q)))
    | ~ theorem(implies(or(not(not(p)),or(or(not(p),q),q)),or(implies(p,q),implies(not(p),q)))) ),
    inference(unit_resolution,[status(thm)],[127,75,124]) ).

tff(129,plain,
    ~ theorem(or(not(not(p)),or(or(not(p),q),q))),
    inference(unit_resolution,[status(thm)],[128,121]) ).

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

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

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

tff(133,plain,
    ( ~ theorem(or(not(not(p)),or(q,not(p))))
    | ~ theorem(implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(or(not(p),q),q)))) ),
    inference(unit_resolution,[status(thm)],[132,75,129]) ).

tff(134,plain,
    ~ theorem(implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(or(not(p),q),q)))),
    inference(unit_resolution,[status(thm)],[133,105]) ).

tff(135,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(136,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)],[135]) ).

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

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

tff(141,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[140,136]) ).

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

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

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

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

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

tff(147,plain,
    theorem(implies(implies(or(q,not(p)),or(or(not(p),q),q)),implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(or(not(p),q),q))))),
    inference(unit_resolution,[status(thm)],[146,29,143]) ).

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

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

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

tff(151,plain,
    ( theorem(implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(or(not(p),q),q))))
    | ~ theorem(implies(or(q,not(p)),or(or(not(p),q),q))) ),
    inference(unit_resolution,[status(thm)],[150,75,147]) ).

tff(152,plain,
    ~ theorem(implies(or(q,not(p)),or(or(not(p),q),q))),
    inference(unit_resolution,[status(thm)],[151,134]) ).

tff(153,plain,
    ~ theorem(or(not(or(q,not(p))),or(or(not(p),q),q))),
    inference(modus_ponens,[status(thm)],[152,93]) ).

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

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

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

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

tff(158,plain,
    ~ theorem(implies(or(not(or(q,not(p))),or(q,or(not(p),q))),or(not(or(q,not(p))),or(or(not(p),q),q)))),
    inference(unit_resolution,[status(thm)],[157,87]) ).

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

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

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

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

tff(163,plain,
    axiom(implies(or(q,or(not(p),q)),or(or(not(p),q),q))),
    inference(unit_resolution,[status(thm)],[162,58]) ).

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

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

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

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

tff(168,plain,
    theorem(or(not(or(q,or(not(p),q))),or(or(not(p),q),q))),
    inference(modus_ponens,[status(thm)],[167,161]) ).

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

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

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

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

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

tff(174,plain,
    ~ theorem(implies(implies(or(q,or(not(p),q)),or(or(not(p),q),q)),implies(or(not(or(q,not(p))),or(q,or(not(p),q))),or(not(or(q,not(p))),or(or(not(p),q),q))))),
    inference(modus_ponens,[status(thm)],[173,13]) ).

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

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

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

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

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

tff(180,plain,
    theorem(implies(implies(or(q,or(not(p),q)),or(or(not(p),q),q)),implies(or(not(or(q,not(p))),or(q,or(not(p),q))),or(not(or(q,not(p))),or(or(not(p),q),q))))),
    inference(unit_resolution,[status(thm)],[179,29,176]) ).

tff(181,plain,
    $false,
    inference(unit_resolution,[status(thm)],[180,174]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem    : LCL320-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.03  % Command    : run_E %s %d THM
% 0.08/0.36  % Computer : n005.cluster.edu
% 0.08/0.36  % Model    : x86_64 x86_64
% 0.08/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.36  % Memory   : 8046.5625MB
% 0.08/0.36  % OS       : Linux 6.8.0-71-generic
% 0.08/0.36  % CPULimit   : 300
% 0.08/0.36  % WCLimit    : 300
% 0.08/0.36  % DateTime   : Sun Sep  6 00:54:52 UTC 2026
% 0.13/0.36  % CPUTime    : 
% 164.03/164.34  % SZS status Unsatisfiable
% 164.03/164.34  % SZS output start Proof
% See solution above
% 0.16/166.01  % E exiting
%------------------------------------------------------------------------------