What happened
This paper details a novel translation from Tamarin to ProVerif. The core contribution is a sound translation strategy using multiset rewrite rules, lemmas, and restrictions, explicitly encoding the semantics of Tamarin's models.
It achieves this through formula rewriting techniques, handling simultaneous events, and formally characterizing instances where faithfulness fails. The translation covers 562 out of 566 lemma tasks and demonstrated significant speed advantages in many cases.
Why it matters
The development offers a critical step toward more reliable model checking tools. By establishing a sound and complete translation, it provides researchers with a validated benchmark to assess the strengths and weaknesses of different verification approaches, particularly those based on applied PI calculus like ProVerif. Furthermore, the quantitative performance results – specifically the 334 speed improvements over ProVerif – highlights the potential efficiency gains achievable through carefully engineered translations.
But, but, but…
The translation isn't without limitations. ‘XOR’ encodings, used for handling specific logical operations (like XOR), are reported separately and don't fall under the guarantees of soundness or completeness.
The translation covers 562/566 lemma tasks, signifying a partial faithful translation, while confirming 246/247 agreements between the two tools when definitive results were found. ProVerif’s performance (92.3% faster) is particularly notable given that some verdicts indicate incomplete models were being utilized by one tool or the other.
““we provide formal proofs: within the faithful fragment, soundness ensures that any property verified in proverif also holds in the original tamarin model, and completeness ensures that exists-trace properties not involving attacker knowledge are preserved.””
— Dr Non
The counter-take
Existing model checking tools often rely on approximations or heuristics, leading to incomplete verification results. This translation provides a rigorous and precise method for establishing the soundness and completeness of ProVerif when used to analyze Tamarin models.
The AI angle
The development of sound translation techniques, like this one, represents a fundamental upgrade in our ability to formally verify complex systems, enabling asymmetrical confidence in models derived from potentially adversarial scenarios.
