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

View Problem - Process Solution

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

% Computer : n020.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:45 EDT 2022

% Result   : Unsatisfiable 0.10s 0.40s
% Output   : Proof 0.17s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    4
%            Number of leaves      :   16
% Syntax   : Number of formulae    :   24 (   6 unt;   7 typ;   0 def)
%            Number of atoms       :   46 (  22 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   40 (  12   ~;  22   |;   0   &)
%                                         (   6 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    3 (   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    :    6 (   6 usr;   2 con; 0-2 aty)
%            Number of variables   :   13 (  12   !;   0   ?;  13   :)

% Comments : 
%------------------------------------------------------------------------------
tff(x_type,type,
    x: $i ).

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

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(first_type,type,
    first: $i > $i ).

tff(1,plain,
    ( ( second(x) != x )
  <=> ( second(x) != x ) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    second(x) != x,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_unique_2nd_in_pair_of_non_sets) ).

tff(3,plain,
    second(x) != x,
    inference(modus_ponens,[status(thm)],[2,1]) ).

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

tff(5,axiom,
    ~ member(ordered_pair(first(x),second(x)),cross_product(universal_class,universal_class)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_unique_1st_and_2nd_in_pair_of_non_sets2_1) ).

tff(6,plain,
    ~ member(ordered_pair(first(x),second(x)),cross_product(universal_class,universal_class)),
    inference(modus_ponens,[status(thm)],[5,4]) ).

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

tff(8,plain,
    ( ! [X: $i] :
        ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
        | ( second(X) = X ) )
  <=> ! [X: $i] :
        ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
        | ( second(X) = X ) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

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

tff(10,axiom,
    ! [X: $i] :
      ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
      | ( second(X) = X ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',existence_of_1st_and_2nd_3) ).

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

tff(12,plain,
    ! [X: $i] :
      ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
      | ( second(X) = X ) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [X: $i] :
      ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
      | ( second(X) = X ) ),
    inference(modus_ponens,[status(thm)],[12,8]) ).

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

tff(15,plain,
    ( ~ ! [X: $i] :
          ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
          | ( second(X) = X ) )
    | member(ordered_pair(first(x),second(x)),cross_product(universal_class,universal_class))
    | ( second(x) = x ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(16,plain,
    ( ~ ! [X: $i] :
          ( member(ordered_pair(first(X),second(X)),cross_product(universal_class,universal_class))
          | ( second(X) = X ) )
    | member(ordered_pair(first(x),second(x)),cross_product(universal_class,universal_class))
    | ( second(x) = x ) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    $false,
    inference(unit_resolution,[status(thm)],[16,13,6,3]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.11  % Problem  : SET114-7 : TPTP v8.1.0. Bugfixed v7.3.0.
% 0.10/0.11  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.10/0.31  % Computer : n020.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 : Sat Sep  3 02:36:29 EDT 2022
% 0.10/0.31  % CPUTime  : 
% 0.10/0.32  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.10/0.32  Usage: tptp [options] [-file:]file
% 0.10/0.32    -h, -?       prints this message.
% 0.10/0.32    -smt2        print SMT-LIB2 benchmark.
% 0.10/0.32    -m, -model   generate model.
% 0.10/0.32    -p, -proof   generate proof.
% 0.10/0.32    -c, -core    generate unsat core of named formulas.
% 0.10/0.32    -st, -statistics display statistics.
% 0.10/0.32    -t:timeout   set timeout (in second).
% 0.10/0.32    -smt2status  display status in smt2 format instead of SZS.
% 0.10/0.32    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.10/0.32    -<param>:<value> configuration parameter and value.
% 0.10/0.32    -o:<output-file> file to place output in.
% 0.10/0.40  % SZS status Unsatisfiable
% 0.10/0.40  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------