30.01.2013 Views

Logical Analysis and Verification of Cryptographic Protocols - Loria

Logical Analysis and Verification of Cryptographic Protocols - Loria

Logical Analysis and Verification of Cryptographic Protocols - Loria

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

42 CHAPTER 2. PROTOCOL ANALYSIS USING CONSTRAINT SOLVING<br />

�<br />

with s < t1. t1 < x implies t1 < xσ for all σ <strong>and</strong> then for σ = {x ↦→ s}, we<br />

have t1 < s which contradicts s < t1. We conclude that either t1 = t2 or<br />

t1 is the minimal ground term in T (F) for < which exists due to the wellfoundness<br />

<strong>of</strong> < <strong>and</strong> which is unique due to the fact that < is total over<br />

ground terms.<br />

Lemma 7 Let I = 〈F, TI, H〉 be an intruder deduction system, <strong>and</strong> let I ′ = 〈F, L ′ , ∅〉<br />

be the variant intruder deduction system <strong>of</strong> I. If t1, . . . , tn → t ∈ L ′ , then V ar(t) ⊆<br />

V ar(t1, . . . , tn).<br />

PROOF.<br />

Let t1, . . . , tn → t ∈ L ′ , we have two cases:<br />

1. If t1, . . . , tn → t ∈ L then, by definition <strong>of</strong> L, t1, . . . , tn → t = x1, . . . , xn →<br />

f(x1, . . . , xn) where f is a public function symbol in F <strong>and</strong> hence, V ar(t) ⊆<br />

V ar(t1, . . . , tn).<br />

2. If t1, . . . , tn → t �∈ L, then, by definition <strong>of</strong> L ′ , there exists a rule<br />

x1, . . . , xn → f(x1, . . . , xn) ∈ L, a variant substitution θ <strong>of</strong> f(x1, . . . , xn)<br />

such that ti = xiθ for every i, <strong>and</strong> (f(x1, . . . , xn)θ)↓ = t. We<br />

have that V ar(f(x1, . . . , xn)θ) = �n i=1 V ar(xiθ), <strong>and</strong> (f(x1, . . . , xn)θ)↓ ≤<br />

f(x1, . . . , xn)θ. Lemma 6 implies that V ar((f(x1, . . . , xn)θ)↓) ⊆<br />

V ar(f(x1, . . . , xn)θ) <strong>and</strong> hence, V ar((f(x1, . . . , xn)θ)↓) ⊆ �n i=1 V ar(xiθ)<br />

which concludes the lemma.<br />

�<br />

We prove in what follows (Lemma 8) that when considering only deductions<br />

on ground terms in normal form <strong>and</strong> yielding ground terms in normal<br />

form, it is sufficient to consider derivations modulo the empty theory.<br />

Lemma 8 Let E <strong>and</strong> F be two sets <strong>of</strong> ground terms in normal form we have: E →I F<br />

if <strong>and</strong> only if E →I ′ F .<br />

PROOF.<br />

Let E <strong>and</strong> F be two sets <strong>of</strong> ground terms in normal form <strong>and</strong> assume there<br />

is a rule x1, . . . , xn → f(x1, . . . , xn) ∈ L such that E →x1,...,xn→f(x1,...,xn) F .<br />

By definition there exists a ground substitution σ in normal form such that<br />

(x1, . . . , xn)σ ⊆ E <strong>and</strong> F = E ∪ {(f(x1, . . . , xn)σ)↓}. Due to the finite variant<br />

property, there exists a variant substitution θ <strong>of</strong> f(x1, . . . , xn) <strong>and</strong> a ground normal<br />

substitution σ ′ such that (f(x1, . . . , xn)σ)↓ = (f(x1, . . . , xn)θ)↓σ ′ <strong>and</strong> σ = θσ ′ .<br />

The rule x1θ, . . . xnθ → (f(x1, . . . , xn)θ)↓ was added to L ′ by definition <strong>of</strong> I ′<br />

(Definition 19). This implies that E →I ′ F . To prove the converse, notice that if<br />

(x1, . . . , xn)θ → (f(x1, . . . , xn)θ)↓ can be applied with the normal ground substitution<br />

σ ′ on E, then the rule x1, . . . , xn → f(x1, . . . , xn) can be applied with the<br />

ground substitution σ = (θσ ′ )↓ on E. �

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!