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

View Problem - Process Solution

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

% Computer : n024.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:25:38 EDT 2022

% Result   : Unsatisfiable 0.47s 0.57s
% Output   : Proof 0.47s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   32
% Syntax   : Number of formulae    :   62 (  19 unt;   6 typ;   0 def)
%            Number of atoms       :  255 (   0 equ)
%            Maximal formula atoms :   12 (   4 avg)
%            Number of connectives :  367 ( 173   ~; 169   |;   0   &)
%                                         (  25 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (   6 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :    5 (   5 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    5 (   2   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   4 usr;   1 prp; 0-3 aty)
%            Number of functors    :    4 (   4 usr;   4 con; 0-0 aty)
%            Number of variables   :  194 ( 177   !;   0   ?; 194   :)

% Comments : 
%------------------------------------------------------------------------------
tff(product_type,type,
    product: ( $i * $i * $i ) > $o ).

tff(c_type,type,
    c: $i ).

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

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

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

tff(equalish_type,type,
    equalish: ( $i * $i ) > $o ).

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

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

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

tff(4,axiom,
    ! [X: $i] : product(identity,X,X),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRP005-0.ax',left_identity) ).

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

tff(6,plain,
    ! [X: $i] : product(identity,X,X),
    inference(skolemize,[status(sab)],[5]) ).

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

tff(8,plain,
    ( ~ ! [X: $i] : product(identity,X,X)
    | product(identity,a,a) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    product(identity,a,a),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( equalish(a,b)
  <=> equalish(a,b) ),
    inference(rewrite,[status(thm)],]) ).

tff(11,axiom,
    equalish(a,b),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_equals_b) ).

tff(12,plain,
    equalish(a,b),
    inference(modus_ponens,[status(thm)],[11,10]) ).

tff(13,plain,
    ^ [W: $i,Z: $i,Y: $i,X: $i] :
      refl(
        ( ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) )
      <=> ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) ) )),
    inference(bind,[status(th)],]) ).

tff(14,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(W,Z,X)
        | product(W,Z,Y)
        | ~ equalish(X,Y) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(W,Z,X)
        | product(W,Z,Y)
        | ~ equalish(X,Y) ) ),
    inference(quant_intro,[status(thm)],[13]) ).

tff(15,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(W,Z,X)
        | product(W,Z,Y)
        | ~ equalish(X,Y) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(W,Z,X)
        | product(W,Z,Y)
        | ~ equalish(X,Y) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,plain,
    ^ [W: $i,Z: $i,Y: $i,X: $i] :
      rewrite(
        ( ( ~ equalish(X,Y)
          | ~ product(W,Z,X)
          | product(W,Z,Y) )
      <=> ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) ) )),
    inference(bind,[status(th)],]) ).

tff(17,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ equalish(X,Y)
        | ~ product(W,Z,X)
        | product(W,Z,Y) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(W,Z,X)
        | product(W,Z,Y)
        | ~ equalish(X,Y) ) ),
    inference(quant_intro,[status(thm)],[16]) ).

tff(18,axiom,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ equalish(X,Y)
      | ~ product(W,Z,X)
      | product(W,Z,Y) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRP005-0.ax',product_substitution3) ).

tff(19,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ product(W,Z,X)
      | product(W,Z,Y)
      | ~ equalish(X,Y) ),
    inference(modus_ponens,[status(thm)],[18,17]) ).

tff(20,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ product(W,Z,X)
      | product(W,Z,Y)
      | ~ equalish(X,Y) ),
    inference(modus_ponens,[status(thm)],[19,15]) ).

tff(21,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ product(W,Z,X)
      | product(W,Z,Y)
      | ~ equalish(X,Y) ),
    inference(skolemize,[status(sab)],[20]) ).

tff(22,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ product(W,Z,X)
      | product(W,Z,Y)
      | ~ equalish(X,Y) ),
    inference(modus_ponens,[status(thm)],[21,14]) ).

tff(23,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,a)
      | product(identity,a,b)
      | ~ equalish(a,b) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,a)
      | product(identity,a,b)
      | ~ equalish(a,b) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(24,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) )
    | ~ product(identity,a,a)
    | product(identity,a,b)
    | ~ equalish(a,b) ),
    inference(quant_inst,[status(thm)],]) ).

tff(25,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) )
    | ~ product(identity,a,a)
    | product(identity,a,b)
    | ~ equalish(a,b) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    product(identity,a,b),
    inference(unit_resolution,[status(thm)],[25,22,12,9]) ).

tff(27,plain,
    ( equalish(b,c)
  <=> equalish(b,c) ),
    inference(rewrite,[status(thm)],]) ).

tff(28,axiom,
    equalish(b,c),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_equals_c) ).

tff(29,plain,
    equalish(b,c),
    inference(modus_ponens,[status(thm)],[28,27]) ).

tff(30,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | ~ equalish(b,c)
      | product(identity,a,c) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | ~ equalish(b,c)
      | product(identity,a,c) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(31,plain,
    ( ( ~ product(identity,a,b)
      | product(identity,a,c)
      | ~ equalish(b,c) )
  <=> ( ~ product(identity,a,b)
      | ~ equalish(b,c)
      | product(identity,a,c) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(32,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | product(identity,a,c)
      | ~ equalish(b,c) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | ~ equalish(b,c)
      | product(identity,a,c) ) ),
    inference(monotonicity,[status(thm)],[31]) ).

tff(33,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | product(identity,a,c)
      | ~ equalish(b,c) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ~ product(W,Z,X)
            | product(W,Z,Y)
            | ~ equalish(X,Y) )
      | ~ product(identity,a,b)
      | ~ equalish(b,c)
      | product(identity,a,c) ) ),
    inference(transitivity,[status(thm)],[32,30]) ).

tff(34,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) )
    | ~ product(identity,a,b)
    | product(identity,a,c)
    | ~ equalish(b,c) ),
    inference(quant_inst,[status(thm)],]) ).

tff(35,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ~ product(W,Z,X)
          | product(W,Z,Y)
          | ~ equalish(X,Y) )
    | ~ product(identity,a,b)
    | ~ equalish(b,c)
    | product(identity,a,c) ),
    inference(modus_ponens,[status(thm)],[34,33]) ).

tff(36,plain,
    product(identity,a,c),
    inference(unit_resolution,[status(thm)],[35,22,29,26]) ).

tff(37,plain,
    ( ~ equalish(a,c)
  <=> ~ equalish(a,c) ),
    inference(rewrite,[status(thm)],]) ).

tff(38,axiom,
    ~ equalish(a,c),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_transitivity) ).

tff(39,plain,
    ~ equalish(a,c),
    inference(modus_ponens,[status(thm)],[38,37]) ).

tff(40,plain,
    ^ [W: $i,Z: $i,Y: $i,X: $i] :
      refl(
        ( ( equalish(Z,W)
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) )
      <=> ( equalish(Z,W)
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) ) )),
    inference(bind,[status(th)],]) ).

tff(41,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( equalish(Z,W)
        | ~ product(X,Y,W)
        | ~ product(X,Y,Z) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( equalish(Z,W)
        | ~ product(X,Y,W)
        | ~ product(X,Y,Z) ) ),
    inference(quant_intro,[status(thm)],[40]) ).

tff(42,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( equalish(Z,W)
        | ~ product(X,Y,W)
        | ~ product(X,Y,Z) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( equalish(Z,W)
        | ~ product(X,Y,W)
        | ~ product(X,Y,Z) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(43,plain,
    ^ [W: $i,Z: $i,Y: $i,X: $i] :
      rewrite(
        ( ( ~ product(X,Y,Z)
          | ~ product(X,Y,W)
          | equalish(Z,W) )
      <=> ( equalish(Z,W)
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) ) )),
    inference(bind,[status(th)],]) ).

tff(44,plain,
    ( ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( ~ product(X,Y,Z)
        | ~ product(X,Y,W)
        | equalish(Z,W) )
  <=> ! [W: $i,Z: $i,Y: $i,X: $i] :
        ( equalish(Z,W)
        | ~ product(X,Y,W)
        | ~ product(X,Y,Z) ) ),
    inference(quant_intro,[status(thm)],[43]) ).

tff(45,axiom,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ~ product(X,Y,Z)
      | ~ product(X,Y,W)
      | equalish(Z,W) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRP005-0.ax',total_function2) ).

tff(46,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( equalish(Z,W)
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[45,44]) ).

tff(47,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( equalish(Z,W)
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[46,42]) ).

tff(48,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( equalish(Z,W)
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(skolemize,[status(sab)],[47]) ).

tff(49,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( equalish(Z,W)
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[48,41]) ).

tff(50,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,a)
      | ~ product(identity,a,c) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,a)
      | ~ product(identity,a,c) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(51,plain,
    ( ( equalish(a,c)
      | ~ product(identity,a,c)
      | ~ product(identity,a,a) )
  <=> ( equalish(a,c)
      | ~ product(identity,a,a)
      | ~ product(identity,a,c) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(52,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,c)
      | ~ product(identity,a,a) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,a)
      | ~ product(identity,a,c) ) ),
    inference(monotonicity,[status(thm)],[51]) ).

tff(53,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,c)
      | ~ product(identity,a,a) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( equalish(Z,W)
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | equalish(a,c)
      | ~ product(identity,a,a)
      | ~ product(identity,a,c) ) ),
    inference(transitivity,[status(thm)],[52,50]) ).

tff(54,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( equalish(Z,W)
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) )
    | equalish(a,c)
    | ~ product(identity,a,c)
    | ~ product(identity,a,a) ),
    inference(quant_inst,[status(thm)],]) ).

tff(55,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( equalish(Z,W)
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) )
    | equalish(a,c)
    | ~ product(identity,a,a)
    | ~ product(identity,a,c) ),
    inference(modus_ponens,[status(thm)],[54,53]) ).

tff(56,plain,
    $false,
    inference(unit_resolution,[status(thm)],[55,49,39,9,36]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.11  % Problem  : GRP043-2 : TPTP v8.1.0. Released v1.0.0.
% 0.06/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n024.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit : 300
% 0.12/0.33  % WCLimit  : 300
% 0.12/0.33  % DateTime : Wed Aug 31 14:21:49 EDT 2022
% 0.12/0.33  % 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.47/0.57  % SZS status Unsatisfiable
% 0.47/0.57  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------