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

View Problem - Process Solution

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

% Result   : Unsatisfiable 0.19s 0.42s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   21
%            Number of leaves      :   69
% Syntax   : Number of formulae    :  164 (  55 unt;  12 typ;   0 def)
%            Number of atoms       :  493 ( 170 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  533 ( 204   ~; 268   |;   0   &)
%                                         (  61 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   4 avg)
%            Maximal term depth    :    5 (   1 avg)
%            Number of FOOLs       :   12 (  12 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   11 (   7   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :   10 (  10 usr;   5 con; 0-2 aty)
%            Number of variables   :  240 ( 218   !;   0   ?; 240   :)

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

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

tff(unordered_pair_type,type,
    unordered_pair: ( $i * $i ) > $i ).

tff(singleton_type,type,
    singleton: $i > $i ).

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

tff(image_type,type,
    image: ( $i * $i ) > $i ).

tff(choice_type,type,
    choice: $i ).

tff(sum_class_type,type,
    sum_class: $i > $i ).

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

tff(apply_type,type,
    apply: ( $i * $i ) > $i ).

tff(null_class_type,type,
    null_class: $i ).

tff(function_type,type,
    function: $i > $o ).

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

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

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

tff(4,axiom,
    ! [X: $i] : ( unordered_pair(X,X) = singleton(X) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',singleton_set) ).

tff(5,plain,
    ! [X: $i] : ( unordered_pair(X,X) = singleton(X) ),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ! [X: $i] : ( unordered_pair(X,X) = singleton(X) ),
    inference(skolemize,[status(sab)],[5]) ).

tff(7,plain,
    ! [X: $i] : ( unordered_pair(X,X) = singleton(X) ),
    inference(modus_ponens,[status(thm)],[6,2]) ).

tff(8,plain,
    ( ~ ! [X: $i] : ( unordered_pair(X,X) = singleton(X) )
    | ( unordered_pair(singleton(y),singleton(y)) = singleton(singleton(y)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    unordered_pair(singleton(y),singleton(y)) = singleton(singleton(y)),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( member(unordered_pair(singleton(y),singleton(y)),universal_class)
  <=> member(singleton(singleton(y)),universal_class) ),
    inference(monotonicity,[status(thm)],[9]) ).

tff(11,plain,
    ( member(singleton(singleton(y)),universal_class)
  <=> member(unordered_pair(singleton(y),singleton(y)),universal_class) ),
    inference(symmetry,[status(thm)],[10]) ).

tff(12,plain,
    ( ~ member(singleton(singleton(y)),universal_class)
  <=> ~ member(unordered_pair(singleton(y),singleton(y)),universal_class) ),
    inference(monotonicity,[status(thm)],[11]) ).

tff(13,plain,
    ^ [Y: $i,Xf: $i] :
      refl(
        ( ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) )
      <=> ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ) )),
    inference(bind,[status(th)],]) ).

tff(14,plain,
    ( ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) )
  <=> ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ) ),
    inference(quant_intro,[status(thm)],[13]) ).

tff(15,plain,
    ( ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) )
  <=> ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,axiom,
    ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',apply) ).

tff(17,plain,
    ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ),
    inference(skolemize,[status(sab)],[17]) ).

tff(19,plain,
    ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) ),
    inference(modus_ponens,[status(thm)],[18,14]) ).

tff(20,plain,
    ( ~ ! [Y: $i,Xf: $i] : ( sum_class(image(Xf,singleton(Y))) = apply(Xf,Y) )
    | ( sum_class(image(choice,singleton(singleton(y)))) = apply(choice,singleton(y)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(21,plain,
    sum_class(image(choice,singleton(singleton(y)))) = apply(choice,singleton(y)),
    inference(unit_resolution,[status(thm)],[20,19]) ).

tff(22,plain,
    apply(choice,singleton(y)) = sum_class(image(choice,singleton(singleton(y)))),
    inference(symmetry,[status(thm)],[21]) ).

tff(23,plain,
    ( ~ member(x,universal_class)
  <=> ~ member(x,universal_class) ),
    inference(rewrite,[status(thm)],]) ).

tff(24,axiom,
    ~ member(x,universal_class),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_null_unordered_pair_2) ).

tff(25,plain,
    ~ member(x,universal_class),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( member(X,universal_class)
          | ( unordered_pair(X,Y) = singleton(Y) ) )
      <=> ( member(X,universal_class)
          | ( unordered_pair(X,Y) = singleton(Y) ) ) )),
    inference(bind,[status(th)],]) ).

tff(27,plain,
    ( ! [Y: $i,X: $i] :
        ( member(X,universal_class)
        | ( unordered_pair(X,Y) = singleton(Y) ) )
  <=> ! [Y: $i,X: $i] :
        ( member(X,universal_class)
        | ( unordered_pair(X,Y) = singleton(Y) ) ) ),
    inference(quant_intro,[status(thm)],[26]) ).

tff(28,plain,
    ( ! [Y: $i,X: $i] :
        ( member(X,universal_class)
        | ( unordered_pair(X,Y) = singleton(Y) ) )
  <=> ! [Y: $i,X: $i] :
        ( member(X,universal_class)
        | ( unordered_pair(X,Y) = singleton(Y) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(29,axiom,
    ! [Y: $i,X: $i] :
      ( member(X,universal_class)
      | ( unordered_pair(X,Y) = singleton(Y) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unordered_pair_equals_singleton2) ).

tff(30,plain,
    ! [Y: $i,X: $i] :
      ( member(X,universal_class)
      | ( unordered_pair(X,Y) = singleton(Y) ) ),
    inference(modus_ponens,[status(thm)],[29,28]) ).

tff(31,plain,
    ! [Y: $i,X: $i] :
      ( member(X,universal_class)
      | ( unordered_pair(X,Y) = singleton(Y) ) ),
    inference(skolemize,[status(sab)],[30]) ).

tff(32,plain,
    ! [Y: $i,X: $i] :
      ( member(X,universal_class)
      | ( unordered_pair(X,Y) = singleton(Y) ) ),
    inference(modus_ponens,[status(thm)],[31,27]) ).

tff(33,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( member(X,universal_class)
            | ( unordered_pair(X,Y) = singleton(Y) ) )
      | member(x,universal_class)
      | ( unordered_pair(x,y) = singleton(y) ) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( member(X,universal_class)
            | ( unordered_pair(X,Y) = singleton(Y) ) )
      | member(x,universal_class)
      | ( unordered_pair(x,y) = singleton(y) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(34,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( member(X,universal_class)
          | ( unordered_pair(X,Y) = singleton(Y) ) )
    | member(x,universal_class)
    | ( unordered_pair(x,y) = singleton(y) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(35,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( member(X,universal_class)
          | ( unordered_pair(X,Y) = singleton(Y) ) )
    | member(x,universal_class)
    | ( unordered_pair(x,y) = singleton(y) ) ),
    inference(modus_ponens,[status(thm)],[34,33]) ).

tff(36,plain,
    unordered_pair(x,y) = singleton(y),
    inference(unit_resolution,[status(thm)],[35,32,25]) ).

tff(37,plain,
    ( ~ member(y,universal_class)
  <=> ~ member(y,universal_class) ),
    inference(rewrite,[status(thm)],]) ).

tff(38,axiom,
    ~ member(y,universal_class),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_null_unordered_pair_3) ).

tff(39,plain,
    ~ member(y,universal_class),
    inference(modus_ponens,[status(thm)],[38,37]) ).

tff(40,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( member(Y,universal_class)
          | ( unordered_pair(X,Y) = singleton(X) ) )
      <=> ( member(Y,universal_class)
          | ( unordered_pair(X,Y) = singleton(X) ) ) )),
    inference(bind,[status(th)],]) ).

tff(41,plain,
    ( ! [Y: $i,X: $i] :
        ( member(Y,universal_class)
        | ( unordered_pair(X,Y) = singleton(X) ) )
  <=> ! [Y: $i,X: $i] :
        ( member(Y,universal_class)
        | ( unordered_pair(X,Y) = singleton(X) ) ) ),
    inference(quant_intro,[status(thm)],[40]) ).

tff(42,plain,
    ( ! [Y: $i,X: $i] :
        ( member(Y,universal_class)
        | ( unordered_pair(X,Y) = singleton(X) ) )
  <=> ! [Y: $i,X: $i] :
        ( member(Y,universal_class)
        | ( unordered_pair(X,Y) = singleton(X) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(43,axiom,
    ! [Y: $i,X: $i] :
      ( member(Y,universal_class)
      | ( unordered_pair(X,Y) = singleton(X) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unordered_pair_equals_singleton1) ).

tff(44,plain,
    ! [Y: $i,X: $i] :
      ( member(Y,universal_class)
      | ( unordered_pair(X,Y) = singleton(X) ) ),
    inference(modus_ponens,[status(thm)],[43,42]) ).

tff(45,plain,
    ! [Y: $i,X: $i] :
      ( member(Y,universal_class)
      | ( unordered_pair(X,Y) = singleton(X) ) ),
    inference(skolemize,[status(sab)],[44]) ).

tff(46,plain,
    ! [Y: $i,X: $i] :
      ( member(Y,universal_class)
      | ( unordered_pair(X,Y) = singleton(X) ) ),
    inference(modus_ponens,[status(thm)],[45,41]) ).

tff(47,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( member(Y,universal_class)
            | ( unordered_pair(X,Y) = singleton(X) ) )
      | member(y,universal_class)
      | ( unordered_pair(x,y) = singleton(x) ) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( member(Y,universal_class)
            | ( unordered_pair(X,Y) = singleton(X) ) )
      | member(y,universal_class)
      | ( unordered_pair(x,y) = singleton(x) ) ) ),
    inference(rewrite,[status(thm)],]) ).

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

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

tff(50,plain,
    unordered_pair(x,y) = singleton(x),
    inference(unit_resolution,[status(thm)],[49,46,39]) ).

tff(51,plain,
    singleton(x) = unordered_pair(x,y),
    inference(symmetry,[status(thm)],[50]) ).

tff(52,plain,
    ( ~ ! [X: $i] : ( unordered_pair(X,X) = singleton(X) )
    | ( unordered_pair(x,x) = singleton(x) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(53,plain,
    unordered_pair(x,x) = singleton(x),
    inference(unit_resolution,[status(thm)],[52,7]) ).

tff(54,plain,
    unordered_pair(x,x) = singleton(y),
    inference(transitivity,[status(thm)],[53,51,36]) ).

tff(55,plain,
    ( member(apply(choice,singleton(y)),unordered_pair(x,x))
  <=> member(apply(choice,singleton(y)),singleton(y)) ),
    inference(monotonicity,[status(thm)],[54]) ).

tff(56,plain,
    ( member(apply(choice,singleton(y)),singleton(y))
  <=> member(apply(choice,singleton(y)),unordered_pair(x,x)) ),
    inference(symmetry,[status(thm)],[55]) ).

tff(57,plain,
    singleton(y) = unordered_pair(x,y),
    inference(symmetry,[status(thm)],[36]) ).

tff(58,plain,
    ( member(singleton(y),universal_class)
  <=> member(unordered_pair(x,y),universal_class) ),
    inference(monotonicity,[status(thm)],[57]) ).

tff(59,plain,
    ( member(unordered_pair(x,y),universal_class)
  <=> member(singleton(y),universal_class) ),
    inference(symmetry,[status(thm)],[58]) ).

tff(60,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( member(unordered_pair(X,Y),universal_class)
      <=> member(unordered_pair(X,Y),universal_class) )),
    inference(bind,[status(th)],]) ).

tff(61,plain,
    ( ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class)
  <=> ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class) ),
    inference(quant_intro,[status(thm)],[60]) ).

tff(62,plain,
    ( ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class)
  <=> ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class) ),
    inference(rewrite,[status(thm)],]) ).

tff(63,axiom,
    ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',unordered_pairs_in_universal) ).

tff(64,plain,
    ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class),
    inference(modus_ponens,[status(thm)],[63,62]) ).

tff(65,plain,
    ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class),
    inference(skolemize,[status(sab)],[64]) ).

tff(66,plain,
    ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class),
    inference(modus_ponens,[status(thm)],[65,61]) ).

tff(67,plain,
    ( ~ ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class)
    | member(unordered_pair(x,y),universal_class) ),
    inference(quant_inst,[status(thm)],]) ).

tff(68,plain,
    member(unordered_pair(x,y),universal_class),
    inference(unit_resolution,[status(thm)],[67,66]) ).

tff(69,plain,
    member(singleton(y),universal_class),
    inference(modus_ponens,[status(thm)],[68,59]) ).

tff(70,plain,
    ( ( singleton(y) = null_class )
  <=> ( unordered_pair(x,y) = null_class ) ),
    inference(monotonicity,[status(thm)],[57]) ).

tff(71,plain,
    ( ( unordered_pair(x,y) = null_class )
  <=> ( singleton(y) = null_class ) ),
    inference(symmetry,[status(thm)],[70]) ).

tff(72,plain,
    ( ( unordered_pair(x,y) != null_class )
  <=> ( singleton(y) != null_class ) ),
    inference(monotonicity,[status(thm)],[71]) ).

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

tff(74,axiom,
    unordered_pair(x,y) != null_class,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_null_unordered_pair_1) ).

tff(75,plain,
    unordered_pair(x,y) != null_class,
    inference(modus_ponens,[status(thm)],[74,73]) ).

tff(76,plain,
    singleton(y) != null_class,
    inference(modus_ponens,[status(thm)],[75,72]) ).

tff(77,plain,
    ^ [Y: $i] :
      refl(
        ( ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) )
      <=> ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) ) )),
    inference(bind,[status(th)],]) ).

tff(78,plain,
    ( ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) )
  <=> ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) ) ),
    inference(quant_intro,[status(thm)],[77]) ).

tff(79,plain,
    ( ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) )
  <=> ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(80,plain,
    ^ [Y: $i] :
      rewrite(
        ( ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) )
      <=> ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) ) )),
    inference(bind,[status(th)],]) ).

tff(81,plain,
    ( ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) )
  <=> ! [Y: $i] :
        ( ~ member(Y,universal_class)
        | ( Y = null_class )
        | member(apply(choice,Y),Y) ) ),
    inference(quant_intro,[status(thm)],[80]) ).

tff(82,axiom,
    ! [Y: $i] :
      ( ~ member(Y,universal_class)
      | ( Y = null_class )
      | member(apply(choice,Y),Y) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',choice2) ).

tff(83,plain,
    ! [Y: $i] :
      ( ~ member(Y,universal_class)
      | ( Y = null_class )
      | member(apply(choice,Y),Y) ),
    inference(modus_ponens,[status(thm)],[82,81]) ).

tff(84,plain,
    ! [Y: $i] :
      ( ~ member(Y,universal_class)
      | ( Y = null_class )
      | member(apply(choice,Y),Y) ),
    inference(modus_ponens,[status(thm)],[83,79]) ).

tff(85,plain,
    ! [Y: $i] :
      ( ~ member(Y,universal_class)
      | ( Y = null_class )
      | member(apply(choice,Y),Y) ),
    inference(skolemize,[status(sab)],[84]) ).

tff(86,plain,
    ! [Y: $i] :
      ( ~ member(Y,universal_class)
      | ( Y = null_class )
      | member(apply(choice,Y),Y) ),
    inference(modus_ponens,[status(thm)],[85,78]) ).

tff(87,plain,
    ( ( ~ ! [Y: $i] :
            ( ~ member(Y,universal_class)
            | ( Y = null_class )
            | member(apply(choice,Y),Y) )
      | ~ member(singleton(y),universal_class)
      | ( singleton(y) = null_class )
      | member(apply(choice,singleton(y)),singleton(y)) )
  <=> ( ~ ! [Y: $i] :
            ( ~ member(Y,universal_class)
            | ( Y = null_class )
            | member(apply(choice,Y),Y) )
      | ~ member(singleton(y),universal_class)
      | ( singleton(y) = null_class )
      | member(apply(choice,singleton(y)),singleton(y)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(88,plain,
    ( ~ ! [Y: $i] :
          ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) )
    | ~ member(singleton(y),universal_class)
    | ( singleton(y) = null_class )
    | member(apply(choice,singleton(y)),singleton(y)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(89,plain,
    ( ~ ! [Y: $i] :
          ( ~ member(Y,universal_class)
          | ( Y = null_class )
          | member(apply(choice,Y),Y) )
    | ~ member(singleton(y),universal_class)
    | ( singleton(y) = null_class )
    | member(apply(choice,singleton(y)),singleton(y)) ),
    inference(modus_ponens,[status(thm)],[88,87]) ).

tff(90,plain,
    ( ~ member(singleton(y),universal_class)
    | ( singleton(y) = null_class )
    | member(apply(choice,singleton(y)),singleton(y)) ),
    inference(unit_resolution,[status(thm)],[89,86]) ).

tff(91,plain,
    member(apply(choice,singleton(y)),singleton(y)),
    inference(unit_resolution,[status(thm)],[90,76,69]) ).

tff(92,plain,
    member(apply(choice,singleton(y)),unordered_pair(x,x)),
    inference(modus_ponens,[status(thm)],[91,56]) ).

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

tff(94,plain,
    ( ! [Y: $i,U: $i,X: $i] :
        ( ( U = Y )
        | ( U = X )
        | ~ member(U,unordered_pair(X,Y)) )
  <=> ! [Y: $i,U: $i,X: $i] :
        ( ( U = Y )
        | ( U = X )
        | ~ member(U,unordered_pair(X,Y)) ) ),
    inference(quant_intro,[status(thm)],[93]) ).

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

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

tff(97,plain,
    ( ! [Y: $i,U: $i,X: $i] :
        ( ~ member(U,unordered_pair(X,Y))
        | ( U = X )
        | ( U = Y ) )
  <=> ! [Y: $i,U: $i,X: $i] :
        ( ( U = Y )
        | ( U = X )
        | ~ member(U,unordered_pair(X,Y)) ) ),
    inference(quant_intro,[status(thm)],[96]) ).

tff(98,axiom,
    ! [Y: $i,U: $i,X: $i] :
      ( ~ member(U,unordered_pair(X,Y))
      | ( U = X )
      | ( U = Y ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',unordered_pair_member) ).

tff(99,plain,
    ! [Y: $i,U: $i,X: $i] :
      ( ( U = Y )
      | ( U = X )
      | ~ member(U,unordered_pair(X,Y)) ),
    inference(modus_ponens,[status(thm)],[98,97]) ).

tff(100,plain,
    ! [Y: $i,U: $i,X: $i] :
      ( ( U = Y )
      | ( U = X )
      | ~ member(U,unordered_pair(X,Y)) ),
    inference(modus_ponens,[status(thm)],[99,95]) ).

tff(101,plain,
    ! [Y: $i,U: $i,X: $i] :
      ( ( U = Y )
      | ( U = X )
      | ~ member(U,unordered_pair(X,Y)) ),
    inference(skolemize,[status(sab)],[100]) ).

tff(102,plain,
    ! [Y: $i,U: $i,X: $i] :
      ( ( U = Y )
      | ( U = X )
      | ~ member(U,unordered_pair(X,Y)) ),
    inference(modus_ponens,[status(thm)],[101,94]) ).

tff(103,plain,
    ( ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) )
  <=> ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(104,plain,
    ( ( ( apply(choice,singleton(y)) = x )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) )
  <=> ( ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(105,plain,
    ( ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) )
  <=> ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ) ),
    inference(monotonicity,[status(thm)],[104]) ).

tff(106,plain,
    ( ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) )
  <=> ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( apply(choice,singleton(y)) = x )
      | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ) ),
    inference(transitivity,[status(thm)],[105,103]) ).

tff(107,plain,
    ( ~ ! [Y: $i,U: $i,X: $i] :
          ( ( U = Y )
          | ( U = X )
          | ~ member(U,unordered_pair(X,Y)) )
    | ( apply(choice,singleton(y)) = x )
    | ( apply(choice,singleton(y)) = x )
    | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(108,plain,
    ( ~ ! [Y: $i,U: $i,X: $i] :
          ( ( U = Y )
          | ( U = X )
          | ~ member(U,unordered_pair(X,Y)) )
    | ( apply(choice,singleton(y)) = x )
    | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ),
    inference(modus_ponens,[status(thm)],[107,106]) ).

tff(109,plain,
    ( ( apply(choice,singleton(y)) = x )
    | ~ member(apply(choice,singleton(y)),unordered_pair(x,x)) ),
    inference(unit_resolution,[status(thm)],[108,102]) ).

tff(110,plain,
    apply(choice,singleton(y)) = x,
    inference(unit_resolution,[status(thm)],[109,92]) ).

tff(111,plain,
    x = apply(choice,singleton(y)),
    inference(symmetry,[status(thm)],[110]) ).

tff(112,plain,
    x = sum_class(image(choice,singleton(singleton(y)))),
    inference(transitivity,[status(thm)],[111,22]) ).

tff(113,plain,
    ( member(x,universal_class)
  <=> member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ),
    inference(monotonicity,[status(thm)],[112]) ).

tff(114,plain,
    ( ~ member(x,universal_class)
  <=> ~ member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ),
    inference(monotonicity,[status(thm)],[113]) ).

tff(115,plain,
    ~ member(sum_class(image(choice,singleton(singleton(y)))),universal_class),
    inference(modus_ponens,[status(thm)],[25,114]) ).

tff(116,plain,
    ^ [X: $i] :
      refl(
        ( ( ~ member(X,universal_class)
          | member(sum_class(X),universal_class) )
      <=> ( ~ member(X,universal_class)
          | member(sum_class(X),universal_class) ) )),
    inference(bind,[status(th)],]) ).

tff(117,plain,
    ( ! [X: $i] :
        ( ~ member(X,universal_class)
        | member(sum_class(X),universal_class) )
  <=> ! [X: $i] :
        ( ~ member(X,universal_class)
        | member(sum_class(X),universal_class) ) ),
    inference(quant_intro,[status(thm)],[116]) ).

tff(118,plain,
    ( ! [X: $i] :
        ( ~ member(X,universal_class)
        | member(sum_class(X),universal_class) )
  <=> ! [X: $i] :
        ( ~ member(X,universal_class)
        | member(sum_class(X),universal_class) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(119,axiom,
    ! [X: $i] :
      ( ~ member(X,universal_class)
      | member(sum_class(X),universal_class) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',sum_class2) ).

tff(120,plain,
    ! [X: $i] :
      ( ~ member(X,universal_class)
      | member(sum_class(X),universal_class) ),
    inference(modus_ponens,[status(thm)],[119,118]) ).

tff(121,plain,
    ! [X: $i] :
      ( ~ member(X,universal_class)
      | member(sum_class(X),universal_class) ),
    inference(skolemize,[status(sab)],[120]) ).

tff(122,plain,
    ! [X: $i] :
      ( ~ member(X,universal_class)
      | member(sum_class(X),universal_class) ),
    inference(modus_ponens,[status(thm)],[121,117]) ).

tff(123,plain,
    ( ( ~ ! [X: $i] :
            ( ~ member(X,universal_class)
            | member(sum_class(X),universal_class) )
      | ~ member(image(choice,singleton(singleton(y))),universal_class)
      | member(sum_class(image(choice,singleton(singleton(y)))),universal_class) )
  <=> ( ~ ! [X: $i] :
            ( ~ member(X,universal_class)
            | member(sum_class(X),universal_class) )
      | ~ member(image(choice,singleton(singleton(y))),universal_class)
      | member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(124,plain,
    ( ~ ! [X: $i] :
          ( ~ member(X,universal_class)
          | member(sum_class(X),universal_class) )
    | ~ member(image(choice,singleton(singleton(y))),universal_class)
    | member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ),
    inference(quant_inst,[status(thm)],]) ).

tff(125,plain,
    ( ~ ! [X: $i] :
          ( ~ member(X,universal_class)
          | member(sum_class(X),universal_class) )
    | ~ member(image(choice,singleton(singleton(y))),universal_class)
    | member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ),
    inference(modus_ponens,[status(thm)],[124,123]) ).

tff(126,plain,
    ( ~ member(image(choice,singleton(singleton(y))),universal_class)
    | member(sum_class(image(choice,singleton(singleton(y)))),universal_class) ),
    inference(unit_resolution,[status(thm)],[125,122]) ).

tff(127,plain,
    ~ member(image(choice,singleton(singleton(y))),universal_class),
    inference(unit_resolution,[status(thm)],[126,115]) ).

tff(128,plain,
    ( function(choice)
  <=> function(choice) ),
    inference(rewrite,[status(thm)],]) ).

tff(129,axiom,
    function(choice),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',choice1) ).

tff(130,plain,
    function(choice),
    inference(modus_ponens,[status(thm)],[129,128]) ).

tff(131,plain,
    ^ [Xf: $i,X: $i] :
      refl(
        ( ( ~ member(X,universal_class)
          | member(image(Xf,X),universal_class)
          | ~ function(Xf) )
      <=> ( ~ member(X,universal_class)
          | member(image(Xf,X),universal_class)
          | ~ function(Xf) ) )),
    inference(bind,[status(th)],]) ).

tff(132,plain,
    ( ! [Xf: $i,X: $i] :
        ( ~ member(X,universal_class)
        | member(image(Xf,X),universal_class)
        | ~ function(Xf) )
  <=> ! [Xf: $i,X: $i] :
        ( ~ member(X,universal_class)
        | member(image(Xf,X),universal_class)
        | ~ function(Xf) ) ),
    inference(quant_intro,[status(thm)],[131]) ).

tff(133,plain,
    ( ! [Xf: $i,X: $i] :
        ( ~ member(X,universal_class)
        | member(image(Xf,X),universal_class)
        | ~ function(Xf) )
  <=> ! [Xf: $i,X: $i] :
        ( ~ member(X,universal_class)
        | member(image(Xf,X),universal_class)
        | ~ function(Xf) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(134,plain,
    ^ [Xf: $i,X: $i] :
      rewrite(
        ( ( ~ function(Xf)
          | ~ member(X,universal_class)
          | member(image(Xf,X),universal_class) )
      <=> ( ~ member(X,universal_class)
          | member(image(Xf,X),universal_class)
          | ~ function(Xf) ) )),
    inference(bind,[status(th)],]) ).

tff(135,plain,
    ( ! [Xf: $i,X: $i] :
        ( ~ function(Xf)
        | ~ member(X,universal_class)
        | member(image(Xf,X),universal_class) )
  <=> ! [Xf: $i,X: $i] :
        ( ~ member(X,universal_class)
        | member(image(Xf,X),universal_class)
        | ~ function(Xf) ) ),
    inference(quant_intro,[status(thm)],[134]) ).

tff(136,axiom,
    ! [Xf: $i,X: $i] :
      ( ~ function(Xf)
      | ~ member(X,universal_class)
      | member(image(Xf,X),universal_class) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SET004-0.ax',replacement) ).

tff(137,plain,
    ! [Xf: $i,X: $i] :
      ( ~ member(X,universal_class)
      | member(image(Xf,X),universal_class)
      | ~ function(Xf) ),
    inference(modus_ponens,[status(thm)],[136,135]) ).

tff(138,plain,
    ! [Xf: $i,X: $i] :
      ( ~ member(X,universal_class)
      | member(image(Xf,X),universal_class)
      | ~ function(Xf) ),
    inference(modus_ponens,[status(thm)],[137,133]) ).

tff(139,plain,
    ! [Xf: $i,X: $i] :
      ( ~ member(X,universal_class)
      | member(image(Xf,X),universal_class)
      | ~ function(Xf) ),
    inference(skolemize,[status(sab)],[138]) ).

tff(140,plain,
    ! [Xf: $i,X: $i] :
      ( ~ member(X,universal_class)
      | member(image(Xf,X),universal_class)
      | ~ function(Xf) ),
    inference(modus_ponens,[status(thm)],[139,132]) ).

tff(141,plain,
    ( ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ function(choice)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ member(singleton(singleton(y)),universal_class) )
  <=> ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ function(choice)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ member(singleton(singleton(y)),universal_class) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(142,plain,
    ( ( ~ member(singleton(singleton(y)),universal_class)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ function(choice) )
  <=> ( ~ function(choice)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ member(singleton(singleton(y)),universal_class) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(143,plain,
    ( ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ member(singleton(singleton(y)),universal_class)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ function(choice) )
  <=> ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ function(choice)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ member(singleton(singleton(y)),universal_class) ) ),
    inference(monotonicity,[status(thm)],[142]) ).

tff(144,plain,
    ( ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ member(singleton(singleton(y)),universal_class)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ function(choice) )
  <=> ( ~ ! [Xf: $i,X: $i] :
            ( ~ member(X,universal_class)
            | member(image(Xf,X),universal_class)
            | ~ function(Xf) )
      | ~ function(choice)
      | member(image(choice,singleton(singleton(y))),universal_class)
      | ~ member(singleton(singleton(y)),universal_class) ) ),
    inference(transitivity,[status(thm)],[143,141]) ).

tff(145,plain,
    ( ~ ! [Xf: $i,X: $i] :
          ( ~ member(X,universal_class)
          | member(image(Xf,X),universal_class)
          | ~ function(Xf) )
    | ~ member(singleton(singleton(y)),universal_class)
    | member(image(choice,singleton(singleton(y))),universal_class)
    | ~ function(choice) ),
    inference(quant_inst,[status(thm)],]) ).

tff(146,plain,
    ( ~ ! [Xf: $i,X: $i] :
          ( ~ member(X,universal_class)
          | member(image(Xf,X),universal_class)
          | ~ function(Xf) )
    | ~ function(choice)
    | member(image(choice,singleton(singleton(y))),universal_class)
    | ~ member(singleton(singleton(y)),universal_class) ),
    inference(modus_ponens,[status(thm)],[145,144]) ).

tff(147,plain,
    ( member(image(choice,singleton(singleton(y))),universal_class)
    | ~ member(singleton(singleton(y)),universal_class) ),
    inference(unit_resolution,[status(thm)],[146,140,130]) ).

tff(148,plain,
    ~ member(singleton(singleton(y)),universal_class),
    inference(unit_resolution,[status(thm)],[147,127]) ).

tff(149,plain,
    ~ member(unordered_pair(singleton(y),singleton(y)),universal_class),
    inference(modus_ponens,[status(thm)],[148,12]) ).

tff(150,plain,
    ( ~ ! [Y: $i,X: $i] : member(unordered_pair(X,Y),universal_class)
    | member(unordered_pair(singleton(y),singleton(y)),universal_class) ),
    inference(quant_inst,[status(thm)],]) ).

tff(151,plain,
    member(unordered_pair(singleton(y),singleton(y)),universal_class),
    inference(unit_resolution,[status(thm)],[150,66]) ).

tff(152,plain,
    $false,
    inference(unit_resolution,[status(thm)],[151,149]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.11  % Problem  : SET071-7 : TPTP v8.1.0. Bugfixed v2.1.0.
% 0.06/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n009.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 01:59:35 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.12/0.33  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.12/0.33  Usage: tptp [options] [-file:]file
% 0.12/0.33    -h, -?       prints this message.
% 0.12/0.33    -smt2        print SMT-LIB2 benchmark.
% 0.12/0.33    -m, -model   generate model.
% 0.12/0.33    -p, -proof   generate proof.
% 0.12/0.33    -c, -core    generate unsat core of named formulas.
% 0.12/0.33    -st, -statistics display statistics.
% 0.12/0.33    -t:timeout   set timeout (in second).
% 0.12/0.33    -smt2status  display status in smt2 format instead of SZS.
% 0.12/0.33    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.12/0.33    -<param>:<value> configuration parameter and value.
% 0.12/0.33    -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
%------------------------------------------------------------------------------