TSTP Solution File: CAT005-4 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : CAT005-4 : TPTP v8.1.0. Released v1.0.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n017.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  6 17:29:40 EDT 2022

% Result   : Unsatisfiable 0.15s 0.37s
% Output   : Proof 0.15s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   11
%            Number of leaves      :   37
% Syntax   : Number of formulae    :   86 (  24 unt;   6 typ;   0 def)
%            Number of atoms       :  222 (  67 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :  243 ( 108   ~; 101   |;   0   &)
%                                         (  34 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   4 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of FOOLs       :    7 (   7 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    5 (   4   >;   1   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   2 con; 0-2 aty)
%            Number of variables   :  100 (  90   !;   0   ?; 100   :)

% Comments : 
%------------------------------------------------------------------------------
tff(there_exists_type,type,
    there_exists: $i > $o ).

tff(compose_type,type,
    compose: ( $i * $i ) > $i ).

tff(d_type,type,
    d: $i ).

tff(codomain_type,type,
    codomain: $i > $i ).

tff(domain_type,type,
    domain: $i > $i ).

tff(a_type,type,
    a: $i ).

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

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

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

tff(4,axiom,
    ! [X: $i] : ( compose(codomain(X),X) = X ),
    file('/export/starexec/sandbox2/benchmark/Axioms/CAT004-0.ax',compose_codomain) ).

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

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

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

tff(8,plain,
    ( ~ ! [X: $i] : ( compose(codomain(X),X) = X )
    | ( compose(codomain(d),d) = d ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    compose(codomain(d),d) = d,
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( there_exists(compose(codomain(d),d))
  <=> there_exists(d) ),
    inference(monotonicity,[status(thm)],[9]) ).

tff(11,plain,
    ( there_exists(d)
  <=> there_exists(compose(codomain(d),d)) ),
    inference(symmetry,[status(thm)],[10]) ).

tff(12,plain,
    ( there_exists(compose(a,d))
  <=> there_exists(compose(a,d)) ),
    inference(rewrite,[status(thm)],]) ).

tff(13,axiom,
    there_exists(compose(a,d)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ad_exists) ).

tff(14,plain,
    there_exists(compose(a,d)),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( ~ there_exists(compose(X,Y))
          | ( domain(X) = codomain(Y) ) )
      <=> ( ~ there_exists(compose(X,Y))
          | ( domain(X) = codomain(Y) ) ) )),
    inference(bind,[status(th)],]) ).

tff(16,plain,
    ( ! [Y: $i,X: $i] :
        ( ~ there_exists(compose(X,Y))
        | ( domain(X) = codomain(Y) ) )
  <=> ! [Y: $i,X: $i] :
        ( ~ there_exists(compose(X,Y))
        | ( domain(X) = codomain(Y) ) ) ),
    inference(quant_intro,[status(thm)],[15]) ).

tff(17,plain,
    ( ! [Y: $i,X: $i] :
        ( ~ there_exists(compose(X,Y))
        | ( domain(X) = codomain(Y) ) )
  <=> ! [Y: $i,X: $i] :
        ( ~ there_exists(compose(X,Y))
        | ( domain(X) = codomain(Y) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(18,axiom,
    ! [Y: $i,X: $i] :
      ( ~ there_exists(compose(X,Y))
      | ( domain(X) = codomain(Y) ) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/CAT004-0.ax',domain_codomain_composition1) ).

tff(19,plain,
    ! [Y: $i,X: $i] :
      ( ~ there_exists(compose(X,Y))
      | ( domain(X) = codomain(Y) ) ),
    inference(modus_ponens,[status(thm)],[18,17]) ).

tff(20,plain,
    ! [Y: $i,X: $i] :
      ( ~ there_exists(compose(X,Y))
      | ( domain(X) = codomain(Y) ) ),
    inference(skolemize,[status(sab)],[19]) ).

tff(21,plain,
    ! [Y: $i,X: $i] :
      ( ~ there_exists(compose(X,Y))
      | ( domain(X) = codomain(Y) ) ),
    inference(modus_ponens,[status(thm)],[20,16]) ).

tff(22,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( ~ there_exists(compose(X,Y))
            | ( domain(X) = codomain(Y) ) )
      | ~ there_exists(compose(a,d))
      | ( domain(a) = codomain(d) ) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( ~ there_exists(compose(X,Y))
            | ( domain(X) = codomain(Y) ) )
      | ~ there_exists(compose(a,d))
      | ( domain(a) = codomain(d) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(23,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ~ there_exists(compose(X,Y))
          | ( domain(X) = codomain(Y) ) )
    | ~ there_exists(compose(a,d))
    | ( domain(a) = codomain(d) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(24,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( ~ there_exists(compose(X,Y))
          | ( domain(X) = codomain(Y) ) )
    | ~ there_exists(compose(a,d))
    | ( domain(a) = codomain(d) ) ),
    inference(modus_ponens,[status(thm)],[23,22]) ).

tff(25,plain,
    domain(a) = codomain(d),
    inference(unit_resolution,[status(thm)],[24,21,14]) ).

tff(26,plain,
    codomain(d) = domain(a),
    inference(symmetry,[status(thm)],[25]) ).

tff(27,plain,
    ( there_exists(codomain(d))
  <=> there_exists(domain(a)) ),
    inference(monotonicity,[status(thm)],[26]) ).

tff(28,plain,
    ( there_exists(domain(a))
  <=> there_exists(codomain(d)) ),
    inference(symmetry,[status(thm)],[27]) ).

tff(29,plain,
    ^ [Y: $i,X: $i] :
      refl(
        ( ( there_exists(domain(X))
          | ~ there_exists(compose(X,Y)) )
      <=> ( there_exists(domain(X))
          | ~ there_exists(compose(X,Y)) ) )),
    inference(bind,[status(th)],]) ).

tff(30,plain,
    ( ! [Y: $i,X: $i] :
        ( there_exists(domain(X))
        | ~ there_exists(compose(X,Y)) )
  <=> ! [Y: $i,X: $i] :
        ( there_exists(domain(X))
        | ~ there_exists(compose(X,Y)) ) ),
    inference(quant_intro,[status(thm)],[29]) ).

tff(31,plain,
    ( ! [Y: $i,X: $i] :
        ( there_exists(domain(X))
        | ~ there_exists(compose(X,Y)) )
  <=> ! [Y: $i,X: $i] :
        ( there_exists(domain(X))
        | ~ there_exists(compose(X,Y)) ) ),
    inference(rewrite,[status(thm)],]) ).

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

tff(33,plain,
    ( ! [Y: $i,X: $i] :
        ( ~ there_exists(compose(X,Y))
        | there_exists(domain(X)) )
  <=> ! [Y: $i,X: $i] :
        ( there_exists(domain(X))
        | ~ there_exists(compose(X,Y)) ) ),
    inference(quant_intro,[status(thm)],[32]) ).

tff(34,axiom,
    ! [Y: $i,X: $i] :
      ( ~ there_exists(compose(X,Y))
      | there_exists(domain(X)) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/CAT004-0.ax',composition_implies_domain) ).

tff(35,plain,
    ! [Y: $i,X: $i] :
      ( there_exists(domain(X))
      | ~ there_exists(compose(X,Y)) ),
    inference(modus_ponens,[status(thm)],[34,33]) ).

tff(36,plain,
    ! [Y: $i,X: $i] :
      ( there_exists(domain(X))
      | ~ there_exists(compose(X,Y)) ),
    inference(modus_ponens,[status(thm)],[35,31]) ).

tff(37,plain,
    ! [Y: $i,X: $i] :
      ( there_exists(domain(X))
      | ~ there_exists(compose(X,Y)) ),
    inference(skolemize,[status(sab)],[36]) ).

tff(38,plain,
    ! [Y: $i,X: $i] :
      ( there_exists(domain(X))
      | ~ there_exists(compose(X,Y)) ),
    inference(modus_ponens,[status(thm)],[37,30]) ).

tff(39,plain,
    ( ( ~ ! [Y: $i,X: $i] :
            ( there_exists(domain(X))
            | ~ there_exists(compose(X,Y)) )
      | there_exists(domain(a))
      | ~ there_exists(compose(a,d)) )
  <=> ( ~ ! [Y: $i,X: $i] :
            ( there_exists(domain(X))
            | ~ there_exists(compose(X,Y)) )
      | there_exists(domain(a))
      | ~ there_exists(compose(a,d)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(40,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( there_exists(domain(X))
          | ~ there_exists(compose(X,Y)) )
    | there_exists(domain(a))
    | ~ there_exists(compose(a,d)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(41,plain,
    ( ~ ! [Y: $i,X: $i] :
          ( there_exists(domain(X))
          | ~ there_exists(compose(X,Y)) )
    | there_exists(domain(a))
    | ~ there_exists(compose(a,d)) ),
    inference(modus_ponens,[status(thm)],[40,39]) ).

tff(42,plain,
    there_exists(domain(a)),
    inference(unit_resolution,[status(thm)],[41,38,14]) ).

tff(43,plain,
    there_exists(codomain(d)),
    inference(modus_ponens,[status(thm)],[42,28]) ).

tff(44,plain,
    ^ [X: $i] :
      refl(
        ( ( there_exists(X)
          | ~ there_exists(codomain(X)) )
      <=> ( there_exists(X)
          | ~ there_exists(codomain(X)) ) )),
    inference(bind,[status(th)],]) ).

tff(45,plain,
    ( ! [X: $i] :
        ( there_exists(X)
        | ~ there_exists(codomain(X)) )
  <=> ! [X: $i] :
        ( there_exists(X)
        | ~ there_exists(codomain(X)) ) ),
    inference(quant_intro,[status(thm)],[44]) ).

tff(46,plain,
    ( ! [X: $i] :
        ( there_exists(X)
        | ~ there_exists(codomain(X)) )
  <=> ! [X: $i] :
        ( there_exists(X)
        | ~ there_exists(codomain(X)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(47,plain,
    ^ [X: $i] :
      rewrite(
        ( ( ~ there_exists(codomain(X))
          | there_exists(X) )
      <=> ( there_exists(X)
          | ~ there_exists(codomain(X)) ) )),
    inference(bind,[status(th)],]) ).

tff(48,plain,
    ( ! [X: $i] :
        ( ~ there_exists(codomain(X))
        | there_exists(X) )
  <=> ! [X: $i] :
        ( there_exists(X)
        | ~ there_exists(codomain(X)) ) ),
    inference(quant_intro,[status(thm)],[47]) ).

tff(49,axiom,
    ! [X: $i] :
      ( ~ there_exists(codomain(X))
      | there_exists(X) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/CAT004-0.ax',codomain_has_elements) ).

tff(50,plain,
    ! [X: $i] :
      ( there_exists(X)
      | ~ there_exists(codomain(X)) ),
    inference(modus_ponens,[status(thm)],[49,48]) ).

tff(51,plain,
    ! [X: $i] :
      ( there_exists(X)
      | ~ there_exists(codomain(X)) ),
    inference(modus_ponens,[status(thm)],[50,46]) ).

tff(52,plain,
    ! [X: $i] :
      ( there_exists(X)
      | ~ there_exists(codomain(X)) ),
    inference(skolemize,[status(sab)],[51]) ).

tff(53,plain,
    ! [X: $i] :
      ( there_exists(X)
      | ~ there_exists(codomain(X)) ),
    inference(modus_ponens,[status(thm)],[52,45]) ).

tff(54,plain,
    ( ( ~ ! [X: $i] :
            ( there_exists(X)
            | ~ there_exists(codomain(X)) )
      | there_exists(d)
      | ~ there_exists(codomain(d)) )
  <=> ( ~ ! [X: $i] :
            ( there_exists(X)
            | ~ there_exists(codomain(X)) )
      | there_exists(d)
      | ~ there_exists(codomain(d)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(55,plain,
    ( ~ ! [X: $i] :
          ( there_exists(X)
          | ~ there_exists(codomain(X)) )
    | there_exists(d)
    | ~ there_exists(codomain(d)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(56,plain,
    ( ~ ! [X: $i] :
          ( there_exists(X)
          | ~ there_exists(codomain(X)) )
    | there_exists(d)
    | ~ there_exists(codomain(d)) ),
    inference(modus_ponens,[status(thm)],[55,54]) ).

tff(57,plain,
    ( there_exists(d)
    | ~ there_exists(codomain(d)) ),
    inference(unit_resolution,[status(thm)],[56,53]) ).

tff(58,plain,
    there_exists(d),
    inference(unit_resolution,[status(thm)],[57,43]) ).

tff(59,plain,
    there_exists(compose(codomain(d),d)),
    inference(modus_ponens,[status(thm)],[58,11]) ).

tff(60,plain,
    ( ( d = domain(a) )
  <=> ( domain(a) = d ) ),
    inference(commutativity,[status(thm)],]) ).

tff(61,plain,
    ( ( compose(codomain(d),d) = codomain(d) )
  <=> ( d = domain(a) ) ),
    inference(monotonicity,[status(thm)],[9,26]) ).

tff(62,plain,
    ( ( compose(codomain(d),d) = codomain(d) )
  <=> ( domain(a) = d ) ),
    inference(transitivity,[status(thm)],[61,60]) ).

tff(63,plain,
    ( ( domain(a) = d )
  <=> ( compose(codomain(d),d) = codomain(d) ) ),
    inference(symmetry,[status(thm)],[62]) ).

tff(64,plain,
    ( ( domain(a) != d )
  <=> ( compose(codomain(d),d) != codomain(d) ) ),
    inference(monotonicity,[status(thm)],[63]) ).

tff(65,plain,
    ( ( domain(a) != d )
  <=> ( domain(a) != d ) ),
    inference(rewrite,[status(thm)],]) ).

tff(66,axiom,
    domain(a) != d,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_domain_of_a_is_d) ).

tff(67,plain,
    domain(a) != d,
    inference(modus_ponens,[status(thm)],[66,65]) ).

tff(68,plain,
    compose(codomain(d),d) != codomain(d),
    inference(modus_ponens,[status(thm)],[67,64]) ).

tff(69,plain,
    ^ [X: $i] :
      refl(
        ( ( ~ there_exists(compose(X,d))
          | ( compose(X,d) = X ) )
      <=> ( ~ there_exists(compose(X,d))
          | ( compose(X,d) = X ) ) )),
    inference(bind,[status(th)],]) ).

tff(70,plain,
    ( ! [X: $i] :
        ( ~ there_exists(compose(X,d))
        | ( compose(X,d) = X ) )
  <=> ! [X: $i] :
        ( ~ there_exists(compose(X,d))
        | ( compose(X,d) = X ) ) ),
    inference(quant_intro,[status(thm)],[69]) ).

tff(71,plain,
    ( ! [X: $i] :
        ( ~ there_exists(compose(X,d))
        | ( compose(X,d) = X ) )
  <=> ! [X: $i] :
        ( ~ there_exists(compose(X,d))
        | ( compose(X,d) = X ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(72,axiom,
    ! [X: $i] :
      ( ~ there_exists(compose(X,d))
      | ( compose(X,d) = X ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',xd_equals_x) ).

tff(73,plain,
    ! [X: $i] :
      ( ~ there_exists(compose(X,d))
      | ( compose(X,d) = X ) ),
    inference(modus_ponens,[status(thm)],[72,71]) ).

tff(74,plain,
    ! [X: $i] :
      ( ~ there_exists(compose(X,d))
      | ( compose(X,d) = X ) ),
    inference(skolemize,[status(sab)],[73]) ).

tff(75,plain,
    ! [X: $i] :
      ( ~ there_exists(compose(X,d))
      | ( compose(X,d) = X ) ),
    inference(modus_ponens,[status(thm)],[74,70]) ).

tff(76,plain,
    ( ( ~ ! [X: $i] :
            ( ~ there_exists(compose(X,d))
            | ( compose(X,d) = X ) )
      | ~ there_exists(compose(codomain(d),d))
      | ( compose(codomain(d),d) = codomain(d) ) )
  <=> ( ~ ! [X: $i] :
            ( ~ there_exists(compose(X,d))
            | ( compose(X,d) = X ) )
      | ~ there_exists(compose(codomain(d),d))
      | ( compose(codomain(d),d) = codomain(d) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(77,plain,
    ( ~ ! [X: $i] :
          ( ~ there_exists(compose(X,d))
          | ( compose(X,d) = X ) )
    | ~ there_exists(compose(codomain(d),d))
    | ( compose(codomain(d),d) = codomain(d) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(78,plain,
    ( ~ ! [X: $i] :
          ( ~ there_exists(compose(X,d))
          | ( compose(X,d) = X ) )
    | ~ there_exists(compose(codomain(d),d))
    | ( compose(codomain(d),d) = codomain(d) ) ),
    inference(modus_ponens,[status(thm)],[77,76]) ).

tff(79,plain,
    ( ~ there_exists(compose(codomain(d),d))
    | ( compose(codomain(d),d) = codomain(d) ) ),
    inference(unit_resolution,[status(thm)],[78,75]) ).

tff(80,plain,
    $false,
    inference(unit_resolution,[status(thm)],[79,68,59]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.05/0.10  % Problem  : CAT005-4 : TPTP v8.1.0. Released v1.0.0.
% 0.05/0.11  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.10/0.31  % Computer : n017.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 : Tue Aug 30 05:25:20 EDT 2022
% 0.10/0.31  % CPUTime  : 
% 0.15/0.32  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.15/0.32  Usage: tptp [options] [-file:]file
% 0.15/0.32    -h, -?       prints this message.
% 0.15/0.32    -smt2        print SMT-LIB2 benchmark.
% 0.15/0.32    -m, -model   generate model.
% 0.15/0.32    -p, -proof   generate proof.
% 0.15/0.32    -c, -core    generate unsat core of named formulas.
% 0.15/0.32    -st, -statistics display statistics.
% 0.15/0.32    -t:timeout   set timeout (in second).
% 0.15/0.32    -smt2status  display status in smt2 format instead of SZS.
% 0.15/0.32    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.15/0.32    -<param>:<value> configuration parameter and value.
% 0.15/0.32    -o:<output-file> file to place output in.
% 0.15/0.37  % SZS status Unsatisfiable
% 0.15/0.37  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------