TSTP Solution File: NUN134-1 by Z3---4.8.9.0

View Problem - Process Solution

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

% Computer : n006.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 13:28:06 EDT 2022

% Result   : Unsatisfiable 0.12s 0.39s
% Output   : Proof 0.12s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   33
% Syntax   : Number of formulae    :   80 (  54 unt;   5 typ;   0 def)
%            Number of atoms       :  106 ( 100 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   39 (  13   ~;   9   |;   0   &)
%                                         (  17 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    5 (   2 avg)
%            Number of FOOLs       :    5 (   5 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    6 (   4   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   1 con; 0-2 aty)
%            Number of variables   :  111 ( 101   !;   0   ?; 111   :)

% Comments : 
%------------------------------------------------------------------------------
tff(times_type,type,
    times: ( $i * $i ) > $i ).

tff(s_type,type,
    s: $i > $i ).

tff(a_type,type,
    a: $i ).

tff(tptp_fun_____type,type,
    tptp_fun____: ( $i * $i ) > $i ).

tff(sum_type,type,
    sum: $i > $i ).

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

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

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

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

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

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

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

tff(8,plain,
    ( ~ ! [Y: $i,X: $i] : ( times(X,Y) = times(Y,X) )
    | ( times(s(a),s(s(a))) = times(s(s(a)),s(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    times(s(a),s(s(a))) = times(s(s(a)),s(a)),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    times(s(s(a)),s(a)) = times(s(a),s(s(a))),
    inference(symmetry,[status(thm)],[9]) ).

tff(11,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) )
      <=> ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ) )),
    inference(bind,[status(th)],]) ).

tff(12,plain,
    ( ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) )
  <=> ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ) ),
    inference(quant_intro,[status(thm)],[11]) ).

tff(13,plain,
    ( ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) )
  <=> ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(14,axiom,
    ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',times_s) ).

tff(15,plain,
    ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ),
    inference(modus_ponens,[status(thm)],[14,13]) ).

tff(16,plain,
    ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ),
    inference(skolemize,[status(sab)],[15]) ).

tff(17,plain,
    ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) ),
    inference(modus_ponens,[status(thm)],[16,12]) ).

tff(18,plain,
    ( ~ ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) )
    | ( times(s(s(a)),s(a)) = tptp_fun____(s(a),times(s(a),s(a))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(19,plain,
    times(s(s(a)),s(a)) = tptp_fun____(s(a),times(s(a),s(a))),
    inference(unit_resolution,[status(thm)],[18,17]) ).

tff(20,plain,
    tptp_fun____(s(a),times(s(a),s(a))) = times(s(s(a)),s(a)),
    inference(symmetry,[status(thm)],[19]) ).

tff(21,plain,
    ( ~ ! [Y: $i,X: $i] : ( times(s(X),Y) = tptp_fun____(Y,times(X,Y)) )
    | ( times(s(a),s(a)) = tptp_fun____(s(a),times(a,s(a))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(22,plain,
    times(s(a),s(a)) = tptp_fun____(s(a),times(a,s(a))),
    inference(unit_resolution,[status(thm)],[21,17]) ).

tff(23,plain,
    tptp_fun____(s(a),times(s(a),s(a))) = tptp_fun____(s(a),tptp_fun____(s(a),times(a,s(a)))),
    inference(monotonicity,[status(thm)],[22]) ).

tff(24,plain,
    tptp_fun____(s(a),tptp_fun____(s(a),times(a,s(a)))) = tptp_fun____(s(a),times(s(a),s(a))),
    inference(symmetry,[status(thm)],[23]) ).

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

tff(26,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) ) ),
    inference(quant_intro,[status(thm)],[25]) ).

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

tff(28,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus_assoc) ).

tff(29,plain,
    ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[28,27]) ).

tff(30,plain,
    ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) ),
    inference(skolemize,[status(sab)],[29]) ).

tff(31,plain,
    ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[30,26]) ).

tff(32,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) )
    | ( tptp_fun____(s(a),tptp_fun____(s(a),times(a,s(a)))) = tptp_fun____(tptp_fun____(s(a),s(a)),times(a,s(a))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(33,plain,
    tptp_fun____(s(a),tptp_fun____(s(a),times(a,s(a)))) = tptp_fun____(tptp_fun____(s(a),s(a)),times(a,s(a))),
    inference(unit_resolution,[status(thm)],[32,31]) ).

tff(34,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),times(a,s(a))) = tptp_fun____(s(a),tptp_fun____(s(a),times(a,s(a)))),
    inference(symmetry,[status(thm)],[33]) ).

tff(35,plain,
    ( ( tptp_fun____(sum(a),sum(a)) = times(a,s(a)) )
  <=> ( tptp_fun____(sum(a),sum(a)) = times(a,s(a)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(36,axiom,
    tptp_fun____(sum(a),sum(a)) = times(a,s(a)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',induction_hypothesis) ).

tff(37,plain,
    tptp_fun____(sum(a),sum(a)) = times(a,s(a)),
    inference(modus_ponens,[status(thm)],[36,35]) ).

tff(38,plain,
    times(a,s(a)) = tptp_fun____(sum(a),sum(a)),
    inference(symmetry,[status(thm)],[37]) ).

tff(39,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),times(a,s(a))) = tptp_fun____(tptp_fun____(s(a),s(a)),tptp_fun____(sum(a),sum(a))),
    inference(monotonicity,[status(thm)],[38]) ).

tff(40,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),tptp_fun____(sum(a),sum(a))) = tptp_fun____(tptp_fun____(s(a),s(a)),times(a,s(a))),
    inference(symmetry,[status(thm)],[39]) ).

tff(41,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) )
    | ( tptp_fun____(tptp_fun____(s(a),s(a)),tptp_fun____(sum(a),sum(a))) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),sum(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(42,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),tptp_fun____(sum(a),sum(a))) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),sum(a)),
    inference(unit_resolution,[status(thm)],[41,31]) ).

tff(43,plain,
    tptp_fun____(tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),sum(a)) = tptp_fun____(tptp_fun____(s(a),s(a)),tptp_fun____(sum(a),sum(a))),
    inference(symmetry,[status(thm)],[42]) ).

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

tff(45,plain,
    ( ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) )
  <=> ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) ) ),
    inference(quant_intro,[status(thm)],[44]) ).

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

tff(47,axiom,
    ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus_comm) ).

tff(48,plain,
    ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) ),
    inference(modus_ponens,[status(thm)],[47,46]) ).

tff(49,plain,
    ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) ),
    inference(skolemize,[status(sab)],[48]) ).

tff(50,plain,
    ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) ),
    inference(modus_ponens,[status(thm)],[49,45]) ).

tff(51,plain,
    ( ~ ! [Y: $i,X: $i] : ( tptp_fun____(X,Y) = tptp_fun____(Y,X) )
    | ( tptp_fun____(s(a),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(52,plain,
    tptp_fun____(s(a),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),
    inference(unit_resolution,[status(thm)],[51,50]) ).

tff(53,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) )
    | ( tptp_fun____(s(a),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(54,plain,
    tptp_fun____(s(a),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),
    inference(unit_resolution,[status(thm)],[53,31]) ).

tff(55,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)) = tptp_fun____(s(a),tptp_fun____(s(a),sum(a))),
    inference(symmetry,[status(thm)],[54]) ).

tff(56,plain,
    tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)) = tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),
    inference(transitivity,[status(thm)],[55,52]) ).

tff(57,plain,
    tptp_fun____(tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),sum(a)) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),sum(a)),
    inference(monotonicity,[status(thm)],[56]) ).

tff(58,plain,
    tptp_fun____(tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),sum(a)) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),s(a)),sum(a)),sum(a)),
    inference(symmetry,[status(thm)],[57]) ).

tff(59,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( tptp_fun____(X,tptp_fun____(Y,Z)) = tptp_fun____(tptp_fun____(X,Y),Z) )
    | ( tptp_fun____(tptp_fun____(s(a),sum(a)),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),sum(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(60,plain,
    tptp_fun____(tptp_fun____(s(a),sum(a)),tptp_fun____(s(a),sum(a))) = tptp_fun____(tptp_fun____(tptp_fun____(s(a),sum(a)),s(a)),sum(a)),
    inference(unit_resolution,[status(thm)],[59,31]) ).

tff(61,plain,
    ^ [N: $i] :
      refl(
        ( ( sum(s(N)) = tptp_fun____(s(N),sum(N)) )
      <=> ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ) )),
    inference(bind,[status(th)],]) ).

tff(62,plain,
    ( ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) )
  <=> ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ) ),
    inference(quant_intro,[status(thm)],[61]) ).

tff(63,plain,
    ( ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) )
  <=> ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(64,axiom,
    ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',sum_s) ).

tff(65,plain,
    ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ),
    inference(modus_ponens,[status(thm)],[64,63]) ).

tff(66,plain,
    ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ),
    inference(skolemize,[status(sab)],[65]) ).

tff(67,plain,
    ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) ),
    inference(modus_ponens,[status(thm)],[66,62]) ).

tff(68,plain,
    ( ~ ! [N: $i] : ( sum(s(N)) = tptp_fun____(s(N),sum(N)) )
    | ( sum(s(a)) = tptp_fun____(s(a),sum(a)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(69,plain,
    sum(s(a)) = tptp_fun____(s(a),sum(a)),
    inference(unit_resolution,[status(thm)],[68,67]) ).

tff(70,plain,
    tptp_fun____(sum(s(a)),sum(s(a))) = tptp_fun____(tptp_fun____(s(a),sum(a)),tptp_fun____(s(a),sum(a))),
    inference(monotonicity,[status(thm)],[69,69]) ).

tff(71,plain,
    tptp_fun____(sum(s(a)),sum(s(a))) = times(s(a),s(s(a))),
    inference(transitivity,[status(thm)],[70,60,58,43,40,34,24,20,10]) ).

tff(72,plain,
    ( ( tptp_fun____(sum(s(a)),sum(s(a))) != times(s(a),s(s(a))) )
  <=> ( tptp_fun____(sum(s(a)),sum(s(a))) != times(s(a),s(s(a))) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(73,axiom,
    tptp_fun____(sum(s(a)),sum(s(a))) != times(s(a),s(s(a))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',goal) ).

tff(74,plain,
    tptp_fun____(sum(s(a)),sum(s(a))) != times(s(a),s(s(a))),
    inference(modus_ponens,[status(thm)],[73,72]) ).

tff(75,plain,
    $false,
    inference(unit_resolution,[status(thm)],[74,71]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem  : NUN134-1 : TPTP v8.1.0. Released v8.1.0.
% 0.11/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.34  % Computer : n006.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % 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 : Fri Sep  2 16:51:54 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 0.12/0.34  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.12/0.34  Usage: tptp [options] [-file:]file
% 0.12/0.34    -h, -?       prints this message.
% 0.12/0.34    -smt2        print SMT-LIB2 benchmark.
% 0.12/0.34    -m, -model   generate model.
% 0.12/0.34    -p, -proof   generate proof.
% 0.12/0.34    -c, -core    generate unsat core of named formulas.
% 0.12/0.34    -st, -statistics display statistics.
% 0.12/0.34    -t:timeout   set timeout (in second).
% 0.12/0.34    -smt2status  display status in smt2 format instead of SZS.
% 0.12/0.34    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.12/0.34    -<param>:<value> configuration parameter and value.
% 0.12/0.34    -o:<output-file> file to place output in.
% 0.12/0.39  % SZS status Unsatisfiable
% 0.12/0.39  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------