cpsa-4.4.6: coq/Examples/Bad_unilateral_role.v
(** Protocol: bad-unilateral (bad_unilateral.scm:6:1) *)
From Stdlib Require Import String List.
Require Import Alg Role.
Import List.ListNotations.
Open Scope list_scope.
Open Scope string.
(** Role: init (bad_unilateral.scm:7:3) *)
Definition init_role: role :=
mkRole
[Sd 0 (En (Tx 2) (Ak (Av 1))); Rv 0 (Tx 2)]
[Tx 2]
[Ch 0; Ak (Av 1)]
[Tx 2].
(** Role: resp (bad_unilateral.scm:15:3) *)
Definition resp_role: role :=
mkRole
[Rv 0 (En (Tx 2) (Ik (Av 1))); Sd 0 (Tx 2)]
[]
[Ch 0; Ak (Av 1)]
[Tx 2].