TSTP Solution File: COL066-2 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : COL066-2 : TPTP v8.1.0. Bugfixed v1.2.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n013.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 : Tue Sep  6 17:48:22 EDT 2022

% Result   : Unsatisfiable 0.20s 0.46s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   21
% Syntax   : Number of formulae    :   45 (  27 unt;   6 typ;   0 def)
%            Number of atoms       :   55 (  52 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   25 (  11   ~;   7   |;   0   &)
%                                         (   7 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    9 (   2 avg)
%            Number of FOOLs       :    2 (   2 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    2 (   1   >;   1   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   5 con; 0-2 aty)
%            Number of variables   :   65 (  60   !;   0   ?;  65   :)

% Comments : 
%------------------------------------------------------------------------------
tff(apply_type,type,
    apply: ( $i * $i ) > $i ).

tff(z_type,type,
    z: $i ).

tff(y_type,type,
    y: $i ).

tff(x_type,type,
    x: $i ).

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

tff(w_type,type,
    w: $i ).

tff(1,plain,
    ^ [Z: $i,Y: $i,X: $i] :
      refl(
        ( ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
      <=> ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ) )),
    inference(bind,[status(th)],]) ).

tff(2,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(4,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',q_definition) ).

tff(5,plain,
    ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ),
    inference(skolemize,[status(sab)],[5]) ).

tff(7,plain,
    ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) ),
    inference(modus_ponens,[status(thm)],[6,2]) ).

tff(8,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,apply(x,y)),apply(x,y)),z) = apply(apply(x,y),apply(apply(x,y),z)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    apply(apply(apply(q,apply(x,y)),apply(x,y)),z) = apply(apply(x,y),apply(apply(x,y),z)),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,x),apply(q,apply(x,y))),y) = apply(apply(q,apply(x,y)),apply(x,y)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(11,plain,
    apply(apply(apply(q,x),apply(q,apply(x,y))),y) = apply(apply(q,apply(x,y)),apply(x,y)),
    inference(unit_resolution,[status(thm)],[10,7]) ).

tff(12,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,q),apply(q,x)),apply(x,y)) = apply(apply(q,x),apply(q,apply(x,y))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(13,plain,
    apply(apply(apply(q,q),apply(q,x)),apply(x,y)) = apply(apply(q,x),apply(q,apply(x,y))),
    inference(unit_resolution,[status(thm)],[12,7]) ).

tff(14,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,x),apply(apply(q,q),apply(q,x))),y) = apply(apply(apply(q,q),apply(q,x)),apply(x,y)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(15,plain,
    apply(apply(apply(q,x),apply(apply(q,q),apply(q,x))),y) = apply(apply(apply(q,q),apply(q,x)),apply(x,y)),
    inference(unit_resolution,[status(thm)],[14,7]) ).

tff(16,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,apply(q,q)),apply(q,x)),apply(q,x)) = apply(apply(q,x),apply(apply(q,q),apply(q,x))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(17,plain,
    apply(apply(apply(q,apply(q,q)),apply(q,x)),apply(q,x)) = apply(apply(q,x),apply(apply(q,q),apply(q,x))),
    inference(unit_resolution,[status(thm)],[16,7]) ).

tff(18,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) )
      <=> ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ) )),
    inference(bind,[status(th)],]) ).

tff(19,plain,
    ( ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) )
  <=> ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ) ),
    inference(quant_intro,[status(thm)],[18]) ).

tff(20,plain,
    ( ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) )
  <=> ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(21,axiom,
    ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',w_definition) ).

tff(22,plain,
    ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ),
    inference(modus_ponens,[status(thm)],[21,20]) ).

tff(23,plain,
    ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ),
    inference(skolemize,[status(sab)],[22]) ).

tff(24,plain,
    ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) ),
    inference(modus_ponens,[status(thm)],[23,19]) ).

tff(25,plain,
    ( ~ ! [Y: $i,X: $i] : ( apply(apply(w,X),Y) = apply(apply(X,Y),Y) )
    | ( apply(apply(w,apply(q,apply(q,q))),apply(q,x)) = apply(apply(apply(q,apply(q,q)),apply(q,x)),apply(q,x)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(26,plain,
    apply(apply(w,apply(q,apply(q,q))),apply(q,x)) = apply(apply(apply(q,apply(q,q)),apply(q,x)),apply(q,x)),
    inference(unit_resolution,[status(thm)],[25,24]) ).

tff(27,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( apply(apply(apply(q,X),Y),Z) = apply(Y,apply(X,Z)) )
    | ( apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x) = apply(apply(w,apply(q,apply(q,q))),apply(q,x)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(28,plain,
    apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x) = apply(apply(w,apply(q,apply(q,q))),apply(q,x)),
    inference(unit_resolution,[status(thm)],[27,7]) ).

tff(29,plain,
    apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x) = apply(apply(q,x),apply(apply(q,q),apply(q,x))),
    inference(transitivity,[status(thm)],[28,26,17]) ).

tff(30,plain,
    apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y) = apply(apply(apply(q,x),apply(apply(q,q),apply(q,x))),y),
    inference(monotonicity,[status(thm)],[29]) ).

tff(31,plain,
    apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y) = apply(apply(q,x),apply(q,apply(x,y))),
    inference(transitivity,[status(thm)],[30,15,13]) ).

tff(32,plain,
    apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y) = apply(apply(apply(q,x),apply(q,apply(x,y))),y),
    inference(monotonicity,[status(thm)],[31]) ).

tff(33,plain,
    apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y) = apply(apply(q,apply(x,y)),apply(x,y)),
    inference(transitivity,[status(thm)],[32,11]) ).

tff(34,plain,
    apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) = apply(apply(apply(q,apply(x,y)),apply(x,y)),z),
    inference(monotonicity,[status(thm)],[33]) ).

tff(35,plain,
    apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) = apply(apply(x,y),apply(apply(x,y),z)),
    inference(transitivity,[status(thm)],[34,9]) ).

tff(36,plain,
    ( ( apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) != apply(apply(x,y),apply(apply(x,y),z)) )
  <=> ( apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) != apply(apply(x,y),apply(apply(x,y),z)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(37,axiom,
    apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) != apply(apply(x,y),apply(apply(x,y),z)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_p_combinator) ).

tff(38,plain,
    apply(apply(apply(apply(apply(apply(q,q),apply(w,apply(q,apply(q,q)))),x),y),y),z) != apply(apply(x,y),apply(apply(x,y),z)),
    inference(modus_ponens,[status(thm)],[37,36]) ).

tff(39,plain,
    $false,
    inference(unit_resolution,[status(thm)],[38,35]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.13  % Problem  : COL066-2 : TPTP v8.1.0. Bugfixed v1.2.0.
% 0.07/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.14/0.35  % Computer : n013.cluster.edu
% 0.14/0.35  % Model    : x86_64 x86_64
% 0.14/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.35  % Memory   : 8042.1875MB
% 0.14/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.35  % CPULimit : 300
% 0.14/0.35  % WCLimit  : 300
% 0.14/0.35  % DateTime : Tue Aug 30 11:06:02 EDT 2022
% 0.14/0.35  % CPUTime  : 
% 0.14/0.35  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.14/0.35  Usage: tptp [options] [-file:]file
% 0.14/0.35    -h, -?       prints this message.
% 0.14/0.35    -smt2        print SMT-LIB2 benchmark.
% 0.14/0.35    -m, -model   generate model.
% 0.14/0.35    -p, -proof   generate proof.
% 0.14/0.35    -c, -core    generate unsat core of named formulas.
% 0.14/0.35    -st, -statistics display statistics.
% 0.14/0.35    -t:timeout   set timeout (in second).
% 0.14/0.35    -smt2status  display status in smt2 format instead of SZS.
% 0.14/0.35    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.14/0.35    -<param>:<value> configuration parameter and value.
% 0.14/0.35    -o:<output-file> file to place output in.
% 0.20/0.46  % SZS status Unsatisfiable
% 0.20/0.46  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------