TSTP Solution File: COM002-2 by Z3---4.8.9.0

View Problem - Process Solution

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

% Computer : n001.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 18:05:41 EDT 2022

% Result   : Unsatisfiable 0.20s 0.45s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :   49
% Syntax   : Number of formulae    :   89 (  24 unt;  10 typ;   0 def)
%            Number of atoms       :  350 (   0 equ)
%            Maximal formula atoms :   12 (   4 avg)
%            Number of connectives :  503 ( 237   ~; 234   |;   0   &)
%                                         (  32 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   5 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of FOOLs       :    5 (   5 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   5   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   5 con; 0-1 aty)
%            Number of variables   :  192 ( 178   !;   0   ?; 192   :)

% Comments : 
%------------------------------------------------------------------------------
tff(fails_type,type,
    fails: ( $i * $i ) > $o ).

tff(p8_type,type,
    p8: $i ).

tff(p3_type,type,
    p3: $i ).

tff(p7_type,type,
    p7: $i ).

tff(p6_type,type,
    p6: $i ).

tff(follows_type,type,
    follows: ( $i * $i ) > $o ).

tff(has_type,type,
    has: ( $i * $i ) > $o ).

tff(goto_type,type,
    goto: $i > $i ).

tff(loop_type,type,
    loop: $i ).

tff(labels_type,type,
    labels: ( $i * $i ) > $o ).

tff(1,plain,
    ( follows(p7,p6)
  <=> follows(p7,p6) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    follows(p7,p6),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_6_to_7) ).

tff(3,plain,
    follows(p7,p6),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [Goal_state: $i,Start_state: $i] :
      refl(
        ( ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
      <=> ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [Goal_state: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ follows(Goal_state,Start_state) )
  <=> ! [Goal_state: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ follows(Goal_state,Start_state) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [Goal_state: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ follows(Goal_state,Start_state) )
  <=> ! [Goal_state: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ follows(Goal_state,Start_state) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,axiom,
    ! [Goal_state: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ follows(Goal_state,Start_state) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',direct_success) ).

tff(8,plain,
    ! [Goal_state: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ follows(Goal_state,Start_state) ),
    inference(modus_ponens,[status(thm)],[7,6]) ).

tff(9,plain,
    ! [Goal_state: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ follows(Goal_state,Start_state) ),
    inference(skolemize,[status(sab)],[8]) ).

tff(10,plain,
    ! [Goal_state: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ follows(Goal_state,Start_state) ),
    inference(modus_ponens,[status(thm)],[9,5]) ).

tff(11,plain,
    ( ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p7,p6)
      | ~ follows(p7,p6) )
  <=> ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p7,p6)
      | ~ follows(p7,p6) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(12,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p7,p6)
    | ~ follows(p7,p6) ),
    inference(quant_inst,[status(thm)],]) ).

tff(13,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p7,p6)
    | ~ follows(p7,p6) ),
    inference(modus_ponens,[status(thm)],[12,11]) ).

tff(14,plain,
    ~ fails(p7,p6),
    inference(unit_resolution,[status(thm)],[13,10,3]) ).

tff(15,plain,
    ( follows(p6,p3)
  <=> follows(p6,p3) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,axiom,
    follows(p6,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_3_to_6) ).

tff(17,plain,
    follows(p6,p3),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    ( ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p6,p3)
      | ~ follows(p6,p3) )
  <=> ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p6,p3)
      | ~ follows(p6,p3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(19,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p6,p3)
    | ~ follows(p6,p3) ),
    inference(quant_inst,[status(thm)],]) ).

tff(20,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p6,p3)
    | ~ follows(p6,p3) ),
    inference(modus_ponens,[status(thm)],[19,18]) ).

tff(21,plain,
    ~ fails(p6,p3),
    inference(unit_resolution,[status(thm)],[20,10,17]) ).

tff(22,plain,
    ^ [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      refl(
        ( ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
      <=> ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) ) )),
    inference(bind,[status(th)],]) ).

tff(23,plain,
    ( ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( fails(Intermediate_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | ~ fails(Goal_state,Start_state) )
  <=> ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( fails(Intermediate_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | ~ fails(Goal_state,Start_state) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,plain,
    ( ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( fails(Intermediate_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | ~ fails(Goal_state,Start_state) )
  <=> ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( fails(Intermediate_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | ~ fails(Goal_state,Start_state) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(25,plain,
    ^ [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      rewrite(
        ( ( ~ fails(Goal_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | fails(Intermediate_state,Start_state) )
      <=> ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) ) )),
    inference(bind,[status(th)],]) ).

tff(26,plain,
    ( ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | fails(Intermediate_state,Start_state) )
  <=> ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
        ( fails(Intermediate_state,Start_state)
        | fails(Goal_state,Intermediate_state)
        | ~ fails(Goal_state,Start_state) ) ),
    inference(quant_intro,[status(thm)],[25]) ).

tff(27,axiom,
    ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | fails(Goal_state,Intermediate_state)
      | fails(Intermediate_state,Start_state) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transitivity_of_success) ).

tff(28,plain,
    ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      ( fails(Intermediate_state,Start_state)
      | fails(Goal_state,Intermediate_state)
      | ~ fails(Goal_state,Start_state) ),
    inference(modus_ponens,[status(thm)],[27,26]) ).

tff(29,plain,
    ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      ( fails(Intermediate_state,Start_state)
      | fails(Goal_state,Intermediate_state)
      | ~ fails(Goal_state,Start_state) ),
    inference(modus_ponens,[status(thm)],[28,24]) ).

tff(30,plain,
    ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      ( fails(Intermediate_state,Start_state)
      | fails(Goal_state,Intermediate_state)
      | ~ fails(Goal_state,Start_state) ),
    inference(skolemize,[status(sab)],[29]) ).

tff(31,plain,
    ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
      ( fails(Intermediate_state,Start_state)
      | fails(Goal_state,Intermediate_state)
      | ~ fails(Goal_state,Start_state) ),
    inference(modus_ponens,[status(thm)],[30,23]) ).

tff(32,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p6,p3)
      | fails(p7,p6)
      | ~ fails(p7,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p6,p3)
      | fails(p7,p6)
      | ~ fails(p7,p3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(33,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | fails(p6,p3)
    | fails(p7,p6)
    | ~ fails(p7,p3) ),
    inference(quant_inst,[status(thm)],]) ).

tff(34,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | fails(p6,p3)
    | fails(p7,p6)
    | ~ fails(p7,p3) ),
    inference(modus_ponens,[status(thm)],[33,32]) ).

tff(35,plain,
    ~ fails(p7,p3),
    inference(unit_resolution,[status(thm)],[34,31,21,14]) ).

tff(36,plain,
    ( follows(p8,p7)
  <=> follows(p8,p7) ),
    inference(rewrite,[status(thm)],]) ).

tff(37,axiom,
    follows(p8,p7),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_7_to_8) ).

tff(38,plain,
    follows(p8,p7),
    inference(modus_ponens,[status(thm)],[37,36]) ).

tff(39,plain,
    ( ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p8,p7)
      | ~ follows(p8,p7) )
  <=> ( ~ ! [Goal_state: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ follows(Goal_state,Start_state) )
      | ~ fails(p8,p7)
      | ~ follows(p8,p7) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(40,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p8,p7)
    | ~ follows(p8,p7) ),
    inference(quant_inst,[status(thm)],]) ).

tff(41,plain,
    ( ~ ! [Goal_state: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ follows(Goal_state,Start_state) )
    | ~ fails(p8,p7)
    | ~ follows(p8,p7) ),
    inference(modus_ponens,[status(thm)],[40,39]) ).

tff(42,plain,
    ~ fails(p8,p7),
    inference(unit_resolution,[status(thm)],[41,10,38]) ).

tff(43,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p7)
      | fails(p7,p3)
      | ~ fails(p8,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p7)
      | fails(p7,p3)
      | ~ fails(p8,p3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(44,plain,
    ( ( fails(p7,p3)
      | fails(p8,p7)
      | ~ fails(p8,p3) )
  <=> ( fails(p8,p7)
      | fails(p7,p3)
      | ~ fails(p8,p3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(45,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p7,p3)
      | fails(p8,p7)
      | ~ fails(p8,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p7)
      | fails(p7,p3)
      | ~ fails(p8,p3) ) ),
    inference(monotonicity,[status(thm)],[44]) ).

tff(46,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p7,p3)
      | fails(p8,p7)
      | ~ fails(p8,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p7)
      | fails(p7,p3)
      | ~ fails(p8,p3) ) ),
    inference(transitivity,[status(thm)],[45,43]) ).

tff(47,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | fails(p7,p3)
    | fails(p8,p7)
    | ~ fails(p8,p3) ),
    inference(quant_inst,[status(thm)],]) ).

tff(48,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | fails(p8,p7)
    | fails(p7,p3)
    | ~ fails(p8,p3) ),
    inference(modus_ponens,[status(thm)],[47,46]) ).

tff(49,plain,
    ~ fails(p8,p3),
    inference(unit_resolution,[status(thm)],[48,31,42,35]) ).

tff(50,plain,
    ( fails(p3,p3)
  <=> fails(p3,p3) ),
    inference(rewrite,[status(thm)],]) ).

tff(51,axiom,
    fails(p3,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_there_is_a_loop_through_p3) ).

tff(52,plain,
    fails(p3,p3),
    inference(modus_ponens,[status(thm)],[51,50]) ).

tff(53,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | ~ fails(p3,p3)
      | fails(p8,p3)
      | fails(p3,p8) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | ~ fails(p3,p3)
      | fails(p8,p3)
      | fails(p3,p8) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(54,plain,
    ( ( fails(p8,p3)
      | fails(p3,p8)
      | ~ fails(p3,p3) )
  <=> ( ~ fails(p3,p3)
      | fails(p8,p3)
      | fails(p3,p8) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(55,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p3)
      | fails(p3,p8)
      | ~ fails(p3,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | ~ fails(p3,p3)
      | fails(p8,p3)
      | fails(p3,p8) ) ),
    inference(monotonicity,[status(thm)],[54]) ).

tff(56,plain,
    ( ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | fails(p8,p3)
      | fails(p3,p8)
      | ~ fails(p3,p3) )
  <=> ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
            ( fails(Intermediate_state,Start_state)
            | fails(Goal_state,Intermediate_state)
            | ~ fails(Goal_state,Start_state) )
      | ~ fails(p3,p3)
      | fails(p8,p3)
      | fails(p3,p8) ) ),
    inference(transitivity,[status(thm)],[55,53]) ).

tff(57,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | fails(p8,p3)
    | fails(p3,p8)
    | ~ fails(p3,p3) ),
    inference(quant_inst,[status(thm)],]) ).

tff(58,plain,
    ( ~ ! [Goal_state: $i,Intermediate_state: $i,Start_state: $i] :
          ( fails(Intermediate_state,Start_state)
          | fails(Goal_state,Intermediate_state)
          | ~ fails(Goal_state,Start_state) )
    | ~ fails(p3,p3)
    | fails(p8,p3)
    | fails(p3,p8) ),
    inference(modus_ponens,[status(thm)],[57,56]) ).

tff(59,plain,
    fails(p3,p8),
    inference(unit_resolution,[status(thm)],[58,31,52,49]) ).

tff(60,plain,
    ( has(p8,goto(loop))
  <=> has(p8,goto(loop)) ),
    inference(rewrite,[status(thm)],]) ).

tff(61,axiom,
    has(p8,goto(loop)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_8) ).

tff(62,plain,
    has(p8,goto(loop)),
    inference(modus_ponens,[status(thm)],[61,60]) ).

tff(63,plain,
    ( labels(loop,p3)
  <=> labels(loop,p3) ),
    inference(rewrite,[status(thm)],]) ).

tff(64,axiom,
    labels(loop,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',label_state_3) ).

tff(65,plain,
    labels(loop,p3),
    inference(modus_ponens,[status(thm)],[64,63]) ).

tff(66,plain,
    ^ [Goal_state: $i,Label: $i,Start_state: $i] :
      refl(
        ( ( ~ fails(Goal_state,Start_state)
          | ~ labels(Label,Goal_state)
          | ~ has(Start_state,goto(Label)) )
      <=> ( ~ fails(Goal_state,Start_state)
          | ~ labels(Label,Goal_state)
          | ~ has(Start_state,goto(Label)) ) )),
    inference(bind,[status(th)],]) ).

tff(67,plain,
    ( ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ labels(Label,Goal_state)
        | ~ has(Start_state,goto(Label)) )
  <=> ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ labels(Label,Goal_state)
        | ~ has(Start_state,goto(Label)) ) ),
    inference(quant_intro,[status(thm)],[66]) ).

tff(68,plain,
    ( ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ labels(Label,Goal_state)
        | ~ has(Start_state,goto(Label)) )
  <=> ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ labels(Label,Goal_state)
        | ~ has(Start_state,goto(Label)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(69,plain,
    ^ [Goal_state: $i,Label: $i,Start_state: $i] :
      rewrite(
        ( ( ~ fails(Goal_state,Start_state)
          | ~ has(Start_state,goto(Label))
          | ~ labels(Label,Goal_state) )
      <=> ( ~ fails(Goal_state,Start_state)
          | ~ labels(Label,Goal_state)
          | ~ has(Start_state,goto(Label)) ) )),
    inference(bind,[status(th)],]) ).

tff(70,plain,
    ( ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ has(Start_state,goto(Label))
        | ~ labels(Label,Goal_state) )
  <=> ! [Goal_state: $i,Label: $i,Start_state: $i] :
        ( ~ fails(Goal_state,Start_state)
        | ~ labels(Label,Goal_state)
        | ~ has(Start_state,goto(Label)) ) ),
    inference(quant_intro,[status(thm)],[69]) ).

tff(71,axiom,
    ! [Goal_state: $i,Label: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ has(Start_state,goto(Label))
      | ~ labels(Label,Goal_state) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',goto_success) ).

tff(72,plain,
    ! [Goal_state: $i,Label: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ labels(Label,Goal_state)
      | ~ has(Start_state,goto(Label)) ),
    inference(modus_ponens,[status(thm)],[71,70]) ).

tff(73,plain,
    ! [Goal_state: $i,Label: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ labels(Label,Goal_state)
      | ~ has(Start_state,goto(Label)) ),
    inference(modus_ponens,[status(thm)],[72,68]) ).

tff(74,plain,
    ! [Goal_state: $i,Label: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ labels(Label,Goal_state)
      | ~ has(Start_state,goto(Label)) ),
    inference(skolemize,[status(sab)],[73]) ).

tff(75,plain,
    ! [Goal_state: $i,Label: $i,Start_state: $i] :
      ( ~ fails(Goal_state,Start_state)
      | ~ labels(Label,Goal_state)
      | ~ has(Start_state,goto(Label)) ),
    inference(modus_ponens,[status(thm)],[74,67]) ).

tff(76,plain,
    ( ( ~ ! [Goal_state: $i,Label: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ labels(Label,Goal_state)
            | ~ has(Start_state,goto(Label)) )
      | ~ fails(p3,p8)
      | ~ labels(loop,p3)
      | ~ has(p8,goto(loop)) )
  <=> ( ~ ! [Goal_state: $i,Label: $i,Start_state: $i] :
            ( ~ fails(Goal_state,Start_state)
            | ~ labels(Label,Goal_state)
            | ~ has(Start_state,goto(Label)) )
      | ~ fails(p3,p8)
      | ~ labels(loop,p3)
      | ~ has(p8,goto(loop)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(77,plain,
    ( ~ ! [Goal_state: $i,Label: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ labels(Label,Goal_state)
          | ~ has(Start_state,goto(Label)) )
    | ~ fails(p3,p8)
    | ~ labels(loop,p3)
    | ~ has(p8,goto(loop)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(78,plain,
    ( ~ ! [Goal_state: $i,Label: $i,Start_state: $i] :
          ( ~ fails(Goal_state,Start_state)
          | ~ labels(Label,Goal_state)
          | ~ has(Start_state,goto(Label)) )
    | ~ fails(p3,p8)
    | ~ labels(loop,p3)
    | ~ has(p8,goto(loop)) ),
    inference(modus_ponens,[status(thm)],[77,76]) ).

tff(79,plain,
    $false,
    inference(unit_resolution,[status(thm)],[78,75,65,62,59]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : COM002-2 : TPTP v8.1.0. Released v1.0.0.
% 0.07/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.14/0.34  % Computer : n001.cluster.edu
% 0.14/0.34  % Model    : x86_64 x86_64
% 0.14/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34  % Memory   : 8042.1875MB
% 0.14/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34  % CPULimit : 300
% 0.14/0.34  % WCLimit  : 300
% 0.14/0.34  % DateTime : Tue Aug 30 13:40:01 EDT 2022
% 0.14/0.34  % 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.20/0.45  % SZS status Unsatisfiable
% 0.20/0.45  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------