TSTP Solution File: SET234-6 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : SET234-6 : TPTP v8.1.0. Bugfixed v2.1.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 : Tue Sep 20 05:06:16 EDT 2022

% Result   : Unsatisfiable 0.19s 0.42s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   30
% Syntax   : Number of formulae    :   57 (  14 unt;  10 typ;   0 def)
%            Number of atoms       :  140 (  20 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :  142 (  53   ~;  71   |;   0   &)
%                                         (  18 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    5 (   2 avg)
%            Number of FOOLs       :    4 (   4 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   12 (   7   >;   5   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    8 (   8 usr;   3 con; 0-2 aty)
%            Number of variables   :   99 (  90   !;   0   ?;  99   :)

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

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

tff(not_subclass_element_type,type,
    not_subclass_element: ( $i * $i ) > $i ).

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

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

tff(x_type,type,
    x: $i ).

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

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

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

tff(subclass_type,type,
    subclass: ( $i * $i ) > $o ).

tff(1,plain,
    ( ~ subclass(cross_product(x,y),z)
  <=> ~ subclass(cross_product(x,y),z) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    ~ subclass(cross_product(x,y),z),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_cross_product_property9_2) ).

tff(3,plain,
    ~ subclass(cross_product(x,y),z),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( subclass(X,Y)
          | member(not_subclass_element(X,Y),X) )
      <=> ( subclass(X,Y)
          | member(not_subclass_element(X,Y),X) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [Y: $i,X: $i] :
        ( subclass(X,Y)
        | member(not_subclass_element(X,Y),X) )
  <=> ! [Y: $i,X: $i] :
        ( subclass(X,Y)
        | member(not_subclass_element(X,Y),X) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [Y: $i,X: $i] :
        ( subclass(X,Y)
        | member(not_subclass_element(X,Y),X) )
  <=> ! [Y: $i,X: $i] :
        ( subclass(X,Y)
        | member(not_subclass_element(X,Y),X) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ^ [Y: $i,X: $i] :
      rewrite(
        ( ( member(not_subclass_element(X,Y),X)
          | subclass(X,Y) )
      <=> ( subclass(X,Y)
          | member(not_subclass_element(X,Y),X) ) )),
    inference(bind,[status(th)],]) ).

tff(8,plain,
    ( ! [Y: $i,X: $i] :
        ( member(not_subclass_element(X,Y),X)
        | subclass(X,Y) )
  <=> ! [Y: $i,X: $i] :
        ( subclass(X,Y)
        | member(not_subclass_element(X,Y),X) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

tff(9,axiom,
    ! [Y: $i,X: $i] :
      ( member(not_subclass_element(X,Y),X)
      | subclass(X,Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',not_subclass_members1) ).

tff(10,plain,
    ! [Y: $i,X: $i] :
      ( subclass(X,Y)
      | member(not_subclass_element(X,Y),X) ),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ! [Y: $i,X: $i] :
      ( subclass(X,Y)
      | member(not_subclass_element(X,Y),X) ),
    inference(modus_ponens,[status(thm)],[10,6]) ).

tff(12,plain,
    ! [Y: $i,X: $i] :
      ( subclass(X,Y)
      | member(not_subclass_element(X,Y),X) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [Y: $i,X: $i] :
      ( subclass(X,Y)
      | member(not_subclass_element(X,Y),X) ),
    inference(modus_ponens,[status(thm)],[12,5]) ).

tff(14,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( subclass(X,Y)
            | member(not_subclass_element(X,Y),X) )
      | subclass(cross_product(x,y),z)
      | member(not_subclass_element(cross_product(x,y),z),cross_product(x,y)) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( subclass(X,Y)
            | member(not_subclass_element(X,Y),X) )
      | subclass(cross_product(x,y),z)
      | member(not_subclass_element(cross_product(x,y),z),cross_product(x,y)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( subclass(X,Y)
          | member(not_subclass_element(X,Y),X) )
    | subclass(cross_product(x,y),z)
    | member(not_subclass_element(cross_product(x,y),z),cross_product(x,y)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(16,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( subclass(X,Y)
          | member(not_subclass_element(X,Y),X) )
    | subclass(cross_product(x,y),z)
    | member(not_subclass_element(cross_product(x,y),z),cross_product(x,y)) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    member(not_subclass_element(cross_product(x,y),z),cross_product(x,y)),
    inference(unit_resolution,[status(thm)],[16,13,3]) ).

tff(18,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(19,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)],[18]) ).

tff(20,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(21,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(22,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)],[21,20]) ).

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

tff(24,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)],[23,19]) ).

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

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

tff(27,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] :
          ( ~ member(Z,cross_product(X,Y))
          | ( ordered_pair(first(Z),second(Z)) = Z ) )
    | ~ member(not_subclass_element(cross_product(x,y),z),cross_product(x,y))
    | ( ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))) = not_subclass_element(cross_product(x,y),z) ) ),
    inference(modus_ponens,[status(thm)],[26,25]) ).

tff(28,plain,
    ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))) = not_subclass_element(cross_product(x,y),z),
    inference(unit_resolution,[status(thm)],[27,24,17]) ).

tff(29,plain,
    not_subclass_element(cross_product(x,y),z) = ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),
    inference(symmetry,[status(thm)],[28]) ).

tff(30,plain,
    ( member(not_subclass_element(cross_product(x,y),z),z)
  <=> member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z) ),
    inference(monotonicity,[status(thm)],[29]) ).

tff(31,plain,
    ( member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z)
  <=> member(not_subclass_element(cross_product(x,y),z),z) ),
    inference(symmetry,[status(thm)],[30]) ).

tff(32,plain,
    ( member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z)
  <=> member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z) ),
    inference(rewrite,[status(thm)],]) ).

tff(33,axiom,
    member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_cross_product_property9_1) ).

tff(34,plain,
    member(ordered_pair(first(not_subclass_element(cross_product(x,y),z)),second(not_subclass_element(cross_product(x,y),z))),z),
    inference(modus_ponens,[status(thm)],[33,32]) ).

tff(35,plain,
    member(not_subclass_element(cross_product(x,y),z),z),
    inference(modus_ponens,[status(thm)],[34,31]) ).

tff(36,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( ~ member(not_subclass_element(X,Y),Y)
          | subclass(X,Y) )
      <=> ( ~ member(not_subclass_element(X,Y),Y)
          | subclass(X,Y) ) )),
    inference(bind,[status(th)],]) ).

tff(37,plain,
    ( ! [Y: $i,X: $i] :
        ( ~ member(not_subclass_element(X,Y),Y)
        | subclass(X,Y) )
  <=> ! [Y: $i,X: $i] :
        ( ~ member(not_subclass_element(X,Y),Y)
        | subclass(X,Y) ) ),
    inference(quant_intro,[status(thm)],[36]) ).

tff(38,plain,
    ( ! [Y: $i,X: $i] :
        ( ~ member(not_subclass_element(X,Y),Y)
        | subclass(X,Y) )
  <=> ! [Y: $i,X: $i] :
        ( ~ member(not_subclass_element(X,Y),Y)
        | subclass(X,Y) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(39,axiom,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',not_subclass_members2) ).

tff(40,plain,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[39,38]) ).

tff(41,plain,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    inference(skolemize,[status(sab)],[40]) ).

tff(42,plain,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[41,37]) ).

tff(43,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( ~ member(not_subclass_element(X,Y),Y)
            | subclass(X,Y) )
      | ~ member(not_subclass_element(cross_product(x,y),z),z)
      | subclass(cross_product(x,y),z) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( ~ member(not_subclass_element(X,Y),Y)
            | subclass(X,Y) )
      | ~ member(not_subclass_element(cross_product(x,y),z),z)
      | subclass(cross_product(x,y),z) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(44,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ~ member(not_subclass_element(X,Y),Y)
          | subclass(X,Y) )
    | ~ member(not_subclass_element(cross_product(x,y),z),z)
    | subclass(cross_product(x,y),z) ),
    inference(quant_inst,[status(thm)],]) ).

tff(45,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ~ member(not_subclass_element(X,Y),Y)
          | subclass(X,Y) )
    | ~ member(not_subclass_element(cross_product(x,y),z),z)
    | subclass(cross_product(x,y),z) ),
    inference(modus_ponens,[status(thm)],[44,43]) ).

tff(46,plain,
    ~ member(not_subclass_element(cross_product(x,y),z),z),
    inference(unit_resolution,[status(thm)],[45,42,3]) ).

tff(47,plain,
    $false,
    inference(unit_resolution,[status(thm)],[46,35]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : SET234-6 : TPTP v8.1.0. Bugfixed v2.1.0.
% 0.12/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.34  % Computer : n024.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit : 300
% 0.12/0.34  % WCLimit  : 300
% 0.12/0.34  % DateTime : Sat Sep  3 03:39:03 EDT 2022
% 0.12/0.34  % 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.42  % SZS status Unsatisfiable
% 0.19/0.42  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------