|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
header {* Analysing NSL *}
|
|
|
|
|
chapter {* Analysing NSL *}
|
|
|
|
|
(* ***********************************
|
|
|
|
|
This file is automatically generated from the AnB file "AnB/nsl.AnB".
|
|
|
|
|
Backend: Open Source Fixedpoint Model Checker version 2009c
|
|
|
|
@ -7,7 +7,7 @@ header {* Analysing NSL *}
|
|
|
|
|
theory
|
|
|
|
|
"nsl"
|
|
|
|
|
imports
|
|
|
|
|
ofmc
|
|
|
|
|
"../src/ofmc"
|
|
|
|
|
begin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ begin
|
|
|
|
|
section {* Protocol Model (NSL) *}
|
|
|
|
|
datatype Role = rA | rB
|
|
|
|
|
|
|
|
|
|
datatype Purpose = purposeNA | purposeNB
|
|
|
|
|
datatype Purpose = purposeNI | purposeNA | purposeNB
|
|
|
|
|
datatype Agent = honest nat
|
|
|
|
|
| dishonest nat
|
|
|
|
|
|
|
|
|
@ -244,7 +244,8 @@ where
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
section {* Fixed-point Definition (NSL) *}
|
|
|
|
|
constdefs NSL_fp::"Fact set""NSL_fp == {m. ( ? Abs_NA3 Abs_NA4 Abs_NA5 i9 Abs_NI1 Abs_NI2 a11 a12 a13 a14 a15 a16 a17 a18 a19 Abs_NA1 Abs_NA2 a3 a4 i2 i3 a5 i4 Abs_NB2 i5 a6 i6 Abs_NB3 a7 i7 Abs_NB4 a8 a9 a10 i8 Abs_NB5 sid0 Abs_NI0 Abs_NA0 a0 i0 Abs_NB0 a1 i1 Abs_NB1 a2 .
|
|
|
|
|
definition
|
|
|
|
|
"NSL_fp = {m. ( ? Abs_NA3 Abs_NA4 Abs_NA5 i9 Abs_NI1 Abs_NI2 a11 a12 a13 a14 a15 a16 a17 a18 a19 Abs_NA1 Abs_NA2 a3 a4 i2 i3 a5 i4 Abs_NB2 i5 a6 i6 Abs_NB3 a7 i7 Abs_NB4 a8 a9 a10 i8 Abs_NB5 sid0 Abs_NI0 Abs_NA0 a0 i0 Abs_NB0 a1 i1 Abs_NB1 a2 .
|
|
|
|
|
(m = Iknows(Nonce((ni Abs_NI0))))
|
|
|
|
|
| (m = Iknows(Agent(dishonest(i0))))
|
|
|
|
|
| (m = State(rA, [Agent(honest(a0)), Step(0), Agent(dishonest(i0)), inv(pk(Agent(honest(a1)))), SID(sid0)] ))
|
|
|
|
|