(herald "Yahalom Protocol Without Forwarding" (bound 15)) (comment "CPSA 4.4.5") (comment "All input read from tst/chan-yahalom-role-decl.scm") (comment "Strand count bounded at 15") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-b n-a text) (b a name) (ch1 ch2 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (uniq-orig n-b) (auth ch2) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k)))) (label 0) (unrealized (0 2)) (origs (n-b (0 1))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (precedes ((1 2) (0 2))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2) (operation channel-test (added-strand serv 3) (ch-msg ch2 (cat a b k)) (0 2)) (strand-map 0) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k)))) (label 1) (parent 0) (unrealized (0 3)) (comment "2 in cohort - 2 not yet seen")) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 n-a-1 text) (b a a-0 b-0 name) (ch1 ch2 ch1-0 ch3 ch3-0 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (defstrand init 3 (k k) (n-a n-a-1) (n-b n-b) (a a-0) (b b-0) (ch3 ch3-0)) (precedes ((0 1) (2 1)) ((1 1) (2 1)) ((1 2) (0 2)) ((2 2) (0 3))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2 ch3-0) (operation encryption-test (added-strand init 3) (enc n-b k) (0 3)) (strand-map 0 1) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k))) ((send (cat a-0 n-a-1)) (recv ch3-0 (cat a-0 b-0 k n-a-1 n-b)) (send (enc n-b k)))) (label 2) (parent 1) (unrealized (2 1)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (deflistener k) (precedes ((1 1) (2 0)) ((1 2) (0 2)) ((2 1) (0 3))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2) (operation encryption-test (added-listener k) (enc n-b k) (0 3)) (strand-map 0 1) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k))) ((recv k) (send k))) (label 3) (parent 1) (unrealized (2 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-a-0 n-b text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (defstrand init 3 (k k) (n-a n-a-0) (n-b n-b) (a a) (b b) (ch3 ch3)) (precedes ((0 1) (1 0)) ((1 1) (2 1)) ((1 2) (0 2)) ((2 2) (0 3))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2 ch3) (operation channel-test (displaced 3 1 serv 2) (ch-msg ch3-0 (cat a-0 b-0 k n-a-1 n-b-0)) (2 1)) (strand-map 0 1 2) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b)) (send ch3 (cat a b k n-a-0 n-b)) (send ch2 (cat a b k))) ((send (cat a n-a-0)) (recv ch3 (cat a b k n-a-0 n-b)) (send (enc n-b k)))) (label 4) (parent 2) (realized) (shape) (maps ((0) ((n-b n-b) (b b) (a a) (n-a n-a) (k k) (ch1 ch1) (ch2 ch2)))) (origs (k (1 1)) (n-b (0 1)))) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (deflistener k) (precedes ((1 2) (0 2)) ((1 2) (2 0)) ((2 1) (0 3))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2) (operation nonce-test (displaced 3 1 serv 3) k (2 0) (ch-msg ch3 (cat a b k n-a-0 n-b-0))) (strand-map 0 1 2) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k))) ((recv k) (send k))) (label 5) (parent 3) (unrealized (2 0)) (dead) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-b n-a text) (b a name) (ch1 ch2 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (deflistener k) (uniq-orig n-b) (auth ch2) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv k) (send k))) (label 6) (unrealized (0 2)) (origs (n-b (0 1))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (deflistener k) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (precedes ((2 1) (1 0)) ((2 2) (0 2))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2) (operation channel-test (added-strand serv 3) (ch-msg ch2 (cat a b k)) (0 2)) (strand-map 0 1) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv k) (send k)) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k)))) (label 7) (parent 6) (unrealized (0 3) (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-b n-a n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (deflistener k) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (precedes ((2 2) (0 2)) ((2 2) (1 0))) (uniq-orig k n-b) (conf ch2 ch3) (auth ch2) (operation nonce-test (displaced 3 2 serv 3) k (1 0) (ch-msg ch3 (cat a b k n-a-0 n-b-0))) (strand-map 0 1 2) (traces ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv k) (send k)) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k)))) (label 8) (parent 7) (unrealized (0 3) (1 0)) (dead) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch3 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (uniq-orig n-a) (auth ch3) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k)))) (label 9) (unrealized (0 1)) (origs (n-a (0 0))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch3 ch1 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand serv 2 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch3 ch3)) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (uniq-orig k n-a) (conf ch3) (auth ch3) (operation channel-test (added-strand serv 2) (ch-msg ch3 (cat a b k n-a n-b)) (0 1)) (strand-map 0) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)))) (label 10) (parent 9) (realized) (shape) (maps ((0) ((n-a n-a) (a a) (b b) (n-b n-b) (k k) (ch3 ch3)))) (origs (k (1 1)) (n-a (0 0)))) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch3 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (deflistener k) (auth ch3) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv k) (send k))) (label 11) (unrealized (0 1)) (origs) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch3 ch1 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (deflistener k) (defstrand serv 2 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch3 ch3)) (precedes ((2 1) (0 1)) ((2 1) (1 0))) (uniq-orig k) (conf ch3) (auth ch3) (operation channel-test (added-strand serv 2) (ch-msg ch3 (cat a b k n-a n-b)) (0 1)) (strand-map 0 1) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv k) (send k)) ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)))) (label 12) (parent 11) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch3 ch1 ch2 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (deflistener k) (defstrand serv 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch2 ch2) (ch3 ch3)) (precedes ((2 1) (0 1)) ((2 2) (1 0))) (uniq-orig k) (conf ch3 ch2) (auth ch3) (operation nonce-test (displaced 2 3 serv 3) k (1 0) (ch-msg ch3 (cat a b k n-a n-b))) (strand-map 0 1 2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv k) (send k)) ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k)))) (label 13) (parent 12) (unrealized (1 0)) (dead) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 text) (a b b-0 a-0 name) (ch3 ch1 ch2 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 3 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (uniq-orig n-a) (auth ch3 ch2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)))) (label 14) (unrealized (0 1) (1 2)) (origs (n-a (0 0))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 n-a-1 n-b-1 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 3 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-1) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (precedes ((2 1) (0 1)) ((2 2) (1 2))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2) (operation channel-test (added-strand serv 3) (ch-msg ch2 (cat a-0 b-0 k)) (1 2)) (strand-map 0 1) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-1)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (send ch2 (cat a-0 b-0 k)))) (label 15) (parent 14) (unrealized (0 1)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand init 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch3 ch3)) (defstrand resp 3 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b-0) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (precedes ((0 0) (2 0)) ((2 1) (0 1)) ((2 2) (1 2))) (uniq-orig k n-a-0) (conf ch2 ch3) (auth ch2 ch3) (operation channel-test (displaced 3 2 serv 2) (ch-msg ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (0 1)) (strand-map 0 1 2) (traces ((send (cat a n-a-0)) (recv ch3 (cat a b k n-a-0 n-b-0)) (send (enc n-b-0 k))) ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k))) ((recv ch1-0 (cat a b n-a-0 n-b-0)) (send ch3 (cat a b k n-a-0 n-b-0)) (send ch2 (cat a b k)))) (label 16) (parent 15) (realized) (shape) (maps ((0 1) ((n-a n-a-0) (k k) (a a) (b b) (n-b n-b-0) (ch3 ch3) (b-0 b) (a-0 a) (n-a-0 n-a) (n-b-0 n-b) (ch1 ch1) (ch2 ch2)))) (origs (k (2 1)) (n-a-0 (0 0)))) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 text) (a b b-0 a-0 name) (ch3 ch1 ch2 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (uniq-orig n-a) (auth ch3 ch2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k)))) (label 17) (unrealized (0 1) (1 2)) (origs (n-a (0 0))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 n-a-1 n-b-1 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-1) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (precedes ((2 1) (0 1)) ((2 2) (1 2))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2) (operation channel-test (added-strand serv 3) (ch-msg ch2 (cat a-0 b-0 k)) (1 2)) (strand-map 0 1) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-1)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (send ch2 (cat a-0 b-0 k)))) (label 18) (parent 17) (unrealized (0 1) (1 3)) (comment "3 in cohort - 3 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-a-1 n-b-0 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-0) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (precedes ((0 2) (1 3)) ((2 1) (0 1)) ((2 2) (1 2))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2) (operation encryption-test (displaced 3 0 init 3) (enc n-b-1 k) (1 3)) (strand-map 0 1 2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-0)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-0)) (send ch2 (cat a-0 b-0 k)))) (label 19) (parent 18) (unrealized (0 1)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 n-a-1 n-b-1 n-a-2 text) (a b b-0 a-0 a-1 b-1 name) (ch3 ch1 ch2 ch1-0 ch3-0 ch3-1 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-1) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (defstrand init 3 (k k) (n-a n-a-2) (n-b n-b-0) (a a-1) (b b-1) (ch3 ch3-1)) (precedes ((2 1) (0 1)) ((2 1) (3 1)) ((2 2) (1 2)) ((3 2) (1 3))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2 ch3-1) (operation encryption-test (added-strand init 3) (enc n-b-0 k) (1 3)) (strand-map 0 1 2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-1)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (send ch2 (cat a-0 b-0 k))) ((send (cat a-1 n-a-2)) (recv ch3-1 (cat a-1 b-1 k n-a-2 n-b-0)) (send (enc n-b-0 k)))) (label 20) (parent 18) (unrealized (0 1) (3 1)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 n-a-1 n-b-1 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-1) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (deflistener k) (precedes ((2 1) (0 1)) ((2 1) (3 0)) ((2 2) (1 2)) ((3 1) (1 3))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2) (operation encryption-test (added-listener k) (enc n-b-0 k) (1 3)) (strand-map 0 1 2) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-1)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (send ch2 (cat a-0 b-0 k))) ((recv k) (send k))) (label 21) (parent 18) (unrealized (0 1) (3 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-a-0 n-b text) (b a name) (ch1 ch2 ch1-0 ch3 chan)) (defstrand init 3 (k k) (n-a n-a-0) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a) (n-b n-b) (b b) (a a) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-0) (n-b n-b) (a a) (b b) (ch1 ch1-0) (ch2 ch2) (ch3 ch3)) (precedes ((0 0) (2 0)) ((0 2) (1 3)) ((2 1) (0 1)) ((2 2) (1 2))) (uniq-orig k n-a-0) (conf ch2 ch3) (auth ch2 ch3) (operation channel-test (displaced 3 2 serv 2) (ch-msg ch3-0 (cat a-0 b-0 k n-a-1 n-b-0)) (0 1)) (strand-map 0 1 2) (traces ((send (cat a n-a-0)) (recv ch3 (cat a b k n-a-0 n-b)) (send (enc n-b k))) ((recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) ((recv ch1-0 (cat a b n-a-0 n-b)) (send ch3 (cat a b k n-a-0 n-b)) (send ch2 (cat a b k)))) (label 22) (parent 19) (realized) (shape) (maps ((0 1) ((n-a n-a-0) (k k) (a a) (b b) (n-b n-b) (ch3 ch3) (b-0 b) (a-0 a) (n-a-0 n-a) (n-b-0 n-b) (ch1 ch1) (ch2 ch2)))) (origs (k (2 1)) (n-a-0 (0 0)))) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-a-1 n-b-0 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-0) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (defstrand init 3 (k k) (n-a n-a-1) (n-b n-b-0) (a a-0) (b b-0) (ch3 ch3-0)) (precedes ((2 1) (0 1)) ((2 1) (3 1)) ((2 2) (1 2)) ((3 2) (1 3))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2 ch3-0) (operation channel-test (displaced 4 2 serv 2) (ch-msg ch3-1 (cat a-1 b-1 k n-a-2 n-b-1)) (3 1)) (strand-map 0 1 2 3) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-0)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-0)) (send ch2 (cat a-0 b-0 k))) ((send (cat a-0 n-a-1)) (recv ch3-0 (cat a-0 b-0 k n-a-1 n-b-0)) (send (enc n-b-0 k)))) (label 23) (parent 20) (unrealized (0 1)) (dead) (comment "empty cohort")) (defskeleton yahalom (vars (k skey) (n-a n-b n-a-0 n-b-0 n-a-1 n-b-1 text) (a b b-0 a-0 name) (ch3 ch1 ch2 ch1-0 ch3-0 chan)) (defstrand init 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch3 ch3)) (defstrand resp 4 (k k) (n-a n-a-0) (n-b n-b-0) (b b-0) (a a-0) (ch1 ch1) (ch2 ch2)) (defstrand serv 3 (k k) (n-a n-a-1) (n-b n-b-1) (a a-0) (b b-0) (ch1 ch1-0) (ch2 ch2) (ch3 ch3-0)) (deflistener k) (precedes ((2 1) (0 1)) ((2 2) (1 2)) ((2 2) (3 0)) ((3 1) (1 3))) (uniq-orig k n-a) (conf ch2 ch3-0) (auth ch3 ch2) (operation nonce-test (displaced 4 2 serv 3) k (3 0) (ch-msg ch3-0 (cat a-0 b-0 k n-a-1 n-b-1))) (strand-map 0 1 2 3) (traces ((send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) ((recv (cat a-0 n-a-0)) (send ch1 (cat a-0 b-0 n-a-0 n-b-0)) (recv ch2 (cat a-0 b-0 k)) (recv (enc n-b-0 k))) ((recv ch1-0 (cat a-0 b-0 n-a-1 n-b-1)) (send ch3-0 (cat a-0 b-0 k n-a-1 n-b-1)) (send ch2 (cat a-0 b-0 k))) ((recv k) (send k))) (label 24) (parent 21) (unrealized (0 1) (3 0)) (dead) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch1 ch2 ch3 chan)) (defstrand serv 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch2 ch2) (ch3 ch3)) (uniq-orig k) (conf ch2 ch3) (traces ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k)))) (label 25) (realized) (shape) (maps ((0) ((a a) (b b) (n-a n-a) (n-b n-b) (k k) (ch1 ch1) (ch2 ch2) (ch3 ch3)))) (origs (k (0 1)))) (comment "Nothing left to do") (defprotocol yahalom basic (defrole init (vars (a b name) (n-a n-b text) (k skey) (ch3 chan)) (trace (send (cat a n-a)) (recv ch3 (cat a b k n-a n-b)) (send (enc n-b k))) (auth ch3)) (defrole resp (vars (b a name) (n-a n-b text) (k skey) (ch1 ch2 chan)) (trace (recv (cat a n-a)) (send ch1 (cat a b n-a n-b)) (recv ch2 (cat a b k)) (recv (enc n-b k))) (auth ch2)) (defrole serv (vars (a b name) (n-a n-b text) (k skey) (ch1 ch2 ch3 chan)) (trace (recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) (uniq-orig k) (conf ch2 ch3)) (defgenrule neqRl_indx (forall ((x indx)) (implies (fact neq x x) (false)))) (defgenrule neqRl_strd (forall ((x strd)) (implies (fact neq x x) (false)))) (defgenrule neqRl_mesg (forall ((x mesg)) (implies (fact neq x x) (false))))) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch1 ch2 ch3 chan)) (defstrand serv 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch2 ch2) (ch3 ch3)) (deflistener k) (uniq-orig k) (conf ch2 ch3) (traces ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) ((recv k) (send k))) (label 26) (unrealized (1 0)) (preskeleton) (origs (k (0 1))) (comment "Not a skeleton")) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch1 ch2 ch3 chan)) (defstrand serv 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch2 ch2) (ch3 ch3)) (deflistener k) (precedes ((0 1) (1 0))) (uniq-orig k) (conf ch2 ch3) (traces ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) ((recv k) (send k))) (label 27) (parent 26) (unrealized (1 0)) (origs (k (0 1))) (comment "1 in cohort - 1 not yet seen")) (defskeleton yahalom (vars (k skey) (n-a n-b text) (a b name) (ch1 ch2 ch3 chan)) (defstrand serv 3 (k k) (n-a n-a) (n-b n-b) (a a) (b b) (ch1 ch1) (ch2 ch2) (ch3 ch3)) (deflistener k) (precedes ((0 2) (1 0))) (uniq-orig k) (conf ch2 ch3) (operation nonce-test (displaced 2 0 serv 3) k (1 0) (ch-msg ch3 (cat a b k n-a n-b))) (strand-map 0 1) (traces ((recv ch1 (cat a b n-a n-b)) (send ch3 (cat a b k n-a n-b)) (send ch2 (cat a b k))) ((recv k) (send k))) (label 28) (parent 27) (unrealized (1 0)) (dead) (origs (k (0 1))) (comment "empty cohort")) (comment "Nothing left to do")