↑ Up

Z3---4.15.1.UNS-Prf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Z3---4.15.1
% Problem  : LCL322-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:48 PM UTC 2026

% Result   : Unsatisfiable 166.64s 166.93s
% Output   : Proof 167.77s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   16
%            Number of leaves      :   63
% Syntax   : Number of formulae    :  163 (  71 unt;   0 typ;   0 def)
%            Number of atoms       :  481 (  37 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  586 ( 276   ~; 262   |;   0   &)
%                                         (  48 <=>;   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   :  248 ( 231   !;   0   ?; 248   :)

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

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

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

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

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

tff(12,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(13,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)],[12]) ).

tff(14,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(15,axiom,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_6) ).

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

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

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,13]) ).

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

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

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

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

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

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

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

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

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

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

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

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

tff(31,plain,
    theorem(implies(implies(or(q,or(not(q),p)),or(or(not(q),p),q)),implies(or(not(or(not(q),p)),or(q,or(not(q),p))),or(not(or(not(q),p)),or(or(not(q),p),q))))),
    inference(unit_resolution,[status(thm)],[30,27,20]) ).

tff(32,plain,
    theorem(implies(or(not(or(q,or(not(q),p))),or(or(not(q),p),q)),implies(or(not(or(not(q),p)),or(q,or(not(q),p))),or(not(or(not(q),p)),or(or(not(q),p),q))))),
    inference(modus_ponens,[status(thm)],[31,11]) ).

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

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

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

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

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

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

tff(39,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)],[38]) ).

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

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

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

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

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

tff(46,plain,
    axiom(implies(or(not(q),p),or(q,or(not(q),p)))),
    inference(unit_resolution,[status(thm)],[45,44]) ).

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

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

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

tff(50,plain,
    theorem(implies(or(not(q),p),or(q,or(not(q),p)))),
    inference(unit_resolution,[status(thm)],[49,27,46]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(70,plain,
    axiom(implies(p,or(not(q),p))),
    inference(unit_resolution,[status(thm)],[69,44]) ).

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

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

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

tff(74,plain,
    theorem(implies(p,or(not(q),p))),
    inference(unit_resolution,[status(thm)],[73,27,70]) ).

tff(75,plain,
    theorem(or(not(p),or(not(q),p))),
    inference(modus_ponens,[status(thm)],[74,68]) ).

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

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

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

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

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

tff(82,plain,
    or(or(not(q),p),or(not(p),q)) = or(implies(q,p),implies(p,q)),
    inference(monotonicity,[status(thm)],[81,78]) ).

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

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

tff(85,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(86,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)],[85]) ).

tff(87,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(88,axiom,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_5) ).

tff(89,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[88,87]) ).

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

tff(91,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[90,86]) ).

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

tff(93,plain,
    axiom(implies(or(not(p),or(or(not(q),p),q)),or(or(not(q),p),or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[92,91]) ).

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

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

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

tff(97,plain,
    theorem(implies(or(not(p),or(or(not(q),p),q)),or(or(not(q),p),or(not(p),q)))),
    inference(unit_resolution,[status(thm)],[96,27,93]) ).

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

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

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

tff(103,plain,
    ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
    inference(modus_ponens,[status(thm)],[102,101]) ).

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

tff(105,plain,
    ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
    inference(modus_ponens,[status(thm)],[104,100]) ).

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

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

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

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

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

tff(111,plain,
    theorem(implies(or(implies(q,p),implies(p,q)),or(implies(p,q),implies(q,p)))),
    inference(unit_resolution,[status(thm)],[110,27,107]) ).

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

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

tff(114,plain,
    ~ theorem(or(implies(p,q),implies(q,p))),
    inference(modus_ponens,[status(thm)],[113,112]) ).

tff(115,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(116,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)],[115]) ).

tff(117,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(118,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(119,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)],[118]) ).

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

tff(121,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[120,119]) ).

tff(122,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[121,117]) ).

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

tff(124,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[123,116]) ).

tff(125,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(implies(p,q),implies(q,p)))
      | ~ theorem(or(implies(q,p),implies(p,q)))
      | ~ theorem(implies(or(implies(q,p),implies(p,q)),or(implies(p,q),implies(q,p)))) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( theorem(X)
            | ~ theorem(Y)
            | ~ theorem(implies(Y,X)) )
      | theorem(or(implies(p,q),implies(q,p)))
      | ~ theorem(or(implies(q,p),implies(p,q)))
      | ~ theorem(implies(or(implies(q,p),implies(p,q)),or(implies(p,q),implies(q,p)))) ) ),
    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(q,p)))
    | ~ theorem(or(implies(q,p),implies(p,q)))
    | ~ theorem(implies(or(implies(q,p),implies(p,q)),or(implies(p,q),implies(q,p)))) ),
    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(q,p)))
    | ~ theorem(or(implies(q,p),implies(p,q)))
    | ~ theorem(implies(or(implies(q,p),implies(p,q)),or(implies(p,q),implies(q,p)))) ),
    inference(modus_ponens,[status(thm)],[126,125]) ).

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

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

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

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

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

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

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

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

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

tff(137,plain,
    ~ theorem(implies(or(not(p),or(not(q),p)),or(not(p),or(or(not(q),p),q)))),
    inference(unit_resolution,[status(thm)],[136,124,133,75]) ).

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

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

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

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

tff(142,plain,
    ~ theorem(implies(or(not(q),p),or(or(not(q),p),q))),
    inference(unit_resolution,[status(thm)],[141,137,63]) ).

tff(143,plain,
    ~ theorem(or(not(or(not(q),p)),or(or(not(q),p),q))),
    inference(modus_ponens,[status(thm)],[142,57]) ).

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

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

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

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

tff(148,plain,
    ~ theorem(implies(or(not(or(not(q),p)),or(q,or(not(q),p))),or(not(or(not(q),p)),or(or(not(q),p),q)))),
    inference(unit_resolution,[status(thm)],[147,51]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(162,plain,
    ( theorem(implies(or(not(or(not(q),p)),or(q,or(not(q),p))),or(not(or(not(q),p)),or(or(not(q),p),q))))
    | ~ theorem(implies(or(not(or(q,or(not(q),p))),or(or(not(q),p),q)),implies(or(not(or(not(q),p)),or(q,or(not(q),p))),or(not(or(not(q),p)),or(or(not(q),p),q))))) ),
    inference(unit_resolution,[status(thm)],[161,124,158]) ).

tff(163,plain,
    $false,
    inference(unit_resolution,[status(thm)],[162,148,32]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02  % Problem    : LCL322-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.02  % Command    : run_E %s %d THM
% 0.09/0.34  % Computer : n005.cluster.edu
% 0.09/0.34  % Model    : x86_64 x86_64
% 0.09/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.34  % Memory   : 8046.5625MB
% 0.09/0.34  % OS       : Linux 6.8.0-71-generic
% 0.09/0.34  % CPULimit   : 300
% 0.09/0.34  % WCLimit    : 300
% 0.09/0.34  % DateTime   : Fri Sep  4 17:43:07 UTC 2026
% 0.09/0.35  % CPUTime    : 
% 166.64/166.93  % SZS status Unsatisfiable
% 166.64/166.93  % SZS output start Proof
% See solution above
% 0.13/168.63  % E exiting
%------------------------------------------------------------------------------