TSTP Solution File: SWV478+1 by Vampire-SAT---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.8
% Problem  : SWV478+1 : TPTP v8.1.2. Released v4.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s

% Computer : n004.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 Apr 30 16:54:29 EDT 2024

% Result   : Theorem 138.22s 20.21s
% Output   : Refutation 138.22s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   21
%            Number of leaves      :   15
% Syntax   : Number of formulae    :  108 (  44 unt;   0 def)
%            Number of atoms       : 1558 ( 691 equ)
%            Maximal formula atoms :  240 (  14 avg)
%            Number of connectives : 2276 ( 826   ~; 731   |; 620   &)
%                                         (   8 <=>;  91  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   40 (   7 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of predicates  :    7 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   30 (  30 usr;  21 con; 0-2 aty)
%            Number of variables   :  664 ( 594   !;  70   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f1308346,plain,
    $false,
    inference(unit_resulting_resolution,[],[f1254415,f73819,f1308340]) ).

fof(f1308340,plain,
    ! [X0] :
      ( ~ elem(m_Down(X0),queue(host(sK9)))
      | host(X0) != host(sK7) ),
    inference(subsumption_resolution,[],[f1308339,f5144]) ).

fof(f5144,plain,
    ~ leq(nbr_proc,host(sK9)),
    inference(superposition,[],[f373,f4977]) ).

fof(f4977,plain,
    nbr_proc = host(sK11),
    inference(unit_resulting_resolution,[],[f250,f364,f317]) ).

fof(f317,plain,
    ! [X0,X1] :
      ( ~ leq(X1,X0)
      | X0 = X1
      | ~ leq(X0,X1) ),
    inference(cnf_transformation,[],[f188]) ).

fof(f188,plain,
    ! [X0,X1] :
      ( ( ( leq(X1,X0)
          & leq(X0,X1) )
        | X0 != X1 )
      & ( X0 = X1
        | ~ leq(X1,X0)
        | ~ leq(X0,X1) ) ),
    inference(flattening,[],[f187]) ).

fof(f187,plain,
    ! [X0,X1] :
      ( ( ( leq(X1,X0)
          & leq(X0,X1) )
        | X0 != X1 )
      & ( X0 = X1
        | ~ leq(X1,X0)
        | ~ leq(X0,X1) ) ),
    inference(nnf_transformation,[],[f111]) ).

fof(f111,plain,
    ! [X0,X1] :
      ( ( leq(X1,X0)
        & leq(X0,X1) )
    <=> X0 = X1 ),
    inference(rectify,[],[f62]) ).

fof(f62,axiom,
    ! [X4,X5] :
      ( ( leq(X5,X4)
        & leq(X4,X5) )
    <=> X4 = X5 ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_61) ).

fof(f364,plain,
    leq(nbr_proc,host(sK11)),
    inference(forward_demodulation,[],[f230,f233]) ).

fof(f233,plain,
    host(sK11) = s(host(sK13)),
    inference(cnf_transformation,[],[f162]) ).

fof(f162,plain,
    ( host(sK7) = host(sK10)
    & setIn(sK10,alive)
    & elec_1 = index(status,host(sK13))
    & host(sK11) = s(host(sK13))
    & elem(m_Down(sK12),snoc(queue(host(sK13)),m_Ldr(sK7)))
    & elem(m_Down(sK11),snoc(queue(host(sK13)),m_Ldr(sK7)))
    & leq(nbr_proc,s(host(sK13)))
    & setIn(sK13,alive)
    & ! [X8] :
        ( host(sK12) = X8
        | setIn(X8,index(down,host(sK13)))
        | ~ leq(s(zero),X8)
        | leq(host(sK13),X8) )
    & host(sK7) != host(sK13)
    & host(sK9) = host(sK13)
    & host(sK7) = host(sK10)
    & setIn(host(sK9),index(acks,host(sK7)))
    & leq(nbr_proc,index(pendack,host(sK7)))
    & index(pendack,host(sK7)) = host(sK8)
    & elec_2 = index(status,host(sK7))
    & leq(host(sK7),host(sK8))
    & setIn(sK7,alive)
    & queue(host(sK7)) = cons(m_Down(sK8),sK6)
    & ! [X9,X10,X11,X12] :
        ( norm != index(status,host(X9))
        | host(X9) != index(ldr,host(X9))
        | ~ setIn(X9,alive)
        | elec_1 != index(status,host(X12))
        | host(X10) != s(host(X12))
        | ~ elem(m_Down(X10),queue(host(X12)))
        | ~ elem(m_Down(X11),queue(host(X12)))
        | ~ leq(nbr_proc,s(host(X12)))
        | ~ setIn(X12,alive)
        | sP1(X11,X12) )
    & ! [X13,X14,X15,X16] :
        ( ~ elem(m_Ack(X13,X14),queue(host(X13)))
        | elec_1 != index(status,host(X16))
        | elec_2 != index(status,host(X13))
        | host(X14) != host(X16)
        | ~ elem(m_Down(X15),queue(host(X16)))
        | ~ leq(host(X13),host(X16))
        | ~ setIn(X13,alive)
        | sP0(X15,X16) )
    & ! [X17,X18,X19] :
        ( host(X18) != index(ldr,host(X18))
        | norm != index(status,host(X18))
        | ~ setIn(X18,alive)
        | host(X18) != host(index(elid,host(X19)))
        | wait != index(status,host(X19))
        | host(X18) != host(X17)
        | ~ elem(m_Down(X17),queue(host(X19)))
        | ~ setIn(X19,alive)
        | host(X19) = host(X18) )
    & ! [X20,X21,X22] :
        ( host(X21) != index(ldr,host(X21))
        | norm != index(status,host(X21))
        | ~ setIn(X21,alive)
        | host(X21) != index(ldr,host(X22))
        | norm != index(status,host(X22))
        | host(X20) != host(X21)
        | ~ elem(m_Down(X20),queue(host(X22)))
        | ~ setIn(X22,alive)
        | host(X22) = host(X21) )
    & ! [X23,X24,X25,X26] :
        ( ~ setIn(host(X24),index(down,host(X25)))
        | ~ elem(m_Down(X26),queue(host(X23)))
        | host(X26) != host(X25)
        | host(X23) != host(X24)
        | ~ setIn(X25,alive)
        | ~ setIn(X23,alive)
        | host(X23) = host(X25) )
    & ! [X27,X28,X29,X30] :
        ( ~ elem(m_Down(X28),queue(host(X29)))
        | ~ elem(m_Down(X30),queue(host(X27)))
        | host(X29) != host(X30)
        | host(X27) != host(X28)
        | ~ setIn(X29,alive)
        | ~ setIn(X27,alive)
        | host(X27) = host(X29) )
    & ! [X31,X32,X33] :
        ( norm != index(status,host(X31))
        | host(X31) != index(ldr,host(X31))
        | ~ setIn(X31,alive)
        | host(X32) != host(X31)
        | ~ elem(m_Down(X32),queue(host(X33)))
        | ~ setIn(X33,alive)
        | leq(host(X32),host(X33)) )
    & ! [X34,X35] :
        ( X34 = X35
        | host(X35) != index(ldr,host(X35))
        | norm != index(status,host(X35))
        | norm != index(status,host(X34))
        | host(X34) != index(ldr,host(X34))
        | ~ setIn(X35,alive)
        | ~ setIn(X34,alive) )
    & ! [X36,X37,X38] :
        ( ~ elem(m_Down(X37),queue(host(X36)))
        | ~ setIn(X36,alive)
        | host(X38) != index(ldr,host(X38))
        | norm != index(status,host(X38))
        | host(X38) != host(X37)
        | ~ setIn(X38,alive) )
    & ! [X39,X40,X41] :
        ( leq(index(pendack,host(X41)),host(X39))
        | elec_2 != index(status,host(X41))
        | host(X40) != host(X41)
        | ~ elem(m_Down(X40),queue(host(X39)))
        | ~ setIn(X41,alive)
        | ~ setIn(X39,alive) )
    & ! [X42,X43] :
        ( ~ setIn(host(X43),index(down,host(X42)))
        | ~ setIn(X42,alive)
        | host(X43) != index(ldr,host(X43))
        | norm != index(status,host(X43))
        | ~ setIn(X43,alive) )
    & ! [X44,X45] :
        ( leq(index(pendack,host(X45)),host(X44))
        | elec_2 != index(status,host(X45))
        | ~ setIn(host(X45),index(down,host(X44)))
        | ~ setIn(X45,alive)
        | ~ setIn(X44,alive) )
    & ! [X46] :
        ( index(elid,host(X46)) = X46
        | ~ setIn(X46,alive)
        | ( elec_2 != index(status,host(X46))
          & elec_1 != index(status,host(X46)) ) )
    & ! [X47,X48] :
        ( ~ setIn(X48,alive)
        | ~ setIn(X47,alive)
        | host(X47) != host(X48)
        | X47 = X48 )
    & ! [X49,X50] :
        ( host(X49) != host(X50)
        | ~ elem(m_Down(X50),queue(host(X49))) )
    & ! [X51,X52] :
        ( ~ leq(host(X51),host(X52))
        | ~ elem(m_Ldr(X52),queue(host(X51))) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK6,sK7,sK8,sK9,sK10,sK11,sK12,sK13])],[f157,f161,f160,f159,f158]) ).

fof(f158,plain,
    ( ? [X0,X1,X2] :
        ( ? [X3] :
            ( ? [X4] :
                ( ? [X5,X6,X7] :
                    ( host(X1) = host(X4)
                    & setIn(X4,alive)
                    & elec_1 = index(status,host(X7))
                    & host(X5) = s(host(X7))
                    & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(X1)))
                    & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(X1)))
                    & leq(nbr_proc,s(host(X7)))
                    & setIn(X7,alive)
                    & ! [X8] :
                        ( host(X6) = X8
                        | setIn(X8,index(down,host(X7)))
                        | ~ leq(s(zero),X8)
                        | leq(host(X7),X8) )
                    & host(X1) != host(X7)
                    & host(X3) = host(X7) )
                & host(X1) = host(X4) )
            & setIn(host(X3),index(acks,host(X1))) )
        & leq(nbr_proc,index(pendack,host(X1)))
        & host(X2) = index(pendack,host(X1))
        & elec_2 = index(status,host(X1))
        & leq(host(X1),host(X2))
        & setIn(X1,alive)
        & queue(host(X1)) = cons(m_Down(X2),X0)
        & ! [X9,X10,X11,X12] :
            ( norm != index(status,host(X9))
            | host(X9) != index(ldr,host(X9))
            | ~ setIn(X9,alive)
            | elec_1 != index(status,host(X12))
            | host(X10) != s(host(X12))
            | ~ elem(m_Down(X10),queue(host(X12)))
            | ~ elem(m_Down(X11),queue(host(X12)))
            | ~ leq(nbr_proc,s(host(X12)))
            | ~ setIn(X12,alive)
            | sP1(X11,X12) )
        & ! [X13,X14,X15,X16] :
            ( ~ elem(m_Ack(X13,X14),queue(host(X13)))
            | elec_1 != index(status,host(X16))
            | elec_2 != index(status,host(X13))
            | host(X14) != host(X16)
            | ~ elem(m_Down(X15),queue(host(X16)))
            | ~ leq(host(X13),host(X16))
            | ~ setIn(X13,alive)
            | sP0(X15,X16) )
        & ! [X17,X18,X19] :
            ( host(X18) != index(ldr,host(X18))
            | norm != index(status,host(X18))
            | ~ setIn(X18,alive)
            | host(X18) != host(index(elid,host(X19)))
            | wait != index(status,host(X19))
            | host(X18) != host(X17)
            | ~ elem(m_Down(X17),queue(host(X19)))
            | ~ setIn(X19,alive)
            | host(X19) = host(X18) )
        & ! [X20,X21,X22] :
            ( host(X21) != index(ldr,host(X21))
            | norm != index(status,host(X21))
            | ~ setIn(X21,alive)
            | host(X21) != index(ldr,host(X22))
            | norm != index(status,host(X22))
            | host(X20) != host(X21)
            | ~ elem(m_Down(X20),queue(host(X22)))
            | ~ setIn(X22,alive)
            | host(X22) = host(X21) )
        & ! [X23,X24,X25,X26] :
            ( ~ setIn(host(X24),index(down,host(X25)))
            | ~ elem(m_Down(X26),queue(host(X23)))
            | host(X26) != host(X25)
            | host(X23) != host(X24)
            | ~ setIn(X25,alive)
            | ~ setIn(X23,alive)
            | host(X23) = host(X25) )
        & ! [X27,X28,X29,X30] :
            ( ~ elem(m_Down(X28),queue(host(X29)))
            | ~ elem(m_Down(X30),queue(host(X27)))
            | host(X29) != host(X30)
            | host(X27) != host(X28)
            | ~ setIn(X29,alive)
            | ~ setIn(X27,alive)
            | host(X27) = host(X29) )
        & ! [X31,X32,X33] :
            ( norm != index(status,host(X31))
            | host(X31) != index(ldr,host(X31))
            | ~ setIn(X31,alive)
            | host(X32) != host(X31)
            | ~ elem(m_Down(X32),queue(host(X33)))
            | ~ setIn(X33,alive)
            | leq(host(X32),host(X33)) )
        & ! [X34,X35] :
            ( X34 = X35
            | host(X35) != index(ldr,host(X35))
            | norm != index(status,host(X35))
            | norm != index(status,host(X34))
            | host(X34) != index(ldr,host(X34))
            | ~ setIn(X35,alive)
            | ~ setIn(X34,alive) )
        & ! [X36,X37,X38] :
            ( ~ elem(m_Down(X37),queue(host(X36)))
            | ~ setIn(X36,alive)
            | host(X38) != index(ldr,host(X38))
            | norm != index(status,host(X38))
            | host(X38) != host(X37)
            | ~ setIn(X38,alive) )
        & ! [X39,X40,X41] :
            ( leq(index(pendack,host(X41)),host(X39))
            | elec_2 != index(status,host(X41))
            | host(X40) != host(X41)
            | ~ elem(m_Down(X40),queue(host(X39)))
            | ~ setIn(X41,alive)
            | ~ setIn(X39,alive) )
        & ! [X42,X43] :
            ( ~ setIn(host(X43),index(down,host(X42)))
            | ~ setIn(X42,alive)
            | host(X43) != index(ldr,host(X43))
            | norm != index(status,host(X43))
            | ~ setIn(X43,alive) )
        & ! [X44,X45] :
            ( leq(index(pendack,host(X45)),host(X44))
            | elec_2 != index(status,host(X45))
            | ~ setIn(host(X45),index(down,host(X44)))
            | ~ setIn(X45,alive)
            | ~ setIn(X44,alive) )
        & ! [X46] :
            ( index(elid,host(X46)) = X46
            | ~ setIn(X46,alive)
            | ( elec_2 != index(status,host(X46))
              & elec_1 != index(status,host(X46)) ) )
        & ! [X47,X48] :
            ( ~ setIn(X48,alive)
            | ~ setIn(X47,alive)
            | host(X47) != host(X48)
            | X47 = X48 )
        & ! [X49,X50] :
            ( host(X49) != host(X50)
            | ~ elem(m_Down(X50),queue(host(X49))) )
        & ! [X51,X52] :
            ( ~ leq(host(X51),host(X52))
            | ~ elem(m_Ldr(X52),queue(host(X51))) ) )
   => ( ? [X3] :
          ( ? [X4] :
              ( ? [X7,X6,X5] :
                  ( host(X4) = host(sK7)
                  & setIn(X4,alive)
                  & elec_1 = index(status,host(X7))
                  & host(X5) = s(host(X7))
                  & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
                  & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
                  & leq(nbr_proc,s(host(X7)))
                  & setIn(X7,alive)
                  & ! [X8] :
                      ( host(X6) = X8
                      | setIn(X8,index(down,host(X7)))
                      | ~ leq(s(zero),X8)
                      | leq(host(X7),X8) )
                  & host(X7) != host(sK7)
                  & host(X3) = host(X7) )
              & host(X4) = host(sK7) )
          & setIn(host(X3),index(acks,host(sK7))) )
      & leq(nbr_proc,index(pendack,host(sK7)))
      & index(pendack,host(sK7)) = host(sK8)
      & elec_2 = index(status,host(sK7))
      & leq(host(sK7),host(sK8))
      & setIn(sK7,alive)
      & queue(host(sK7)) = cons(m_Down(sK8),sK6)
      & ! [X9,X10,X11,X12] :
          ( norm != index(status,host(X9))
          | host(X9) != index(ldr,host(X9))
          | ~ setIn(X9,alive)
          | elec_1 != index(status,host(X12))
          | host(X10) != s(host(X12))
          | ~ elem(m_Down(X10),queue(host(X12)))
          | ~ elem(m_Down(X11),queue(host(X12)))
          | ~ leq(nbr_proc,s(host(X12)))
          | ~ setIn(X12,alive)
          | sP1(X11,X12) )
      & ! [X13,X14,X15,X16] :
          ( ~ elem(m_Ack(X13,X14),queue(host(X13)))
          | elec_1 != index(status,host(X16))
          | elec_2 != index(status,host(X13))
          | host(X14) != host(X16)
          | ~ elem(m_Down(X15),queue(host(X16)))
          | ~ leq(host(X13),host(X16))
          | ~ setIn(X13,alive)
          | sP0(X15,X16) )
      & ! [X17,X18,X19] :
          ( host(X18) != index(ldr,host(X18))
          | norm != index(status,host(X18))
          | ~ setIn(X18,alive)
          | host(X18) != host(index(elid,host(X19)))
          | wait != index(status,host(X19))
          | host(X18) != host(X17)
          | ~ elem(m_Down(X17),queue(host(X19)))
          | ~ setIn(X19,alive)
          | host(X19) = host(X18) )
      & ! [X20,X21,X22] :
          ( host(X21) != index(ldr,host(X21))
          | norm != index(status,host(X21))
          | ~ setIn(X21,alive)
          | host(X21) != index(ldr,host(X22))
          | norm != index(status,host(X22))
          | host(X20) != host(X21)
          | ~ elem(m_Down(X20),queue(host(X22)))
          | ~ setIn(X22,alive)
          | host(X22) = host(X21) )
      & ! [X23,X24,X25,X26] :
          ( ~ setIn(host(X24),index(down,host(X25)))
          | ~ elem(m_Down(X26),queue(host(X23)))
          | host(X26) != host(X25)
          | host(X23) != host(X24)
          | ~ setIn(X25,alive)
          | ~ setIn(X23,alive)
          | host(X23) = host(X25) )
      & ! [X27,X28,X29,X30] :
          ( ~ elem(m_Down(X28),queue(host(X29)))
          | ~ elem(m_Down(X30),queue(host(X27)))
          | host(X29) != host(X30)
          | host(X27) != host(X28)
          | ~ setIn(X29,alive)
          | ~ setIn(X27,alive)
          | host(X27) = host(X29) )
      & ! [X31,X32,X33] :
          ( norm != index(status,host(X31))
          | host(X31) != index(ldr,host(X31))
          | ~ setIn(X31,alive)
          | host(X32) != host(X31)
          | ~ elem(m_Down(X32),queue(host(X33)))
          | ~ setIn(X33,alive)
          | leq(host(X32),host(X33)) )
      & ! [X34,X35] :
          ( X34 = X35
          | host(X35) != index(ldr,host(X35))
          | norm != index(status,host(X35))
          | norm != index(status,host(X34))
          | host(X34) != index(ldr,host(X34))
          | ~ setIn(X35,alive)
          | ~ setIn(X34,alive) )
      & ! [X36,X37,X38] :
          ( ~ elem(m_Down(X37),queue(host(X36)))
          | ~ setIn(X36,alive)
          | host(X38) != index(ldr,host(X38))
          | norm != index(status,host(X38))
          | host(X38) != host(X37)
          | ~ setIn(X38,alive) )
      & ! [X39,X40,X41] :
          ( leq(index(pendack,host(X41)),host(X39))
          | elec_2 != index(status,host(X41))
          | host(X40) != host(X41)
          | ~ elem(m_Down(X40),queue(host(X39)))
          | ~ setIn(X41,alive)
          | ~ setIn(X39,alive) )
      & ! [X42,X43] :
          ( ~ setIn(host(X43),index(down,host(X42)))
          | ~ setIn(X42,alive)
          | host(X43) != index(ldr,host(X43))
          | norm != index(status,host(X43))
          | ~ setIn(X43,alive) )
      & ! [X44,X45] :
          ( leq(index(pendack,host(X45)),host(X44))
          | elec_2 != index(status,host(X45))
          | ~ setIn(host(X45),index(down,host(X44)))
          | ~ setIn(X45,alive)
          | ~ setIn(X44,alive) )
      & ! [X46] :
          ( index(elid,host(X46)) = X46
          | ~ setIn(X46,alive)
          | ( elec_2 != index(status,host(X46))
            & elec_1 != index(status,host(X46)) ) )
      & ! [X47,X48] :
          ( ~ setIn(X48,alive)
          | ~ setIn(X47,alive)
          | host(X47) != host(X48)
          | X47 = X48 )
      & ! [X49,X50] :
          ( host(X49) != host(X50)
          | ~ elem(m_Down(X50),queue(host(X49))) )
      & ! [X51,X52] :
          ( ~ leq(host(X51),host(X52))
          | ~ elem(m_Ldr(X52),queue(host(X51))) ) ) ),
    introduced(choice_axiom,[]) ).

fof(f159,plain,
    ( ? [X3] :
        ( ? [X4] :
            ( ? [X7,X6,X5] :
                ( host(X4) = host(sK7)
                & setIn(X4,alive)
                & elec_1 = index(status,host(X7))
                & host(X5) = s(host(X7))
                & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
                & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
                & leq(nbr_proc,s(host(X7)))
                & setIn(X7,alive)
                & ! [X8] :
                    ( host(X6) = X8
                    | setIn(X8,index(down,host(X7)))
                    | ~ leq(s(zero),X8)
                    | leq(host(X7),X8) )
                & host(X7) != host(sK7)
                & host(X3) = host(X7) )
            & host(X4) = host(sK7) )
        & setIn(host(X3),index(acks,host(sK7))) )
   => ( ? [X4] :
          ( ? [X7,X6,X5] :
              ( host(X4) = host(sK7)
              & setIn(X4,alive)
              & elec_1 = index(status,host(X7))
              & host(X5) = s(host(X7))
              & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
              & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
              & leq(nbr_proc,s(host(X7)))
              & setIn(X7,alive)
              & ! [X8] :
                  ( host(X6) = X8
                  | setIn(X8,index(down,host(X7)))
                  | ~ leq(s(zero),X8)
                  | leq(host(X7),X8) )
              & host(X7) != host(sK7)
              & host(X7) = host(sK9) )
          & host(X4) = host(sK7) )
      & setIn(host(sK9),index(acks,host(sK7))) ) ),
    introduced(choice_axiom,[]) ).

fof(f160,plain,
    ( ? [X4] :
        ( ? [X7,X6,X5] :
            ( host(X4) = host(sK7)
            & setIn(X4,alive)
            & elec_1 = index(status,host(X7))
            & host(X5) = s(host(X7))
            & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
            & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
            & leq(nbr_proc,s(host(X7)))
            & setIn(X7,alive)
            & ! [X8] :
                ( host(X6) = X8
                | setIn(X8,index(down,host(X7)))
                | ~ leq(s(zero),X8)
                | leq(host(X7),X8) )
            & host(X7) != host(sK7)
            & host(X7) = host(sK9) )
        & host(X4) = host(sK7) )
   => ( ? [X7,X6,X5] :
          ( host(sK7) = host(sK10)
          & setIn(sK10,alive)
          & elec_1 = index(status,host(X7))
          & host(X5) = s(host(X7))
          & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
          & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
          & leq(nbr_proc,s(host(X7)))
          & setIn(X7,alive)
          & ! [X8] :
              ( host(X6) = X8
              | setIn(X8,index(down,host(X7)))
              | ~ leq(s(zero),X8)
              | leq(host(X7),X8) )
          & host(X7) != host(sK7)
          & host(X7) = host(sK9) )
      & host(sK7) = host(sK10) ) ),
    introduced(choice_axiom,[]) ).

fof(f161,plain,
    ( ? [X7,X6,X5] :
        ( host(sK7) = host(sK10)
        & setIn(sK10,alive)
        & elec_1 = index(status,host(X7))
        & host(X5) = s(host(X7))
        & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(sK7)))
        & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(sK7)))
        & leq(nbr_proc,s(host(X7)))
        & setIn(X7,alive)
        & ! [X8] :
            ( host(X6) = X8
            | setIn(X8,index(down,host(X7)))
            | ~ leq(s(zero),X8)
            | leq(host(X7),X8) )
        & host(X7) != host(sK7)
        & host(X7) = host(sK9) )
   => ( host(sK7) = host(sK10)
      & setIn(sK10,alive)
      & elec_1 = index(status,host(sK13))
      & host(sK11) = s(host(sK13))
      & elem(m_Down(sK12),snoc(queue(host(sK13)),m_Ldr(sK7)))
      & elem(m_Down(sK11),snoc(queue(host(sK13)),m_Ldr(sK7)))
      & leq(nbr_proc,s(host(sK13)))
      & setIn(sK13,alive)
      & ! [X8] :
          ( host(sK12) = X8
          | setIn(X8,index(down,host(sK13)))
          | ~ leq(s(zero),X8)
          | leq(host(sK13),X8) )
      & host(sK7) != host(sK13)
      & host(sK9) = host(sK13) ) ),
    introduced(choice_axiom,[]) ).

fof(f157,plain,
    ? [X0,X1,X2] :
      ( ? [X3] :
          ( ? [X4] :
              ( ? [X5,X6,X7] :
                  ( host(X1) = host(X4)
                  & setIn(X4,alive)
                  & elec_1 = index(status,host(X7))
                  & host(X5) = s(host(X7))
                  & elem(m_Down(X6),snoc(queue(host(X7)),m_Ldr(X1)))
                  & elem(m_Down(X5),snoc(queue(host(X7)),m_Ldr(X1)))
                  & leq(nbr_proc,s(host(X7)))
                  & setIn(X7,alive)
                  & ! [X8] :
                      ( host(X6) = X8
                      | setIn(X8,index(down,host(X7)))
                      | ~ leq(s(zero),X8)
                      | leq(host(X7),X8) )
                  & host(X1) != host(X7)
                  & host(X3) = host(X7) )
              & host(X1) = host(X4) )
          & setIn(host(X3),index(acks,host(X1))) )
      & leq(nbr_proc,index(pendack,host(X1)))
      & host(X2) = index(pendack,host(X1))
      & elec_2 = index(status,host(X1))
      & leq(host(X1),host(X2))
      & setIn(X1,alive)
      & queue(host(X1)) = cons(m_Down(X2),X0)
      & ! [X9,X10,X11,X12] :
          ( norm != index(status,host(X9))
          | host(X9) != index(ldr,host(X9))
          | ~ setIn(X9,alive)
          | elec_1 != index(status,host(X12))
          | host(X10) != s(host(X12))
          | ~ elem(m_Down(X10),queue(host(X12)))
          | ~ elem(m_Down(X11),queue(host(X12)))
          | ~ leq(nbr_proc,s(host(X12)))
          | ~ setIn(X12,alive)
          | sP1(X11,X12) )
      & ! [X13,X14,X15,X16] :
          ( ~ elem(m_Ack(X13,X14),queue(host(X13)))
          | elec_1 != index(status,host(X16))
          | elec_2 != index(status,host(X13))
          | host(X14) != host(X16)
          | ~ elem(m_Down(X15),queue(host(X16)))
          | ~ leq(host(X13),host(X16))
          | ~ setIn(X13,alive)
          | sP0(X15,X16) )
      & ! [X17,X18,X19] :
          ( host(X18) != index(ldr,host(X18))
          | norm != index(status,host(X18))
          | ~ setIn(X18,alive)
          | host(X18) != host(index(elid,host(X19)))
          | wait != index(status,host(X19))
          | host(X18) != host(X17)
          | ~ elem(m_Down(X17),queue(host(X19)))
          | ~ setIn(X19,alive)
          | host(X19) = host(X18) )
      & ! [X20,X21,X22] :
          ( host(X21) != index(ldr,host(X21))
          | norm != index(status,host(X21))
          | ~ setIn(X21,alive)
          | host(X21) != index(ldr,host(X22))
          | norm != index(status,host(X22))
          | host(X20) != host(X21)
          | ~ elem(m_Down(X20),queue(host(X22)))
          | ~ setIn(X22,alive)
          | host(X22) = host(X21) )
      & ! [X23,X24,X25,X26] :
          ( ~ setIn(host(X24),index(down,host(X25)))
          | ~ elem(m_Down(X26),queue(host(X23)))
          | host(X26) != host(X25)
          | host(X23) != host(X24)
          | ~ setIn(X25,alive)
          | ~ setIn(X23,alive)
          | host(X23) = host(X25) )
      & ! [X27,X28,X29,X30] :
          ( ~ elem(m_Down(X28),queue(host(X29)))
          | ~ elem(m_Down(X30),queue(host(X27)))
          | host(X29) != host(X30)
          | host(X27) != host(X28)
          | ~ setIn(X29,alive)
          | ~ setIn(X27,alive)
          | host(X27) = host(X29) )
      & ! [X31,X32,X33] :
          ( norm != index(status,host(X31))
          | host(X31) != index(ldr,host(X31))
          | ~ setIn(X31,alive)
          | host(X32) != host(X31)
          | ~ elem(m_Down(X32),queue(host(X33)))
          | ~ setIn(X33,alive)
          | leq(host(X32),host(X33)) )
      & ! [X34,X35] :
          ( X34 = X35
          | host(X35) != index(ldr,host(X35))
          | norm != index(status,host(X35))
          | norm != index(status,host(X34))
          | host(X34) != index(ldr,host(X34))
          | ~ setIn(X35,alive)
          | ~ setIn(X34,alive) )
      & ! [X36,X37,X38] :
          ( ~ elem(m_Down(X37),queue(host(X36)))
          | ~ setIn(X36,alive)
          | host(X38) != index(ldr,host(X38))
          | norm != index(status,host(X38))
          | host(X38) != host(X37)
          | ~ setIn(X38,alive) )
      & ! [X39,X40,X41] :
          ( leq(index(pendack,host(X41)),host(X39))
          | elec_2 != index(status,host(X41))
          | host(X40) != host(X41)
          | ~ elem(m_Down(X40),queue(host(X39)))
          | ~ setIn(X41,alive)
          | ~ setIn(X39,alive) )
      & ! [X42,X43] :
          ( ~ setIn(host(X43),index(down,host(X42)))
          | ~ setIn(X42,alive)
          | host(X43) != index(ldr,host(X43))
          | norm != index(status,host(X43))
          | ~ setIn(X43,alive) )
      & ! [X44,X45] :
          ( leq(index(pendack,host(X45)),host(X44))
          | elec_2 != index(status,host(X45))
          | ~ setIn(host(X45),index(down,host(X44)))
          | ~ setIn(X45,alive)
          | ~ setIn(X44,alive) )
      & ! [X46] :
          ( index(elid,host(X46)) = X46
          | ~ setIn(X46,alive)
          | ( elec_2 != index(status,host(X46))
            & elec_1 != index(status,host(X46)) ) )
      & ! [X47,X48] :
          ( ~ setIn(X48,alive)
          | ~ setIn(X47,alive)
          | host(X47) != host(X48)
          | X47 = X48 )
      & ! [X49,X50] :
          ( host(X49) != host(X50)
          | ~ elem(m_Down(X50),queue(host(X49))) )
      & ! [X51,X52] :
          ( ~ leq(host(X51),host(X52))
          | ~ elem(m_Ldr(X52),queue(host(X51))) ) ),
    inference(rectify,[],[f144]) ).

fof(f144,plain,
    ? [X0,X2,X3] :
      ( ? [X50] :
          ( ? [X51] :
              ( ? [X52,X53,X54] :
                  ( host(X2) = host(X51)
                  & setIn(X51,alive)
                  & elec_1 = index(status,host(X54))
                  & s(host(X54)) = host(X52)
                  & elem(m_Down(X53),snoc(queue(host(X54)),m_Ldr(X2)))
                  & elem(m_Down(X52),snoc(queue(host(X54)),m_Ldr(X2)))
                  & leq(nbr_proc,s(host(X54)))
                  & setIn(X54,alive)
                  & ! [X55] :
                      ( host(X53) = X55
                      | setIn(X55,index(down,host(X54)))
                      | ~ leq(s(zero),X55)
                      | leq(host(X54),X55) )
                  & host(X2) != host(X54)
                  & host(X50) = host(X54) )
              & host(X2) = host(X51) )
          & setIn(host(X50),index(acks,host(X2))) )
      & leq(nbr_proc,index(pendack,host(X2)))
      & host(X3) = index(pendack,host(X2))
      & elec_2 = index(status,host(X2))
      & leq(host(X2),host(X3))
      & setIn(X2,alive)
      & queue(host(X2)) = cons(m_Down(X3),X0)
      & ! [X4,X5,X6,X7] :
          ( norm != index(status,host(X4))
          | host(X4) != index(ldr,host(X4))
          | ~ setIn(X4,alive)
          | elec_1 != index(status,host(X7))
          | host(X5) != s(host(X7))
          | ~ elem(m_Down(X5),queue(host(X7)))
          | ~ elem(m_Down(X6),queue(host(X7)))
          | ~ leq(nbr_proc,s(host(X7)))
          | ~ setIn(X7,alive)
          | sP1(X6,X7) )
      & ! [X9,X10,X11,X12] :
          ( ~ elem(m_Ack(X9,X10),queue(host(X9)))
          | elec_1 != index(status,host(X12))
          | elec_2 != index(status,host(X9))
          | host(X12) != host(X10)
          | ~ elem(m_Down(X11),queue(host(X12)))
          | ~ leq(host(X9),host(X12))
          | ~ setIn(X9,alive)
          | sP0(X11,X12) )
      & ! [X14,X15,X16] :
          ( host(X15) != index(ldr,host(X15))
          | norm != index(status,host(X15))
          | ~ setIn(X15,alive)
          | host(X15) != host(index(elid,host(X16)))
          | wait != index(status,host(X16))
          | host(X14) != host(X15)
          | ~ elem(m_Down(X14),queue(host(X16)))
          | ~ setIn(X16,alive)
          | host(X15) = host(X16) )
      & ! [X17,X18,X19] :
          ( host(X18) != index(ldr,host(X18))
          | norm != index(status,host(X18))
          | ~ setIn(X18,alive)
          | host(X18) != index(ldr,host(X19))
          | norm != index(status,host(X19))
          | host(X18) != host(X17)
          | ~ elem(m_Down(X17),queue(host(X19)))
          | ~ setIn(X19,alive)
          | host(X19) = host(X18) )
      & ! [X20,X21,X22,X23] :
          ( ~ setIn(host(X21),index(down,host(X22)))
          | ~ elem(m_Down(X23),queue(host(X20)))
          | host(X23) != host(X22)
          | host(X20) != host(X21)
          | ~ setIn(X22,alive)
          | ~ setIn(X20,alive)
          | host(X22) = host(X20) )
      & ! [X24,X25,X26,X27] :
          ( ~ elem(m_Down(X25),queue(host(X26)))
          | ~ elem(m_Down(X27),queue(host(X24)))
          | host(X27) != host(X26)
          | host(X24) != host(X25)
          | ~ setIn(X26,alive)
          | ~ setIn(X24,alive)
          | host(X26) = host(X24) )
      & ! [X28,X29,X30] :
          ( norm != index(status,host(X28))
          | host(X28) != index(ldr,host(X28))
          | ~ setIn(X28,alive)
          | host(X28) != host(X29)
          | ~ elem(m_Down(X29),queue(host(X30)))
          | ~ setIn(X30,alive)
          | leq(host(X29),host(X30)) )
      & ! [X31,X32] :
          ( X31 = X32
          | host(X32) != index(ldr,host(X32))
          | norm != index(status,host(X32))
          | norm != index(status,host(X31))
          | host(X31) != index(ldr,host(X31))
          | ~ setIn(X32,alive)
          | ~ setIn(X31,alive) )
      & ! [X33,X34,X35] :
          ( ~ elem(m_Down(X34),queue(host(X33)))
          | ~ setIn(X33,alive)
          | host(X35) != index(ldr,host(X35))
          | norm != index(status,host(X35))
          | host(X35) != host(X34)
          | ~ setIn(X35,alive) )
      & ! [X36,X37,X38] :
          ( leq(index(pendack,host(X38)),host(X36))
          | elec_2 != index(status,host(X38))
          | host(X38) != host(X37)
          | ~ elem(m_Down(X37),queue(host(X36)))
          | ~ setIn(X38,alive)
          | ~ setIn(X36,alive) )
      & ! [X39,X40] :
          ( ~ setIn(host(X40),index(down,host(X39)))
          | ~ setIn(X39,alive)
          | host(X40) != index(ldr,host(X40))
          | norm != index(status,host(X40))
          | ~ setIn(X40,alive) )
      & ! [X41,X42] :
          ( leq(index(pendack,host(X42)),host(X41))
          | elec_2 != index(status,host(X42))
          | ~ setIn(host(X42),index(down,host(X41)))
          | ~ setIn(X42,alive)
          | ~ setIn(X41,alive) )
      & ! [X43] :
          ( index(elid,host(X43)) = X43
          | ~ setIn(X43,alive)
          | ( elec_2 != index(status,host(X43))
            & elec_1 != index(status,host(X43)) ) )
      & ! [X44,X45] :
          ( ~ setIn(X45,alive)
          | ~ setIn(X44,alive)
          | host(X44) != host(X45)
          | X44 = X45 )
      & ! [X46,X47] :
          ( host(X46) != host(X47)
          | ~ elem(m_Down(X47),queue(host(X46))) )
      & ! [X48,X49] :
          ( ~ leq(host(X48),host(X49))
          | ~ elem(m_Ldr(X49),queue(host(X48))) ) ),
    inference(definition_folding,[],[f126,f143,f142]) ).

fof(f142,plain,
    ! [X11,X12] :
      ( ? [X13] :
          ( host(X11) != X13
          & ~ setIn(X13,index(down,host(X12)))
          & leq(s(zero),X13)
          & ~ leq(host(X12),X13) )
      | ~ sP0(X11,X12) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP0])]) ).

fof(f143,plain,
    ! [X6,X7] :
      ( ? [X8] :
          ( host(X6) != X8
          & ~ setIn(X8,index(down,host(X7)))
          & leq(s(zero),X8)
          & ~ leq(host(X7),X8) )
      | ~ sP1(X6,X7) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP1])]) ).

fof(f126,plain,
    ? [X0,X2,X3] :
      ( ? [X50] :
          ( ? [X51] :
              ( ? [X52,X53,X54] :
                  ( host(X2) = host(X51)
                  & setIn(X51,alive)
                  & elec_1 = index(status,host(X54))
                  & s(host(X54)) = host(X52)
                  & elem(m_Down(X53),snoc(queue(host(X54)),m_Ldr(X2)))
                  & elem(m_Down(X52),snoc(queue(host(X54)),m_Ldr(X2)))
                  & leq(nbr_proc,s(host(X54)))
                  & setIn(X54,alive)
                  & ! [X55] :
                      ( host(X53) = X55
                      | setIn(X55,index(down,host(X54)))
                      | ~ leq(s(zero),X55)
                      | leq(host(X54),X55) )
                  & host(X2) != host(X54)
                  & host(X50) = host(X54) )
              & host(X2) = host(X51) )
          & setIn(host(X50),index(acks,host(X2))) )
      & leq(nbr_proc,index(pendack,host(X2)))
      & host(X3) = index(pendack,host(X2))
      & elec_2 = index(status,host(X2))
      & leq(host(X2),host(X3))
      & setIn(X2,alive)
      & queue(host(X2)) = cons(m_Down(X3),X0)
      & ! [X4,X5,X6,X7] :
          ( norm != index(status,host(X4))
          | host(X4) != index(ldr,host(X4))
          | ~ setIn(X4,alive)
          | elec_1 != index(status,host(X7))
          | host(X5) != s(host(X7))
          | ~ elem(m_Down(X5),queue(host(X7)))
          | ~ elem(m_Down(X6),queue(host(X7)))
          | ~ leq(nbr_proc,s(host(X7)))
          | ~ setIn(X7,alive)
          | ? [X8] :
              ( host(X6) != X8
              & ~ setIn(X8,index(down,host(X7)))
              & leq(s(zero),X8)
              & ~ leq(host(X7),X8) ) )
      & ! [X9,X10,X11,X12] :
          ( ~ elem(m_Ack(X9,X10),queue(host(X9)))
          | elec_1 != index(status,host(X12))
          | elec_2 != index(status,host(X9))
          | host(X12) != host(X10)
          | ~ elem(m_Down(X11),queue(host(X12)))
          | ~ leq(host(X9),host(X12))
          | ~ setIn(X9,alive)
          | ? [X13] :
              ( host(X11) != X13
              & ~ setIn(X13,index(down,host(X12)))
              & leq(s(zero),X13)
              & ~ leq(host(X12),X13) ) )
      & ! [X14,X15,X16] :
          ( host(X15) != index(ldr,host(X15))
          | norm != index(status,host(X15))
          | ~ setIn(X15,alive)
          | host(X15) != host(index(elid,host(X16)))
          | wait != index(status,host(X16))
          | host(X14) != host(X15)
          | ~ elem(m_Down(X14),queue(host(X16)))
          | ~ setIn(X16,alive)
          | host(X15) = host(X16) )
      & ! [X17,X18,X19] :
          ( host(X18) != index(ldr,host(X18))
          | norm != index(status,host(X18))
          | ~ setIn(X18,alive)
          | host(X18) != index(ldr,host(X19))
          | norm != index(status,host(X19))
          | host(X18) != host(X17)
          | ~ elem(m_Down(X17),queue(host(X19)))
          | ~ setIn(X19,alive)
          | host(X19) = host(X18) )
      & ! [X20,X21,X22,X23] :
          ( ~ setIn(host(X21),index(down,host(X22)))
          | ~ elem(m_Down(X23),queue(host(X20)))
          | host(X23) != host(X22)
          | host(X20) != host(X21)
          | ~ setIn(X22,alive)
          | ~ setIn(X20,alive)
          | host(X22) = host(X20) )
      & ! [X24,X25,X26,X27] :
          ( ~ elem(m_Down(X25),queue(host(X26)))
          | ~ elem(m_Down(X27),queue(host(X24)))
          | host(X27) != host(X26)
          | host(X24) != host(X25)
          | ~ setIn(X26,alive)
          | ~ setIn(X24,alive)
          | host(X26) = host(X24) )
      & ! [X28,X29,X30] :
          ( norm != index(status,host(X28))
          | host(X28) != index(ldr,host(X28))
          | ~ setIn(X28,alive)
          | host(X28) != host(X29)
          | ~ elem(m_Down(X29),queue(host(X30)))
          | ~ setIn(X30,alive)
          | leq(host(X29),host(X30)) )
      & ! [X31,X32] :
          ( X31 = X32
          | host(X32) != index(ldr,host(X32))
          | norm != index(status,host(X32))
          | norm != index(status,host(X31))
          | host(X31) != index(ldr,host(X31))
          | ~ setIn(X32,alive)
          | ~ setIn(X31,alive) )
      & ! [X33,X34,X35] :
          ( ~ elem(m_Down(X34),queue(host(X33)))
          | ~ setIn(X33,alive)
          | host(X35) != index(ldr,host(X35))
          | norm != index(status,host(X35))
          | host(X35) != host(X34)
          | ~ setIn(X35,alive) )
      & ! [X36,X37,X38] :
          ( leq(index(pendack,host(X38)),host(X36))
          | elec_2 != index(status,host(X38))
          | host(X38) != host(X37)
          | ~ elem(m_Down(X37),queue(host(X36)))
          | ~ setIn(X38,alive)
          | ~ setIn(X36,alive) )
      & ! [X39,X40] :
          ( ~ setIn(host(X40),index(down,host(X39)))
          | ~ setIn(X39,alive)
          | host(X40) != index(ldr,host(X40))
          | norm != index(status,host(X40))
          | ~ setIn(X40,alive) )
      & ! [X41,X42] :
          ( leq(index(pendack,host(X42)),host(X41))
          | elec_2 != index(status,host(X42))
          | ~ setIn(host(X42),index(down,host(X41)))
          | ~ setIn(X42,alive)
          | ~ setIn(X41,alive) )
      & ! [X43] :
          ( index(elid,host(X43)) = X43
          | ~ setIn(X43,alive)
          | ( elec_2 != index(status,host(X43))
            & elec_1 != index(status,host(X43)) ) )
      & ! [X44,X45] :
          ( ~ setIn(X45,alive)
          | ~ setIn(X44,alive)
          | host(X44) != host(X45)
          | X44 = X45 )
      & ! [X46,X47] :
          ( host(X46) != host(X47)
          | ~ elem(m_Down(X47),queue(host(X46))) )
      & ! [X48,X49] :
          ( ~ leq(host(X48),host(X49))
          | ~ elem(m_Ldr(X49),queue(host(X48))) ) ),
    inference(flattening,[],[f125]) ).

fof(f125,plain,
    ? [X0,X2,X3] :
      ( ? [X50] :
          ( ? [X51] :
              ( ? [X52,X53,X54] :
                  ( host(X2) = host(X51)
                  & setIn(X51,alive)
                  & elec_1 = index(status,host(X54))
                  & s(host(X54)) = host(X52)
                  & elem(m_Down(X53),snoc(queue(host(X54)),m_Ldr(X2)))
                  & elem(m_Down(X52),snoc(queue(host(X54)),m_Ldr(X2)))
                  & leq(nbr_proc,s(host(X54)))
                  & setIn(X54,alive)
                  & ! [X55] :
                      ( host(X53) = X55
                      | setIn(X55,index(down,host(X54)))
                      | ~ leq(s(zero),X55)
                      | leq(host(X54),X55) )
                  & host(X2) != host(X54)
                  & host(X50) = host(X54) )
              & host(X2) = host(X51) )
          & setIn(host(X50),index(acks,host(X2))) )
      & leq(nbr_proc,index(pendack,host(X2)))
      & host(X3) = index(pendack,host(X2))
      & elec_2 = index(status,host(X2))
      & leq(host(X2),host(X3))
      & setIn(X2,alive)
      & queue(host(X2)) = cons(m_Down(X3),X0)
      & ! [X4,X5,X6,X7] :
          ( norm != index(status,host(X4))
          | host(X4) != index(ldr,host(X4))
          | ~ setIn(X4,alive)
          | elec_1 != index(status,host(X7))
          | host(X5) != s(host(X7))
          | ~ elem(m_Down(X5),queue(host(X7)))
          | ~ elem(m_Down(X6),queue(host(X7)))
          | ~ leq(nbr_proc,s(host(X7)))
          | ~ setIn(X7,alive)
          | ? [X8] :
              ( host(X6) != X8
              & ~ setIn(X8,index(down,host(X7)))
              & leq(s(zero),X8)
              & ~ leq(host(X7),X8) ) )
      & ! [X9,X10,X11,X12] :
          ( ~ elem(m_Ack(X9,X10),queue(host(X9)))
          | elec_1 != index(status,host(X12))
          | elec_2 != index(status,host(X9))
          | host(X12) != host(X10)
          | ~ elem(m_Down(X11),queue(host(X12)))
          | ~ leq(host(X9),host(X12))
          | ~ setIn(X9,alive)
          | ? [X13] :
              ( host(X11) != X13
              & ~ setIn(X13,index(down,host(X12)))
              & leq(s(zero),X13)
              & ~ leq(host(X12),X13) ) )
      & ! [X14,X15,X16] :
          ( host(X15) != index(ldr,host(X15))
          | norm != index(status,host(X15))
          | ~ setIn(X15,alive)
          | host(X15) != host(index(elid,host(X16)))
          | wait != index(status,host(X16))
          | host(X14) != host(X15)
          | ~ elem(m_Down(X14),queue(host(X16)))
          | ~ setIn(X16,alive)
          | host(X15) = host(X16) )
      & ! [X17,X18,X19] :
          ( host(X18) != index(ldr,host(X18))
          | norm != index(status,host(X18))
          | ~ setIn(X18,alive)
          | host(X18) != index(ldr,host(X19))
          | norm != index(status,host(X19))
          | host(X18) != host(X17)
          | ~ elem(m_Down(X17),queue(host(X19)))
          | ~ setIn(X19,alive)
          | host(X19) = host(X18) )
      & ! [X20,X21,X22,X23] :
          ( ~ setIn(host(X21),index(down,host(X22)))
          | ~ elem(m_Down(X23),queue(host(X20)))
          | host(X23) != host(X22)
          | host(X20) != host(X21)
          | ~ setIn(X22,alive)
          | ~ setIn(X20,alive)
          | host(X22) = host(X20) )
      & ! [X24,X25,X26,X27] :
          ( ~ elem(m_Down(X25),queue(host(X26)))
          | ~ elem(m_Down(X27),queue(host(X24)))
          | host(X27) != host(X26)
          | host(X24) != host(X25)
          | ~ setIn(X26,alive)
          | ~ setIn(X24,alive)
          | host(X26) = host(X24) )
      & ! [X28,X29,X30] :
          ( norm != index(status,host(X28))
          | host(X28) != index(ldr,host(X28))
          | ~ setIn(X28,alive)
          | host(X28) != host(X29)
          | ~ elem(m_Down(X29),queue(host(X30)))
          | ~ setIn(X30,alive)
          | leq(host(X29),host(X30)) )
      & ! [X31,X32] :
          ( X31 = X32
          | host(X32) != index(ldr,host(X32))
          | norm != index(status,host(X32))
          | norm != index(status,host(X31))
          | host(X31) != index(ldr,host(X31))
          | ~ setIn(X32,alive)
          | ~ setIn(X31,alive) )
      & ! [X33,X34,X35] :
          ( ~ elem(m_Down(X34),queue(host(X33)))
          | ~ setIn(X33,alive)
          | host(X35) != index(ldr,host(X35))
          | norm != index(status,host(X35))
          | host(X35) != host(X34)
          | ~ setIn(X35,alive) )
      & ! [X36,X37,X38] :
          ( leq(index(pendack,host(X38)),host(X36))
          | elec_2 != index(status,host(X38))
          | host(X38) != host(X37)
          | ~ elem(m_Down(X37),queue(host(X36)))
          | ~ setIn(X38,alive)
          | ~ setIn(X36,alive) )
      & ! [X39,X40] :
          ( ~ setIn(host(X40),index(down,host(X39)))
          | ~ setIn(X39,alive)
          | host(X40) != index(ldr,host(X40))
          | norm != index(status,host(X40))
          | ~ setIn(X40,alive) )
      & ! [X41,X42] :
          ( leq(index(pendack,host(X42)),host(X41))
          | elec_2 != index(status,host(X42))
          | ~ setIn(host(X42),index(down,host(X41)))
          | ~ setIn(X42,alive)
          | ~ setIn(X41,alive) )
      & ! [X43] :
          ( index(elid,host(X43)) = X43
          | ~ setIn(X43,alive)
          | ( elec_2 != index(status,host(X43))
            & elec_1 != index(status,host(X43)) ) )
      & ! [X44,X45] :
          ( ~ setIn(X45,alive)
          | ~ setIn(X44,alive)
          | host(X44) != host(X45)
          | X44 = X45 )
      & ! [X46,X47] :
          ( host(X46) != host(X47)
          | ~ elem(m_Down(X47),queue(host(X46))) )
      & ! [X48,X49] :
          ( ~ leq(host(X48),host(X49))
          | ~ elem(m_Ldr(X49),queue(host(X48))) ) ),
    inference(ennf_transformation,[],[f69]) ).

fof(f69,plain,
    ~ ! [X0,X2,X3] :
        ( ( queue(host(X2)) = cons(m_Down(X3),X0)
          & ! [X4,X5,X6,X7] :
              ( ( elec_1 = index(status,host(X7))
                & host(X5) = s(host(X7))
                & elem(m_Down(X5),queue(host(X7)))
                & elem(m_Down(X6),queue(host(X7)))
                & leq(nbr_proc,s(host(X7)))
                & setIn(X7,alive)
                & ! [X8] :
                    ( ( leq(s(zero),X8)
                      & ~ leq(host(X7),X8) )
                   => ( host(X6) = X8
                      | setIn(X8,index(down,host(X7))) ) ) )
             => ~ ( norm = index(status,host(X4))
                  & host(X4) = index(ldr,host(X4))
                  & setIn(X4,alive) ) )
          & ! [X9,X10,X11,X12] :
              ( ( elec_1 = index(status,host(X12))
                & elec_2 = index(status,host(X9))
                & host(X12) = host(X10)
                & elem(m_Down(X11),queue(host(X12)))
                & leq(host(X9),host(X12))
                & setIn(X9,alive)
                & ! [X13] :
                    ( ( leq(s(zero),X13)
                      & ~ leq(host(X12),X13) )
                   => ( host(X11) = X13
                      | setIn(X13,index(down,host(X12))) ) ) )
             => ~ elem(m_Ack(X9,X10),queue(host(X9))) )
          & ! [X14,X15,X16] :
              ( ( host(X15) = host(index(elid,host(X16)))
                & wait = index(status,host(X16))
                & host(X14) = host(X15)
                & elem(m_Down(X14),queue(host(X16)))
                & setIn(X16,alive)
                & host(X15) != host(X16) )
             => ~ ( host(X15) = index(ldr,host(X15))
                  & norm = index(status,host(X15))
                  & setIn(X15,alive) ) )
          & ! [X17,X18,X19] :
              ( ( host(X18) = index(ldr,host(X19))
                & norm = index(status,host(X19))
                & host(X18) = host(X17)
                & elem(m_Down(X17),queue(host(X19)))
                & setIn(X19,alive)
                & host(X19) != host(X18) )
             => ~ ( host(X18) = index(ldr,host(X18))
                  & norm = index(status,host(X18))
                  & setIn(X18,alive) ) )
          & ! [X20,X21,X22,X23] :
              ( ( host(X23) = host(X22)
                & host(X20) = host(X21)
                & setIn(X22,alive)
                & setIn(X20,alive)
                & host(X22) != host(X20) )
             => ~ ( setIn(host(X21),index(down,host(X22)))
                  & elem(m_Down(X23),queue(host(X20))) ) )
          & ! [X24,X25,X26,X27] :
              ( ( host(X27) = host(X26)
                & host(X24) = host(X25)
                & setIn(X26,alive)
                & setIn(X24,alive)
                & host(X26) != host(X24) )
             => ~ ( elem(m_Down(X25),queue(host(X26)))
                  & elem(m_Down(X27),queue(host(X24))) ) )
          & ! [X28,X29,X30] :
              ( ( host(X28) = host(X29)
                & elem(m_Down(X29),queue(host(X30)))
                & setIn(X30,alive)
                & ~ leq(host(X29),host(X30)) )
             => ~ ( norm = index(status,host(X28))
                  & host(X28) = index(ldr,host(X28))
                  & setIn(X28,alive) ) )
          & ! [X31,X32] :
              ( ( host(X32) = index(ldr,host(X32))
                & norm = index(status,host(X32))
                & norm = index(status,host(X31))
                & host(X31) = index(ldr,host(X31))
                & setIn(X32,alive)
                & setIn(X31,alive) )
             => X31 = X32 )
          & ! [X33,X34,X35] :
              ( ( host(X35) = index(ldr,host(X35))
                & norm = index(status,host(X35))
                & host(X35) = host(X34)
                & setIn(X35,alive) )
             => ~ ( elem(m_Down(X34),queue(host(X33)))
                  & setIn(X33,alive) ) )
          & ! [X36,X37,X38] :
              ( ( elec_2 = index(status,host(X38))
                & host(X38) = host(X37)
                & elem(m_Down(X37),queue(host(X36)))
                & setIn(X38,alive)
                & setIn(X36,alive) )
             => leq(index(pendack,host(X38)),host(X36)) )
          & ! [X39,X40] :
              ( ( host(X40) = index(ldr,host(X40))
                & norm = index(status,host(X40))
                & setIn(X40,alive) )
             => ~ ( setIn(host(X40),index(down,host(X39)))
                  & setIn(X39,alive) ) )
          & ! [X41,X42] :
              ( ( elec_2 = index(status,host(X42))
                & setIn(host(X42),index(down,host(X41)))
                & setIn(X42,alive)
                & setIn(X41,alive) )
             => leq(index(pendack,host(X42)),host(X41)) )
          & ! [X43] :
              ( ( setIn(X43,alive)
                & ( elec_2 = index(status,host(X43))
                  | elec_1 = index(status,host(X43)) ) )
             => index(elid,host(X43)) = X43 )
          & ! [X44,X45] :
              ( ( host(X44) = host(X45)
                & X44 != X45 )
             => ( ~ setIn(X45,alive)
                | ~ setIn(X44,alive) ) )
          & ! [X46,X47] :
              ( elem(m_Down(X47),queue(host(X46)))
             => host(X46) != host(X47) )
          & ! [X48,X49] :
              ( elem(m_Ldr(X49),queue(host(X48)))
             => ~ leq(host(X48),host(X49)) ) )
       => ( setIn(X2,alive)
         => ( leq(host(X2),host(X3))
           => ( ( host(X3) = index(pendack,host(X2))
                & elec_2 = index(status,host(X2)) )
             => ( leq(nbr_proc,index(pendack,host(X2)))
               => ! [X50] :
                    ( setIn(host(X50),index(acks,host(X2)))
                   => ! [X51] :
                        ( host(X2) = host(X51)
                       => ! [X52,X53,X54] :
                            ( host(X50) = host(X54)
                           => ( host(X2) != host(X54)
                             => ( ( elec_1 = index(status,host(X54))
                                  & s(host(X54)) = host(X52)
                                  & elem(m_Down(X53),snoc(queue(host(X54)),m_Ldr(X2)))
                                  & elem(m_Down(X52),snoc(queue(host(X54)),m_Ldr(X2)))
                                  & leq(nbr_proc,s(host(X54)))
                                  & setIn(X54,alive)
                                  & ! [X55] :
                                      ( ( leq(s(zero),X55)
                                        & ~ leq(host(X54),X55) )
                                     => ( host(X53) = X55
                                        | setIn(X55,index(down,host(X54))) ) ) )
                               => ~ ( host(X2) = host(X51)
                                    & setIn(X51,alive) ) ) ) ) ) ) ) ) ) ) ),
    inference(rectify,[],[f68]) ).

fof(f68,negated_conjecture,
    ~ ! [X11,X12,X4,X5] :
        ( ( queue(host(X4)) = cons(m_Down(X5),X11)
          & ! [X6,X15,X14,X13] :
              ( ( elec_1 = index(status,host(X13))
                & host(X15) = s(host(X13))
                & elem(m_Down(X15),queue(host(X13)))
                & elem(m_Down(X14),queue(host(X13)))
                & leq(nbr_proc,s(host(X13)))
                & setIn(X13,alive)
                & ! [X16] :
                    ( ( leq(s(zero),X16)
                      & ~ leq(host(X13),X16) )
                   => ( host(X14) = X16
                      | setIn(X16,index(down,host(X13))) ) ) )
             => ~ ( norm = index(status,host(X6))
                  & host(X6) = index(ldr,host(X6))
                  & setIn(X6,alive) ) )
          & ! [X6,X15,X14,X13] :
              ( ( elec_1 = index(status,host(X13))
                & elec_2 = index(status,host(X6))
                & host(X13) = host(X15)
                & elem(m_Down(X14),queue(host(X13)))
                & leq(host(X6),host(X13))
                & setIn(X6,alive)
                & ! [X16] :
                    ( ( leq(s(zero),X16)
                      & ~ leq(host(X13),X16) )
                   => ( host(X14) = X16
                      | setIn(X16,index(down,host(X13))) ) ) )
             => ~ elem(m_Ack(X6,X15),queue(host(X6))) )
          & ! [X6,X14,X13] :
              ( ( host(X14) = host(index(elid,host(X13)))
                & wait = index(status,host(X13))
                & host(X6) = host(X14)
                & elem(m_Down(X6),queue(host(X13)))
                & setIn(X13,alive)
                & host(X13) != host(X14) )
             => ~ ( host(X14) = index(ldr,host(X14))
                  & norm = index(status,host(X14))
                  & setIn(X14,alive) ) )
          & ! [X6,X14,X13] :
              ( ( index(ldr,host(X13)) = host(X14)
                & norm = index(status,host(X13))
                & host(X6) = host(X14)
                & elem(m_Down(X6),queue(host(X13)))
                & setIn(X13,alive)
                & host(X13) != host(X14) )
             => ~ ( host(X14) = index(ldr,host(X14))
                  & norm = index(status,host(X14))
                  & setIn(X14,alive) ) )
          & ! [X6,X15,X14,X13] :
              ( ( host(X13) = host(X14)
                & host(X6) = host(X15)
                & setIn(X14,alive)
                & setIn(X6,alive)
                & host(X6) != host(X14) )
             => ~ ( setIn(host(X15),index(down,host(X14)))
                  & elem(m_Down(X13),queue(host(X6))) ) )
          & ! [X6,X15,X14,X13] :
              ( ( host(X13) = host(X14)
                & host(X6) = host(X15)
                & setIn(X14,alive)
                & setIn(X6,alive)
                & host(X6) != host(X14) )
             => ~ ( elem(m_Down(X15),queue(host(X14)))
                  & elem(m_Down(X13),queue(host(X6))) ) )
          & ! [X6,X14,X13] :
              ( ( host(X6) = host(X14)
                & elem(m_Down(X14),queue(host(X13)))
                & setIn(X13,alive)
                & ~ leq(host(X14),host(X13)) )
             => ~ ( norm = index(status,host(X6))
                  & host(X6) = index(ldr,host(X6))
                  & setIn(X6,alive) ) )
          & ! [X6,X13] :
              ( ( host(X13) = index(ldr,host(X13))
                & norm = index(status,host(X13))
                & norm = index(status,host(X6))
                & host(X6) = index(ldr,host(X6))
                & setIn(X13,alive)
                & setIn(X6,alive) )
             => X6 = X13 )
          & ! [X6,X14,X13] :
              ( ( host(X13) = index(ldr,host(X13))
                & norm = index(status,host(X13))
                & host(X13) = host(X14)
                & setIn(X13,alive) )
             => ~ ( elem(m_Down(X14),queue(host(X6)))
                  & setIn(X6,alive) ) )
          & ! [X6,X14,X13] :
              ( ( elec_2 = index(status,host(X13))
                & host(X13) = host(X14)
                & elem(m_Down(X14),queue(host(X6)))
                & setIn(X13,alive)
                & setIn(X6,alive) )
             => leq(index(pendack,host(X13)),host(X6)) )
          & ! [X6,X13] :
              ( ( host(X13) = index(ldr,host(X13))
                & norm = index(status,host(X13))
                & setIn(X13,alive) )
             => ~ ( setIn(host(X13),index(down,host(X6)))
                  & setIn(X6,alive) ) )
          & ! [X6,X13] :
              ( ( elec_2 = index(status,host(X13))
                & setIn(host(X13),index(down,host(X6)))
                & setIn(X13,alive)
                & setIn(X6,alive) )
             => leq(index(pendack,host(X13)),host(X6)) )
          & ! [X6] :
              ( ( setIn(X6,alive)
                & ( elec_2 = index(status,host(X6))
                  | elec_1 = index(status,host(X6)) ) )
             => index(elid,host(X6)) = X6 )
          & ! [X6,X13] :
              ( ( host(X6) = host(X13)
                & X6 != X13 )
             => ( ~ setIn(X13,alive)
                | ~ setIn(X6,alive) ) )
          & ! [X6,X13] :
              ( elem(m_Down(X13),queue(host(X6)))
             => host(X6) != host(X13) )
          & ! [X6,X13] :
              ( elem(m_Ldr(X13),queue(host(X6)))
             => ~ leq(host(X6),host(X13)) ) )
       => ( setIn(X4,alive)
         => ( leq(host(X4),host(X5))
           => ( ( host(X5) = index(pendack,host(X4))
                & elec_2 = index(status,host(X4)) )
             => ( leq(nbr_proc,index(pendack,host(X4)))
               => ! [X6] :
                    ( setIn(host(X6),index(acks,host(X4)))
                   => ! [X16] :
                        ( host(X4) = host(X16)
                       => ! [X17,X18,X19] :
                            ( host(X6) = host(X19)
                           => ( host(X4) != host(X19)
                             => ( ( elec_1 = index(status,host(X19))
                                  & s(host(X19)) = host(X17)
                                  & elem(m_Down(X18),snoc(queue(host(X19)),m_Ldr(X4)))
                                  & elem(m_Down(X17),snoc(queue(host(X19)),m_Ldr(X4)))
                                  & leq(nbr_proc,s(host(X19)))
                                  & setIn(X19,alive)
                                  & ! [X20] :
                                      ( ( leq(s(zero),X20)
                                        & ~ leq(host(X19),X20) )
                                     => ( host(X18) = X20
                                        | setIn(X20,index(down,host(X19))) ) ) )
                               => ~ ( host(X4) = host(X16)
                                    & setIn(X16,alive) ) ) ) ) ) ) ) ) ) ) ),
    inference(negated_conjecture,[],[f67]) ).

fof(f67,conjecture,
    ! [X11,X12,X4,X5] :
      ( ( queue(host(X4)) = cons(m_Down(X5),X11)
        & ! [X6,X15,X14,X13] :
            ( ( elec_1 = index(status,host(X13))
              & host(X15) = s(host(X13))
              & elem(m_Down(X15),queue(host(X13)))
              & elem(m_Down(X14),queue(host(X13)))
              & leq(nbr_proc,s(host(X13)))
              & setIn(X13,alive)
              & ! [X16] :
                  ( ( leq(s(zero),X16)
                    & ~ leq(host(X13),X16) )
                 => ( host(X14) = X16
                    | setIn(X16,index(down,host(X13))) ) ) )
           => ~ ( norm = index(status,host(X6))
                & host(X6) = index(ldr,host(X6))
                & setIn(X6,alive) ) )
        & ! [X6,X15,X14,X13] :
            ( ( elec_1 = index(status,host(X13))
              & elec_2 = index(status,host(X6))
              & host(X13) = host(X15)
              & elem(m_Down(X14),queue(host(X13)))
              & leq(host(X6),host(X13))
              & setIn(X6,alive)
              & ! [X16] :
                  ( ( leq(s(zero),X16)
                    & ~ leq(host(X13),X16) )
                 => ( host(X14) = X16
                    | setIn(X16,index(down,host(X13))) ) ) )
           => ~ elem(m_Ack(X6,X15),queue(host(X6))) )
        & ! [X6,X14,X13] :
            ( ( host(X14) = host(index(elid,host(X13)))
              & wait = index(status,host(X13))
              & host(X6) = host(X14)
              & elem(m_Down(X6),queue(host(X13)))
              & setIn(X13,alive)
              & host(X13) != host(X14) )
           => ~ ( host(X14) = index(ldr,host(X14))
                & norm = index(status,host(X14))
                & setIn(X14,alive) ) )
        & ! [X6,X14,X13] :
            ( ( index(ldr,host(X13)) = host(X14)
              & norm = index(status,host(X13))
              & host(X6) = host(X14)
              & elem(m_Down(X6),queue(host(X13)))
              & setIn(X13,alive)
              & host(X13) != host(X14) )
           => ~ ( host(X14) = index(ldr,host(X14))
                & norm = index(status,host(X14))
                & setIn(X14,alive) ) )
        & ! [X6,X15,X14,X13] :
            ( ( host(X13) = host(X14)
              & host(X6) = host(X15)
              & setIn(X14,alive)
              & setIn(X6,alive)
              & host(X6) != host(X14) )
           => ~ ( setIn(host(X15),index(down,host(X14)))
                & elem(m_Down(X13),queue(host(X6))) ) )
        & ! [X6,X15,X14,X13] :
            ( ( host(X13) = host(X14)
              & host(X6) = host(X15)
              & setIn(X14,alive)
              & setIn(X6,alive)
              & host(X6) != host(X14) )
           => ~ ( elem(m_Down(X15),queue(host(X14)))
                & elem(m_Down(X13),queue(host(X6))) ) )
        & ! [X6,X14,X13] :
            ( ( host(X6) = host(X14)
              & elem(m_Down(X14),queue(host(X13)))
              & setIn(X13,alive)
              & ~ leq(host(X14),host(X13)) )
           => ~ ( norm = index(status,host(X6))
                & host(X6) = index(ldr,host(X6))
                & setIn(X6,alive) ) )
        & ! [X6,X13] :
            ( ( host(X13) = index(ldr,host(X13))
              & norm = index(status,host(X13))
              & norm = index(status,host(X6))
              & host(X6) = index(ldr,host(X6))
              & setIn(X13,alive)
              & setIn(X6,alive) )
           => X6 = X13 )
        & ! [X6,X14,X13] :
            ( ( host(X13) = index(ldr,host(X13))
              & norm = index(status,host(X13))
              & host(X13) = host(X14)
              & setIn(X13,alive) )
           => ~ ( elem(m_Down(X14),queue(host(X6)))
                & setIn(X6,alive) ) )
        & ! [X6,X14,X13] :
            ( ( elec_2 = index(status,host(X13))
              & host(X13) = host(X14)
              & elem(m_Down(X14),queue(host(X6)))
              & setIn(X13,alive)
              & setIn(X6,alive) )
           => leq(index(pendack,host(X13)),host(X6)) )
        & ! [X6,X13] :
            ( ( host(X13) = index(ldr,host(X13))
              & norm = index(status,host(X13))
              & setIn(X13,alive) )
           => ~ ( setIn(host(X13),index(down,host(X6)))
                & setIn(X6,alive) ) )
        & ! [X6,X13] :
            ( ( elec_2 = index(status,host(X13))
              & setIn(host(X13),index(down,host(X6)))
              & setIn(X13,alive)
              & setIn(X6,alive) )
           => leq(index(pendack,host(X13)),host(X6)) )
        & ! [X6] :
            ( ( setIn(X6,alive)
              & ( elec_2 = index(status,host(X6))
                | elec_1 = index(status,host(X6)) ) )
           => index(elid,host(X6)) = X6 )
        & ! [X6,X13] :
            ( ( host(X6) = host(X13)
              & X6 != X13 )
           => ( ~ setIn(X13,alive)
              | ~ setIn(X6,alive) ) )
        & ! [X6,X13] :
            ( elem(m_Down(X13),queue(host(X6)))
           => host(X6) != host(X13) )
        & ! [X6,X13] :
            ( elem(m_Ldr(X13),queue(host(X6)))
           => ~ leq(host(X6),host(X13)) ) )
     => ( setIn(X4,alive)
       => ( leq(host(X4),host(X5))
         => ( ( host(X5) = index(pendack,host(X4))
              & elec_2 = index(status,host(X4)) )
           => ( leq(nbr_proc,index(pendack,host(X4)))
             => ! [X6] :
                  ( setIn(host(X6),index(acks,host(X4)))
                 => ! [X16] :
                      ( host(X4) = host(X16)
                     => ! [X17,X18,X19] :
                          ( host(X6) = host(X19)
                         => ( host(X4) != host(X19)
                           => ( ( elec_1 = index(status,host(X19))
                                & s(host(X19)) = host(X17)
                                & elem(m_Down(X18),snoc(queue(host(X19)),m_Ldr(X4)))
                                & elem(m_Down(X17),snoc(queue(host(X19)),m_Ldr(X4)))
                                & leq(nbr_proc,s(host(X19)))
                                & setIn(X19,alive)
                                & ! [X20] :
                                    ( ( leq(s(zero),X20)
                                      & ~ leq(host(X19),X20) )
                                   => ( host(X18) = X20
                                      | setIn(X20,index(down,host(X19))) ) ) )
                             => ~ ( host(X4) = host(X16)
                                  & setIn(X16,alive) ) ) ) ) ) ) ) ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',conj) ).

fof(f230,plain,
    leq(nbr_proc,s(host(sK13))),
    inference(cnf_transformation,[],[f162]) ).

fof(f250,plain,
    ! [X0] : leq(host(X0),nbr_proc),
    inference(cnf_transformation,[],[f74]) ).

fof(f74,plain,
    ! [X0] : leq(host(X0),nbr_proc),
    inference(rectify,[],[f5]) ).

fof(f5,axiom,
    ! [X2] : leq(host(X2),nbr_proc),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_04) ).

fof(f373,plain,
    ~ leq(host(sK11),host(sK9)),
    inference(forward_demodulation,[],[f372,f226]) ).

fof(f226,plain,
    host(sK9) = host(sK13),
    inference(cnf_transformation,[],[f162]) ).

fof(f372,plain,
    ~ leq(host(sK11),host(sK13)),
    inference(superposition,[],[f249,f233]) ).

fof(f249,plain,
    ! [X0] : ~ leq(s(X0),X0),
    inference(cnf_transformation,[],[f73]) ).

fof(f73,plain,
    ! [X0] : ~ leq(s(X0),X0),
    inference(rectify,[],[f59]) ).

fof(f59,axiom,
    ! [X4] : ~ leq(s(X4),X4),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_58) ).

fof(f1308339,plain,
    ! [X0] :
      ( leq(nbr_proc,host(sK9))
      | ~ elem(m_Down(X0),queue(host(sK9)))
      | host(X0) != host(sK7) ),
    inference(forward_demodulation,[],[f1308338,f226]) ).

fof(f1308338,plain,
    ! [X0] :
      ( ~ elem(m_Down(X0),queue(host(sK9)))
      | host(X0) != host(sK7)
      | leq(nbr_proc,host(sK13)) ),
    inference(forward_demodulation,[],[f1308335,f226]) ).

fof(f1308335,plain,
    ! [X0] :
      ( host(X0) != host(sK7)
      | ~ elem(m_Down(X0),queue(host(sK13)))
      | leq(nbr_proc,host(sK13)) ),
    inference(resolution,[],[f248909,f229]) ).

fof(f229,plain,
    setIn(sK13,alive),
    inference(cnf_transformation,[],[f162]) ).

fof(f248909,plain,
    ! [X0,X1] :
      ( ~ setIn(X1,alive)
      | host(X0) != host(sK7)
      | ~ elem(m_Down(X0),queue(host(X1)))
      | leq(nbr_proc,host(X1)) ),
    inference(forward_demodulation,[],[f248908,f4978]) ).

fof(f4978,plain,
    nbr_proc = host(sK8),
    inference(unit_resulting_resolution,[],[f250,f390,f317]) ).

fof(f390,plain,
    leq(nbr_proc,host(sK8)),
    inference(superposition,[],[f223,f222]) ).

fof(f222,plain,
    index(pendack,host(sK7)) = host(sK8),
    inference(cnf_transformation,[],[f162]) ).

fof(f223,plain,
    leq(nbr_proc,index(pendack,host(sK7))),
    inference(cnf_transformation,[],[f162]) ).

fof(f248908,plain,
    ! [X0,X1] :
      ( leq(host(sK8),host(X1))
      | host(X0) != host(sK7)
      | ~ elem(m_Down(X0),queue(host(X1)))
      | ~ setIn(X1,alive) ),
    inference(forward_demodulation,[],[f248907,f222]) ).

fof(f248907,plain,
    ! [X0,X1] :
      ( host(X0) != host(sK7)
      | ~ elem(m_Down(X0),queue(host(X1)))
      | leq(index(pendack,host(sK7)),host(X1))
      | ~ setIn(X1,alive) ),
    inference(subsumption_resolution,[],[f248904,f221]) ).

fof(f221,plain,
    elec_2 = index(status,host(sK7)),
    inference(cnf_transformation,[],[f162]) ).

fof(f248904,plain,
    ! [X0,X1] :
      ( elec_2 != index(status,host(sK7))
      | host(X0) != host(sK7)
      | ~ elem(m_Down(X0),queue(host(X1)))
      | leq(index(pendack,host(sK7)),host(X1))
      | ~ setIn(X1,alive) ),
    inference(resolution,[],[f208,f219]) ).

fof(f219,plain,
    setIn(sK7,alive),
    inference(cnf_transformation,[],[f162]) ).

fof(f208,plain,
    ! [X40,X41,X39] :
      ( ~ setIn(X41,alive)
      | elec_2 != index(status,host(X41))
      | host(X40) != host(X41)
      | ~ elem(m_Down(X40),queue(host(X39)))
      | leq(index(pendack,host(X41)),host(X39))
      | ~ setIn(X39,alive) ),
    inference(cnf_transformation,[],[f162]) ).

fof(f73819,plain,
    elem(m_Down(sK12),queue(host(sK9))),
    inference(unit_resulting_resolution,[],[f271,f4209,f332]) ).

fof(f332,plain,
    ! [X2,X0,X1] :
      ( ~ elem(X0,snoc(X2,X1))
      | X0 = X1
      | elem(X0,X2) ),
    inference(cnf_transformation,[],[f192]) ).

fof(f192,plain,
    ! [X0,X1,X2] :
      ( ( elem(X0,snoc(X2,X1))
        | ( ~ elem(X0,X2)
          & X0 != X1 ) )
      & ( elem(X0,X2)
        | X0 = X1
        | ~ elem(X0,snoc(X2,X1)) ) ),
    inference(flattening,[],[f191]) ).

fof(f191,plain,
    ! [X0,X1,X2] :
      ( ( elem(X0,snoc(X2,X1))
        | ( ~ elem(X0,X2)
          & X0 != X1 ) )
      & ( elem(X0,X2)
        | X0 = X1
        | ~ elem(X0,snoc(X2,X1)) ) ),
    inference(nnf_transformation,[],[f122]) ).

fof(f122,plain,
    ! [X0,X1,X2] :
      ( elem(X0,snoc(X2,X1))
    <=> ( elem(X0,X2)
        | X0 = X1 ) ),
    inference(rectify,[],[f48]) ).

fof(f48,axiom,
    ! [X4,X5,X3] :
      ( elem(X4,snoc(X3,X5))
    <=> ( elem(X4,X3)
        | X4 = X5 ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_47) ).

fof(f4209,plain,
    elem(m_Down(sK12),snoc(queue(host(sK9)),m_Ldr(sK7))),
    inference(superposition,[],[f232,f226]) ).

fof(f232,plain,
    elem(m_Down(sK12),snoc(queue(host(sK13)),m_Ldr(sK7))),
    inference(cnf_transformation,[],[f162]) ).

fof(f271,plain,
    ! [X0,X1] : m_Down(X0) != m_Ldr(X1),
    inference(cnf_transformation,[],[f92]) ).

fof(f92,plain,
    ! [X0,X1] : m_Down(X0) != m_Ldr(X1),
    inference(rectify,[],[f19]) ).

fof(f19,axiom,
    ! [X4,X5] : m_Down(X4) != m_Ldr(X5),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_18) ).

fof(f1254415,plain,
    host(sK7) = host(sK12),
    inference(unit_resulting_resolution,[],[f244303,f764210,f198526]) ).

fof(f198526,plain,
    ! [X0] :
      ( leq(host(sK9),host(X0))
      | setIn(host(X0),index(down,host(sK9)))
      | host(X0) = host(sK12) ),
    inference(forward_demodulation,[],[f198525,f226]) ).

fof(f198525,plain,
    ! [X0] :
      ( setIn(host(X0),index(down,host(sK9)))
      | host(X0) = host(sK12)
      | leq(host(sK13),host(X0)) ),
    inference(forward_demodulation,[],[f198455,f226]) ).

fof(f198455,plain,
    ! [X0] :
      ( setIn(host(X0),index(down,host(sK13)))
      | host(X0) = host(sK12)
      | leq(host(sK13),host(X0)) ),
    inference(resolution,[],[f228,f253]) ).

fof(f253,plain,
    ! [X0] : leq(s(zero),host(X0)),
    inference(cnf_transformation,[],[f77]) ).

fof(f77,plain,
    ! [X0] : leq(s(zero),host(X0)),
    inference(rectify,[],[f3]) ).

fof(f3,axiom,
    ! [X2] : leq(s(zero),host(X2)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_02) ).

fof(f228,plain,
    ! [X8] :
      ( ~ leq(s(zero),X8)
      | setIn(X8,index(down,host(sK13)))
      | host(sK12) = X8
      | leq(host(sK13),X8) ),
    inference(cnf_transformation,[],[f162]) ).

fof(f764210,plain,
    ~ setIn(host(sK7),index(down,host(sK9))),
    inference(subsumption_resolution,[],[f764209,f5144]) ).

fof(f764209,plain,
    ( leq(nbr_proc,host(sK9))
    | ~ setIn(host(sK7),index(down,host(sK9))) ),
    inference(forward_demodulation,[],[f764208,f226]) ).

fof(f764208,plain,
    ( ~ setIn(host(sK7),index(down,host(sK9)))
    | leq(nbr_proc,host(sK13)) ),
    inference(subsumption_resolution,[],[f764207,f229]) ).

fof(f764207,plain,
    ( ~ setIn(host(sK7),index(down,host(sK9)))
    | leq(nbr_proc,host(sK13))
    | ~ setIn(sK13,alive) ),
    inference(superposition,[],[f234931,f226]) ).

fof(f234931,plain,
    ! [X0] :
      ( ~ setIn(host(sK7),index(down,host(X0)))
      | leq(nbr_proc,host(X0))
      | ~ setIn(X0,alive) ),
    inference(forward_demodulation,[],[f234930,f4978]) ).

fof(f234930,plain,
    ! [X0] :
      ( leq(host(sK8),host(X0))
      | ~ setIn(host(sK7),index(down,host(X0)))
      | ~ setIn(X0,alive) ),
    inference(forward_demodulation,[],[f234929,f222]) ).

fof(f234929,plain,
    ! [X0] :
      ( leq(index(pendack,host(sK7)),host(X0))
      | ~ setIn(host(sK7),index(down,host(X0)))
      | ~ setIn(X0,alive) ),
    inference(forward_demodulation,[],[f234928,f236]) ).

fof(f236,plain,
    host(sK7) = host(sK10),
    inference(cnf_transformation,[],[f162]) ).

fof(f234928,plain,
    ! [X0] :
      ( ~ setIn(host(sK7),index(down,host(X0)))
      | leq(index(pendack,host(sK10)),host(X0))
      | ~ setIn(X0,alive) ),
    inference(subsumption_resolution,[],[f234927,f221]) ).

fof(f234927,plain,
    ! [X0] :
      ( elec_2 != index(status,host(sK7))
      | ~ setIn(host(sK7),index(down,host(X0)))
      | leq(index(pendack,host(sK10)),host(X0))
      | ~ setIn(X0,alive) ),
    inference(forward_demodulation,[],[f234926,f236]) ).

fof(f234926,plain,
    ! [X0] :
      ( ~ setIn(host(sK7),index(down,host(X0)))
      | elec_2 != index(status,host(sK10))
      | leq(index(pendack,host(sK10)),host(X0))
      | ~ setIn(X0,alive) ),
    inference(subsumption_resolution,[],[f234917,f235]) ).

fof(f235,plain,
    setIn(sK10,alive),
    inference(cnf_transformation,[],[f162]) ).

fof(f234917,plain,
    ! [X0] :
      ( ~ setIn(host(sK7),index(down,host(X0)))
      | elec_2 != index(status,host(sK10))
      | leq(index(pendack,host(sK10)),host(X0))
      | ~ setIn(sK10,alive)
      | ~ setIn(X0,alive) ),
    inference(superposition,[],[f206,f236]) ).

fof(f206,plain,
    ! [X44,X45] :
      ( ~ setIn(host(X45),index(down,host(X44)))
      | elec_2 != index(status,host(X45))
      | leq(index(pendack,host(X45)),host(X44))
      | ~ setIn(X45,alive)
      | ~ setIn(X44,alive) ),
    inference(cnf_transformation,[],[f162]) ).

fof(f244303,plain,
    ~ leq(host(sK9),host(sK7)),
    inference(unit_resulting_resolution,[],[f367,f244248,f317]) ).

fof(f244248,plain,
    leq(host(sK7),host(sK9)),
    inference(unit_resulting_resolution,[],[f250,f10297,f28340]) ).

fof(f28340,plain,
    ! [X0] :
      ( ~ leq(X0,nbr_proc)
      | nbr_proc = X0
      | leq(X0,host(sK9)) ),
    inference(forward_demodulation,[],[f28339,f226]) ).

fof(f28339,plain,
    ! [X0] :
      ( nbr_proc = X0
      | ~ leq(X0,nbr_proc)
      | leq(X0,host(sK13)) ),
    inference(forward_demodulation,[],[f28338,f4977]) ).

fof(f28338,plain,
    ! [X0] :
      ( host(sK11) = X0
      | ~ leq(X0,nbr_proc)
      | leq(X0,host(sK13)) ),
    inference(forward_demodulation,[],[f28337,f233]) ).

fof(f28337,plain,
    ! [X0] :
      ( ~ leq(X0,nbr_proc)
      | s(host(sK13)) = X0
      | leq(X0,host(sK13)) ),
    inference(forward_demodulation,[],[f28323,f4977]) ).

fof(f28323,plain,
    ! [X0] :
      ( ~ leq(X0,host(sK11))
      | s(host(sK13)) = X0
      | leq(X0,host(sK13)) ),
    inference(superposition,[],[f314,f233]) ).

fof(f314,plain,
    ! [X0,X1] :
      ( ~ leq(X0,s(X1))
      | s(X1) = X0
      | leq(X0,X1) ),
    inference(cnf_transformation,[],[f186]) ).

fof(f186,plain,
    ! [X0,X1] :
      ( ( leq(X0,s(X1))
        | ( ~ leq(X0,X1)
          & s(X1) != X0 ) )
      & ( leq(X0,X1)
        | s(X1) = X0
        | ~ leq(X0,s(X1)) ) ),
    inference(flattening,[],[f185]) ).

fof(f185,plain,
    ! [X0,X1] :
      ( ( leq(X0,s(X1))
        | ( ~ leq(X0,X1)
          & s(X1) != X0 ) )
      & ( leq(X0,X1)
        | s(X1) = X0
        | ~ leq(X0,s(X1)) ) ),
    inference(nnf_transformation,[],[f110]) ).

fof(f110,plain,
    ! [X0,X1] :
      ( leq(X0,s(X1))
    <=> ( leq(X0,X1)
        | s(X1) = X0 ) ),
    inference(rectify,[],[f65]) ).

fof(f65,axiom,
    ! [X4,X5] :
      ( leq(X4,s(X5))
    <=> ( leq(X4,X5)
        | s(X5) = X4 ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_64) ).

fof(f10297,plain,
    nbr_proc != host(sK7),
    inference(forward_demodulation,[],[f10291,f4978]) ).

fof(f10291,plain,
    host(sK7) != host(sK8),
    inference(unit_resulting_resolution,[],[f567,f202]) ).

fof(f202,plain,
    ! [X50,X49] :
      ( ~ elem(m_Down(X50),queue(host(X49)))
      | host(X49) != host(X50) ),
    inference(cnf_transformation,[],[f162]) ).

fof(f567,plain,
    elem(m_Down(sK8),queue(host(sK7))),
    inference(superposition,[],[f348,f218]) ).

fof(f218,plain,
    queue(host(sK7)) = cons(m_Down(sK8),sK6),
    inference(cnf_transformation,[],[f162]) ).

fof(f348,plain,
    ! [X2,X1] : elem(X1,cons(X1,X2)),
    inference(equality_resolution,[],[f330]) ).

fof(f330,plain,
    ! [X2,X0,X1] :
      ( elem(X0,cons(X1,X2))
      | X0 != X1 ),
    inference(cnf_transformation,[],[f190]) ).

fof(f190,plain,
    ! [X0,X1,X2] :
      ( ( elem(X0,cons(X1,X2))
        | ( ~ elem(X0,X2)
          & X0 != X1 ) )
      & ( elem(X0,X2)
        | X0 = X1
        | ~ elem(X0,cons(X1,X2)) ) ),
    inference(flattening,[],[f189]) ).

fof(f189,plain,
    ! [X0,X1,X2] :
      ( ( elem(X0,cons(X1,X2))
        | ( ~ elem(X0,X2)
          & X0 != X1 ) )
      & ( elem(X0,X2)
        | X0 = X1
        | ~ elem(X0,cons(X1,X2)) ) ),
    inference(nnf_transformation,[],[f121]) ).

fof(f121,plain,
    ! [X0,X1,X2] :
      ( elem(X0,cons(X1,X2))
    <=> ( elem(X0,X2)
        | X0 = X1 ) ),
    inference(rectify,[],[f47]) ).

fof(f47,axiom,
    ! [X4,X5,X3] :
      ( elem(X4,cons(X5,X3))
    <=> ( elem(X4,X3)
        | X4 = X5 ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',axiom_46) ).

fof(f367,plain,
    host(sK7) != host(sK9),
    inference(superposition,[],[f227,f226]) ).

fof(f227,plain,
    host(sK7) != host(sK13),
    inference(cnf_transformation,[],[f162]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.14  % Problem    : SWV478+1 : TPTP v8.1.2. Released v4.0.0.
% 0.13/0.16  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.14/0.37  % Computer : n004.cluster.edu
% 0.14/0.37  % Model    : x86_64 x86_64
% 0.14/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.37  % Memory   : 8042.1875MB
% 0.14/0.37  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.37  % CPULimit   : 300
% 0.14/0.37  % WCLimit    : 300
% 0.14/0.37  % DateTime   : Tue Apr 30 04:52:18 EDT 2024
% 0.14/0.37  % CPUTime    : 
% 0.14/0.37  % (25235)Running in auto input_syntax mode. Trying TPTP
% 0.14/0.39  % (25242)ott+1_64_av=off:bd=off:bce=on:fsd=off:fde=unused:gsp=on:irw=on:lcm=predicate:lma=on:nm=2:nwc=1.1:sims=off:urr=on_497 on theBenchmark for (497ds/0Mi)
% 0.14/0.39  % (25238)WARNING: value z3 for option sas not known
% 0.14/0.39  % (25241)ott-10_8_av=off:bd=preordered:bs=on:fsd=off:fsr=off:fde=unused:irw=on:lcm=predicate:lma=on:nm=4:nwc=1.7:sp=frequency_522 on theBenchmark for (522ds/0Mi)
% 0.14/0.39  % (25237)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.14/0.39  % (25239)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.14/0.39  % (25240)ott+10_10:1_add=off:afr=on:amm=off:anc=all:bd=off:bs=on:fsr=off:irw=on:lma=on:msp=off:nm=4:nwc=4.0:sac=on:sp=reverse_frequency_531 on theBenchmark for (531ds/0Mi)
% 0.14/0.39  % (25238)dis+2_11_add=large:afr=on:amm=off:bd=off:bce=on:fsd=off:fde=none:gs=on:gsaa=full_model:gsem=off:irw=on:msp=off:nm=4:nwc=1.3:sas=z3:sims=off:sac=on:sp=reverse_arity_569 on theBenchmark for (569ds/0Mi)
% 0.14/0.39  % (25236)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.14/0.41  Detected minimum model sizes of [4]
% 0.14/0.41  Detected maximum model sizes of [max]
% 0.14/0.42  TRYING [4]
% 0.21/0.48  Detected minimum model sizes of [4]
% 0.21/0.48  Detected maximum model sizes of [max]
% 0.21/0.49  TRYING [4]
% 0.21/0.49  TRYING [5]
% 1.89/0.64  TRYING [6]
% 2.87/0.81  TRYING [5]
% 3.50/0.91  TRYING [7]
% 6.25/1.32  TRYING [8]
% 7.77/1.51  Detected minimum model sizes of [4]
% 7.77/1.51  Detected maximum model sizes of [max]
% 7.77/1.51  TRYING [4]
% 8.34/1.59  TRYING [5]
% 9.25/1.73  TRYING [6]
% 10.89/1.95  TRYING [9]
% 11.35/2.01  TRYING [7]
% 13.97/2.41  TRYING [6]
% 14.59/2.46  TRYING [8]
% 17.42/2.90  TRYING [10]
% 19.86/3.21  TRYING [9]
% 28.42/4.44  TRYING [10]
% 28.98/4.54  TRYING [11]
% 41.83/6.37  TRYING [11]
% 46.77/7.10  TRYING [12]
% 66.87/9.95  TRYING [12]
% 73.39/10.90  TRYING [13]
% 106.40/15.63  TRYING [13]
% 117.32/17.19  TRYING [14]
% 137.81/20.15  % (25242)First to succeed.
% 138.22/20.21  % (25242)Refutation found. Thanks to Tanya!
% 138.22/20.21  % SZS status Theorem for theBenchmark
% 138.22/20.21  % SZS output start Proof for theBenchmark
% See solution above
% 138.22/20.21  % (25242)------------------------------
% 138.22/20.21  % (25242)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 138.22/20.21  % (25242)Termination reason: Refutation
% 138.22/20.21  
% 138.22/20.21  % (25242)Memory used [KB]: 285185
% 138.22/20.21  % (25242)Time elapsed: 19.774 s
% 138.22/20.21  % (25242)Instructions burned: 47488 (million)
% 138.22/20.21  % (25242)------------------------------
% 138.22/20.21  % (25242)------------------------------
% 138.22/20.21  % (25235)Success in time 19.768 s
%------------------------------------------------------------------------------