TSTP Solution File: FLD021-3 by Z3---4.8.9.0

View Problem - Process Solution

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

% Computer : n006.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 : Fri Sep 16 14:55:39 EDT 2022

% Result   : Unsatisfiable 0.12s 0.39s
% Output   : Proof 0.12s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   30
% Syntax   : Number of formulae    :   59 (  15 unt;   5 typ;   0 def)
%            Number of atoms       :  283 (   0 equ)
%            Maximal formula atoms :   15 (   5 avg)
%            Number of connectives :  396 ( 185   ~; 181   |;   0   &)
%                                         (  30 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   14 (   6 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :   18 (  18 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    4 (   2   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   1 prp; 0-3 aty)
%            Number of functors    :    3 (   3 usr;   3 con; 0-0 aty)
%            Number of variables   :  194 ( 174   !;   0   ?; 194   :)

% Comments : 
%------------------------------------------------------------------------------
tff(sum_type,type,
    sum: ( $i * $i * $i ) > $o ).

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

tff(additive_identity_type,type,
    additive_identity: $i ).

tff(defined_type,type,
    defined: $i > $o ).

tff(m_type,type,
    m: $i ).

tff(1,plain,
    ( defined(a)
  <=> defined(a) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    defined(a),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_is_defined) ).

tff(3,plain,
    defined(a),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [X: $i] :
      refl(
        ( ( ~ defined(X)
          | sum(additive_identity,X,X) )
      <=> ( ~ defined(X)
          | sum(additive_identity,X,X) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [X: $i] :
        ( ~ defined(X)
        | sum(additive_identity,X,X) )
  <=> ! [X: $i] :
        ( ~ defined(X)
        | sum(additive_identity,X,X) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [X: $i] :
        ( ~ defined(X)
        | sum(additive_identity,X,X) )
  <=> ! [X: $i] :
        ( ~ defined(X)
        | sum(additive_identity,X,X) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ^ [X: $i] :
      rewrite(
        ( ( sum(additive_identity,X,X)
          | ~ defined(X) )
      <=> ( ~ defined(X)
          | sum(additive_identity,X,X) ) )),
    inference(bind,[status(th)],]) ).

tff(8,plain,
    ( ! [X: $i] :
        ( sum(additive_identity,X,X)
        | ~ defined(X) )
  <=> ! [X: $i] :
        ( ~ defined(X)
        | sum(additive_identity,X,X) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

tff(9,axiom,
    ! [X: $i] :
      ( sum(additive_identity,X,X)
      | ~ defined(X) ),
    file('/export/starexec/sandbox/benchmark/Axioms/FLD002-0.ax',existence_of_identity_addition) ).

tff(10,plain,
    ! [X: $i] :
      ( ~ defined(X)
      | sum(additive_identity,X,X) ),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ! [X: $i] :
      ( ~ defined(X)
      | sum(additive_identity,X,X) ),
    inference(modus_ponens,[status(thm)],[10,6]) ).

tff(12,plain,
    ! [X: $i] :
      ( ~ defined(X)
      | sum(additive_identity,X,X) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [X: $i] :
      ( ~ defined(X)
      | sum(additive_identity,X,X) ),
    inference(modus_ponens,[status(thm)],[12,5]) ).

tff(14,plain,
    ( ( ~ ! [X: $i] :
            ( ~ defined(X)
            | sum(additive_identity,X,X) )
      | ~ defined(a)
      | sum(additive_identity,a,a) )
  <=> ( ~ ! [X: $i] :
            ( ~ defined(X)
            | sum(additive_identity,X,X) )
      | ~ defined(a)
      | sum(additive_identity,a,a) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( ~ ! [X: $i] :
          ( ~ defined(X)
          | sum(additive_identity,X,X) )
    | ~ defined(a)
    | sum(additive_identity,a,a) ),
    inference(quant_inst,[status(thm)],]) ).

tff(16,plain,
    ( ~ ! [X: $i] :
          ( ~ defined(X)
          | sum(additive_identity,X,X) )
    | ~ defined(a)
    | sum(additive_identity,a,a) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    sum(additive_identity,a,a),
    inference(unit_resolution,[status(thm)],[16,13,3]) ).

tff(18,plain,
    ( sum(additive_identity,m,additive_identity)
  <=> sum(additive_identity,m,additive_identity) ),
    inference(rewrite,[status(thm)],]) ).

tff(19,axiom,
    sum(additive_identity,m,additive_identity),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',sum_3) ).

tff(20,plain,
    sum(additive_identity,m,additive_identity),
    inference(modus_ponens,[status(thm)],[19,18]) ).

tff(21,plain,
    ^ [Z: $i,Y: $i,X: $i] :
      refl(
        ( ( ~ sum(X,Y,Z)
          | sum(Y,X,Z) )
      <=> ( ~ sum(X,Y,Z)
          | sum(Y,X,Z) ) )),
    inference(bind,[status(th)],]) ).

tff(22,plain,
    ( ! [Z: $i,Y: $i,X: $i] :
        ( ~ sum(X,Y,Z)
        | sum(Y,X,Z) )
  <=> ! [Z: $i,Y: $i,X: $i] :
        ( ~ sum(X,Y,Z)
        | sum(Y,X,Z) ) ),
    inference(quant_intro,[status(thm)],[21]) ).

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

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

tff(25,plain,
    ( ! [Z: $i,Y: $i,X: $i] :
        ( sum(Y,X,Z)
        | ~ sum(X,Y,Z) )
  <=> ! [Z: $i,Y: $i,X: $i] :
        ( ~ sum(X,Y,Z)
        | sum(Y,X,Z) ) ),
    inference(quant_intro,[status(thm)],[24]) ).

tff(26,axiom,
    ! [Z: $i,Y: $i,X: $i] :
      ( sum(Y,X,Z)
      | ~ sum(X,Y,Z) ),
    file('/export/starexec/sandbox/benchmark/Axioms/FLD002-0.ax',commutativity_addition) ).

tff(27,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ sum(X,Y,Z)
      | sum(Y,X,Z) ),
    inference(modus_ponens,[status(thm)],[26,25]) ).

tff(28,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ sum(X,Y,Z)
      | sum(Y,X,Z) ),
    inference(modus_ponens,[status(thm)],[27,23]) ).

tff(29,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ sum(X,Y,Z)
      | sum(Y,X,Z) ),
    inference(skolemize,[status(sab)],[28]) ).

tff(30,plain,
    ! [Z: $i,Y: $i,X: $i] :
      ( ~ sum(X,Y,Z)
      | sum(Y,X,Z) ),
    inference(modus_ponens,[status(thm)],[29,22]) ).

tff(31,plain,
    ( ( ~ ! [Z: $i,Y: $i,X: $i] :
            ( ~ sum(X,Y,Z)
            | sum(Y,X,Z) )
      | ~ sum(additive_identity,m,additive_identity)
      | sum(m,additive_identity,additive_identity) )
  <=> ( ~ ! [Z: $i,Y: $i,X: $i] :
            ( ~ sum(X,Y,Z)
            | sum(Y,X,Z) )
      | ~ sum(additive_identity,m,additive_identity)
      | sum(m,additive_identity,additive_identity) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(32,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] :
          ( ~ sum(X,Y,Z)
          | sum(Y,X,Z) )
    | ~ sum(additive_identity,m,additive_identity)
    | sum(m,additive_identity,additive_identity) ),
    inference(quant_inst,[status(thm)],]) ).

tff(33,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] :
          ( ~ sum(X,Y,Z)
          | sum(Y,X,Z) )
    | ~ sum(additive_identity,m,additive_identity)
    | sum(m,additive_identity,additive_identity) ),
    inference(modus_ponens,[status(thm)],[32,31]) ).

tff(34,plain,
    sum(m,additive_identity,additive_identity),
    inference(unit_resolution,[status(thm)],[33,30,20]) ).

tff(35,plain,
    ( ~ sum(m,a,a)
  <=> ~ sum(m,a,a) ),
    inference(rewrite,[status(thm)],]) ).

tff(36,axiom,
    ~ sum(m,a,a),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_sum_4) ).

tff(37,plain,
    ~ sum(m,a,a),
    inference(modus_ponens,[status(thm)],[36,35]) ).

tff(38,plain,
    ^ [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      refl(
        ( ( ~ sum(U,Z,W)
          | ~ sum(Y,Z,V)
          | ~ sum(X,Y,U)
          | sum(X,V,W) )
      <=> ( ~ sum(U,Z,W)
          | ~ sum(Y,Z,V)
          | ~ sum(X,Y,U)
          | sum(X,V,W) ) )),
    inference(bind,[status(th)],]) ).

tff(39,plain,
    ( ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ sum(U,Z,W)
        | ~ sum(Y,Z,V)
        | ~ sum(X,Y,U)
        | sum(X,V,W) )
  <=> ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ sum(U,Z,W)
        | ~ sum(Y,Z,V)
        | ~ sum(X,Y,U)
        | sum(X,V,W) ) ),
    inference(quant_intro,[status(thm)],[38]) ).

tff(40,plain,
    ( ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ sum(U,Z,W)
        | ~ sum(Y,Z,V)
        | ~ sum(X,Y,U)
        | sum(X,V,W) )
  <=> ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ sum(U,Z,W)
        | ~ sum(Y,Z,V)
        | ~ sum(X,Y,U)
        | sum(X,V,W) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(41,plain,
    ^ [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      trans(
        monotonicity(
          trans(
            monotonicity(
              rewrite(
                ( ( sum(X,V,W)
                  | ~ sum(X,Y,U) )
              <=> ( ~ sum(X,Y,U)
                  | sum(X,V,W) ) )),
              ( ( sum(X,V,W)
                | ~ sum(X,Y,U)
                | ~ sum(Y,Z,V) )
            <=> ( ~ sum(X,Y,U)
                | sum(X,V,W)
                | ~ sum(Y,Z,V) ) )),
            rewrite(
              ( ( ~ sum(X,Y,U)
                | sum(X,V,W)
                | ~ sum(Y,Z,V) )
            <=> ( ~ sum(Y,Z,V)
                | ~ sum(X,Y,U)
                | sum(X,V,W) ) )),
            ( ( sum(X,V,W)
              | ~ sum(X,Y,U)
              | ~ sum(Y,Z,V) )
          <=> ( ~ sum(Y,Z,V)
              | ~ sum(X,Y,U)
              | sum(X,V,W) ) )),
          ( ( sum(X,V,W)
            | ~ sum(X,Y,U)
            | ~ sum(Y,Z,V)
            | ~ sum(U,Z,W) )
        <=> ( ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W)
            | ~ sum(U,Z,W) ) )),
        rewrite(
          ( ( ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W)
            | ~ sum(U,Z,W) )
        <=> ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) ) )),
        ( ( sum(X,V,W)
          | ~ sum(X,Y,U)
          | ~ sum(Y,Z,V)
          | ~ sum(U,Z,W) )
      <=> ( ~ sum(U,Z,W)
          | ~ sum(Y,Z,V)
          | ~ sum(X,Y,U)
          | sum(X,V,W) ) )),
    inference(bind,[status(th)],]) ).

tff(42,plain,
    ( ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( sum(X,V,W)
        | ~ sum(X,Y,U)
        | ~ sum(Y,Z,V)
        | ~ sum(U,Z,W) )
  <=> ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
        ( ~ sum(U,Z,W)
        | ~ sum(Y,Z,V)
        | ~ sum(X,Y,U)
        | sum(X,V,W) ) ),
    inference(quant_intro,[status(thm)],[41]) ).

tff(43,axiom,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( sum(X,V,W)
      | ~ sum(X,Y,U)
      | ~ sum(Y,Z,V)
      | ~ sum(U,Z,W) ),
    file('/export/starexec/sandbox/benchmark/Axioms/FLD002-0.ax',associativity_addition_1) ).

tff(44,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( ~ sum(U,Z,W)
      | ~ sum(Y,Z,V)
      | ~ sum(X,Y,U)
      | sum(X,V,W) ),
    inference(modus_ponens,[status(thm)],[43,42]) ).

tff(45,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( ~ sum(U,Z,W)
      | ~ sum(Y,Z,V)
      | ~ sum(X,Y,U)
      | sum(X,V,W) ),
    inference(modus_ponens,[status(thm)],[44,40]) ).

tff(46,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( ~ sum(U,Z,W)
      | ~ sum(Y,Z,V)
      | ~ sum(X,Y,U)
      | sum(X,V,W) ),
    inference(skolemize,[status(sab)],[45]) ).

tff(47,plain,
    ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
      ( ~ sum(U,Z,W)
      | ~ sum(Y,Z,V)
      | ~ sum(X,Y,U)
      | sum(X,V,W) ),
    inference(modus_ponens,[status(thm)],[46,39]) ).

tff(48,plain,
    ( ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | sum(m,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | ~ sum(additive_identity,a,a) )
  <=> ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | sum(m,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | ~ sum(additive_identity,a,a) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(49,plain,
    ( ( ~ sum(additive_identity,a,a)
      | ~ sum(additive_identity,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | sum(m,a,a) )
  <=> ( sum(m,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | ~ sum(additive_identity,a,a) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(50,plain,
    ( ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | ~ sum(additive_identity,a,a)
      | ~ sum(additive_identity,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | sum(m,a,a) )
  <=> ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | sum(m,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | ~ sum(additive_identity,a,a) ) ),
    inference(monotonicity,[status(thm)],[49]) ).

tff(51,plain,
    ( ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | ~ sum(additive_identity,a,a)
      | ~ sum(additive_identity,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | sum(m,a,a) )
  <=> ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
            ( ~ sum(U,Z,W)
            | ~ sum(Y,Z,V)
            | ~ sum(X,Y,U)
            | sum(X,V,W) )
      | sum(m,a,a)
      | ~ sum(m,additive_identity,additive_identity)
      | ~ sum(additive_identity,a,a) ) ),
    inference(transitivity,[status(thm)],[50,48]) ).

tff(52,plain,
    ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
          ( ~ sum(U,Z,W)
          | ~ sum(Y,Z,V)
          | ~ sum(X,Y,U)
          | sum(X,V,W) )
    | ~ sum(additive_identity,a,a)
    | ~ sum(additive_identity,a,a)
    | ~ sum(m,additive_identity,additive_identity)
    | sum(m,a,a) ),
    inference(quant_inst,[status(thm)],]) ).

tff(53,plain,
    ( ~ ! [W: $i,V: $i,Z: $i,Y: $i,U: $i,X: $i] :
          ( ~ sum(U,Z,W)
          | ~ sum(Y,Z,V)
          | ~ sum(X,Y,U)
          | sum(X,V,W) )
    | sum(m,a,a)
    | ~ sum(m,additive_identity,additive_identity)
    | ~ sum(additive_identity,a,a) ),
    inference(modus_ponens,[status(thm)],[52,51]) ).

tff(54,plain,
    $false,
    inference(unit_resolution,[status(thm)],[53,47,37,34,17]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.11  % Problem  : FLD021-3 : TPTP v8.1.0. Bugfixed v2.1.0.
% 0.10/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n006.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 : Wed Aug 31 02:34:54 EDT 2022
% 0.12/0.33  % 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.12/0.39  % SZS status Unsatisfiable
% 0.12/0.39  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------