Endowing Concurrent Kleene Algebra with Communication Actions 14th - - PowerPoint PPT Presentation

endowing concurrent kleene algebra with communication
SMART_READER_LITE
LIVE PREVIEW

Endowing Concurrent Kleene Algebra with Communication Actions 14th - - PowerPoint PPT Presentation

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Endowing Concurrent Kleene Algebra with Communication Actions 14th International Conference on Relational and Algebraic Methods in Computer Science


slide-1
SLIDE 1

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Endowing Concurrent Kleene Algebra with Communication Actions

14th International Conference on Relational and Algebraic Methods in Computer Science

Jason Jaskolka, Ridha Khedri, and Qinglei Zhang

Department of Computing and Software Faculty of Engineering McMaster University Hamilton, Ontario, Canada {jaskolj,khedri,zhangq33}@mcmaster.ca

April 28, 2014

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 1 / 42

slide-2
SLIDE 2

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Outline

1

Introduction and Motivation

2

The Proposed Framework Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

3

Conclusion and Outlook

4

Questions

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 2 / 42

slide-3
SLIDE 3

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Outline

1

Introduction and Motivation

2

The Proposed Framework Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

3

Conclusion and Outlook

4

Questions

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 3 / 42

slide-4
SLIDE 4

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Motivating Question

Question How can we mathematically formulate the potential for communication condition for covert channel existence in systems of communicating agents? We required a formalism that would:

1

Provide a hybrid model for both communication and concurrency

2

Lead to a mathematical formulation of the potential for communication

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 4 / 42

slide-5
SLIDE 5

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

A Hybrid View of Agent Communication

Env(A5)

A1 A2

Env(A1) Env(A2) external stimuli shared environment Env(A4)

A5 A3

Env(A3)

A4

communication channels external stimuli Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 5 / 42

slide-6
SLIDE 6

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

What About Existing Formalisms?

Looked at existing formalisms for communication and concurrency

Temporal Logics Labelled Transition Systems Petri Nets Process Calculi (CCS, CSP, ACP, π-calculus)

Interested in modelling the behaviour of a system in terms of:

1

Properties of its states, or

2

Observability of events

Do not directly, if at all, provide a hybrid model of communication and concurrency that we are interested in

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 6 / 42

slide-7
SLIDE 7

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Is Concurrent Kleene Algebra the Answer?

Concurrent Kleene Algebra (CKA) was perhaps the closest formalism to providing a hybrid model While CKA can be perceived as a hybrid model for concurrency, the same cannot be said for communication Communication in CKA is not directly captured CKA does not directly deal with describing how agent behaviours are influenced by external stimuli

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 7 / 42

slide-8
SLIDE 8

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Objectives

1 Specify communication in CKA without the need to articulate

the state-based system of each action

i.e., at a convenient abstract level

2 Express the influence of external stimuli on agent behaviours

resulting from the occurrence of external events from

Communication among agents Environment of a particular agent

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 8 / 42

slide-9
SLIDE 9

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Outline

1

Introduction and Motivation

2

The Proposed Framework Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

3

Conclusion and Outlook

4

Questions

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 9 / 42

slide-10
SLIDE 10

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

The Proposed Framework

Propose a mathematical framework for communication and concurrency called Communicating Concurrent Kleene Algebra (C2KA)

Extends the algebraic model of CKA Captures communication and concurrency of agents at the abstract algebraic level Captures the influence of external stimuli on agent behaviour as well as communication through shared environments Presents a different view of communication and concurrency than what was found with existing formalisms

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 10 / 42

slide-11
SLIDE 11

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

The Proposed Framework

C2KA allows for the separation of communicating and concurrent behaviour in a system and its environment Can think about concurrent and communicating systems from two different perspectives:

1

Behavioural Perspective: influence of external stimuli as transformations of agent behaviours

2

External Event Perspective: influence of agent behaviours as transformations of external stimuli

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 11 / 42

slide-12
SLIDE 12

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Stimuli and Induced Behaviours

Some Terminology

Every external stimulus invokes a response from an agent An external stimulus influences the behaviour of an agent when the behaviour of then agent changes as a result of the response Set of possible influences that any given external stimulus may have on a particular agent are called the induced behaviours via external stimuli

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 12 / 42

slide-13
SLIDE 13

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

A Simple Running Example: One-Place Buffer

Suppose that a one-place buffer uses two flags to indicate its current status:

flag 1 denotes the empty/full status flag 2 denotes the error status

Assume that there are two basic system agents:

Agent P controls flag 1 Agent Q controls flag 2

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 13 / 42

slide-14
SLIDE 14

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Structure of Agent Behaviours

Adopt the framework of CKA to describe agent behaviours Definition (CKA) A concurrent Kleene algebra (CKA) is a structure

  • K, +, ∗, ; , *

, ; , 0, 1

  • such that
  • K, +, ∗, *

, 0, 1

  • and
  • K, +, ; , ;

, 0, 1

  • are Kleene algebras linked by the exchange axiom

given by (a ∗ b) ; (c ∗ d) ≤K (b ; c) ∗ (a ; d). a ≤K b indicates that a is a sub-behaviour of b if and only if a + b = b

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 14 / 42

slide-15
SLIDE 15

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Structure of Agent Behaviours

Running Example: One-Place Buffer

Consider the following set of events: P1

def

= (flag1 := off ) Q1

def

= (flag2 := off ) P2

def

= (flag1 := on) Q2

def

= (flag2 := on) K is generated by the set of basic behaviours {P1, P2, Q1, Q2, 0, 1}

Inactive agent 0 is interpreted as abort Idle agent 1 is interpreted as skip

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 15 / 42

slide-16
SLIDE 16

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Structure of External Stimuli

Each discrete, observable event introduced to a system is considered to be an external stimulus which invokes a response from each system agent Definition (Stimulus Structure) Let S def =

  • S, ⊕, ⊙, d, n
  • be an idempotent semiring with a

multiplicatively absorbing d and identity n. We call S a stimulus structure. s ≤S t indicates that s is sub-stimulus of t if and only if s ⊕ t = t

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 16 / 42

slide-17
SLIDE 17

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Structure of External Stimuli

Running Example: One-Place Buffer

Behaviour of each agent in the one-place buffer system is influenced by a number of external stimuli:

in places an item in the buffer

  • ut removes an item from the buffer

error generates an error

S is generated by the set of basic external stimuli {in, out, error, d, n}

Deactivation stimulus d is interpreted as a kill signal Neutral stimulus n is interpreted as any stimulus with no influence that belongs to the complement of the set of external stimuli which may be introduced to a system

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 17 / 42

slide-18
SLIDE 18

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Communicating Concurrent Kleene Algebra (C2KA)

Definition (C2KA) A Communicating Concurrent Kleene Algebra (C2KA) is a system

  • S, K
  • , where S =
  • S, ⊕, ⊙, d, n
  • is a stimulus structure

and K =

  • K, +, ∗, ; , *

, ; , 0, 1

  • is a CKA such that
  • SK, +
  • is a

unitary and zero-preserving left S-semimodule with mapping

  • : S × K → K and
  • SK, ⊕
  • is a unitary and zero-preserving

right K-semimodule with mapping λ : S × K → S, and where the following axioms are satisfied for all a, b, c ∈ K and s, t ∈ S:

1 s ◦ (a ; b) = (s ◦ a) ;

λ(s, a) ◦ b

  • 2 c ≤K a ∨ (s ◦ a) ;

λ(s, c) ◦ b

  • = 0

3 λ(s ⊙ t, a) = λ

  • s, (t ◦ a)
  • ⊙ λ(t, a)

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 18 / 42

slide-19
SLIDE 19

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Communicating Concurrent Kleene Algebra (C2KA)

A C2KA consists of two semimodules

  • SK, +
  • describes how the stimulus structure S acts upon the

CKA K via the next behaviour mapping ◦

  • SK, ⊕
  • describes how the CKA K acts upon the stimulus

structure S via the next stimulus mapping λ

Together

  • SK, +
  • and
  • SK, ⊕
  • characterise the response

invoked by an external stimulus on the behaviour of an agent as a next behaviour and a next stimulus

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 19 / 42

slide-20
SLIDE 20

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Initiating Agent Behaviours

Agent behaviour can be initiated in two ways:

1

Reactivation: A C2KA is with reactivation if s ◦ 1 = 1 for some s ∈ S\{d}

Passive idle agent may be influenced to behave as any active agent

2

Stimulus Initiation: a ∈ K\{0, 1} is a stimulus initiator if and

  • nly if λ(n, a) = n

May generate a new stimulus without outside influence

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 20 / 42

slide-21
SLIDE 21

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Isotonicity Laws

Proposition Let

  • S, K
  • be a C2KA. For all a, b ∈ K and s, t ∈ S:

1

a ≤K b ∧ s ≤S t = ⇒ s ◦ a ≤K t ◦ b

2

a ≤K b ∧ s ≤S t = ⇒ λ(s, a) ≤S λ(t, b)

Corollary In a C2KA where the underlying CKA and stimulus structure are built up from quantales, the following laws hold:

1

a ≤K b = ⇒ s ◦ a ≤K s ◦ b

2

s ≤S t = ⇒ s ◦ a ≤K t ◦ a

3

s ◦ (a ; b + b ; a) ≤K s ◦ (a ∗ b)

4

s ◦ a ; ≤K s ◦ a *

  • 5

s ◦ a ; = +(n | n ≥ 0 : s ◦ an )

6

s ≤S t = ⇒ λ(s, a) ≤S λ(t, a)

7

a ≤K b = ⇒ λ(s, a) ≤S λ(s, b)

8

λ(s, (a ; b + b ; a)) ≤S λ(s, (a ∗ b))

9

λ(s, a ; ) ≤S λ(s, a * )

10 λ(s, a ;

)= ⊕(n | n ≥ 0 : λ(s, an) )

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 21 / 42

slide-22
SLIDE 22

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

A Comment on a Model for C2KA

Structure of Agent Behaviours

  • PR(EV ), ∪, ∗, ; , *

, ; , ∅, {∅}

  • is a CKA.

A CKA can be modelled as sets of programs and traces EV is a set of event occurrences A trace is a set of events and a program is a set of traces TR(EV ) def = P(EV ) denotes the set of all traces over EV PR(EV ) def = P(TR(EV )) denotes the set of all programs

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 22 / 42

slide-23
SLIDE 23

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

A Comment on a Model for C2KA

Structure of External Stimuli

  • P(Λ), ∪, •, ∅, {ǫ}
  • is a stimulus structure.

A stimulus structure can be modelled by sets of strings Λ is a set of alphabet symbols

  • denotes set concatenation

ǫ is the empty string

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 23 / 42

slide-24
SLIDE 24

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

A Comment on a Model for C2KA

  • Q, Σ, Θ, F, G
  • is a C2KA.

A C2KA can be modelled as a Mealy automaton The set of states Q is a subset of PR(EV ) (i.e., the set K) The input alphabet Σ and output alphabet Θ are given by the stimulus structure such that Σ = Θ = S The transition function F : Σ × Q → Q corresponds to the next behaviour mapping ◦ : S × K → K The output function G : Σ × Q → Θ corresponds to the next stimulus mapping λ : S × K → S

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 24 / 42

slide-25
SLIDE 25

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

A Comment on a Model for C2KA

Proposed model is also equipped with two operations:

Operation ; is associative

Cascading Product of Mealy automata

Operation + is associative, idempotent, and commutative

Full Direct Product of Mealy automata

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 25 / 42

slide-26
SLIDE 26

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Specifying Systems of Communicating Agents with C2KA

Three levels of specification:

1

Stimulus-Response Specification of Agents

2

Abstract Behaviour Specification

3

Concrete Behaviour Specification

Context of the given problem helps to dictate at which level we need to work

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 26 / 42

slide-27
SLIDE 27

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Stimulus-Response Specification

Running Example: One-Place Buffer P

def

= P1 + P2 Q

def

= Q1 + Q2

  • P

n in

  • ut

error P1 P1 P2 P1 P1 P2 P2 P2 P1 P2

  • Q

n in

  • ut

error Q1 Q1 Q1 Q1 Q2 Q2 Q2 Q2 Q2 Q2 λP n in

  • ut

error P1 n n error n P2 n error n n λQ n in

  • ut

error Q1 n n n n Q2 n n n n ∀(Pi, Qi | 1 ≤ i ≤ 2 : d◦Pi = 0 ∧ d◦Qi = 0 ∧ λ(d, Pi) = d ∧ λ(d, Qi) = d ) Buffer

def

= P ; Q = (P1 + P2) ; (Q1 + Q2)

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 27 / 42

slide-28
SLIDE 28

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Abstract Behaviour Specification

Running Example: One-Place Buffer

Consider the following context:

Buffer can only behave as empty or full Buffer may only be influenced by in and out stimuli

error is an uncontrollable stimulus

(in ⊕ out) ◦ (P1 ; Q1 + P2 ; Q1) = in ◦ (P1 ; Q1) + out ◦ (P1 ; Q1) + in ◦ (P2 ; Q1) + out ◦ (P2 ; Q1) = (in ◦ P1) ; λ(in, P1) ◦ Q1

  • + (out ◦ P1) ;

λ(out, P1) ◦ Q1

  • +

(in ◦ P2) ; λ(in, P2) ◦ Q1

  • + (out ◦ P2) ;

λ(out, P2) ◦ Q1

  • =

P2 ; Q1 + P1 ; Q2 + P2 ; Q2 + P1 ; Q1

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 28 / 42

slide-29
SLIDE 29

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Concrete Behaviour Specification

Running Example: One-Place Buffer

empty

def

= P1 ; Q1 = (flag 1 := off ; flag 2 := off ) full

def

= P2 ; Q1 = (flag 1 := on ; flag 2 := off ) underflow

def

= P1 ; Q2 = (flag 1 := off ; flag 2 := on)

  • verflow

def

= P2 ; Q2 = (flag 1 := on ; flag 2 := on)

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 29 / 42

slide-30
SLIDE 30

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

C2KA and Orbits, Stabilisers, and Fixed Points

Orbits, stabilisers, and fixed points allow us to:

1

Perceive a kind of topology of a system

2

Gain some insight into the communication channels that can be established

3

Model the possible reactions of a system to a stimulus

4

Alleviate the state explosion problem in model checking

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 30 / 42

slide-31
SLIDE 31

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

C2KA and Orbits, Stabilisers, and Fixed Points

Two complementary notions of orbits, stabilisers, and fixed points Can think about concurrent and communicating systems from two different perspectives:

1

Behavioural Perspective: action of external stimuli on agent behaviours described by

  • SK, +
  • 2

External Event Perspective: action of agent behaviours on external stimuli described by

  • SK, ⊕
  • Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang

RAMiCS 2014 31 / 42

slide-32
SLIDE 32

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Orbits

Definition (Orbit) The orbit of a in S is the set Orb(a) = {s ◦ a | s ∈ S}. Set of all possible behavioural responses from an agent to any external stimulus from S

Set of all possible future behaviours

Running Example:

Orb(empty) = {empty, full, underflow, overflow} Orb(overflow) = {underflow, overflow}

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 32 / 42

slide-33
SLIDE 33

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Another Interpretation of Orbits

Definition (Induced Behaviour) Let a, b ∈ K be agent behaviours such that a = b. We say that b is induced by a via external stimuli (denoted by a ⊳ b) if and

  • nly if ∃(s | s ∈ S : s ◦ a = b ).

Equivalently, a ⊳ b ⇐ ⇒ b ∈ Orb(a) for a = b Running Example:

empty ⊳ underflow via the external stimulus out empty ⊳ overflow via the external stimulus in ⊙ in

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 33 / 42

slide-34
SLIDE 34

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Strong Orbits

Definition (Strong Orbit) The strong orbit of a in S is the set OrbS(a) = {b ∈ K | Orb(b) = Orb(a)}. Two agents are in the same strong orbit (a ∼K b) if and only if their orbits are identical If a ∼K b, then ∃(s, t | s, t ∈ S : s ◦ a = b ∧ t ◦ b = a )

s and t can be perceived as inverses of one another

Running Example: We have two strong orbits: {empty, full} and {underflow, overflow}

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 34 / 42

slide-35
SLIDE 35

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Stabilisers

Definition (Stabiliser) The stabiliser of a in S is the set Stab(a) = {s ∈ S | s ◦ a = a}. Set of external stimuli which have no observable influence (or act as neutral stimuli) on an agent Running Example: Stab(empty) is generated by {error, in ⊙ out}

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 35 / 42

slide-36
SLIDE 36

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Fixed Point Behaviours

Definition (Fixed Point) An element a ∈ K is a fixed point if ∀(s | s ∈ S\{d} : s ◦ a = a ). Not influenced by any external stimulus other than the deactivation stimulus d May be any number of fixed points with respect to ◦ When a ∈ K is a fixed point, Orb(a) = {0, a} and Stab(a) = S\{d} Running Example: With regard to the specification, the behaviour Q2 is a fixed point

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 36 / 42

slide-37
SLIDE 37

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

Topological Insights and Induced Behaviours

Proposition Let a, b, c ∈ K be agent behaviours.

1

a is a fixed point = ⇒ ∀(b | b ∈ K ∧ b = 0 ∧ b = a : ¬(a ⊳ b) )

2

a ∼K b = ⇒ a ⊳ b ∧ b ⊳ a

3

a ∼K b = ⇒ (a ⊳ c ⇐ ⇒ b ⊳ c)

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 37 / 42

slide-38
SLIDE 38

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Outline

1

Introduction and Motivation

2

The Proposed Framework Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

3

Conclusion and Outlook

4

Questions

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 38 / 42

slide-39
SLIDE 39

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Conclusion

C2KA extends the algebraic setting of CKA to capture the influence of external stimuli on the behaviour of system agents C2KA supports the ability to work in either a state-based or event-based model for both the specification of communicating and concurrent behaviour To the best of our knowledge, such a formalism does not currently exist in the literature

Required for studying the necessary conditions for covert channel existence

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 39 / 42

slide-40
SLIDE 40

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Current and Future Work

Developed a formulation of the potential for communication condition for covert channels using C2KA Prototype tool to support the automated computation and specification of systems of communicating agents using C2KA Adapt C2KA for solving interface equations Use C2KA to capture and explain the influence of external stimuli on agent behaviour in social networking environments

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 40 / 42

slide-41
SLIDE 41

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Outline

1

Introduction and Motivation

2

The Proposed Framework Structure of Agent Behaviours Structure of External Stimuli Communicating Concurrent Kleene Algebra (C2KA) A Comment on a Model for C2KA Specifying Systems of Communicating Agents with C2KA C2KA and Orbits, Stabilisers, and Fixed Points

3

Conclusion and Outlook

4

Questions

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 41 / 42

slide-42
SLIDE 42

Outline Introduction and Motivation The Proposed Framework Conclusion and Outlook Questions

Questions Questions?

Jason Jaskolka (Speaker), Ridha Khedri, and Qinglei Zhang RAMiCS 2014 42 / 42