cpsa-2.0.2: tst/missing-contraction.tst
(comment "CPSA 2.0.2")
(comment "All input read")
(defprotocol missing-contraction basic
(defrole sender
(vars (m n text) (a b name))
(trace (send (enc a m (pubk a))) (send (enc a n (pubk b)))))
(defrole receiver
(vars (m text) (a b name))
(trace (recv (enc a m (pubk b))))))
(defskeleton missing-contraction
(vars (m n text) (a b b-0 name))
(defstrand sender 2 (m m) (n n) (a a) (b b))
(defstrand receiver 1 (m m) (a a) (b b-0))
(precedes ((0 1) (1 0)))
(non-orig (privk a))
(uniq-orig m)
(traces ((send (enc a m (pubk a))) (send (enc a n (pubk b))))
((recv (enc a m (pubk b-0)))))
(label 0)
(unrealized (1 0))
(comment "1 in cohort - 1 not yet seen"))
(defskeleton missing-contraction
(vars (m n text) (a b name))
(defstrand sender 2 (m m) (n n) (a a) (b b))
(defstrand receiver 1 (m m) (a a) (b a))
(precedes ((0 1) (1 0)))
(non-orig (privk a))
(uniq-orig m)
(operation nonce-test (contracted (b-0 a)) m (1 0) (enc a m (pubk a)))
(traces ((send (enc a m (pubk a))) (send (enc a n (pubk b))))
((recv (enc a m (pubk a)))))
(label 1)
(parent 0)
(unrealized)
(shape))
(comment "Nothing left to do")