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

View Problem - Process Solution

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

% Computer : n013.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:28 EDT 2022

% Result   : Unsatisfiable 0.21s 0.43s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   20
% Syntax   : Number of formulae    :   41 (  15 unt;   5 typ;   0 def)
%            Number of atoms       :  124 (  77 equ)
%            Maximal formula atoms :   11 (   3 avg)
%            Number of connectives :  132 (  47   ~;  69   |;   0   &)
%                                         (  16 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   4 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    5 (   3   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    4 (   4 usr;   2 con; 0-2 aty)
%            Number of variables   :   73 (  66   !;   0   ?;  73   :)

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

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

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

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

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

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(x,x) = singleton(x) ) ),
    inference(quant_inst,[status(thm)],]) ).

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

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

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

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

tff(13,axiom,
    member(y,singleton(x)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_only_member_in_singleton_1) ).

tff(14,plain,
    member(y,singleton(x)),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    member(y,unordered_pair(x,x)),
    inference(modus_ponens,[status(thm)],[14,11]) ).

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

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

tff(18,plain,
    y != x,
    inference(modus_ponens,[status(thm)],[17,16]) ).

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

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

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

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

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

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

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

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

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

tff(32,plain,
    ( ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( y = x )
      | ( y = x )
      | ~ member(y,unordered_pair(x,x)) )
  <=> ( ~ ! [Y: $i,U: $i,X: $i] :
            ( ( U = Y )
            | ( U = X )
            | ~ member(U,unordered_pair(X,Y)) )
      | ( y = x )
      | ~ member(y,unordered_pair(x,x)) ) ),
    inference(transitivity,[status(thm)],[31,29]) ).

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

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

tff(35,plain,
    ~ member(y,unordered_pair(x,x)),
    inference(unit_resolution,[status(thm)],[34,28,18]) ).

tff(36,plain,
    $false,
    inference(unit_resolution,[status(thm)],[35,15]) ).

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