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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

100 CHAPTER 4. PROTOCOLS WITH VULNERABLE SIGNATURE SCHEMES<br />

We conclude that D does not use rules in LI” \ LI ′. This yields the reciprocal<br />

<strong>of</strong> the lemma. �<br />

The next lemma proves that, for any set <strong>of</strong> terms E in normal form <strong>and</strong> any<br />

term t in normal form, if t ∈ E I” then there is a I”-derivation starting from E <strong>of</strong><br />

goal t such that for any rule � l → r applied in the derivation with the substitution<br />

σ, the instances, with respect to σ, <strong>of</strong> the non variable terms in � l belong to E, <strong>and</strong><br />

hence are not the result <strong>of</strong> another deduction rules.<br />

We make use <strong>of</strong> Cons(D) to denote the set <strong>of</strong> terms constructed during the<br />

derivation D, more formally, let E <strong>and</strong> t be respectively a set <strong>of</strong> terms <strong>and</strong> a<br />

term in normal form <strong>and</strong> let D be a derivation starting from E <strong>of</strong> goal t, D : E =<br />

E0 → E0, t1 → . . . → En−2, tn−1 → En−1, t, Cons(D) = E0 ∪ {t1, . . . , tn−1}.<br />

Lemma 32 Let E (respectively t) be a set <strong>of</strong> terms (respectively a term) in normal form.<br />

If t ∈ E I” , then for every I”-derivation D starting from E <strong>of</strong> goal t, we have either D<br />

satisfies the following property<br />

prop : for all I” rules � l → r applied with substitution σ, for all s ∈ � l \ X , we have<br />

sσ ∈ E<br />

or there exists another I”-derivation D ′ starting from E <strong>of</strong> goal t such that Cons(D) =<br />

Cons(D ′ ) <strong>and</strong> D ′ satisfies the property prop.<br />

PROOF.<br />

We have t ∈ E I” implies that the set Ω(E, t) <strong>of</strong> I”-derivations starting from<br />

E <strong>of</strong> goal t is not empty. Let D ∈ Ω(E, t), D : E = E0 → E1 → . . . → En−1, t,<br />

<strong>and</strong> suppose that D does not satisfy the property prop. we denote � li → ri the<br />

rule applied at step i with the substitution σ. Let us (pre-)order derivations<br />

in Ω(E, t) with a measure M such that M(D ′ ) for a derivation D ′ is a multiset<br />

<strong>of</strong> integers constructed as follows: starting with M(D ′ ) = ∅, for all steps k,<br />

1 ≤ k ≤ n, for every term u ∈ lkσ obtained by former rule, add k to M(D ′ ).<br />

Since this pre-order is well-founded, there exists a derivation d ∈ Ω(E, t) such<br />

that M(d) is minimum, <strong>and</strong> Cons(d) = Cons(D). Let us prove that d satisfies<br />

the property prop. By contradiction, assume that d does not satisfy prop <strong>and</strong> let<br />

j be the first step in d such that � lj → rj is the rule applied with substitution σ<br />

<strong>and</strong> there is a term u ∈ � lj \ X obtained by a former rule, let � lh → rh be this rule.<br />

Since u /∈ X , Closure can be applied on � lh → rh <strong>and</strong> � lj → rj <strong>and</strong> the resulting<br />

rule can be applied at step j instead <strong>of</strong> � lj → rj yielding also Ej. Let d ′ be the<br />

derivation obtained after this replacement, d ′ ∈ Ω(E, t) <strong>and</strong> Cons(d ′ ) = Cons(d).<br />

Since h < j <strong>and</strong> by definition <strong>of</strong> M, we have M(d ′ ) < M(d) which contradicts<br />

the minimality <strong>of</strong> M(d). We deduce that d satisfies prop <strong>and</strong> then we have the<br />

lemma. �

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

Saved successfully!

Ooh no, something went wrong!