↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Computer : n013.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:29 PM UTC 2026

% Result   : Unsatisfiable 0.66s 1.03s
% Output   : Proof 0.79s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   38
% Syntax   : Number of formulae    :  106 (  50 unt;   0 typ;   0 def)
%            Number of atoms       :  273 (  29 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  294 ( 134   ~; 125   |;   0   &)
%                                         (  35 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    6 (   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    :    5 (   5 usr;   2 con; 0-2 aty)
%            Number of variables   :  159 ( 145   !;   0   ?; 159   :)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(50,plain,
    axiom(implies(or(q,not(p)),or(not(p),q))),
    inference(unit_resolution,[status(thm)],[49,48]) ).

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

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

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

tff(54,plain,
    theorem(implies(or(q,not(p)),or(not(p),q))),
    inference(unit_resolution,[status(thm)],[53,33,50]) ).

tff(55,plain,
    theorem(or(not(or(q,not(p))),or(not(p),q))),
    inference(modus_ponens,[status(thm)],[54,41]) ).

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

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

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

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

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

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

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

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

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

tff(69,plain,
    ( theorem(implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(not(p),q))))
    | ~ theorem(implies(or(not(or(q,not(p))),or(not(p),q)),implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),or(not(p),q))))) ),
    inference(unit_resolution,[status(thm)],[68,65,55]) ).

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

tff(71,plain,
    theorem(implies(or(not(not(p)),or(q,not(p))),or(not(not(p)),implies(p,q)))),
    inference(modus_ponens,[status(thm)],[70,13]) ).

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

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

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

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

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

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

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

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

tff(81,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[80,79]) ).

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

tff(83,plain,
    ! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
    inference(modus_ponens,[status(thm)],[82,78]) ).

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

tff(85,plain,
    axiom(implies(not(p),or(q,not(p)))),
    inference(unit_resolution,[status(thm)],[84,83]) ).

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

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

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

tff(89,plain,
    theorem(implies(not(p),or(q,not(p)))),
    inference(unit_resolution,[status(thm)],[88,33,85]) ).

tff(90,plain,
    theorem(or(not(not(p)),or(q,not(p)))),
    inference(modus_ponens,[status(thm)],[89,76]) ).

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

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

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

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

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

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

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

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

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

tff(100,plain,
    ~ theorem(or(not(not(p)),implies(p,q))),
    inference(modus_ponens,[status(thm)],[99,96]) ).

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

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

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

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

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

tff(106,plain,
    $false,
    inference(unit_resolution,[status(thm)],[105,71]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem    : LCL186-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.03  % Command    : run_E %s %d THM
% 0.06/0.34  % Computer : n013.cluster.edu
% 0.06/0.34  % Model    : x86_64 x86_64
% 0.06/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.06/0.34  % Memory   : 8046.5625MB
% 0.06/0.34  % OS       : Linux 6.8.0-71-generic
% 0.06/0.34  % CPULimit   : 300
% 0.06/0.34  % WCLimit    : 300
% 0.06/0.34  % DateTime   : Fri Sep  4 19:10:21 UTC 2026
% 0.06/0.34  % CPUTime    : 
% 0.66/1.03  % SZS status Unsatisfiable
% 0.66/1.03  % SZS output start Proof
% See solution above
% 0.79/1.04  % E exiting
%------------------------------------------------------------------------------