TSTP Solution File: SWV014-1 by SnakeForV-SAT---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : SWV014-1 : TPTP v8.1.0. Released v2.4.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_sat --cores 0 -t %d %s

% Computer : n001.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Wed Aug 31 18:55:13 EDT 2022

% Result   : Unsatisfiable 0.18s 0.49s
% Output   : Refutation 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :   21
% Syntax   : Number of formulae    :   56 (  15 unt;   0 def)
%            Number of atoms       :  131 (   0 equ)
%            Maximal formula atoms :    5 (   2 avg)
%            Number of connectives :  152 (  77   ~;  71   |;   0   &)
%                                         (   4 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    6 (   2 avg)
%            Number of predicates  :   12 (  11 usr;   5 prp; 0-1 aty)
%            Number of functors    :   12 (  12 usr;   5 con; 0-3 aty)
%            Number of variables   :   52 (  52   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f152,plain,
    $false,
    inference(avatar_sat_refutation,[],[f56,f117,f142,f145,f151]) ).

fof(f151,plain,
    ~ spl0_1,
    inference(avatar_contradiction_clause,[],[f148]) ).

fof(f148,plain,
    ( $false
    | ~ spl0_1 ),
    inference(resolution,[],[f52,f12]) ).

fof(f12,axiom,
    party_of_protocol(t),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',t_is_party_of_protocol_15) ).

fof(f52,plain,
    ( ! [X2] : ~ party_of_protocol(X2)
    | ~ spl0_1 ),
    inference(avatar_component_clause,[],[f51]) ).

fof(f51,plain,
    ( spl0_1
  <=> ! [X2] : ~ party_of_protocol(X2) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_1])]) ).

fof(f145,plain,
    ~ spl0_5,
    inference(avatar_contradiction_clause,[],[f144]) ).

fof(f144,plain,
    ( $false
    | ~ spl0_5 ),
    inference(subsumption_resolution,[],[f143,f36]) ).

fof(f36,plain,
    intruder_message(an_a_nonce),
    inference(resolution,[],[f35,f16]) ).

fof(f16,axiom,
    ! [X0,X4] :
      ( ~ intruder_message(pair(X0,X4))
      | intruder_message(X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_decomposes_pairs_19) ).

fof(f35,plain,
    intruder_message(pair(a,an_a_nonce)),
    inference(resolution,[],[f14,f2]) ).

fof(f2,axiom,
    message(sent(a,b,pair(a,an_a_nonce))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_sent_message_i_to_b_3) ).

fof(f14,axiom,
    ! [X3,X0,X4] :
      ( ~ message(sent(X0,X4,X3))
      | intruder_message(X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_can_record_17) ).

fof(f143,plain,
    ( ~ intruder_message(an_a_nonce)
    | ~ spl0_5 ),
    inference(resolution,[],[f112,f41]) ).

fof(f41,plain,
    ! [X0] :
      ( ~ b_holds(key(X0,a))
      | ~ intruder_message(X0) ),
    inference(subsumption_resolution,[],[f40,f5]) ).

fof(f5,axiom,
    party_of_protocol(b),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_is_party_of_protocol_8) ).

fof(f40,plain,
    ! [X0] :
      ( ~ b_holds(key(X0,a))
      | ~ intruder_message(X0)
      | ~ party_of_protocol(b) ),
    inference(resolution,[],[f29,f34]) ).

fof(f34,axiom,
    ! [X0] :
      ( ~ intruder_holds(key(X0,b))
      | ~ b_holds(key(X0,a)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',co1_38) ).

fof(f29,axiom,
    ! [X0,X4] :
      ( intruder_holds(key(X0,X4))
      | ~ intruder_message(X0)
      | ~ party_of_protocol(X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_holds_key_32) ).

fof(f112,plain,
    ( b_holds(key(an_a_nonce,a))
    | ~ spl0_5 ),
    inference(avatar_component_clause,[],[f110]) ).

fof(f110,plain,
    ( spl0_5
  <=> b_holds(key(an_a_nonce,a)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_5])]) ).

fof(f142,plain,
    ( ~ spl0_2
    | spl0_6 ),
    inference(avatar_contradiction_clause,[],[f141]) ).

fof(f141,plain,
    ( $false
    | ~ spl0_2
    | spl0_6 ),
    inference(subsumption_resolution,[],[f140,f36]) ).

fof(f140,plain,
    ( ~ intruder_message(an_a_nonce)
    | ~ spl0_2
    | spl0_6 ),
    inference(subsumption_resolution,[],[f139,f86]) ).

fof(f86,plain,
    intruder_message(generate_b_nonce(an_a_nonce)),
    inference(resolution,[],[f79,f18]) ).

fof(f18,axiom,
    ! [X3,X0,X4] :
      ( ~ intruder_message(triple(X0,X4,X3))
      | intruder_message(X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_decomposes_triples_21) ).

fof(f79,plain,
    intruder_message(triple(b,generate_b_nonce(an_a_nonce),encrypt(triple(a,an_a_nonce,generate_expiration_time(an_a_nonce)),bt))),
    inference(resolution,[],[f67,f14]) ).

fof(f67,plain,
    message(sent(b,t,triple(b,generate_b_nonce(an_a_nonce),encrypt(triple(a,an_a_nonce,generate_expiration_time(an_a_nonce)),bt)))),
    inference(subsumption_resolution,[],[f65,f6]) ).

fof(f6,axiom,
    fresh_to_b(an_a_nonce),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',nonce_a_is_fresh_to_b_9) ).

fof(f65,plain,
    ( message(sent(b,t,triple(b,generate_b_nonce(an_a_nonce),encrypt(triple(a,an_a_nonce,generate_expiration_time(an_a_nonce)),bt))))
    | ~ fresh_to_b(an_a_nonce) ),
    inference(resolution,[],[f7,f2]) ).

fof(f7,axiom,
    ! [X0,X4] :
      ( ~ message(sent(X0,b,pair(X0,X4)))
      | ~ fresh_to_b(X4)
      | message(sent(b,t,triple(b,generate_b_nonce(X4),encrypt(triple(X0,X4,generate_expiration_time(X4)),bt)))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_creates_freash_nonces_in_time_10) ).

fof(f139,plain,
    ( ~ intruder_message(generate_b_nonce(an_a_nonce))
    | ~ intruder_message(an_a_nonce)
    | ~ spl0_2
    | spl0_6 ),
    inference(resolution,[],[f116,f55]) ).

fof(f55,plain,
    ( ! [X0,X1] :
        ( intruder_message(encrypt(X0,X1))
        | ~ intruder_message(X0)
        | ~ intruder_message(X1) )
    | ~ spl0_2 ),
    inference(avatar_component_clause,[],[f54]) ).

fof(f54,plain,
    ( spl0_2
  <=> ! [X0,X1] :
        ( ~ intruder_message(X0)
        | ~ intruder_message(X1)
        | intruder_message(encrypt(X0,X1)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_2])]) ).

fof(f116,plain,
    ( ~ intruder_message(encrypt(generate_b_nonce(an_a_nonce),an_a_nonce))
    | spl0_6 ),
    inference(avatar_component_clause,[],[f114]) ).

fof(f114,plain,
    ( spl0_6
  <=> intruder_message(encrypt(generate_b_nonce(an_a_nonce),an_a_nonce)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_6])]) ).

fof(f117,plain,
    ( spl0_5
    | ~ spl0_6 ),
    inference(avatar_split_clause,[],[f108,f114,f110]) ).

fof(f108,plain,
    ( ~ intruder_message(encrypt(generate_b_nonce(an_a_nonce),an_a_nonce))
    | b_holds(key(an_a_nonce,a)) ),
    inference(subsumption_resolution,[],[f107,f1]) ).

fof(f1,axiom,
    party_of_protocol(a),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_is_party_of_protocol_2) ).

fof(f107,plain,
    ( ~ intruder_message(encrypt(generate_b_nonce(an_a_nonce),an_a_nonce))
    | ~ party_of_protocol(a)
    | b_holds(key(an_a_nonce,a)) ),
    inference(subsumption_resolution,[],[f105,f60]) ).

fof(f60,plain,
    b_stored(pair(a,an_a_nonce)),
    inference(subsumption_resolution,[],[f57,f6]) ).

fof(f57,plain,
    ( ~ fresh_to_b(an_a_nonce)
    | b_stored(pair(a,an_a_nonce)) ),
    inference(resolution,[],[f8,f2]) ).

fof(f8,axiom,
    ! [X0,X4] :
      ( ~ message(sent(X0,b,pair(X0,X4)))
      | b_stored(pair(X0,X4))
      | ~ fresh_to_b(X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_creates_freash_nonces_in_time_11) ).

fof(f105,plain,
    ( ~ b_stored(pair(a,an_a_nonce))
    | ~ party_of_protocol(a)
    | ~ intruder_message(encrypt(generate_b_nonce(an_a_nonce),an_a_nonce))
    | b_holds(key(an_a_nonce,a)) ),
    inference(resolution,[],[f88,f85]) ).

fof(f85,plain,
    intruder_message(encrypt(triple(a,an_a_nonce,generate_expiration_time(an_a_nonce)),bt)),
    inference(resolution,[],[f79,f19]) ).

fof(f19,axiom,
    ! [X3,X0,X4] :
      ( ~ intruder_message(triple(X0,X4,X3))
      | intruder_message(X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_decomposes_triples_22) ).

fof(f88,plain,
    ! [X2,X0,X1] :
      ( ~ intruder_message(encrypt(triple(X0,X2,generate_expiration_time(X1)),bt))
      | ~ party_of_protocol(X0)
      | b_holds(key(X2,X0))
      | ~ b_stored(pair(X0,X1))
      | ~ intruder_message(encrypt(generate_b_nonce(X1),X2)) ),
    inference(resolution,[],[f70,f24]) ).

fof(f24,axiom,
    ! [X0,X4] :
      ( intruder_message(pair(X0,X4))
      | ~ intruder_message(X0)
      | ~ intruder_message(X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_composes_pairs_27) ).

fof(f70,plain,
    ! [X2,X0,X1] :
      ( ~ intruder_message(pair(encrypt(triple(X0,X2,generate_expiration_time(X1)),bt),encrypt(generate_b_nonce(X1),X2)))
      | ~ b_stored(pair(X0,X1))
      | b_holds(key(X2,X0))
      | ~ party_of_protocol(X0) ),
    inference(subsumption_resolution,[],[f69,f5]) ).

fof(f69,plain,
    ! [X2,X0,X1] :
      ( ~ party_of_protocol(X0)
      | ~ party_of_protocol(b)
      | ~ b_stored(pair(X0,X1))
      | ~ intruder_message(pair(encrypt(triple(X0,X2,generate_expiration_time(X1)),bt),encrypt(generate_b_nonce(X1),X2)))
      | b_holds(key(X2,X0)) ),
    inference(resolution,[],[f9,f28]) ).

fof(f28,axiom,
    ! [X3,X0,X4] :
      ( message(sent(X4,X3,X0))
      | ~ party_of_protocol(X4)
      | ~ intruder_message(X0)
      | ~ party_of_protocol(X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_message_sent_31) ).

fof(f9,axiom,
    ! [X3,X0,X4] :
      ( ~ message(sent(X0,b,pair(encrypt(triple(X0,X4,generate_expiration_time(X3)),bt),encrypt(generate_b_nonce(X3),X4))))
      | ~ b_stored(pair(X0,X3))
      | b_holds(key(X4,X0)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_accepts_secure_session_key_12) ).

fof(f56,plain,
    ( spl0_1
    | spl0_2 ),
    inference(avatar_split_clause,[],[f49,f54,f51]) ).

fof(f49,plain,
    ! [X2,X0,X1] :
      ( ~ intruder_message(X0)
      | intruder_message(encrypt(X0,X1))
      | ~ party_of_protocol(X2)
      | ~ intruder_message(X1) ),
    inference(duplicate_literal_removal,[],[f48]) ).

fof(f48,plain,
    ! [X2,X0,X1] :
      ( ~ intruder_message(X1)
      | ~ party_of_protocol(X2)
      | intruder_message(encrypt(X0,X1))
      | ~ party_of_protocol(X2)
      | ~ intruder_message(X0) ),
    inference(resolution,[],[f30,f29]) ).

fof(f30,axiom,
    ! [X3,X0,X4] :
      ( ~ intruder_holds(key(X4,X3))
      | ~ intruder_message(X0)
      | intruder_message(encrypt(X0,X4))
      | ~ party_of_protocol(X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',intruder_key_encrypts_33) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.11  % Problem    : SWV014-1 : TPTP v8.1.0. Released v2.4.0.
% 0.07/0.12  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_sat --cores 0 -t %d %s
% 0.12/0.33  % Computer : n001.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit   : 300
% 0.12/0.33  % WCLimit    : 300
% 0.12/0.33  % DateTime   : Tue Aug 30 19:16:32 EDT 2022
% 0.12/0.33  % CPUTime    : 
% 0.18/0.47  % (16838)dis+2_1:64_add=large:bce=on:bd=off:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 0.18/0.47  % (16837)dis+10_1:1_fsd=on:sp=occurrence:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.18/0.48  % (16854)ott+10_1:1_kws=precedence:tgt=ground:i=482:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/482Mi)
% 0.18/0.48  % (16838)Instruction limit reached!
% 0.18/0.48  % (16838)------------------------------
% 0.18/0.48  % (16838)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.18/0.48  % (16838)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.18/0.48  % (16838)Termination reason: Unknown
% 0.18/0.48  % (16838)Termination phase: Saturation
% 0.18/0.48  
% 0.18/0.48  % (16838)Memory used [KB]: 5373
% 0.18/0.48  % (16838)Time elapsed: 0.003 s
% 0.18/0.48  % (16838)Instructions burned: 3 (million)
% 0.18/0.48  % (16838)------------------------------
% 0.18/0.48  % (16838)------------------------------
% 0.18/0.48  % (16839)ott-1_1:6_av=off:cond=on:fsr=off:nwc=3.0:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.18/0.48  % (16846)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.18/0.48  % (16854)First to succeed.
% 0.18/0.49  % (16836)fmb+10_1:1_fmbsr=2.0:nm=4:skr=on:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.18/0.49  % (16854)Refutation found. Thanks to Tanya!
% 0.18/0.49  % SZS status Unsatisfiable for theBenchmark
% 0.18/0.49  % SZS output start Proof for theBenchmark
% See solution above
% 0.18/0.49  % (16854)------------------------------
% 0.18/0.49  % (16854)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.18/0.49  % (16854)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.18/0.49  % (16854)Termination reason: Refutation
% 0.18/0.49  
% 0.18/0.49  % (16854)Memory used [KB]: 5500
% 0.18/0.49  % (16854)Time elapsed: 0.103 s
% 0.18/0.49  % (16854)Instructions burned: 4 (million)
% 0.18/0.49  % (16854)------------------------------
% 0.18/0.49  % (16854)------------------------------
% 0.18/0.49  % (16829)Success in time 0.147 s
%------------------------------------------------------------------------------