Logical Analysis and Verification of Cryptographic Protocols - Loria
Logical Analysis and Verification of Cryptographic Protocols - Loria
Logical Analysis and Verification of Cryptographic Protocols - Loria
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.5. DECIDABILITY RESULTS 129<br />
However, the instance <strong>of</strong> x in the following reachability problem encodes a<br />
word recognised by the automaton after a run encoded by the instance <strong>of</strong> y:<br />
∅ ⊲ f(s(x, q0, ⊥, ⊥), y), g(f(s(x, q0, ⊥, ⊥), y)) ⊲ g(s(⊥, qf, ⊥, ⊥))<br />
This example proves (with q0 ∈ QI <strong>and</strong> qf ∈ QF ) that the saturation can terminate<br />
<strong>and</strong> yield a deduction system for which general reachability problems are<br />
not decidable.<br />
The undecidability comes from the fact that one can apply an unbounded<br />
number <strong>of</strong> decreasing rules on a non-ground terms, <strong>and</strong> from the “lack <strong>of</strong> regularity”<br />
on the terms obtained.<br />
5.5.3 Decidability <strong>of</strong> the general reachability problems<br />
We recall that the initial intruder system is given by I0 = 〈F, T0, H〉 while H is<br />
generated by a convergent equational theory <strong>and</strong> has the finite variant property,<br />
L0 = LI0 is the intruder deduction rules associated to I0. We recall also that<br />
I ′ = 〈F, L ′ , ∅〉 is the saturated intruder system.<br />
We give here a simple criterion that permits to ensure the termination <strong>of</strong> the<br />
resolution <strong>of</strong> a constraint problem with a saturated deduction system. Let T<br />
be a set <strong>of</strong> terms, T = {t1, . . . , tm}, we let ∆(T ) to be the set <strong>of</strong> strict maximal<br />
subterms <strong>of</strong> T <strong>and</strong> we define:<br />
δ(T ) =<br />
� +∞ if T ⊆ X<br />
|T \ X | − |V ar(T \ X ) \ (T ∩ X )| otherwise.<br />
Now let us define µ(T ). We consider the image <strong>of</strong> the set <strong>of</strong> terms T by the<br />
rewriting system U containing rules f(x1, . . . , xn) → x1, . . . , xn for every symbol<br />
f in the signature <strong>of</strong> the deduction system. We define:<br />
µ(T ) = min<br />
T σ →∗ ′<br />
U T<br />
σ mgu <strong>of</strong> subterms <strong>of</strong> T<br />
δ(T ′ )<br />
We extend µ to rules as follows. Let L ′ be the set <strong>of</strong> deduction rules. We<br />
recall that L ′ is partitioned into two disjoint sets <strong>of</strong> deduction rules, the set <strong>of</strong><br />
increasing rules L ′ inc <strong>and</strong> the set <strong>of</strong> decreasing rules L ′ dec . For every rule � l → r ∈<br />
L ′ ,<br />
µ( � l → r) =<br />
�<br />
µ(∆( � l \ X ∪ {r})) if � l → r is increasing,<br />
µ(∆( � l \ X )) otherwise.<br />
Definition 53 (Contracting deduction systems) A saturated deduction system I ′ =<br />
〈F, L ′ , ∅〉 is contracting if for all rules � l → r in L ′ we have µ( � l → r) > 0.