↑ Up

Z3---4.15.1.UNS-Prf.s

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

% Computer : n031.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:26 PM UTC 2026

% Result   : Unsatisfiable 0.13s 0.39s
% Output   : Proof 0.13s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   18
% Syntax   : Number of formulae    :   52 (  30 unt;   0 typ;   0 def)
%            Number of atoms       :   96 (  31 equ)
%            Maximal formula atoms :    8 (   1 avg)
%            Number of connectives :   76 (  35   ~;  27   |;   0   &)
%                                         (  14 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    5 (   2 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-2 aty)
%            Number of variables   :   69 (  63   !;   0   ?;  69   :)

% Comments : 
%------------------------------------------------------------------------------
tff(axiom_type,type,
    axiom: $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(not_type,type,
    not: $i > $i ).

tff(p_type,type,
    p: $i ).

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

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

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

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

tff(12,plain,
    implies(p,r) = or(not(p),r),
    inference(unit_resolution,[status(thm)],[11,7]) ).

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

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

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

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

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

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

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

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

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

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

tff(23,plain,
    or(not(p),or(not(q),r)) = implies(p,implies(q,r)),
    inference(transitivity,[status(thm)],[22,18]) ).

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

tff(25,plain,
    ( axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r))))
  <=> axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(monotonicity,[status(thm)],[24]) ).

tff(26,plain,
    ( axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
  <=> axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))) ),
    inference(symmetry,[status(thm)],[25]) ).

tff(27,plain,
    ( ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
  <=> ~ axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))) ),
    inference(monotonicity,[status(thm)],[26]) ).

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

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

tff(30,plain,
    ~ theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))),
    inference(modus_ponens,[status(thm)],[29,28]) ).

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

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

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

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

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

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

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

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

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

tff(40,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
    | ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(modus_ponens,[status(thm)],[39,38]) ).

tff(41,plain,
    ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))),
    inference(unit_resolution,[status(thm)],[40,37,30]) ).

tff(42,plain,
    ~ axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))),
    inference(modus_ponens,[status(thm)],[41,27]) ).

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

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

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

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

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

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

tff(52,plain,
    $false,
    inference(unit_resolution,[status(thm)],[51,42]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02  % Problem    : LCL172-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.02  % Command    : run_E %s %d THM
% 0.08/0.33  % Computer : n031.cluster.edu
% 0.08/0.33  % Model    : x86_64 x86_64
% 0.08/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.33  % Memory   : 8046.5625MB
% 0.08/0.33  % OS       : Linux 6.8.0-71-generic
% 0.08/0.33  % CPULimit   : 300
% 0.08/0.33  % WCLimit    : 300
% 0.08/0.34  % DateTime   : Sat Sep  5 13:30:41 UTC 2026
% 0.08/0.34  % CPUTime    : 
% 0.13/0.39  % SZS status Unsatisfiable
% 0.13/0.39  % SZS output start Proof
% See solution above
% 0.13/0.40  % E exiting
%------------------------------------------------------------------------------