TSTP Solution File: BOO013-4 by Z3---4.8.9.0

View Problem - Process Solution

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

% Computer : n010.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:18:43 EDT 2022

% Result   : Unsatisfiable 0.21s 0.41s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   36
% Syntax   : Number of formulae    :   82 (  52 unt;   7 typ;   0 def)
%            Number of atoms       :  114 ( 105 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   44 (  13   ~;   9   |;   0   &)
%                                         (  22 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of FOOLs       :    8 (   8 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    5 (   3   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    4 (   2 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :  100 (  89   !;   0   ?; 100   :)

% Comments : 
%------------------------------------------------------------------------------
tff(inverse_type,type,
    inverse: $i > $i ).

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

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

tff(add_type,type,
    add: ( $i * $i ) > $i ).

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

tff(additive_identity_type,type,
    additive_identity: $i ).

tff(multiplicative_identity_type,type,
    multiplicative_identity: $i ).

tff(1,plain,
    ^ [X: $i] :
      refl(
        ( ( add(X,multiply(a,b)) = X )
      <=> ( add(X,multiply(a,b)) = X ) )),
    inference(bind,[status(th)],]) ).

tff(2,plain,
    ( ! [X: $i] : ( add(X,multiply(a,b)) = X )
  <=> ! [X: $i] : ( add(X,multiply(a,b)) = X ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ^ [X: $i] :
      rewrite(
        ( ( add(X,additive_identity) = X )
      <=> ( add(X,multiply(a,b)) = X ) )),
    inference(bind,[status(th)],]) ).

tff(4,plain,
    ( ! [X: $i] : ( add(X,additive_identity) = X )
  <=> ! [X: $i] : ( add(X,multiply(a,b)) = X ) ),
    inference(quant_intro,[status(thm)],[3]) ).

tff(5,plain,
    ( ! [X: $i] : ( add(X,additive_identity) = X )
  <=> ! [X: $i] : ( add(X,additive_identity) = X ) ),
    inference(rewrite,[status(thm)],]) ).

tff(6,axiom,
    ! [X: $i] : ( add(X,additive_identity) = X ),
    file('/export/starexec/sandbox/benchmark/Axioms/BOO004-0.ax',additive_id1) ).

tff(7,plain,
    ! [X: $i] : ( add(X,additive_identity) = X ),
    inference(modus_ponens,[status(thm)],[6,5]) ).

tff(8,plain,
    ! [X: $i] : ( add(X,multiply(a,b)) = X ),
    inference(modus_ponens,[status(thm)],[7,4]) ).

tff(9,plain,
    ! [X: $i] : ( add(X,multiply(a,b)) = X ),
    inference(skolemize,[status(sab)],[8]) ).

tff(10,plain,
    ! [X: $i] : ( add(X,multiply(a,b)) = X ),
    inference(modus_ponens,[status(thm)],[9,2]) ).

tff(11,plain,
    ( ~ ! [X: $i] : ( add(X,multiply(a,b)) = X )
    | ( add(inverse(a),multiply(a,b)) = inverse(a) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(12,plain,
    add(inverse(a),multiply(a,b)) = inverse(a),
    inference(unit_resolution,[status(thm)],[11,10]) ).

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

tff(14,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) ) ),
    inference(quant_intro,[status(thm)],[13]) ).

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

tff(16,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/BOO004-0.ax',distributivity1) ).

tff(17,plain,
    ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) ),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) ),
    inference(skolemize,[status(sab)],[17]) ).

tff(19,plain,
    ! [Z: $i,Y: $i,X: $i] : ( add(X,multiply(Y,Z)) = multiply(add(X,Y),add(X,Z)) ),
    inference(modus_ponens,[status(thm)],[18,14]) ).

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

tff(21,plain,
    add(inverse(a),multiply(a,b)) = multiply(add(inverse(a),a),add(inverse(a),b)),
    inference(unit_resolution,[status(thm)],[20,19]) ).

tff(22,plain,
    multiply(add(inverse(a),a),add(inverse(a),b)) = add(inverse(a),multiply(a,b)),
    inference(symmetry,[status(thm)],[21]) ).

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

tff(24,plain,
    ( ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) )
  <=> ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) ) ),
    inference(quant_intro,[status(thm)],[23]) ).

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

tff(26,axiom,
    ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) ),
    file('/export/starexec/sandbox/benchmark/Axioms/BOO004-0.ax',commutativity_of_add) ).

tff(27,plain,
    ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) ),
    inference(modus_ponens,[status(thm)],[26,25]) ).

tff(28,plain,
    ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) ),
    inference(skolemize,[status(sab)],[27]) ).

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

tff(30,plain,
    ( ~ ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) )
    | ( add(b,inverse(a)) = add(inverse(a),b) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(31,plain,
    add(b,inverse(a)) = add(inverse(a),b),
    inference(unit_resolution,[status(thm)],[30,29]) ).

tff(32,plain,
    ( ~ ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) )
    | ( add(a,inverse(a)) = add(inverse(a),a) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(33,plain,
    add(a,inverse(a)) = add(inverse(a),a),
    inference(unit_resolution,[status(thm)],[32,29]) ).

tff(34,plain,
    ^ [X: $i] :
      refl(
        ( ( add(X,inverse(X)) = add(a,b) )
      <=> ( add(X,inverse(X)) = add(a,b) ) )),
    inference(bind,[status(th)],]) ).

tff(35,plain,
    ( ! [X: $i] : ( add(X,inverse(X)) = add(a,b) )
  <=> ! [X: $i] : ( add(X,inverse(X)) = add(a,b) ) ),
    inference(quant_intro,[status(thm)],[34]) ).

tff(36,plain,
    ^ [X: $i] :
      rewrite(
        ( ( add(X,inverse(X)) = multiplicative_identity )
      <=> ( add(X,inverse(X)) = add(a,b) ) )),
    inference(bind,[status(th)],]) ).

tff(37,plain,
    ( ! [X: $i] : ( add(X,inverse(X)) = multiplicative_identity )
  <=> ! [X: $i] : ( add(X,inverse(X)) = add(a,b) ) ),
    inference(quant_intro,[status(thm)],[36]) ).

tff(38,plain,
    ( ! [X: $i] : ( add(X,inverse(X)) = multiplicative_identity )
  <=> ! [X: $i] : ( add(X,inverse(X)) = multiplicative_identity ) ),
    inference(rewrite,[status(thm)],]) ).

tff(39,axiom,
    ! [X: $i] : ( add(X,inverse(X)) = multiplicative_identity ),
    file('/export/starexec/sandbox/benchmark/Axioms/BOO004-0.ax',additive_inverse1) ).

tff(40,plain,
    ! [X: $i] : ( add(X,inverse(X)) = multiplicative_identity ),
    inference(modus_ponens,[status(thm)],[39,38]) ).

tff(41,plain,
    ! [X: $i] : ( add(X,inverse(X)) = add(a,b) ),
    inference(modus_ponens,[status(thm)],[40,37]) ).

tff(42,plain,
    ! [X: $i] : ( add(X,inverse(X)) = add(a,b) ),
    inference(skolemize,[status(sab)],[41]) ).

tff(43,plain,
    ! [X: $i] : ( add(X,inverse(X)) = add(a,b) ),
    inference(modus_ponens,[status(thm)],[42,35]) ).

tff(44,plain,
    ( ~ ! [X: $i] : ( add(X,inverse(X)) = add(a,b) )
    | ( add(a,inverse(a)) = add(a,b) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(45,plain,
    add(a,inverse(a)) = add(a,b),
    inference(unit_resolution,[status(thm)],[44,43]) ).

tff(46,plain,
    add(a,b) = add(a,inverse(a)),
    inference(symmetry,[status(thm)],[45]) ).

tff(47,plain,
    ( ~ ! [Y: $i,X: $i] : ( add(X,Y) = add(Y,X) )
    | ( add(a,b) = add(b,a) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(48,plain,
    add(a,b) = add(b,a),
    inference(unit_resolution,[status(thm)],[47,29]) ).

tff(49,plain,
    add(b,a) = add(a,b),
    inference(symmetry,[status(thm)],[48]) ).

tff(50,plain,
    add(b,a) = add(inverse(a),a),
    inference(transitivity,[status(thm)],[49,46,33]) ).

tff(51,plain,
    multiply(add(b,a),add(b,inverse(a))) = multiply(add(inverse(a),a),add(inverse(a),b)),
    inference(monotonicity,[status(thm)],[50,31]) ).

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

tff(53,plain,
    add(b,multiply(a,inverse(a))) = multiply(add(b,a),add(b,inverse(a))),
    inference(unit_resolution,[status(thm)],[52,19]) ).

tff(54,plain,
    ^ [X: $i] :
      refl(
        ( ( multiply(X,inverse(X)) = multiply(a,b) )
      <=> ( multiply(X,inverse(X)) = multiply(a,b) ) )),
    inference(bind,[status(th)],]) ).

tff(55,plain,
    ( ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) )
  <=> ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) ) ),
    inference(quant_intro,[status(thm)],[54]) ).

tff(56,plain,
    ^ [X: $i] :
      rewrite(
        ( ( multiply(X,inverse(X)) = additive_identity )
      <=> ( multiply(X,inverse(X)) = multiply(a,b) ) )),
    inference(bind,[status(th)],]) ).

tff(57,plain,
    ( ! [X: $i] : ( multiply(X,inverse(X)) = additive_identity )
  <=> ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) ) ),
    inference(quant_intro,[status(thm)],[56]) ).

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

tff(59,axiom,
    ! [X: $i] : ( multiply(X,inverse(X)) = additive_identity ),
    file('/export/starexec/sandbox/benchmark/Axioms/BOO004-0.ax',multiplicative_inverse1) ).

tff(60,plain,
    ! [X: $i] : ( multiply(X,inverse(X)) = additive_identity ),
    inference(modus_ponens,[status(thm)],[59,58]) ).

tff(61,plain,
    ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) ),
    inference(modus_ponens,[status(thm)],[60,57]) ).

tff(62,plain,
    ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) ),
    inference(skolemize,[status(sab)],[61]) ).

tff(63,plain,
    ! [X: $i] : ( multiply(X,inverse(X)) = multiply(a,b) ),
    inference(modus_ponens,[status(thm)],[62,55]) ).

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

tff(65,plain,
    multiply(a,inverse(a)) = multiply(a,b),
    inference(unit_resolution,[status(thm)],[64,63]) ).

tff(66,plain,
    multiply(a,b) = multiply(a,inverse(a)),
    inference(symmetry,[status(thm)],[65]) ).

tff(67,plain,
    add(b,multiply(a,b)) = add(b,multiply(a,inverse(a))),
    inference(monotonicity,[status(thm)],[66]) ).

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

tff(69,plain,
    add(b,multiply(a,b)) = b,
    inference(unit_resolution,[status(thm)],[68,10]) ).

tff(70,plain,
    b = add(b,multiply(a,b)),
    inference(symmetry,[status(thm)],[69]) ).

tff(71,plain,
    b = inverse(a),
    inference(transitivity,[status(thm)],[70,67,53,51,22,12]) ).

tff(72,plain,
    ( ( b != inverse(a) )
  <=> ( b != inverse(a) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(73,axiom,
    b != inverse(a),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_a_inverse_is_b) ).

tff(74,plain,
    b != inverse(a),
    inference(modus_ponens,[status(thm)],[73,72]) ).

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : BOO013-4 : TPTP v8.1.0. Released v1.1.0.
% 0.07/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34  % Computer : n010.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 : Tue Aug 30 02:46:44 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.41  % SZS status Unsatisfiable
% 0.21/0.41  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------