TSTP Solution File: SWW510_5 by Vampire---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire---4.8
% Problem  : SWW510_5 : TPTP v8.1.2. Released v6.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule file --schedule_file /export/starexec/sandbox2/solver/bin/quickGreedyProduceRating_steal_pow3.txt --cores 8 -m 12000 -t %d %s

% Computer : n015.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 May  5 11:18:46 EDT 2024

% Result   : Theorem 0.61s 0.82s
% Output   : Refutation 0.61s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   16
%            Number of leaves      :   79
% Syntax   : Number of formulae    :  118 (  16 unt;  70 typ;   0 def)
%            Number of atoms       :  116 (  15 equ)
%            Maximal formula atoms :   10 (   2 avg)
%            Number of connectives :  132 (  64   ~;  48   |;  16   &)
%                                         (   0 <=>;   4  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   13 (   6 avg)
%            Maximal term depth    :    7 (   2 avg)
%            Number of types       :    5 (   4 usr)
%            Number of type conns  :  101 (  49   >;  52   *;   0   +;   0  <<)
%            Number of predicates  :   11 (   9 usr;   1 prp; 0-6 aty)
%            Number of functors    :   57 (  57 usr;  11 con; 0-7 aty)
%            Number of variables   :  200 ( 123   !;  17   ?; 200   :)
%                                         (  60  !>;   0  ?*;   0  @-;   0  @+)

% Comments : 
%------------------------------------------------------------------------------
tff(type_def_5,type,
    a: $tType ).

tff(type_def_6,type,
    com: $tType ).

tff(type_def_7,type,
    state: $tType ).

tff(type_def_8,type,
    bool: $tType ).

tff(type_def_9,type,
    hoare_28830079triple: $tType > $tType ).

tff(type_def_10,type,
    fun: ( $tType * $tType ) > $tType ).

tff(func_def_0,type,
    combb: 
      !>[X0: $tType,X1: $tType,X2: $tType] : ( ( fun(X0,X1) * fun(X2,X0) ) > fun(X2,X1) ) ).

tff(func_def_1,type,
    combc: 
      !>[X0: $tType,X1: $tType,X2: $tType] : ( ( fun(X0,fun(X1,X2)) * X1 ) > fun(X0,X2) ) ).

tff(func_def_2,type,
    combk: 
      !>[X0: $tType,X1: $tType] : ( X0 > fun(X1,X0) ) ).

tff(func_def_3,type,
    combs: 
      !>[X0: $tType,X1: $tType,X2: $tType] : ( ( fun(X0,fun(X1,X2)) * fun(X0,X1) ) > fun(X0,X2) ) ).

tff(func_def_4,type,
    skip: com ).

tff(func_def_5,type,
    semi: ( com * com ) > com ).

tff(func_def_6,type,
    finite_fold1: 
      !>[X0: $tType] : ( fun(X0,fun(X0,X0)) > fun(fun(X0,bool),X0) ) ).

tff(func_def_7,type,
    finite_fold1Set: 
      !>[X0: $tType] : ( ( fun(X0,fun(X0,X0)) * fun(X0,bool) ) > fun(X0,bool) ) ).

tff(func_def_8,type,
    the: 
      !>[X0: $tType] : ( fun(X0,bool) > X0 ) ).

tff(func_def_9,type,
    hoare_1841697145triple: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * com * fun(X0,fun(state,bool)) ) > hoare_28830079triple(X0) ) ).

tff(func_def_10,type,
    hoare_376461865e_case: 
      !>[X0: $tType,X1: $tType] : ( ( fun(fun(X0,fun(state,bool)),fun(com,fun(fun(X0,fun(state,bool)),X1))) * hoare_28830079triple(X0) ) > X1 ) ).

tff(func_def_11,type,
    hoare_678420151le_rec: 
      !>[X0: $tType,X1: $tType] : ( ( fun(fun(X0,fun(state,bool)),fun(com,fun(fun(X0,fun(state,bool)),X1))) * hoare_28830079triple(X0) ) > X1 ) ).

tff(func_def_12,type,
    bot_bot: 
      !>[X0: $tType] : X0 ).

tff(func_def_13,type,
    collect: 
      !>[X0: $tType] : ( fun(X0,bool) > fun(X0,bool) ) ).

tff(func_def_14,type,
    insert: 
      !>[X0: $tType] : fun(X0,fun(fun(X0,bool),fun(X0,bool))) ).

tff(func_def_15,type,
    the_elem: 
      !>[X0: $tType] : ( fun(X0,bool) > X0 ) ).

tff(func_def_16,type,
    aa: 
      !>[X0: $tType,X1: $tType] : ( ( fun(X0,X1) * X0 ) > X1 ) ).

tff(func_def_17,type,
    fFalse: bool ).

tff(func_def_18,type,
    fNot: fun(bool,bool) ).

tff(func_def_19,type,
    fTrue: bool ).

tff(func_def_20,type,
    fconj: fun(bool,fun(bool,bool)) ).

tff(func_def_21,type,
    fdisj: fun(bool,fun(bool,bool)) ).

tff(func_def_22,type,
    fequal: 
      !>[X0: $tType] : fun(X0,fun(X0,bool)) ).

tff(func_def_23,type,
    fimplies: fun(bool,fun(bool,bool)) ).

tff(func_def_24,type,
    member: 
      !>[X0: $tType] : fun(X0,fun(fun(X0,bool),bool)) ).

tff(func_def_25,type,
    g: fun(hoare_28830079triple(a),bool) ).

tff(func_def_26,type,
    q: a > fun(state,bool) ).

tff(func_def_27,type,
    c: com ).

tff(func_def_28,type,
    sK0: a ).

tff(func_def_29,type,
    sK1: state ).

tff(func_def_30,type,
    sK2: ( fun(a,fun(state,bool)) * fun(a,fun(state,bool)) ) > state ).

tff(func_def_31,type,
    sK3: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * com * fun(hoare_28830079triple(X0),bool) * fun(X0,fun(state,bool)) ) > X0 ) ).

tff(func_def_32,type,
    sK4: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * com * fun(hoare_28830079triple(X0),bool) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_33,type,
    sK5: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * com * fun(hoare_28830079triple(X0),bool) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_34,type,
    sK6: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > X0 ) ).

tff(func_def_35,type,
    sK7: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_36,type,
    sK8: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_37,type,
    sK9: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > X0 ) ).

tff(func_def_38,type,
    sK10: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_39,type,
    sK11: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > X0 ) ).

tff(func_def_40,type,
    sK12: 
      !>[X0: $tType] : ( ( fun(X0,fun(state,bool)) * fun(X0,fun(state,bool)) ) > state ) ).

tff(func_def_41,type,
    sK13: 
      !>[X0: $tType] : ( hoare_28830079triple(X0) > fun(X0,fun(state,bool)) ) ).

tff(func_def_42,type,
    sK14: 
      !>[X0: $tType] : ( hoare_28830079triple(X0) > com ) ).

tff(func_def_43,type,
    sK15: 
      !>[X0: $tType] : ( hoare_28830079triple(X0) > fun(X0,fun(state,bool)) ) ).

tff(func_def_44,type,
    sK16: 
      !>[X0: $tType,X1: $tType] : ( ( fun(X1,X0) * fun(X1,X0) ) > X1 ) ).

tff(func_def_45,type,
    sK17: 
      !>[X0: $tType] : ( ( fun(X0,bool) * fun(X0,bool) ) > X0 ) ).

tff(func_def_46,type,
    sK18: 
      !>[X0: $tType] : ( ( fun(X0,bool) * X0 ) > X0 ) ).

tff(func_def_47,type,
    sK19: 
      !>[X0: $tType] : ( ( fun(X0,bool) * fun(X0,bool) ) > X0 ) ).

tff(func_def_48,type,
    sK20: 
      !>[X0: $tType] : ( ( X0 * fun(X0,bool) ) > X0 ) ).

tff(func_def_49,type,
    sK21: 
      !>[X0: $tType] : ( ( fun(X0,bool) * X0 ) > X0 ) ).

tff(func_def_50,type,
    sK22: 
      !>[X0: $tType] : ( ( fun(X0,bool) * X0 ) > X0 ) ).

tff(func_def_51,type,
    sK23: 
      !>[X0: $tType] : ( ( X0 * fun(X0,bool) ) > X0 ) ).

tff(func_def_52,type,
    sK24: 
      !>[X0: $tType] : ( ( X0 * fun(X0,bool) ) > X0 ) ).

tff(func_def_53,type,
    sK25: 
      !>[X0: $tType] : ( fun(X0,bool) > X0 ) ).

tff(func_def_54,type,
    sK26: 
      !>[X0: $tType] : ( fun(X0,bool) > X0 ) ).

tff(pred_def_1,type,
    bot: 
      !>[X0: $tType] : $o ).

tff(pred_def_2,type,
    finite_finite: 
      !>[X0: $tType] : $o ).

tff(pred_def_3,type,
    finite_finite1: 
      !>[X0: $tType] : ( fun(X0,bool) > $o ) ).

tff(pred_def_4,type,
    finite_fold_graph: 
      !>[X0: $tType,X1: $tType] : ( ( fun(X0,fun(X1,X1)) * X1 * fun(X0,bool) * X1 ) > $o ) ).

tff(pred_def_5,type,
    finite_folding_one: 
      !>[X0: $tType] : ( ( fun(X0,fun(X0,X0)) * fun(fun(X0,bool),X0) ) > $o ) ).

tff(pred_def_6,type,
    finite2073411215e_idem: 
      !>[X0: $tType] : ( ( fun(X0,fun(X0,X0)) * fun(fun(X0,bool),X0) ) > $o ) ).

tff(pred_def_7,type,
    hoare_992312373derivs: 
      !>[X0: $tType] : ( ( fun(hoare_28830079triple(X0),bool) * fun(hoare_28830079triple(X0),bool) ) > $o ) ).

tff(pred_def_8,type,
    pp: bool > $o ).

tff(pred_def_9,type,
    p: ( a * state ) > $o ).

tff(f375,plain,
    $false,
    inference(subsumption_resolution,[],[f362,f241]) ).

tff(f241,plain,
    p(sK0,sK1),
    inference(cnf_transformation,[],[f195]) ).

tff(f195,plain,
    ( ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
        ( ( ~ pp(aa(state,bool,q(sK0),sK2(X2,X3)))
          & ! [X5: a] :
              ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),sK2(X2,X3)))
              | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ) )
        | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
    & p(sK0,sK1) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1,sK2])],[f167,f194,f193]) ).

tff(f193,plain,
    ( ? [X0: a,X1: state] :
        ( ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
            ( ? [X4: state] :
                ( ~ pp(aa(state,bool,q(X0),X4))
                & ! [X5: a] :
                    ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),X4))
                    | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),X1)) ) )
            | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
        & p(X0,X1) )
   => ( ! [X3: fun(a,fun(state,bool)),X2: fun(a,fun(state,bool))] :
          ( ? [X4: state] :
              ( ~ pp(aa(state,bool,q(sK0),X4))
              & ! [X5: a] :
                  ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),X4))
                  | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ) )
          | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
      & p(sK0,sK1) ) ),
    introduced(choice_axiom,[]) ).

tff(f194,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
      ( ? [X4: state] :
          ( ~ pp(aa(state,bool,q(sK0),X4))
          & ! [X5: a] :
              ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),X4))
              | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ) )
     => ( ~ pp(aa(state,bool,q(sK0),sK2(X2,X3)))
        & ! [X5: a] :
            ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),sK2(X2,X3)))
            | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ) ) ),
    introduced(choice_axiom,[]) ).

tff(f167,plain,
    ? [X0: a,X1: state] :
      ( ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
          ( ? [X4: state] :
              ( ~ pp(aa(state,bool,q(X0),X4))
              & ! [X5: a] :
                  ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),X4))
                  | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),X1)) ) )
          | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
      & p(X0,X1) ),
    inference(ennf_transformation,[],[f130]) ).

tff(f130,plain,
    ~ ! [X0: a,X1: state] :
        ( ? [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
            ( ! [X4: state] :
                ( pp(aa(state,bool,q(X0),X4))
                | ? [X5: a] :
                    ( ~ pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),X4))
                    & pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),X1)) ) )
            & hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
        | ~ p(X0,X1) ),
    inference(rectify,[],[f128]) ).

tff(f128,negated_conjecture,
    ~ ! [X19: a,X20: state] :
        ( ? [X49: fun(a,fun(state,bool)),X50: fun(a,fun(state,bool))] :
            ( ! [X22: state] :
                ( pp(aa(state,bool,q(X19),X22))
                | ? [X23: a] :
                    ( ~ pp(aa(state,bool,aa(a,fun(state,bool),X50,X23),X22))
                    & pp(aa(state,bool,aa(a,fun(state,bool),X49,X23),X20)) ) )
            & hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X49,c,X50)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
        | ~ p(X19,X20) ),
    inference(negated_conjecture,[],[f127]) ).

tff(f127,conjecture,
    ! [X19: a,X20: state] :
      ( ? [X49: fun(a,fun(state,bool)),X50: fun(a,fun(state,bool))] :
          ( ! [X22: state] :
              ( pp(aa(state,bool,q(X19),X22))
              | ? [X23: a] :
                  ( ~ pp(aa(state,bool,aa(a,fun(state,bool),X50,X23),X22))
                  & pp(aa(state,bool,aa(a,fun(state,bool),X49,X23),X20)) ) )
          & hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X49,c,X50)),bot_bot(fun(hoare_28830079triple(a),bool)))) )
      | ~ p(X19,X20) ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',conj_1) ).

tff(f362,plain,
    ~ p(sK0,sK1),
    inference(resolution,[],[f361,f317]) ).

tff(f317,plain,
    ! [X0: $tType,X2: X0] : pp(aa(X0,bool,aa(X0,fun(X0,bool),fequal(X0),X2),X2)),
    inference(equality_resolution,[],[f281]) ).

tff(f281,plain,
    ! [X0: $tType,X2: X0,X1: X0] :
      ( pp(aa(X0,bool,aa(X0,fun(X0,bool),fequal(X0),X2),X1))
      | ( X1 != X2 ) ),
    inference(cnf_transformation,[],[f152]) ).

tff(f152,plain,
    ! [X0: $tType,X1: X0,X2: X0] :
      ( pp(aa(X0,bool,aa(X0,fun(X0,bool),fequal(X0),X2),X1))
      | ( X1 != X2 ) ),
    inference(rectify,[],[f122]) ).

tff(f122,axiom,
    ! [X0: $tType,X70: X0,X71: X0] :
      ( pp(aa(X0,bool,aa(X0,fun(X0,bool),fequal(X0),X71),X70))
      | ( X70 != X71 ) ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',help_fequal_2_1_T) ).

tff(f361,plain,
    ! [X0: state] :
      ( ~ pp(aa(state,bool,aa(state,fun(state,bool),fequal(state),sK1),X0))
      | ~ p(sK0,X0) ),
    inference(duplicate_literal_removal,[],[f358]) ).

tff(f358,plain,
    ! [X0: state] :
      ( ~ pp(aa(state,bool,aa(state,fun(state,bool),fequal(state),sK1),X0))
      | ~ p(sK0,X0)
      | ~ p(sK0,X0) ),
    inference(resolution,[],[f357,f335]) ).

tff(f335,plain,
    ! [X0: a,X1: state] :
      ( ~ pp(aa(state,bool,q(sK0),sK2(combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),combk(fun(state,bool),a,q(X0)))))
      | ~ p(X0,X1) ),
    inference(resolution,[],[f320,f326]) ).

tff(f326,plain,
    ! [X0: fun(a,fun(state,bool)),X1: fun(a,fun(state,bool))] :
      ( ~ hoare_992312373derivs(a,g,aa(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),combc(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),insert(hoare_28830079triple(a)),combk(bool,hoare_28830079triple(a),fFalse)),hoare_1841697145triple(a,X0,c,X1)))
      | ~ pp(aa(state,bool,q(sK0),sK2(X0,X1))) ),
    inference(superposition,[],[f322,f244]) ).

tff(f244,plain,
    ! [X1: $tType,X0: $tType,X2: $tType,X3: X0,X4: X2,X5: fun(X0,fun(X2,X1))] : ( aa(X0,X1,combc(X0,X2,X1,X5,X4),X3) = aa(X2,X1,aa(X0,fun(X2,X1),X5,X3),X4) ),
    inference(cnf_transformation,[],[f131]) ).

tff(f131,plain,
    ! [X0: $tType,X1: $tType,X2: $tType,X3: X0,X4: X2,X5: fun(X0,fun(X2,X1))] : ( aa(X0,X1,combc(X0,X2,X1,X5,X4),X3) = aa(X2,X1,aa(X0,fun(X2,X1),X5,X3),X4) ),
    inference(rectify,[],[f110]) ).

tff(f110,axiom,
    ! [X0: $tType,X2: $tType,X1: $tType,X68: X0,X69: X1,X67: fun(X0,fun(X1,X2))] : ( aa(X0,X2,combc(X0,X1,X2,X67,X69),X68) = aa(X1,X2,aa(X0,fun(X1,X2),X67,X68),X69) ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',help_COMBC_1_1_U) ).

tff(f322,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
      ( ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),combk(bool,hoare_28830079triple(a),fFalse)))
      | ~ pp(aa(state,bool,q(sK0),sK2(X2,X3))) ),
    inference(forward_demodulation,[],[f321,f301]) ).

tff(f301,plain,
    ! [X0: $tType,X1: fun(X0,bool)] : ( collect(X0,X1) = X1 ),
    inference(cnf_transformation,[],[f162]) ).

tff(f162,plain,
    ! [X0: $tType,X1: fun(X0,bool)] : ( collect(X0,X1) = X1 ),
    inference(rectify,[],[f78]) ).

tff(f78,axiom,
    ! [X1: $tType,X18: fun(X1,bool)] : ( collect(X1,X18) = X18 ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',fact_77_Collect__def) ).

tff(f321,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
      ( ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),collect(hoare_28830079triple(a),combk(bool,hoare_28830079triple(a),fFalse))))
      | ~ pp(aa(state,bool,q(sK0),sK2(X2,X3))) ),
    inference(forward_demodulation,[],[f243,f248]) ).

tff(f248,plain,
    ! [X0: $tType] : ( bot_bot(fun(X0,bool)) = collect(X0,combk(bool,X0,fFalse)) ),
    inference(cnf_transformation,[],[f135]) ).

tff(f135,plain,
    ! [X0: $tType] : ( bot_bot(fun(X0,bool)) = collect(X0,combk(bool,X0,fFalse)) ),
    inference(rectify,[],[f21]) ).

tff(f21,axiom,
    ! [X1: $tType] : ( bot_bot(fun(X1,bool)) = collect(X1,combk(bool,X1,fFalse)) ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',fact_20_empty__def) ).

tff(f243,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool))] :
      ( ~ pp(aa(state,bool,q(sK0),sK2(X2,X3)))
      | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) ),
    inference(cnf_transformation,[],[f195]) ).

tff(f320,plain,
    ! [X0: a,X1: state] :
      ( hoare_992312373derivs(a,g,aa(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),combc(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),insert(hoare_28830079triple(a)),combk(bool,hoare_28830079triple(a),fFalse)),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))))
      | ~ p(X0,X1) ),
    inference(forward_demodulation,[],[f319,f301]) ).

tff(f319,plain,
    ! [X0: a,X1: state] :
      ( hoare_992312373derivs(a,g,aa(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),combc(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),insert(hoare_28830079triple(a)),collect(hoare_28830079triple(a),combk(bool,hoare_28830079triple(a),fFalse))),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))))
      | ~ p(X0,X1) ),
    inference(forward_demodulation,[],[f318,f248]) ).

tff(f318,plain,
    ! [X0: a,X1: state] :
      ( hoare_992312373derivs(a,g,aa(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),combc(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),insert(hoare_28830079triple(a)),bot_bot(fun(hoare_28830079triple(a),bool))),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))))
      | ~ p(X0,X1) ),
    inference(forward_demodulation,[],[f240,f244]) ).

tff(f240,plain,
    ! [X0: a,X1: state] :
      ( hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))),bot_bot(fun(hoare_28830079triple(a),bool))))
      | ~ p(X0,X1) ),
    inference(cnf_transformation,[],[f166]) ).

tff(f166,plain,
    ! [X0: a,X1: state] :
      ( hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))),bot_bot(fun(hoare_28830079triple(a),bool))))
      | ~ p(X0,X1) ),
    inference(ennf_transformation,[],[f129]) ).

tff(f129,plain,
    ! [X0: a,X1: state] :
      ( p(X0,X1)
     => hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X1)),c,combk(fun(state,bool),a,q(X0)))),bot_bot(fun(hoare_28830079triple(a),bool)))) ),
    inference(rectify,[],[f126]) ).

tff(f126,axiom,
    ! [X72: a,X73: state] :
      ( p(X72,X73)
     => hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X73)),c,combk(fun(state,bool),a,q(X72)))),bot_bot(fun(hoare_28830079triple(a),bool)))) ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',conj_0) ).

tff(f357,plain,
    ! [X2: state,X0: a] :
      ( pp(aa(state,bool,q(X0),sK2(combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),combk(fun(state,bool),a,q(X0)))))
      | ~ pp(aa(state,bool,aa(state,fun(state,bool),fequal(state),sK1),X2))
      | ~ p(X0,X2) ),
    inference(forward_demodulation,[],[f356,f244]) ).

tff(f356,plain,
    ! [X2: state,X0: a] :
      ( ~ pp(aa(state,bool,combc(state,state,bool,fequal(state),X2),sK1))
      | pp(aa(state,bool,q(X0),sK2(combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),combk(fun(state,bool),a,q(X0)))))
      | ~ p(X0,X2) ),
    inference(forward_demodulation,[],[f355,f247]) ).

tff(f247,plain,
    ! [X1: $tType,X0: $tType,X2: X0,X3: X1] : ( aa(X0,X1,combk(X1,X0,X3),X2) = X3 ),
    inference(cnf_transformation,[],[f134]) ).

tff(f134,plain,
    ! [X0: $tType,X1: $tType,X2: X0,X3: X1] : ( aa(X0,X1,combk(X1,X0,X3),X2) = X3 ),
    inference(rectify,[],[f111]) ).

tff(f111,axiom,
    ! [X1: $tType,X0: $tType,X69: X1,X67: X0] : ( aa(X1,X0,combk(X0,X1,X67),X69) = X67 ),
    file('/export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339',help_COMBK_1_1_U) ).

tff(f355,plain,
    ! [X2: state,X0: a,X1: a] :
      ( pp(aa(state,bool,q(X0),sK2(combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),combk(fun(state,bool),a,q(X0)))))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),X1),sK1))
      | ~ p(X0,X2) ),
    inference(forward_demodulation,[],[f352,f247]) ).

tff(f352,plain,
    ! [X2: state,X0: a,X1: a] :
      ( pp(aa(state,bool,aa(a,fun(state,bool),combk(fun(state,bool),a,q(X0)),X1),sK2(combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),combk(fun(state,bool),a,q(X0)))))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),combk(fun(state,bool),a,combc(state,state,bool,fequal(state),X2)),X1),sK1))
      | ~ p(X0,X2) ),
    inference(resolution,[],[f351,f320]) ).

tff(f351,plain,
    ! [X2: a,X0: fun(a,fun(state,bool)),X1: fun(a,fun(state,bool))] :
      ( ~ hoare_992312373derivs(a,g,aa(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),combc(hoare_28830079triple(a),fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),insert(hoare_28830079triple(a)),combk(bool,hoare_28830079triple(a),fFalse)),hoare_1841697145triple(a,X0,c,X1)))
      | pp(aa(state,bool,aa(a,fun(state,bool),X1,X2),sK2(X0,X1)))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),X0,X2),sK1)) ),
    inference(superposition,[],[f324,f244]) ).

tff(f324,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool)),X5: a] :
      ( ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),combk(bool,hoare_28830079triple(a),fFalse)))
      | pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),sK2(X2,X3)))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ),
    inference(forward_demodulation,[],[f323,f301]) ).

tff(f323,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool)),X5: a] :
      ( ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),collect(hoare_28830079triple(a),combk(bool,hoare_28830079triple(a),fFalse))))
      | pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),sK2(X2,X3)))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1)) ),
    inference(forward_demodulation,[],[f242,f248]) ).

tff(f242,plain,
    ! [X2: fun(a,fun(state,bool)),X3: fun(a,fun(state,bool)),X5: a] :
      ( pp(aa(state,bool,aa(a,fun(state,bool),X3,X5),sK2(X2,X3)))
      | ~ pp(aa(state,bool,aa(a,fun(state,bool),X2,X5),sK1))
      | ~ hoare_992312373derivs(a,g,aa(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool),aa(hoare_28830079triple(a),fun(fun(hoare_28830079triple(a),bool),fun(hoare_28830079triple(a),bool)),insert(hoare_28830079triple(a)),hoare_1841697145triple(a,X2,c,X3)),bot_bot(fun(hoare_28830079triple(a),bool)))) ),
    inference(cnf_transformation,[],[f195]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.10  % Problem    : SWW510_5 : TPTP v8.1.2. Released v6.0.0.
% 0.10/0.11  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule file --schedule_file /export/starexec/sandbox2/solver/bin/quickGreedyProduceRating_steal_pow3.txt --cores 8 -m 12000 -t %d %s
% 0.11/0.31  % Computer : n015.cluster.edu
% 0.11/0.31  % Model    : x86_64 x86_64
% 0.11/0.31  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.31  % Memory   : 8042.1875MB
% 0.11/0.31  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.11/0.31  % CPULimit   : 300
% 0.11/0.31  % WCLimit    : 300
% 0.16/0.31  % DateTime   : Fri May  3 19:29:08 EDT 2024
% 0.16/0.31  % CPUTime    : 
% 0.16/0.31  This is a TF1_THM_EQU_NAR problem
% 0.16/0.31  Running vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule file --schedule_file /export/starexec/sandbox2/solver/bin/quickGreedyProduceRating_steal_pow3.txt --cores 8 -m 12000 -t 300 /export/starexec/sandbox2/tmp/tmp.Ua8B6FJeQ0/Vampire---4.8_23339
% 0.61/0.80  % (23454)lrs+1011_1:1_sil=8000:sp=occurrence:nwc=10.0:i=78:ss=axioms:sgt=8_0 on Vampire---4 for (2995ds/78Mi)
% 0.61/0.80  % (23457)lrs+1002_1:16_to=lpo:sil=32000:sp=unary_frequency:sos=on:i=45:bd=off:ss=axioms_0 on Vampire---4 for (2995ds/45Mi)
% 0.61/0.80  % (23455)ott+1011_1:1_sil=2000:urr=on:i=33:sd=1:kws=inv_frequency:ss=axioms:sup=off_0 on Vampire---4 for (2995ds/33Mi)
% 0.61/0.80  % (23456)lrs+2_1:1_sil=16000:fde=none:sos=all:nwc=5.0:i=34:ep=RS:s2pl=on:lma=on:afp=100000_0 on Vampire---4 for (2995ds/34Mi)
% 0.61/0.80  % (23452)dis-1011_2:1_sil=2000:lsd=20:nwc=5.0:flr=on:mep=off:st=3.0:i=34:sd=1:ep=RS:ss=axioms_0 on Vampire---4 for (2995ds/34Mi)
% 0.61/0.80  % (23453)lrs+1011_461:32768_sil=16000:irw=on:sp=frequency:lsd=20:fd=preordered:nwc=10.0:s2agt=32:alpa=false:cond=fast:s2a=on:i=51:s2at=3.0:awrs=decay:awrsf=691:bd=off:nm=20:fsr=off:amm=sco:uhcvi=on:rawr=on_0 on Vampire---4 for (2995ds/51Mi)
% 0.61/0.80  % (23459)lrs-21_1:1_to=lpo:sil=2000:sp=frequency:sos=on:lma=on:i=56:sd=2:ss=axioms:ep=R_0 on Vampire---4 for (2995ds/56Mi)
% 0.61/0.80  % (23458)lrs+21_1:5_sil=2000:sos=on:urr=on:newcnf=on:slsq=on:i=83:slsql=off:bd=off:nm=2:ss=axioms:st=1.5:sp=const_min:gsp=on:rawr=on_0 on Vampire---4 for (2995ds/83Mi)
% 0.61/0.81  % (23458)WARNING: Not using newCnf currently not compatible with polymorphic/higher-order inputs.
% 0.61/0.81  % (23458)WARNING: Not using GeneralSplitting currently not compatible with polymorphic/higher-order inputs.
% 0.61/0.81  % (23457)First to succeed.
% 0.61/0.81  % (23457)Solution written to "/export/starexec/sandbox2/tmp/vampire-proof-23450"
% 0.61/0.82  % (23457)Refutation found. Thanks to Tanya!
% 0.61/0.82  % SZS status Theorem for Vampire---4
% 0.61/0.82  % SZS output start Proof for Vampire---4
% See solution above
% 0.61/0.82  % (23457)------------------------------
% 0.61/0.82  % (23457)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 0.61/0.82  % (23457)Termination reason: Refutation
% 0.61/0.82  
% 0.61/0.82  % (23457)Memory used [KB]: 1322
% 0.61/0.82  % (23457)Time elapsed: 0.013 s
% 0.61/0.82  % (23457)Instructions burned: 24 (million)
% 0.61/0.82  % (23450)Success in time 0.488 s
% 0.61/0.82  % Vampire---4.8 exiting
%------------------------------------------------------------------------------