TSTP Solution File: SET108-7 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : SET108-7 : TPTP v8.1.0. Bugfixed v2.1.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n016.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 20 05:05:43 EDT 2022

% Result   : Unsatisfiable 0.19s 0.43s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   17
% Syntax   : Number of formulae    :   29 (   8 unt;   8 typ;   0 def)
%            Number of atoms       :   52 (  19 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   56 (  26   ~;  22   |;   0   &)
%                                         (   8 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of FOOLs       :    1 (   1 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    8 (   5   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    4 (   2 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   3 con; 0-2 aty)
%            Number of variables   :   39 (  36   !;   0   ?;  39   :)

% Comments : 
%------------------------------------------------------------------------------
tff(member_type,type,
    member: ( $i * $i ) > $o ).

tff(cross_product_type,type,
    cross_product: ( $i * $i ) > $i ).

tff(universal_class_type,type,
    universal_class: $i ).

tff(ordered_pair_type,type,
    ordered_pair: ( $i * $i ) > $i ).

tff(second_type,type,
    second: $i > $i ).

tff(z_type,type,
    z: $i ).

tff(y_type,type,
    y: $i ).

tff(first_type,type,
    first: $i > $i ).

tff(1,plain,
    ( member(ordered_pair(y,z),cross_product(universal_class,universal_class))
  <=> member(ordered_pair(y,z),cross_product(universal_class,universal_class)) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    member(ordered_pair(y,z),cross_product(universal_class,universal_class)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_existence_of_1st_and_2nd_1_1) ).

tff(3,plain,
    member(ordered_pair(y,z),cross_product(universal_class,universal_class)),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [Z: $i,Y: $i,X: $i] :
      refl(
        ( ( ~ member(Z,cross_product(X,Y))
          | ( ordered_pair(first(Z),second(Z)) = Z ) )
      <=> ( ~ member(Z,cross_product(X,Y))
          | ( ordered_pair(first(Z),second(Z)) = Z ) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [Z: $i,Y: $i,X: $i] :
        ( ~ member(Z,cross_product(X,Y))
        | ( ordered_pair(first(Z),second(Z)) = Z ) )
  <=> ! [Z: $i,Y: $i,X: $i] :
        ( ~ member(Z,cross_product(X,Y))
        | ( ordered_pair(first(Z),second(Z)) = Z ) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [Z: $i,Y: $i,X: $i] :
        ( ~ member(Z,cross_product(X,Y))
        | ( ordered_pair(first(Z),second(Z)) = Z ) )
  <=> ! [Z: $i,Y: $i,X: $i] :
        ( ~ member(Z,cross_product(X,Y))
        | ( ordered_pair(first(Z),second(Z)) = Z ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,axiom,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ member(Z,cross_product(X,Y))
      | ( ordered_pair(first(Z),second(Z)) = Z ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',cartesian_product4) ).

tff(8,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ member(Z,cross_product(X,Y))
      | ( ordered_pair(first(Z),second(Z)) = Z ) ),
    inference(modus_ponens,[status(thm)],[7,6]) ).

tff(9,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ member(Z,cross_product(X,Y))
      | ( ordered_pair(first(Z),second(Z)) = Z ) ),
    inference(skolemize,[status(sab)],[8]) ).

tff(10,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ member(Z,cross_product(X,Y))
      | ( ordered_pair(first(Z),second(Z)) = Z ) ),
    inference(modus_ponens,[status(thm)],[9,5]) ).

tff(11,plain,
    ( ( ~ ! [Z: $i,Y: $i,X: $i] :
            ( ~ member(Z,cross_product(X,Y))
            | ( ordered_pair(first(Z),second(Z)) = Z ) )
      | ~ member(ordered_pair(y,z),cross_product(universal_class,universal_class))
      | ( ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))) = ordered_pair(y,z) ) )
  <=> ( ~ ! [Z: $i,Y: $i,X: $i] :
            ( ~ member(Z,cross_product(X,Y))
            | ( ordered_pair(first(Z),second(Z)) = Z ) )
      | ~ member(ordered_pair(y,z),cross_product(universal_class,universal_class))
      | ( ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))) = ordered_pair(y,z) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(12,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] :
          ( ~ member(Z,cross_product(X,Y))
          | ( ordered_pair(first(Z),second(Z)) = Z ) )
    | ~ member(ordered_pair(y,z),cross_product(universal_class,universal_class))
    | ( ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))) = ordered_pair(y,z) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(13,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] :
          ( ~ member(Z,cross_product(X,Y))
          | ( ordered_pair(first(Z),second(Z)) = Z ) )
    | ~ member(ordered_pair(y,z),cross_product(universal_class,universal_class))
    | ( ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))) = ordered_pair(y,z) ) ),
    inference(modus_ponens,[status(thm)],[12,11]) ).

tff(14,plain,
    ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))) = ordered_pair(y,z),
    inference(unit_resolution,[status(thm)],[13,10,3]) ).

tff(15,plain,
    ( member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class))
  <=> member(ordered_pair(y,z),cross_product(universal_class,universal_class)) ),
    inference(monotonicity,[status(thm)],[14]) ).

tff(16,plain,
    ( member(ordered_pair(y,z),cross_product(universal_class,universal_class))
  <=> member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class)) ),
    inference(symmetry,[status(thm)],[15]) ).

tff(17,plain,
    member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class)),
    inference(modus_ponens,[status(thm)],[3,16]) ).

tff(18,plain,
    ( ~ member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class))
  <=> ~ member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class)) ),
    inference(rewrite,[status(thm)],]) ).

tff(19,axiom,
    ~ member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_existence_of_1st_and_2nd_1_2) ).

tff(20,plain,
    ~ member(ordered_pair(first(ordered_pair(y,z)),second(ordered_pair(y,z))),cross_product(universal_class,universal_class)),
    inference(modus_ponens,[status(thm)],[19,18]) ).

tff(21,plain,
    $false,
    inference(unit_resolution,[status(thm)],[20,17]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.11  % Problem  : SET108-7 : TPTP v8.1.0. Bugfixed v2.1.0.
% 0.03/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n016.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 : Sat Sep  3 02:51:21 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.19/0.43  % SZS status Unsatisfiable
% 0.19/0.43  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------