Cascade Composition

Consider two state machines connected in series:

The components are

StateMachineA = (StatesA , InputsA , OutputsA , updateA , initialStateA )

StateMachineB = (StatesB , InputsB , OutputsB , updateB , initialStateB )

Let the composition be given by

StateMachine = (States, Inputs, Outputs, update, initialState )

Assumption:

Definition of the composition:

where

(s'A , yA) = updateA (sA, x)

(s'B , yB )= updateB (sB, yA)

Stuttering element: