↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Result   : Unsatisfiable 0.00s 0.45s
% Output   : Proof 0.22s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   31
% Syntax   : Number of formulae    :   87 (  42 unt;   0 typ;   0 def)
%            Number of atoms       :  214 (  33 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  221 ( 100   ~;  93   |;   0   &)
%                                         (  28 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    7 (   2 avg)
%            Number of FOOLs       :    6 (   6 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   :  139 ( 126   !;   0   ?; 139   :)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(50,plain,
    implies(or(not(r),s),implies(or(q,r),or(q,s))) = or(not(or(not(r),s)),implies(or(q,r),or(q,s))),
    inference(unit_resolution,[status(thm)],[49,7]) ).

tff(51,plain,
    or(not(or(not(r),s)),implies(or(q,r),or(q,s))) = implies(or(not(r),s),implies(or(q,r),or(q,s))),
    inference(symmetry,[status(thm)],[50]) ).

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

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

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

tff(55,plain,
    implies(r,s) = or(not(r),s),
    inference(unit_resolution,[status(thm)],[54,7]) ).

tff(56,plain,
    implies(implies(r,s),implies(or(q,r),or(q,s))) = implies(or(not(r),s),implies(or(q,r),or(q,s))),
    inference(monotonicity,[status(thm)],[55]) ).

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

tff(58,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(59,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)],[58]) ).

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

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

tff(64,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
    inference(modus_ponens,[status(thm)],[63,59]) ).

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

tff(66,plain,
    axiom(implies(implies(r,s),implies(or(q,r),or(q,s)))),
    inference(unit_resolution,[status(thm)],[65,64]) ).

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

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

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

tff(70,plain,
    theorem(implies(implies(r,s),implies(or(q,r),or(q,s)))),
    inference(unit_resolution,[status(thm)],[69,33,66]) ).

tff(71,plain,
    theorem(implies(or(not(r),s),implies(or(q,r),or(q,s)))),
    inference(modus_ponens,[status(thm)],[70,57]) ).

tff(72,plain,
    theorem(or(not(or(not(r),s)),implies(or(q,r),or(q,s)))),
    inference(modus_ponens,[status(thm)],[71,53]) ).

tff(73,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(74,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)],[73]) ).

tff(75,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(76,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(77,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)],[76]) ).

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

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

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

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

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

tff(84,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( theorem(X)
          | ~ theorem(Y)
          | ~ theorem(implies(Y,X)) )
    | theorem(or(not(or(q,r)),implies(or(not(r),s),or(q,s))))
    | ~ theorem(or(not(or(not(r),s)),implies(or(q,r),or(q,s))))
    | ~ theorem(implies(or(not(or(not(r),s)),implies(or(q,r),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ),
    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,r)),implies(or(not(r),s),or(q,s))))
    | ~ theorem(or(not(or(not(r),s)),implies(or(q,r),or(q,s))))
    | ~ theorem(implies(or(not(or(not(r),s)),implies(or(q,r),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ),
    inference(modus_ponens,[status(thm)],[84,83]) ).

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

tff(87,plain,
    $false,
    inference(unit_resolution,[status(thm)],[86,72,48,38]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem    : LCL226-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.03  % Command    : run_E %s %d THM
% 0.00/0.36  % Computer : n005.cluster.edu
% 0.00/0.36  % Model    : x86_64 x86_64
% 0.00/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.00/0.36  % Memory   : 8046.5625MB
% 0.00/0.36  % OS       : Linux 6.8.0-71-generic
% 0.00/0.36  % CPULimit   : 300
% 0.00/0.36  % WCLimit    : 300
% 0.00/0.36  % DateTime   : Sat Sep  5 11:45:37 UTC 2026
% 0.00/0.36  % CPUTime    : 
% 0.00/0.45  % SZS status Unsatisfiable
% 0.00/0.45  % SZS output start Proof
% See solution above
% 0.22/0.47  % E exiting
%------------------------------------------------------------------------------