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

View Problem - Process Solution

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

% Computer : n005.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:39 EDT 2022

% Result   : Unsatisfiable 4.69s 3.19s
% Output   : Proof 4.69s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   31
% Syntax   : Number of formulae    :   58 (  19 unt;   7 typ;   0 def)
%            Number of atoms       :  261 (   0 equ)
%            Maximal formula atoms :   16 (   5 avg)
%            Number of connectives :  380 ( 181   ~; 175   |;   0   &)
%                                         (  24 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   14 (   6 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :   11 (  11 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    5 (   2   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   1 prp; 0-3 aty)
%            Number of functors    :    5 (   5 usr;   5 con; 0-0 aty)
%            Number of variables   :  205 ( 184   !;   0   ?; 205   :)

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

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

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

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

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

tff(result_type,type,
    result: $i ).

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

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/sandbox/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/sandbox/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/sandbox/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,
    ( ~ ! [X: $i] : product(identity,X,X)
    | product(identity,result,result) ),
    inference(quant_inst,[status(thm)],]) ).

tff(28,plain,
    product(identity,result,result),
    inference(unit_resolution,[status(thm)],[27,7]) ).

tff(29,plain,
    ( ~ product(b,c,result)
  <=> ~ product(b,c,result) ),
    inference(rewrite,[status(thm)],]) ).

tff(30,axiom,
    ~ product(b,c,result),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_product_with_b) ).

tff(31,plain,
    ~ product(b,c,result),
    inference(modus_ponens,[status(thm)],[30,29]) ).

tff(32,plain,
    ( product(a,c,result)
  <=> product(a,c,result) ),
    inference(rewrite,[status(thm)],]) ).

tff(33,axiom,
    product(a,c,result),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',product_with_a) ).

tff(34,plain,
    product(a,c,result),
    inference(modus_ponens,[status(thm)],[33,32]) ).

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

tff(36,plain,
    ( ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( product(U,Z,W)
        | ~ product(Y,Z,V)
        | ~ product(X,Y,U)
        | ~ product(X,V,W) )
  <=> ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( product(U,Z,W)
        | ~ product(Y,Z,V)
        | ~ product(X,Y,U)
        | ~ product(X,V,W) ) ),
    inference(quant_intro,[status(thm)],[35]) ).

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

tff(38,plain,
    ^ [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      trans(
        monotonicity(
          rewrite(
            ( ( ~ product(X,Y,U)
              | ~ product(Y,Z,V)
              | ~ product(X,V,W) )
          <=> ( ~ product(Y,Z,V)
              | ~ product(X,Y,U)
              | ~ product(X,V,W) ) )),
          ( ( ~ product(X,Y,U)
            | ~ product(Y,Z,V)
            | ~ product(X,V,W)
            | product(U,Z,W) )
        <=> ( ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W)
            | product(U,Z,W) ) )),
        rewrite(
          ( ( ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W)
            | product(U,Z,W) )
        <=> ( product(U,Z,W)
            | ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W) ) )),
        ( ( ~ product(X,Y,U)
          | ~ product(Y,Z,V)
          | ~ product(X,V,W)
          | product(U,Z,W) )
      <=> ( product(U,Z,W)
          | ~ product(Y,Z,V)
          | ~ product(X,Y,U)
          | ~ product(X,V,W) ) )),
    inference(bind,[status(th)],]) ).

tff(39,plain,
    ( ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ product(X,Y,U)
        | ~ product(Y,Z,V)
        | ~ product(X,V,W)
        | product(U,Z,W) )
  <=> ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( product(U,Z,W)
        | ~ product(Y,Z,V)
        | ~ product(X,Y,U)
        | ~ product(X,V,W) ) ),
    inference(quant_intro,[status(thm)],[38]) ).

tff(40,axiom,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( ~ product(X,Y,U)
      | ~ product(Y,Z,V)
      | ~ product(X,V,W)
      | product(U,Z,W) ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP005-0.ax',associativity2) ).

tff(41,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( product(U,Z,W)
      | ~ product(Y,Z,V)
      | ~ product(X,Y,U)
      | ~ product(X,V,W) ),
    inference(modus_ponens,[status(thm)],[40,39]) ).

tff(42,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( product(U,Z,W)
      | ~ product(Y,Z,V)
      | ~ product(X,Y,U)
      | ~ product(X,V,W) ),
    inference(modus_ponens,[status(thm)],[41,37]) ).

tff(43,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( product(U,Z,W)
      | ~ product(Y,Z,V)
      | ~ product(X,Y,U)
      | ~ product(X,V,W) ),
    inference(skolemize,[status(sab)],[42]) ).

tff(44,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( product(U,Z,W)
      | ~ product(Y,Z,V)
      | ~ product(X,Y,U)
      | ~ product(X,V,W) ),
    inference(modus_ponens,[status(thm)],[43,36]) ).

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

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

tff(47,plain,
    ( ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( product(U,Z,W)
            | ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W) )
      | product(b,c,result)
      | ~ product(a,c,result)
      | ~ product(identity,a,b)
      | ~ product(identity,result,result) )
  <=> ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( product(U,Z,W)
            | ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W) )
      | product(b,c,result)
      | ~ product(a,c,result)
      | ~ product(identity,result,result)
      | ~ product(identity,a,b) ) ),
    inference(monotonicity,[status(thm)],[46]) ).

tff(48,plain,
    ( ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( product(U,Z,W)
            | ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W) )
      | product(b,c,result)
      | ~ product(a,c,result)
      | ~ product(identity,a,b)
      | ~ product(identity,result,result) )
  <=> ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( product(U,Z,W)
            | ~ product(Y,Z,V)
            | ~ product(X,Y,U)
            | ~ product(X,V,W) )
      | product(b,c,result)
      | ~ product(a,c,result)
      | ~ product(identity,result,result)
      | ~ product(identity,a,b) ) ),
    inference(transitivity,[status(thm)],[47,45]) ).

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

tff(50,plain,
    ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
          ( product(U,Z,W)
          | ~ product(Y,Z,V)
          | ~ product(X,Y,U)
          | ~ product(X,V,W) )
    | product(b,c,result)
    | ~ product(a,c,result)
    | ~ product(identity,result,result)
    | ~ product(identity,a,b) ),
    inference(modus_ponens,[status(thm)],[49,48]) ).

tff(51,plain,
    $false,
    inference(unit_resolution,[status(thm)],[50,44,34,31,28,26]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.13  % Problem  : GRP044-2 : TPTP v8.1.0. Released v1.0.0.
% 0.03/0.14  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.35  % Computer : n005.cluster.edu
% 0.13/0.35  % Model    : x86_64 x86_64
% 0.13/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35  % Memory   : 8042.1875MB
% 0.13/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35  % CPULimit : 300
% 0.13/0.35  % WCLimit  : 300
% 0.13/0.35  % DateTime : Wed Aug 31 14:18:18 EDT 2022
% 0.13/0.35  % 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.
% 4.69/3.19  % SZS status Unsatisfiable
% 4.69/3.19  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------