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

View Problem - Process Solution

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

% Computer : n028.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:13 EDT 2022

% Result   : Unsatisfiable 0.20s 0.43s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   29
% Syntax   : Number of formulae    :   55 (  13 unt;   5 typ;   0 def)
%            Number of atoms       :  194 (  35 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  244 ( 104   ~; 119   |;   0   &)
%                                         (  21 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   5 avg)
%            Maximal term depth    :    2 (   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  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    3 (   3 usr;   2 con; 0-2 aty)
%            Number of variables   :  100 (  92   !;   0   ?; 100   :)

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

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

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

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

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

tff(1,plain,
    ( ~ member(not_subclass_element(x,y),x)
  <=> ~ member(not_subclass_element(x,y),x) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    ~ member(not_subclass_element(x,y),x),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_equality3_3) ).

tff(3,plain,
    ~ member(not_subclass_element(x,y),x),
    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(x,y)
      | member(not_subclass_element(x,y),x) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( subclass(X,Y)
            | member(not_subclass_element(X,Y),X) )
      | subclass(x,y)
      | member(not_subclass_element(x,y),x) ) ),
    inference(rewrite,[status(thm)],]) ).

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

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

tff(17,plain,
    subclass(x,y),
    inference(unit_resolution,[status(thm)],[16,13,3]) ).

tff(18,plain,
    ( member(not_subclass_element(y,x),x)
  <=> member(not_subclass_element(y,x),x) ),
    inference(rewrite,[status(thm)],]) ).

tff(19,axiom,
    member(not_subclass_element(y,x),x),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_equality3_1) ).

tff(20,plain,
    member(not_subclass_element(y,x),x),
    inference(modus_ponens,[status(thm)],[19,18]) ).

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

tff(23,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(24,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(25,plain,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

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

tff(27,plain,
    ! [Y: $i,X: $i] :
      ( ~ member(not_subclass_element(X,Y),Y)
      | subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[26,22]) ).

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

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

tff(30,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ~ member(not_subclass_element(X,Y),Y)
          | subclass(X,Y) )
    | ~ member(not_subclass_element(y,x),x)
    | subclass(y,x) ),
    inference(modus_ponens,[status(thm)],[29,28]) ).

tff(31,plain,
    subclass(y,x),
    inference(unit_resolution,[status(thm)],[30,27,20]) ).

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

tff(33,axiom,
    x != y,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_equality3_2) ).

tff(34,plain,
    x != y,
    inference(modus_ponens,[status(thm)],[33,32]) ).

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

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

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

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

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

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

tff(41,plain,
    ! [Y: $i,X: $i] :
      ( ( X = Y )
      | ~ subclass(Y,X)
      | ~ subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[40,36]) ).

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

tff(43,plain,
    ! [Y: $i,X: $i] :
      ( ( X = Y )
      | ~ subclass(Y,X)
      | ~ subclass(X,Y) ),
    inference(modus_ponens,[status(thm)],[42,35]) ).

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

tff(45,plain,
    ( ( ( x = y )
      | ~ subclass(y,x)
      | ~ subclass(x,y) )
  <=> ( ( x = y )
      | ~ subclass(x,y)
      | ~ subclass(y,x) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(46,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( ( X = Y )
            | ~ subclass(Y,X)
            | ~ subclass(X,Y) )
      | ( x = y )
      | ~ subclass(y,x)
      | ~ subclass(x,y) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( ( X = Y )
            | ~ subclass(Y,X)
            | ~ subclass(X,Y) )
      | ( x = y )
      | ~ subclass(x,y)
      | ~ subclass(y,x) ) ),
    inference(monotonicity,[status(thm)],[45]) ).

tff(47,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( ( X = Y )
            | ~ subclass(Y,X)
            | ~ subclass(X,Y) )
      | ( x = y )
      | ~ subclass(y,x)
      | ~ subclass(x,y) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( ( X = Y )
            | ~ subclass(Y,X)
            | ~ subclass(X,Y) )
      | ( x = y )
      | ~ subclass(x,y)
      | ~ subclass(y,x) ) ),
    inference(transitivity,[status(thm)],[46,44]) ).

tff(48,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ( X = Y )
          | ~ subclass(Y,X)
          | ~ subclass(X,Y) )
    | ( x = y )
    | ~ subclass(y,x)
    | ~ subclass(x,y) ),
    inference(quant_inst,[status(thm)],]) ).

tff(49,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ( X = Y )
          | ~ subclass(Y,X)
          | ~ subclass(X,Y) )
    | ( x = y )
    | ~ subclass(x,y)
    | ~ subclass(y,x) ),
    inference(modus_ponens,[status(thm)],[48,47]) ).

tff(50,plain,
    $false,
    inference(unit_resolution,[status(thm)],[49,43,34,31,17]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.12  % Problem  : SET058-7 : TPTP v8.1.0. Bugfixed v2.1.0.
% 0.10/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34  % Computer : n028.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit : 300
% 0.13/0.34  % WCLimit  : 300
% 0.13/0.34  % DateTime : Sat Sep  3 01:59:08 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.13/0.34  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.34  Usage: tptp [options] [-file:]file
% 0.13/0.34    -h, -?       prints this message.
% 0.13/0.34    -smt2        print SMT-LIB2 benchmark.
% 0.13/0.34    -m, -model   generate model.
% 0.13/0.34    -p, -proof   generate proof.
% 0.13/0.34    -c, -core    generate unsat core of named formulas.
% 0.13/0.34    -st, -statistics display statistics.
% 0.13/0.34    -t:timeout   set timeout (in second).
% 0.13/0.34    -smt2status  display status in smt2 format instead of SZS.
% 0.13/0.34    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.34    -<param>:<value> configuration parameter and value.
% 0.13/0.34    -o:<output-file> file to place output in.
% 0.20/0.43  % SZS status Unsatisfiable
% 0.20/0.43  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------