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

View Problem - Process Solution

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

% Computer : n018.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 : Sun Sep 18 04:55:11 EDT 2022

% Result   : Unsatisfiable 0.13s 0.38s
% Output   : Proof 0.13s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   26
% Syntax   : Number of formulae    :   60 (  30 unt;   8 typ;   0 def)
%            Number of atoms       :   96 (  31 equ)
%            Maximal formula atoms :    8 (   1 avg)
%            Number of connectives :   76 (  35   ~;  27   |;   0   &)
%                                         (  14 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    5 (   2 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    7 (   5   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-2 aty)
%            Number of variables   :   69 (  63   !;   0   ?;  69   :)

% Comments : 
%------------------------------------------------------------------------------
tff(axiom_type,type,
    axiom: $i > $o ).

tff(implies_type,type,
    implies: ( $i * $i ) > $i ).

tff(or_type,type,
    or: ( $i * $i ) > $i ).

tff(r_type,type,
    r: $i ).

tff(not_type,type,
    not: $i > $i ).

tff(p_type,type,
    p: $i ).

tff(q_type,type,
    q: $i ).

tff(theorem_type,type,
    theorem: $i > $o ).

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

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

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

tff(4,axiom,
    ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',implies_definition) ).

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

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

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

tff(8,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(q,implies(p,r)) = or(not(q),implies(p,r)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    implies(q,implies(p,r)) = or(not(q),implies(p,r)),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    or(not(q),implies(p,r)) = implies(q,implies(p,r)),
    inference(symmetry,[status(thm)],[9]) ).

tff(11,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(p,r) = or(not(p),r) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(12,plain,
    implies(p,r) = or(not(p),r),
    inference(unit_resolution,[status(thm)],[11,7]) ).

tff(13,plain,
    or(not(p),r) = implies(p,r),
    inference(symmetry,[status(thm)],[12]) ).

tff(14,plain,
    or(not(q),or(not(p),r)) = or(not(q),implies(p,r)),
    inference(monotonicity,[status(thm)],[13]) ).

tff(15,plain,
    or(not(q),or(not(p),r)) = implies(q,implies(p,r)),
    inference(transitivity,[status(thm)],[14,10]) ).

tff(16,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(p,implies(q,r)) = or(not(p),implies(q,r)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(17,plain,
    implies(p,implies(q,r)) = or(not(p),implies(q,r)),
    inference(unit_resolution,[status(thm)],[16,7]) ).

tff(18,plain,
    or(not(p),implies(q,r)) = implies(p,implies(q,r)),
    inference(symmetry,[status(thm)],[17]) ).

tff(19,plain,
    ( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
    | ( implies(q,r) = or(not(q),r) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(20,plain,
    implies(q,r) = or(not(q),r),
    inference(unit_resolution,[status(thm)],[19,7]) ).

tff(21,plain,
    or(not(q),r) = implies(q,r),
    inference(symmetry,[status(thm)],[20]) ).

tff(22,plain,
    or(not(p),or(not(q),r)) = or(not(p),implies(q,r)),
    inference(monotonicity,[status(thm)],[21]) ).

tff(23,plain,
    or(not(p),or(not(q),r)) = implies(p,implies(q,r)),
    inference(transitivity,[status(thm)],[22,18]) ).

tff(24,plain,
    implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r))) = implies(implies(p,implies(q,r)),implies(q,implies(p,r))),
    inference(monotonicity,[status(thm)],[23,15]) ).

tff(25,plain,
    ( axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r))))
  <=> axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(monotonicity,[status(thm)],[24]) ).

tff(26,plain,
    ( axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
  <=> axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))) ),
    inference(symmetry,[status(thm)],[25]) ).

tff(27,plain,
    ( ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
  <=> ~ axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))) ),
    inference(monotonicity,[status(thm)],[26]) ).

tff(28,plain,
    ( ~ theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
  <=> ~ theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(rewrite,[status(thm)],]) ).

tff(29,axiom,
    ~ theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_this) ).

tff(30,plain,
    ~ theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))),
    inference(modus_ponens,[status(thm)],[29,28]) ).

tff(31,plain,
    ^ [X: $i] :
      refl(
        ( ( theorem(X)
          | ~ axiom(X) )
      <=> ( theorem(X)
          | ~ axiom(X) ) )),
    inference(bind,[status(th)],]) ).

tff(32,plain,
    ( ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) )
  <=> ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) ) ),
    inference(quant_intro,[status(thm)],[31]) ).

tff(33,plain,
    ( ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) )
  <=> ! [X: $i] :
        ( theorem(X)
        | ~ axiom(X) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(34,axiom,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',rule_1) ).

tff(35,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[34,33]) ).

tff(36,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(skolemize,[status(sab)],[35]) ).

tff(37,plain,
    ! [X: $i] :
      ( theorem(X)
      | ~ axiom(X) ),
    inference(modus_ponens,[status(thm)],[36,32]) ).

tff(38,plain,
    ( ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
      | ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) )
  <=> ( ~ ! [X: $i] :
            ( theorem(X)
            | ~ axiom(X) )
      | theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
      | ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(39,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
    | ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(quant_inst,[status(thm)],]) ).

tff(40,plain,
    ( ~ ! [X: $i] :
          ( theorem(X)
          | ~ axiom(X) )
    | theorem(implies(implies(p,implies(q,r)),implies(q,implies(p,r))))
    | ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))) ),
    inference(modus_ponens,[status(thm)],[39,38]) ).

tff(41,plain,
    ~ axiom(implies(implies(p,implies(q,r)),implies(q,implies(p,r)))),
    inference(unit_resolution,[status(thm)],[40,37,30]) ).

tff(42,plain,
    ~ axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))),
    inference(modus_ponens,[status(thm)],[41,27]) ).

tff(43,plain,
    ^ [B: $i,A: $i,C: $i] :
      refl(
        ( axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
      <=> axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) )),
    inference(bind,[status(th)],]) ).

tff(44,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
    inference(quant_intro,[status(thm)],[43]) ).

tff(45,plain,
    ( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
  <=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
    inference(rewrite,[status(thm)],]) ).

tff(46,axiom,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_5) ).

tff(47,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[46,45]) ).

tff(48,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(skolemize,[status(sab)],[47]) ).

tff(49,plain,
    ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
    inference(modus_ponens,[status(thm)],[48,44]) ).

tff(50,plain,
    ( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
    | axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))) ),
    inference(quant_inst,[status(thm)],]) ).

tff(51,plain,
    axiom(implies(or(not(p),or(not(q),r)),or(not(q),or(not(p),r)))),
    inference(unit_resolution,[status(thm)],[50,49]) ).

tff(52,plain,
    $false,
    inference(unit_resolution,[status(thm)],[51,42]) ).

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