↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Computer : n026.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:31 PM UTC 2026

% Result   : Unsatisfiable 105.03s 105.57s
% Output   : Proof 105.73s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   15
%            Number of leaves      :   55
% Syntax   : Number of formulae    :  152 (  64 unt;   0 typ;   0 def)
%            Number of atoms       :  437 (  36 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  522 ( 244   ~; 230   |;   0   &)
%                                         (  48 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    7 (   2 avg)
%            Number of FOOLs       :    7 (   7 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-2 aty)
%            Number of variables   :  217 ( 202   !;   0   ?; 217   :)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(19,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(20,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)],[19]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(38,plain,
    theorem(implies(or(or(p,q),r),or(r,or(p,q)))),
    inference(unit_resolution,[status(thm)],[37,34,27]) ).

tff(39,plain,
    theorem(or(not(or(or(p,q),r)),or(r,or(p,q)))),
    inference(modus_ponens,[status(thm)],[38,18]) ).

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

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

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

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

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

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

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

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

tff(48,plain,
    ~ theorem(implies(or(or(p,q),r),or(p,or(q,r)))),
    inference(modus_ponens,[status(thm)],[47,46]) ).

tff(49,plain,
    ~ theorem(or(not(or(or(p,q),r)),or(p,or(q,r)))),
    inference(modus_ponens,[status(thm)],[48,45]) ).

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

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

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

tff(57,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[56,52]) ).

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

tff(59,plain,
    ! [Y: $i,X: $i] :
      ( theorem(X)
      | ~ theorem(Y)
      | ~ theorem(implies(Y,X)) ),
    inference(modus_ponens,[status(thm)],[58,51]) ).

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

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

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

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

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

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

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

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

tff(71,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[70,66]) ).

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

tff(73,plain,
    axiom(implies(implies(or(r,or(p,q)),or(p,or(q,r))),implies(or(not(or(or(p,q),r)),or(r,or(p,q))),or(not(or(or(p,q),r)),or(p,or(q,r)))))),
    inference(unit_resolution,[status(thm)],[72,71]) ).

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

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

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

tff(77,plain,
    theorem(implies(implies(or(r,or(p,q)),or(p,or(q,r))),implies(or(not(or(or(p,q),r)),or(r,or(p,q))),or(not(or(or(p,q),r)),or(p,or(q,r)))))),
    inference(unit_resolution,[status(thm)],[76,34,73]) ).

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

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

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

tff(81,plain,
    ( theorem(implies(or(not(or(or(p,q),r)),or(r,or(p,q))),or(not(or(or(p,q),r)),or(p,or(q,r)))))
    | ~ theorem(implies(or(r,or(p,q)),or(p,or(q,r)))) ),
    inference(unit_resolution,[status(thm)],[80,59,77]) ).

tff(82,plain,
    ~ theorem(implies(or(r,or(p,q)),or(p,or(q,r)))),
    inference(unit_resolution,[status(thm)],[81,64]) ).

tff(83,plain,
    ~ theorem(or(not(or(r,or(p,q))),or(p,or(q,r)))),
    inference(modus_ponens,[status(thm)],[82,13]) ).

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

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

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

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

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

tff(89,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(90,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)],[89]) ).

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

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

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

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

tff(97,plain,
    axiom(implies(or(r,or(p,q)),or(p,or(r,q)))),
    inference(unit_resolution,[status(thm)],[96,95]) ).

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

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

tff(100,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(or(r,or(p,q)),or(p,or(r,q))))
    | ~ axiom(implies(or(r,or(p,q)),or(p,or(r,q)))) ),
    inference(modus_ponens,[status(thm)],[99,98]) ).

tff(101,plain,
    theorem(implies(or(r,or(p,q)),or(p,or(r,q)))),
    inference(unit_resolution,[status(thm)],[100,34,97]) ).

tff(102,plain,
    theorem(or(not(or(r,or(p,q))),or(p,or(r,q)))),
    inference(modus_ponens,[status(thm)],[101,88]) ).

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

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

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

tff(106,plain,
    ~ theorem(implies(or(not(or(r,or(p,q))),or(p,or(r,q))),or(not(or(r,or(p,q))),or(p,or(q,r))))),
    inference(unit_resolution,[status(thm)],[105,59,102,83]) ).

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

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

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

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

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

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

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

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

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

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

tff(117,plain,
    axiom(implies(implies(or(r,q),or(q,r)),implies(or(p,or(r,q)),or(p,or(q,r))))),
    inference(unit_resolution,[status(thm)],[116,71]) ).

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

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

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

tff(121,plain,
    theorem(implies(implies(or(r,q),or(q,r)),implies(or(p,or(r,q)),or(p,or(q,r))))),
    inference(unit_resolution,[status(thm)],[120,34,117]) ).

tff(122,plain,
    theorem(implies(or(not(or(r,q)),or(q,r)),implies(or(p,or(r,q)),or(p,or(q,r))))),
    inference(modus_ponens,[status(thm)],[121,115]) ).

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

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

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

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

tff(127,plain,
    axiom(implies(or(r,q),or(q,r))),
    inference(unit_resolution,[status(thm)],[126,25]) ).

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

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

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

tff(131,plain,
    theorem(implies(or(r,q),or(q,r))),
    inference(unit_resolution,[status(thm)],[130,34,127]) ).

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

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

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

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

tff(136,plain,
    ( theorem(implies(or(p,or(r,q)),or(p,or(q,r))))
    | ~ theorem(or(not(or(r,q)),or(q,r)))
    | ~ theorem(implies(or(not(or(r,q)),or(q,r)),implies(or(p,or(r,q)),or(p,or(q,r))))) ),
    inference(unit_resolution,[status(thm)],[135,59]) ).

tff(137,plain,
    theorem(implies(or(p,or(r,q)),or(p,or(q,r)))),
    inference(unit_resolution,[status(thm)],[136,132,122]) ).

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

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

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

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

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

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

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

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

tff(146,plain,
    theorem(implies(implies(or(p,or(r,q)),or(p,or(q,r))),implies(or(not(or(r,or(p,q))),or(p,or(r,q))),or(not(or(r,or(p,q))),or(p,or(q,r)))))),
    inference(unit_resolution,[status(thm)],[145,34,142]) ).

tff(147,plain,
    theorem(implies(or(not(or(p,or(r,q))),or(p,or(q,r))),implies(or(not(or(r,or(p,q))),or(p,or(r,q))),or(not(or(r,or(p,q))),or(p,or(q,r)))))),
    inference(modus_ponens,[status(thm)],[146,140]) ).

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

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

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

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

tff(152,plain,
    $false,
    inference(unit_resolution,[status(thm)],[151,147,138,106]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.05  % Problem    : LCL192-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.05  % Command    : run_E %s %d THM
% 0.14/0.40  % Computer : n026.cluster.edu
% 0.14/0.40  % Model    : x86_64 x86_64
% 0.14/0.40  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.40  % Memory   : 8046.5625MB
% 0.14/0.40  % OS       : Linux 6.8.0-71-generic
% 0.14/0.40  % CPULimit   : 300
% 0.14/0.40  % WCLimit    : 300
% 0.14/0.40  % DateTime   : Sat Sep  5 01:22:27 UTC 2026
% 0.14/0.40  % CPUTime    : 
% 105.03/105.57  % SZS status Unsatisfiable
% 105.03/105.57  % SZS output start Proof
% See solution above
% 0.20/106.90  % E exiting
%------------------------------------------------------------------------------