TSTP Solution File: GRP148-1 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : GRP148-1 : TPTP v8.1.0. Bugfixed v1.2.1.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n019.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 22:26:23 EDT 2022

% Result   : Unsatisfiable 0.14s 0.40s
% Output   : Proof 0.14s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   19
% Syntax   : Number of formulae    :   39 (  25 unt;   5 typ;   0 def)
%            Number of atoms       :   47 (  44 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   17 (   6   ~;   2   |;   0   &)
%                                         (   9 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of FOOLs       :    2 (   2 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    4 (   2   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   3 con; 0-2 aty)
%            Number of variables   :   50 (  45   !;   0   ?;  50   :)

% Comments : 
%------------------------------------------------------------------------------
tff(least_upper_bound_type,type,
    least_upper_bound: ( $i * $i ) > $i ).

tff(b_type,type,
    b: $i ).

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

tff(greatest_lower_bound_type,type,
    greatest_lower_bound: ( $i * $i ) > $i ).

tff(c_type,type,
    c: $i ).

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

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

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

tff(4,axiom,
    ! [Y: $i,X: $i] : ( greatest_lower_bound(X,least_upper_bound(X,Y)) = X ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP004-2.ax',glb_absorbtion) ).

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

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

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

tff(8,plain,
    ( ~ ! [Y: $i,X: $i] : ( greatest_lower_bound(X,least_upper_bound(X,Y)) = X )
    | ( greatest_lower_bound(least_upper_bound(a,b),least_upper_bound(least_upper_bound(a,b),c)) = least_upper_bound(a,b) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    greatest_lower_bound(least_upper_bound(a,b),least_upper_bound(least_upper_bound(a,b),c)) = least_upper_bound(a,b),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ^ [Z: $i,Y: $i,X: $i] :
      refl(
        ( ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
      <=> ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ) )),
    inference(bind,[status(th)],]) ).

tff(11,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ) ),
    inference(quant_intro,[status(thm)],[10]) ).

tff(12,plain,
    ( ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
  <=> ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(13,axiom,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    file('/export/starexec/sandbox/benchmark/Axioms/GRP004-2.ax',associativity_of_lub) ).

tff(14,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(skolemize,[status(sab)],[14]) ).

tff(16,plain,
    ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) ),
    inference(modus_ponens,[status(thm)],[15,11]) ).

tff(17,plain,
    ( ~ ! [Z: $i,Y: $i,X: $i] : ( least_upper_bound(X,least_upper_bound(Y,Z)) = least_upper_bound(least_upper_bound(X,Y),Z) )
    | ( least_upper_bound(a,least_upper_bound(b,c)) = least_upper_bound(least_upper_bound(a,b),c) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(18,plain,
    least_upper_bound(a,least_upper_bound(b,c)) = least_upper_bound(least_upper_bound(a,b),c),
    inference(unit_resolution,[status(thm)],[17,16]) ).

tff(19,plain,
    ( ( least_upper_bound(b,c) = c )
  <=> ( least_upper_bound(b,c) = c ) ),
    inference(rewrite,[status(thm)],]) ).

tff(20,axiom,
    least_upper_bound(b,c) = c,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax_lub1c_2) ).

tff(21,plain,
    least_upper_bound(b,c) = c,
    inference(modus_ponens,[status(thm)],[20,19]) ).

tff(22,plain,
    least_upper_bound(a,least_upper_bound(b,c)) = least_upper_bound(a,c),
    inference(monotonicity,[status(thm)],[21]) ).

tff(23,plain,
    least_upper_bound(a,c) = least_upper_bound(a,least_upper_bound(b,c)),
    inference(symmetry,[status(thm)],[22]) ).

tff(24,plain,
    ( ( least_upper_bound(a,c) = c )
  <=> ( least_upper_bound(a,c) = c ) ),
    inference(rewrite,[status(thm)],]) ).

tff(25,axiom,
    least_upper_bound(a,c) = c,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax_lub1c_1) ).

tff(26,plain,
    least_upper_bound(a,c) = c,
    inference(modus_ponens,[status(thm)],[25,24]) ).

tff(27,plain,
    c = least_upper_bound(a,c),
    inference(symmetry,[status(thm)],[26]) ).

tff(28,plain,
    c = least_upper_bound(least_upper_bound(a,b),c),
    inference(transitivity,[status(thm)],[27,23,18]) ).

tff(29,plain,
    greatest_lower_bound(least_upper_bound(a,b),c) = greatest_lower_bound(least_upper_bound(a,b),least_upper_bound(least_upper_bound(a,b),c)),
    inference(monotonicity,[status(thm)],[28]) ).

tff(30,plain,
    greatest_lower_bound(least_upper_bound(a,b),c) = least_upper_bound(a,b),
    inference(transitivity,[status(thm)],[29,9]) ).

tff(31,plain,
    ( ( greatest_lower_bound(least_upper_bound(a,b),c) != least_upper_bound(a,b) )
  <=> ( greatest_lower_bound(least_upper_bound(a,b),c) != least_upper_bound(a,b) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(32,axiom,
    greatest_lower_bound(least_upper_bound(a,b),c) != least_upper_bound(a,b),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_ax_lub1c) ).

tff(33,plain,
    greatest_lower_bound(least_upper_bound(a,b),c) != least_upper_bound(a,b),
    inference(modus_ponens,[status(thm)],[32,31]) ).

tff(34,plain,
    $false,
    inference(unit_resolution,[status(thm)],[33,30]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.13  % Problem  : GRP148-1 : TPTP v8.1.0. Bugfixed v1.2.1.
% 0.10/0.14  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.14/0.35  % Computer : n019.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 : Wed Aug 31 15:15:50 EDT 2022
% 0.14/0.35  % CPUTime  : 
% 0.14/0.36  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.14/0.36  Usage: tptp [options] [-file:]file
% 0.14/0.36    -h, -?       prints this message.
% 0.14/0.36    -smt2        print SMT-LIB2 benchmark.
% 0.14/0.36    -m, -model   generate model.
% 0.14/0.36    -p, -proof   generate proof.
% 0.14/0.36    -c, -core    generate unsat core of named formulas.
% 0.14/0.36    -st, -statistics display statistics.
% 0.14/0.36    -t:timeout   set timeout (in second).
% 0.14/0.36    -smt2status  display status in smt2 format instead of SZS.
% 0.14/0.36    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.14/0.36    -<param>:<value> configuration parameter and value.
% 0.14/0.36    -o:<output-file> file to place output in.
% 0.14/0.40  % SZS status Unsatisfiable
% 0.14/0.40  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------