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

View Problem - Process Solution

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

% Computer : n021.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 : Fri Sep 16 22:26:31 EDT 2022

% Result   : Unsatisfiable 0.21s 0.40s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   23
% Syntax   : Number of formulae    :   56 (  39 unt;   5 typ;   0 def)
%            Number of atoms       :   69 (  65 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   22 (   7   ~;   3   |;   0   &)
%                                         (  12 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   2 avg)
%            Maximal term depth    :    5 (   2 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    4 (   2   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   3 con; 0-2 aty)
%            Number of variables   :   70 (  63   !;   0   ?;  70   :)

% Comments : 
%------------------------------------------------------------------------------
tff(multiply_type,type,
    multiply: ( $i * $i ) > $i ).

tff(b_type,type,
    b: $i ).

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

tff(least_upper_bound_type,type,
    least_upper_bound: ( $i * $i ) > $i ).

tff(identity_type,type,
    identity: $i ).

tff(1,plain,
    ( ( least_upper_bound(identity,a) = a )
  <=> ( least_upper_bound(identity,a) = a ) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    least_upper_bound(identity,a) = a,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p04a_1) ).

tff(3,plain,
    least_upper_bound(identity,a) = a,
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    a = least_upper_bound(identity,a),
    inference(symmetry,[status(thm)],[3]) ).

tff(5,plain,
    multiply(a,b) = multiply(least_upper_bound(identity,a),b),
    inference(monotonicity,[status(thm)],[4]) ).

tff(6,plain,
    multiply(least_upper_bound(identity,a),b) = multiply(a,b),
    inference(symmetry,[status(thm)],[5]) ).

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

tff(8,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

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

tff(10,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP004-2.ax',monotony_lub2) ).

tff(11,plain,
    ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) ),
    inference(modus_ponens,[status(thm)],[10,9]) ).

tff(12,plain,
    ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) ),
    inference(modus_ponens,[status(thm)],[12,8]) ).

tff(14,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( multiply(least_upper_bound(Y,Z),X) = least_upper_bound(multiply(Y,X),multiply(Z,X)) )
    | ( multiply(least_upper_bound(identity,a),b) = least_upper_bound(multiply(identity,b),multiply(a,b)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(15,plain,
    multiply(least_upper_bound(identity,a),b) = least_upper_bound(multiply(identity,b),multiply(a,b)),
    inference(unit_resolution,[status(thm)],[14,13]) ).

tff(16,plain,
    least_upper_bound(multiply(identity,b),multiply(a,b)) = multiply(least_upper_bound(identity,a),b),
    inference(symmetry,[status(thm)],[15]) ).

tff(17,plain,
    least_upper_bound(multiply(identity,b),multiply(a,b)) = multiply(a,b),
    inference(transitivity,[status(thm)],[16,6]) ).

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

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

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

tff(21,axiom,
    ! [X: $i] : ( multiply(identity,X) = X ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP004-0.ax',left_identity) ).

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

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

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

tff(25,plain,
    ( ~ ! [X: $i] : ( multiply(identity,X) = X )
    | ( multiply(identity,b) = b ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(26,plain,
    multiply(identity,b) = b,
    inference(unit_resolution,[status(thm)],[25,24]) ).

tff(27,plain,
    b = multiply(identity,b),
    inference(symmetry,[status(thm)],[26]) ).

tff(28,plain,
    ( ( least_upper_bound(identity,b) = b )
  <=> ( least_upper_bound(identity,b) = b ) ),
    inference(rewrite,[status(thm)],]) ).

tff(29,axiom,
    least_upper_bound(identity,b) = b,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p04a_2) ).

tff(30,plain,
    least_upper_bound(identity,b) = b,
    inference(modus_ponens,[status(thm)],[29,28]) ).

tff(31,plain,
    least_upper_bound(identity,multiply(identity,b)) = least_upper_bound(identity,b),
    inference(monotonicity,[status(thm)],[26]) ).

tff(32,plain,
    least_upper_bound(identity,multiply(identity,b)) = multiply(identity,b),
    inference(transitivity,[status(thm)],[31,30,27]) ).

tff(33,plain,
    least_upper_bound(least_upper_bound(identity,multiply(identity,b)),least_upper_bound(multiply(identity,b),multiply(a,b))) = least_upper_bound(multiply(identity,b),multiply(a,b)),
    inference(monotonicity,[status(thm)],[32,17]) ).

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

tff(35,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ) ),
    inference(quant_intro,[status(thm)],[34]) ).

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

tff(37,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP004-2.ax',associativity_of_lub) ).

tff(38,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[37,36]) ).

tff(39,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(skolemize,[status(sab)],[38]) ).

tff(40,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[39,35]) ).

tff(41,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
    | ( least_upper_bound(identity,least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b)))) = least_upper_bound(least_upper_bound(identity,multiply(identity,b)),least_upper_bound(multiply(identity,b),multiply(a,b))) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(42,plain,
    least_upper_bound(identity,least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b)))) = least_upper_bound(least_upper_bound(identity,multiply(identity,b)),least_upper_bound(multiply(identity,b),multiply(a,b))),
    inference(unit_resolution,[status(thm)],[41,40]) ).

tff(43,plain,
    least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b))) = least_upper_bound(multiply(identity,b),multiply(a,b)),
    inference(monotonicity,[status(thm)],[17]) ).

tff(44,plain,
    least_upper_bound(multiply(identity,b),multiply(a,b)) = least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b))),
    inference(symmetry,[status(thm)],[43]) ).

tff(45,plain,
    multiply(a,b) = least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b))),
    inference(transitivity,[status(thm)],[5,15,44]) ).

tff(46,plain,
    least_upper_bound(identity,multiply(a,b)) = least_upper_bound(identity,least_upper_bound(multiply(identity,b),least_upper_bound(multiply(identity,b),multiply(a,b)))),
    inference(monotonicity,[status(thm)],[45]) ).

tff(47,plain,
    least_upper_bound(identity,multiply(a,b)) = multiply(a,b),
    inference(transitivity,[status(thm)],[46,42,33,16,6]) ).

tff(48,plain,
    ( ( least_upper_bound(identity,multiply(a,b)) != multiply(a,b) )
  <=> ( least_upper_bound(identity,multiply(a,b)) != multiply(a,b) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(49,axiom,
    least_upper_bound(identity,multiply(a,b)) != multiply(a,b),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_p04a) ).

tff(50,plain,
    least_upper_bound(identity,multiply(a,b)) != multiply(a,b),
    inference(modus_ponens,[status(thm)],[49,48]) ).

tff(51,plain,
    $false,
    inference(unit_resolution,[status(thm)],[50,47]) ).

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