TSTP Solution File: LCL226-3 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : LCL226-3 : TPTP v8.1.0. Released v2.3.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n004.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 18 04:55:31 EDT 2022

% Result   : Unsatisfiable 0.19s 0.41s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   39
% Syntax   : Number of formulae    :   94 (  42 unt;   8 typ;   0 def)
%            Number of atoms       :  212 (  33 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  222 ( 102   ~;  93   |;   0   &)
%                                         (  27 <=>;   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  :    7 (   5   >;   2   *;   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(axiom_type,type,
    axiom: $i > $o ).

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(implies_type,type,
    implies: ( $i * $i ) > $i ).

tff(theorem_type,type,
    theorem: $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,r),or(q,s)) = or(not(or(q,r)),or(q,s)) ) ),
    inference(quant_inst,[status(thm)],]) ).

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

tff(10,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(11,plain,
    implies(r,s) = or(not(r),s),
    inference(unit_resolution,[status(thm)],[10,7]) ).

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

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

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

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

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

tff(17,plain,
    or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))) = implies(implies(r,s),implies(or(q,r),or(q,s))),
    inference(transitivity,[status(thm)],[16,13]) ).

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

tff(19,plain,
    ( axiom(implies(implies(r,s),implies(or(q,r),or(q,s))))
  <=> axiom(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s)))) ),
    inference(symmetry,[status(thm)],[18]) ).

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

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

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

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

tff(27,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(28,plain,
    axiom(implies(implies(r,s),implies(or(q,r),or(q,s)))),
    inference(unit_resolution,[status(thm)],[27,26]) ).

tff(29,plain,
    axiom(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s)))),
    inference(modus_ponens,[status(thm)],[28,19]) ).

tff(30,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(31,plain,
    implies(or(not(r),s),or(q,s)) = or(not(or(not(r),s)),or(q,s)),
    inference(unit_resolution,[status(thm)],[30,7]) ).

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

tff(33,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)],[32]) ).

tff(34,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)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s)))),
    inference(monotonicity,[status(thm)],[33]) ).

tff(35,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)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ),
    inference(monotonicity,[status(thm)],[34]) ).

tff(36,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(37,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)],[36]) ).

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

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

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

tff(43,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(44,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)],[43,42]) ).

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

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

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

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

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

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

tff(51,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[50,46]) ).

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

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

tff(56,plain,
    theorem(implies(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))),
    inference(modus_ponens,[status(thm)],[55,35]) ).

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

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

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

tff(61,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)],[60]) ).

tff(62,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)],[61]) ).

tff(63,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(64,axiom,
    ~ theorem(implies(or(q,r),implies(or(not(r),s),or(q,s)))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_this) ).

tff(65,plain,
    ~ theorem(implies(or(q,r),implies(or(not(r),s),or(q,s)))),
    inference(modus_ponens,[status(thm)],[64,63]) ).

tff(66,plain,
    ~ theorem(or(not(or(q,r)),implies(or(not(r),s),or(q,s)))),
    inference(modus_ponens,[status(thm)],[65,62]) ).

tff(67,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(68,plain,
    ( ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) )
  <=> ! [Y: $i,X: $i] :
        ( theorem(X)
        | ~ theorem(Y)
        | ~ theorem(implies(Y,X)) ) ),
    inference(quant_intro,[status(thm)],[67]) ).

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

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

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

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

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

tff(77,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)),or(not(or(q,r)),or(q,s))))
      | ~ theorem(implies(or(not(or(not(r),s)),or(not(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)),or(not(or(q,r)),or(q,s))))
      | ~ theorem(implies(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(78,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)),or(not(or(q,r)),or(q,s))))
    | ~ theorem(implies(or(not(or(not(r),s)),or(not(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(79,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)),or(not(or(q,r)),or(q,s))))
    | ~ theorem(implies(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ),
    inference(modus_ponens,[status(thm)],[78,77]) ).

tff(80,plain,
    ( theorem(or(not(or(q,r)),implies(or(not(r),s),or(q,s))))
    | ~ theorem(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))))
    | ~ theorem(implies(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))),or(not(or(q,r)),implies(or(not(r),s),or(q,s))))) ),
    inference(unit_resolution,[status(thm)],[79,76]) ).

tff(81,plain,
    ~ theorem(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s)))),
    inference(unit_resolution,[status(thm)],[80,66,56]) ).

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

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

tff(84,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s))))
    | ~ axiom(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s)))) ),
    inference(modus_ponens,[status(thm)],[83,82]) ).

tff(85,plain,
    ~ axiom(or(not(or(not(r),s)),or(not(or(q,r)),or(q,s)))),
    inference(unit_resolution,[status(thm)],[84,51,81]) ).

tff(86,plain,
    $false,
    inference(unit_resolution,[status(thm)],[85,29]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : LCL226-3 : TPTP v8.1.0. Released v2.3.0.
% 0.12/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n004.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit : 300
% 0.12/0.34  % WCLimit  : 300
% 0.12/0.34  % DateTime : Thu Sep  1 19:08:19 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 0.19/0.34  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.19/0.34  Usage: tptp [options] [-file:]file
% 0.19/0.34    -h, -?       prints this message.
% 0.19/0.34    -smt2        print SMT-LIB2 benchmark.
% 0.19/0.34    -m, -model   generate model.
% 0.19/0.34    -p, -proof   generate proof.
% 0.19/0.34    -c, -core    generate unsat core of named formulas.
% 0.19/0.34    -st, -statistics display statistics.
% 0.19/0.34    -t:timeout   set timeout (in second).
% 0.19/0.34    -smt2status  display status in smt2 format instead of SZS.
% 0.19/0.34    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.19/0.34    -<param>:<value> configuration parameter and value.
% 0.19/0.34    -o:<output-file> file to place output in.
% 0.19/0.41  % SZS status Unsatisfiable
% 0.19/0.41  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------