TSTP Solution File: SWV014-1 by Vampire-SAT---4.8

View Problem - Process Solution

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

% Computer : n013.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:36:08 EDT 2024

% Result   : Unsatisfiable 0.15s 0.34s
% Output   : Refutation 0.15s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   11
%            Number of leaves      :   20
% Syntax   : Number of formulae    :   52 (  15 unt;   0 def)
%            Number of atoms       :  120 (   0 equ)
%            Maximal formula atoms :    5 (   2 avg)
%            Number of connectives :  142 (  74   ~;  64   |;   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   :   54 (  54   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f149,plain,
    $false,
    inference(avatar_sat_refutation,[],[f54,f86,f107,f142,f148]) ).

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

fof(f143,plain,
    ( $false
    | ~ spl0_1 ),
    inference(resolution,[],[f50,f1]) ).

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

fof(f50,plain,
    ( ! [X1] : ~ party_of_protocol(X1)
    | ~ spl0_1 ),
    inference(avatar_component_clause,[],[f49]) ).

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

fof(f142,plain,
    ~ spl0_4,
    inference(avatar_contradiction_clause,[],[f141]) ).

fof(f141,plain,
    ( $false
    | ~ spl0_4 ),
    inference(subsumption_resolution,[],[f139,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(f139,plain,
    ( ~ intruder_message(an_a_nonce)
    | ~ spl0_4 ),
    inference(resolution,[],[f85,f99]) ).

fof(f99,plain,
    intruder_message(encrypt(triple(a,an_a_nonce,generate_expiration_time(an_a_nonce)),bt)),
    inference(resolution,[],[f94,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(f94,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,[],[f87,f14]) ).

fof(f87,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(resolution,[],[f64,f2]) ).

fof(f64,plain,
    ! [X0] :
      ( ~ message(sent(X0,b,pair(X0,an_a_nonce)))
      | message(sent(b,t,triple(b,generate_b_nonce(an_a_nonce),encrypt(triple(X0,an_a_nonce,generate_expiration_time(an_a_nonce)),bt)))) ),
    inference(resolution,[],[f7,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(f7,axiom,
    ! [X0,X4] :
      ( ~ fresh_to_b(X4)
      | ~ message(sent(X0,b,pair(X0,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(f85,plain,
    ( ! [X0] :
        ( ~ intruder_message(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt))
        | ~ intruder_message(X0) )
    | ~ spl0_4 ),
    inference(avatar_component_clause,[],[f84]) ).

fof(f84,plain,
    ( spl0_4
  <=> ! [X0] :
        ( ~ intruder_message(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt))
        | ~ intruder_message(X0) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_4])]) ).

fof(f107,plain,
    spl0_3,
    inference(avatar_split_clause,[],[f100,f80]) ).

fof(f80,plain,
    ( spl0_3
  <=> intruder_message(generate_b_nonce(an_a_nonce)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_3])]) ).

fof(f100,plain,
    intruder_message(generate_b_nonce(an_a_nonce)),
    inference(resolution,[],[f94,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(f86,plain,
    ( ~ spl0_3
    | spl0_4
    | ~ spl0_2 ),
    inference(avatar_split_clause,[],[f78,f52,f84,f80]) ).

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

fof(f78,plain,
    ( ! [X0] :
        ( ~ intruder_message(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt))
        | ~ intruder_message(X0)
        | ~ intruder_message(generate_b_nonce(an_a_nonce)) )
    | ~ spl0_2 ),
    inference(subsumption_resolution,[],[f77,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] :
      ( ~ intruder_message(X0)
      | ~ party_of_protocol(b)
      | ~ b_holds(key(X0,a)) ),
    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(f77,plain,
    ( ! [X0] :
        ( b_holds(key(X0,a))
        | ~ intruder_message(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt))
        | ~ intruder_message(X0)
        | ~ intruder_message(generate_b_nonce(an_a_nonce)) )
    | ~ spl0_2 ),
    inference(resolution,[],[f76,f53]) ).

fof(f53,plain,
    ( ! [X2,X0] :
        ( intruder_message(encrypt(X0,X2))
        | ~ intruder_message(X2)
        | ~ intruder_message(X0) )
    | ~ spl0_2 ),
    inference(avatar_component_clause,[],[f52]) ).

fof(f76,plain,
    ! [X0] :
      ( ~ intruder_message(encrypt(generate_b_nonce(an_a_nonce),X0))
      | b_holds(key(X0,a))
      | ~ intruder_message(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt)) ),
    inference(resolution,[],[f73,f24]) ).

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

fof(f73,plain,
    ! [X0] :
      ( ~ intruder_message(pair(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt),encrypt(generate_b_nonce(an_a_nonce),X0)))
      | b_holds(key(X0,a)) ),
    inference(subsumption_resolution,[],[f72,f1]) ).

fof(f72,plain,
    ! [X0] :
      ( b_holds(key(X0,a))
      | ~ intruder_message(pair(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt),encrypt(generate_b_nonce(an_a_nonce),X0)))
      | ~ party_of_protocol(a) ),
    inference(subsumption_resolution,[],[f71,f5]) ).

fof(f71,plain,
    ! [X0] :
      ( b_holds(key(X0,a))
      | ~ party_of_protocol(b)
      | ~ intruder_message(pair(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt),encrypt(generate_b_nonce(an_a_nonce),X0)))
      | ~ party_of_protocol(a) ),
    inference(resolution,[],[f68,f28]) ).

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

fof(f68,plain,
    ! [X0] :
      ( ~ message(sent(a,b,pair(encrypt(triple(a,X0,generate_expiration_time(an_a_nonce)),bt),encrypt(generate_b_nonce(an_a_nonce),X0))))
      | b_holds(key(X0,a)) ),
    inference(resolution,[],[f9,f61]) ).

fof(f61,plain,
    b_stored(pair(a,an_a_nonce)),
    inference(resolution,[],[f55,f2]) ).

fof(f55,plain,
    ! [X0] :
      ( ~ message(sent(X0,b,pair(X0,an_a_nonce)))
      | b_stored(pair(X0,an_a_nonce)) ),
    inference(resolution,[],[f8,f6]) ).

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

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

fof(f54,plain,
    ( spl0_1
    | spl0_2 ),
    inference(avatar_split_clause,[],[f47,f52,f49]) ).

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

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

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.02/0.10  % Problem    : SWV014-1 : TPTP v8.1.2. Released v2.4.0.
% 0.02/0.11  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.10/0.31  % Computer : n013.cluster.edu
% 0.10/0.31  % Model    : x86_64 x86_64
% 0.10/0.31  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.31  % Memory   : 8042.1875MB
% 0.10/0.31  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.10/0.31  % CPULimit   : 300
% 0.10/0.31  % WCLimit    : 300
% 0.10/0.31  % DateTime   : Tue Apr 30 04:49:04 EDT 2024
% 0.10/0.31  % CPUTime    : 
% 0.15/0.31  % (31842)Running in auto input_syntax mode. Trying TPTP
% 0.15/0.33  % (31849)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2:si=on:rtra=on:rawr=on:rp=on:fmbksg=on_1451 on theBenchmark for (1451ds/0Mi)
% 0.15/0.33  % (31845)dis-2_2:3_amm=sco:anc=none:bce=on:fsr=off:gsp=on:nm=16:nwc=1.2:nicw=on:sac=on:sp=weighted_frequency_476 on theBenchmark for (476ds/0Mi)
% 0.15/0.33  % (31844)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3_569 on theBenchmark for (569ds/0Mi)
% 0.15/0.33  % (31848)dis+11_4:5_nm=4_216 on theBenchmark for (216ds/0Mi)
% 0.15/0.33  % (31843)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2_1451 on theBenchmark for (1451ds/0Mi)
% 0.15/0.33  % (31847)dis+1_20_av=off:lcm=predicate:nm=2:nwc=2.0_396 on theBenchmark for (396ds/0Mi)
% 0.15/0.33  % (31846)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3:gsp=on:nm=4_470 on theBenchmark for (470ds/0Mi)
% 0.15/0.33  TRYING [1]
% 0.15/0.33  TRYING [1]
% 0.15/0.33  % (31848)First to succeed.
% 0.15/0.33  TRYING [2]
% 0.15/0.33  TRYING [1]
% 0.15/0.33  TRYING [2]
% 0.15/0.33  TRYING [1]
% 0.15/0.34  TRYING [2]
% 0.15/0.34  TRYING [2]
% 0.15/0.34  % (31848)Refutation found. Thanks to Tanya!
% 0.15/0.34  % SZS status Unsatisfiable for theBenchmark
% 0.15/0.34  % SZS output start Proof for theBenchmark
% See solution above
% 0.15/0.34  % (31848)------------------------------
% 0.15/0.34  % (31848)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.34  % (31848)Termination reason: Refutation
% 0.15/0.34  
% 0.15/0.34  % (31848)Memory used [KB]: 864
% 0.15/0.34  % (31848)Time elapsed: 0.006 s
% 0.15/0.34  % (31848)Instructions burned: 8 (million)
% 0.15/0.34  % (31848)------------------------------
% 0.15/0.34  % (31848)------------------------------
% 0.15/0.34  % (31842)Success in time 0.021 s
%------------------------------------------------------------------------------