TSTP Solution File: SWV811_5 by Vampire-SAT---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.8
% Problem  : SWV811_5 : TPTP v8.2.0. Released v6.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s

% Computer : n014.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 May 21 06:36:07 EDT 2024

% Result   : Theorem 0.20s 0.38s
% Output   : Refutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   55
% Syntax   : Number of formulae    :   70 (  17 unt;  50 typ;   0 def)
%            Number of atoms       :   26 (   9 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   15 (   9   ~;   4   |;   2   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    5 (   3 avg)
%            Maximal term depth    :   10 (   2 avg)
%            Number of types       :    6 (   5 usr)
%            Number of type conns  :   59 (  33   >;  26   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-4 aty)
%            Number of functors    :   41 (  41 usr;  10 con; 0-5 aty)
%            Number of variables   :   40 (  21   !;   0   ?;  40   :)
%                                         (  19  !>;   0  ?*;   0  @-;   0  @+)

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

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

tff(type_def_7,type,
    list: $tType > $tType ).

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

tff(type_def_9,type,
    msg: $tType ).

tff(type_def_10,type,
    nat: $tType ).

tff(type_def_11,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,
    bad: fun(agent,bool) ).

tff(func_def_3,type,
    gets: ( agent * msg ) > event ).

tff(func_def_4,type,
    notes: ( agent * msg ) > event ).

tff(func_def_5,type,
    says: ( agent * agent * msg ) > event ).

tff(func_def_6,type,
    initState: agent > fun(msg,bool) ).

tff(func_def_7,type,
    knows: ( agent * list(event) ) > fun(msg,bool) ).

tff(func_def_8,type,
    nil: 
      !>[X0: $tType] : list(X0) ).

tff(func_def_9,type,
    list_case: 
      !>[X0: $tType,X1: $tType] : ( ( X0 * fun(X1,fun(list(X1),X0)) * list(X1) ) > X0 ) ).

tff(func_def_10,type,
    rev: 
      !>[X0: $tType] : ( list(X0) > list(X0) ) ).

tff(func_def_11,type,
    set: 
      !>[X0: $tType] : ( list(X0) > fun(X0,bool) ) ).

tff(func_def_12,type,
    takeWhile: 
      !>[X0: $tType] : ( ( fun(X0,bool) * list(X0) ) > list(X0) ) ).

tff(func_def_13,type,
    spy: agent ).

tff(func_def_14,type,
    analz: fun(msg,bool) > fun(msg,bool) ).

tff(func_def_15,type,
    crypt: ( nat * msg ) > msg ).

tff(func_def_16,type,
    key: nat > msg ).

tff(func_def_17,type,
    mPair: ( msg * msg ) > msg ).

tff(func_def_18,type,
    nonce: nat > msg ).

tff(func_def_19,type,
    parts: fun(msg,bool) > fun(msg,bool) ).

tff(func_def_20,type,
    nS_Sha254967238shared: fun(list(event),bool) ).

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

tff(func_def_22,type,
    fFalse: bool ).

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

tff(func_def_24,type,
    fTrue: bool ).

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

tff(func_def_26,type,
    a: agent ).

tff(func_def_27,type,
    b: agent ).

tff(func_def_28,type,
    k: nat ).

tff(func_def_29,type,
    nb: nat ).

tff(func_def_30,type,
    sK0: fun(msg,bool) > msg ).

tff(func_def_31,type,
    sK1: fun(msg,bool) > nat ).

tff(func_def_32,type,
    sK2: fun(msg,bool) > msg ).

tff(func_def_33,type,
    sK3: fun(msg,bool) > msg ).

tff(func_def_34,type,
    sK4: ( list(event) * msg ) > agent ).

tff(func_def_35,type,
    sK5: ( list(event) * msg ) > agent ).

tff(func_def_36,type,
    sK6: ( list(event) * agent * msg ) > agent ).

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

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

tff(pred_def_1,type,
    nS_Sha512322870Issues: ( agent * agent * msg * list(event) ) > $o ).

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

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

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

tff(f518,plain,
    $false,
    inference(resolution,[],[f383,f495]) ).

tff(f495,plain,
    member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(initState(spy))),
    inference(forward_demodulation,[],[f494,f333]) ).

tff(f333,plain,
    ! [X0: agent] : ( knows(X0,nil(event)) = initState(X0) ),
    inference(cnf_transformation,[],[f121]) ).

tff(f121,plain,
    ! [X0: agent] : ( knows(X0,nil(event)) = initState(X0) ),
    inference(rectify,[],[f60]) ).

tff(f60,axiom,
    ! [X10: agent] : ( knows(X10,nil(event)) = initState(X10) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fact_59_knows__Nil) ).

tff(f494,plain,
    member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,nil(event)))),
    inference(backward_demodulation,[],[f492,f343]) ).

tff(f343,plain,
    ! [X0: $tType,X1: fun(X0,bool)] : ( nil(X0) = takeWhile(X0,X1,nil(X0)) ),
    inference(cnf_transformation,[],[f131]) ).

tff(f131,plain,
    ! [X0: $tType,X1: fun(X0,bool)] : ( nil(X0) = takeWhile(X0,X1,nil(X0)) ),
    inference(rectify,[],[f6]) ).

tff(f6,axiom,
    ! [X2: $tType,X12: fun(X2,bool)] : ( nil(X2) = takeWhile(X2,X12,nil(X2)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fact_5_takeWhile_Osimps_I1_J) ).

tff(f492,plain,
    member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,takeWhile(event,combb(bool,bool,event,fNot,combc(event,event,bool,fequal(event),says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))))),nil(event))))),
    inference(backward_demodulation,[],[f318,f327]) ).

tff(f327,plain,
    ! [X0: $tType] : ( nil(X0) = rev(X0,nil(X0)) ),
    inference(cnf_transformation,[],[f115]) ).

tff(f115,plain,
    ! [X0: $tType] : ( nil(X0) = rev(X0,nil(X0)) ),
    inference(rectify,[],[f8]) ).

tff(f8,axiom,
    ! [X2: $tType] : ( nil(X2) = rev(X2,nil(X2)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fact_7_rev_Osimps_I1_J) ).

tff(f318,plain,
    member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,takeWhile(event,combb(bool,bool,event,fNot,combc(event,event,bool,fequal(event),says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))))),rev(event,nil(event)))))),
    inference(cnf_transformation,[],[f218]) ).

tff(f218,plain,
    ( member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,takeWhile(event,combb(bool,bool,event,fNot,combc(event,event,bool,fequal(event),says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))))),rev(event,nil(event))))))
    & member(event,says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))),set(event,nil(event)))
    & ~ member(msg,key(k),analz(knows(spy,nil(event)))) ),
    inference(ennf_transformation,[],[f112]) ).

tff(f112,negated_conjecture,
    ~ ( ~ member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,takeWhile(event,combb(bool,bool,event,fNot,combc(event,event,bool,fequal(event),says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))))),rev(event,nil(event))))))
      | ~ member(event,says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))),set(event,nil(event)))
      | member(msg,key(k),analz(knows(spy,nil(event)))) ),
    inference(negated_conjecture,[],[f111]) ).

tff(f111,conjecture,
    ( ~ member(msg,crypt(k,mPair(nonce(nb),nonce(nb))),parts(knows(spy,takeWhile(event,combb(bool,bool,event,fNot,combc(event,event,bool,fequal(event),says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))))),rev(event,nil(event))))))
    | ~ member(event,says(a,b,crypt(k,mPair(nonce(nb),nonce(nb)))),set(event,nil(event)))
    | member(msg,key(k),analz(knows(spy,nil(event)))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',conj_2) ).

tff(f383,plain,
    ! [X2: nat,X0: agent,X1: msg] : ~ member(msg,crypt(X2,X1),parts(initState(X0))),
    inference(cnf_transformation,[],[f161]) ).

tff(f161,plain,
    ! [X0: agent,X1: msg,X2: nat] : ~ member(msg,crypt(X2,X1),parts(initState(X0))),
    inference(rectify,[],[f90]) ).

tff(f90,axiom,
    ! [X7: agent,X5: msg,X6: nat] : ~ member(msg,crypt(X6,X5),parts(initState(X7))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fact_89_Crypt__notin__initState) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.11  % Problem    : SWV811_5 : TPTP v8.2.0. Released v6.0.0.
% 0.07/0.13  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.14/0.34  % Computer : n014.cluster.edu
% 0.14/0.34  % Model    : x86_64 x86_64
% 0.14/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34  % Memory   : 8042.1875MB
% 0.14/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34  % CPULimit   : 300
% 0.14/0.34  % WCLimit    : 300
% 0.14/0.34  % DateTime   : Sun May 19 08:08:08 EDT 2024
% 0.14/0.34  % CPUTime    : 
% 0.14/0.35  % (20269)Running in auto input_syntax mode. Trying TPTP
% 0.14/0.36  % (20271)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.14/0.37  % Exception at run slice level
% 0.14/0.37  User error: Finite model buillding is currently not compatible with polymorphism or higher-order constructs
% 0.14/0.37  % (20272)WARNING: value z3 for option sas not known
% 0.14/0.37  % (20270)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.14/0.37  % (20272)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.37  % (20273)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.14/0.37  % (20274)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.37  % (20275)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.37  % (20276)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.37  % (20276)WARNING: Not using GeneralSplitting currently not compatible with polymorphic/higher-order inputs.
% 0.14/0.37  % Exception at run slice level
% 0.14/0.37  User error: Finite model buillding is currently not compatible with polymorphism or higher-order constructs
% 0.14/0.37  % Exception at run slice level
% 0.14/0.37  User error: Finite model buillding is currently not compatible with polymorphism or higher-order constructs
% 0.14/0.38  % (20277)fmb+10_1_fmbas=expand:fmbsr=1.1:gsp=on:nm=4_411 on theBenchmark for (411ds/0Mi)
% 0.14/0.38  % (20275)First to succeed.
% 0.20/0.38  % (20275)Solution written to "/export/starexec/sandbox/tmp/vampire-proof-20269"
% 0.20/0.38  % (20277)WARNING: Not using GeneralSplitting currently not compatible with polymorphic/higher-order inputs.
% 0.20/0.38  % Exception at run slice level
% 0.20/0.38  User error: Finite model buillding is currently not compatible with polymorphism or higher-order constructs
% 0.20/0.38  % (20275)Refutation found. Thanks to Tanya!
% 0.20/0.38  % SZS status Theorem for theBenchmark
% 0.20/0.38  % SZS output start Proof for theBenchmark
% See solution above
% 0.20/0.38  % (20275)------------------------------
% 0.20/0.38  % (20275)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 0.20/0.38  % (20275)Termination reason: Refutation
% 0.20/0.38  
% 0.20/0.38  % (20275)Memory used [KB]: 1067
% 0.20/0.38  % (20275)Time elapsed: 0.011 s
% 0.20/0.38  % (20275)Instructions burned: 16 (million)
% 0.20/0.38  % (20269)Success in time 0.03 s
%------------------------------------------------------------------------------