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

View Problem - Process Solution

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

% Computer : n009.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:28 EDT 2022

% Result   : Unsatisfiable 0.16s 0.36s
% Output   : Proof 0.16s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    6
%            Number of leaves      :   22
% Syntax   : Number of formulae    :   43 (  17 unt;   5 typ;   0 def)
%            Number of atoms       :  134 (  37 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  172 (  80   ~;  76   |;   0   &)
%                                         (  16 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (   5 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of FOOLs       :    4 (   4 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    6 (   3   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-3 aty)
%            Number of functors    :    4 (   4 usr;   2 con; 0-2 aty)
%            Number of variables   :  114 ( 103   !;   0   ?; 114   :)

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

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

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

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

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

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

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

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

tff(4,axiom,
    ! [Y: $i,X: $i] : product(X,Y,multiply(X,Y)),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRP003-0.ax',total_function1) ).

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

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

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

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

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

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

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

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

tff(13,axiom,
    ! [X: $i] : product(inverse(X),X,identity),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRP003-0.ax',left_inverse) ).

tff(14,plain,
    ! [X: $i] : product(inverse(X),X,identity),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    ! [X: $i] : product(inverse(X),X,identity),
    inference(skolemize,[status(sab)],[14]) ).

tff(16,plain,
    ! [X: $i] : product(inverse(X),X,identity),
    inference(modus_ponens,[status(thm)],[15,11]) ).

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

tff(18,plain,
    product(inverse(a),a,identity),
    inference(unit_resolution,[status(thm)],[17,16]) ).

tff(19,plain,
    ( ( multiply(inverse(a),a) != identity )
  <=> ( multiply(inverse(a),a) != identity ) ),
    inference(rewrite,[status(thm)],]) ).

tff(20,axiom,
    multiply(inverse(a),a) != identity,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_inverse_X_times_X_is_id) ).

tff(21,plain,
    multiply(inverse(a),a) != identity,
    inference(modus_ponens,[status(thm)],[20,19]) ).

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

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

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

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

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

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

tff(28,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ( Z = W )
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[27,26]) ).

tff(29,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ( Z = W )
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[28,24]) ).

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

tff(31,plain,
    ! [W: $i,Z: $i,Y: $i,X: $i] :
      ( ( Z = W )
      | ~ product(X,Y,W)
      | ~ product(X,Y,Z) ),
    inference(modus_ponens,[status(thm)],[30,23]) ).

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

tff(33,plain,
    ( ( ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,identity)
      | ~ product(inverse(a),a,multiply(inverse(a),a)) )
  <=> ( ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,multiply(inverse(a),a))
      | ~ product(inverse(a),a,identity) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(34,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ( Z = W )
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,identity)
      | ~ product(inverse(a),a,multiply(inverse(a),a)) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ( Z = W )
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,multiply(inverse(a),a))
      | ~ product(inverse(a),a,identity) ) ),
    inference(monotonicity,[status(thm)],[33]) ).

tff(35,plain,
    ( ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ( Z = W )
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,identity)
      | ~ product(inverse(a),a,multiply(inverse(a),a)) )
  <=> ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
            ( ( Z = W )
            | ~ product(X,Y,W)
            | ~ product(X,Y,Z) )
      | ( multiply(inverse(a),a) = identity )
      | ~ product(inverse(a),a,multiply(inverse(a),a))
      | ~ product(inverse(a),a,identity) ) ),
    inference(transitivity,[status(thm)],[34,32]) ).

tff(36,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ( Z = W )
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) )
    | ( multiply(inverse(a),a) = identity )
    | ~ product(inverse(a),a,identity)
    | ~ product(inverse(a),a,multiply(inverse(a),a)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(37,plain,
    ( ~ ! [W: $i,Z: $i,Y: $i,X: $i] :
          ( ( Z = W )
          | ~ product(X,Y,W)
          | ~ product(X,Y,Z) )
    | ( multiply(inverse(a),a) = identity )
    | ~ product(inverse(a),a,multiply(inverse(a),a))
    | ~ product(inverse(a),a,identity) ),
    inference(modus_ponens,[status(thm)],[36,35]) ).

tff(38,plain,
    $false,
    inference(unit_resolution,[status(thm)],[37,31,21,18,9]) ).

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