+ All Categories
Home > Documents > 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade...

03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade...

Date post: 18-Nov-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
44
Composition of State Machines Mealy machines Products of Mealy machines Products of semiautomata Products of transformation semigroups Products of incomplete machines
Transcript
Page 1: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Composition of State Machines

Mealy machinesProducts of Mealy machinesProducts of semiautomata

Products of transformation semigroupsProducts of incomplete machines

Page 2: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Mealy machine

statesInput alphabet

Output alphabetTransition function

Output function

Page 3: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

The action of Mealy Machine

Page 4: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Processing word

Page 5: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Mealy machine as black box

Page 6: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restricted Parallel Connection

Page 7: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restricted direct product

Page 8: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Full parallel connection

Page 9: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Full direct product

Page 10: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

General parallel connection

Page 11: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

General direct product

=

Page 12: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Cascade connection

Page 13: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Cascade product

Page 14: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Alternative interpretation of cascade connection

Page 15: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Wreath connection

Page 16: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Wreath product

Page 17: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restricted direct product of state machines

Page 18: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example

Page 19: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Full direct product of state machines

Page 20: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example

Page 21: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Cascade product of state machines

Page 22: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example

σ

σ

σ

σ11(1,1)

σ10(0,1)

σ00(0,0)

Page 23: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Wreath product of state machines

Page 24: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example

Set of all mappings

ττδ

στγ

τσβ

σσα

10

F°((0,0),( α, σ))=(F(0, α(0)),F’(0, σ))=(1,1)F°((1,0),( α, σ))=(F(1, α(0)),F’(0, σ))=(1,1)F°((0,1),( α, σ))=(F(0, α(1)),F’(1, σ))=(1,0)F°((1,1),( α, σ))=(F(1, α(1)),F’(1, σ))=(1,0)

Page 25: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example 2

Set of all mappings

σσα

10

F°((0,0),( α, σ))=(F’(0, α(0)),F(0, σ))=(1,1)F°((1,0),( α, σ))=(F’(1, α(0)),F(0, σ))=(0,1)F°((0,1),( α, σ))=(F’(0, α(1)),F(1, σ))=(1,1)F°((1,1),( α, σ))=(F’(1, α(1)),F(1, σ))=(0,1)

F°((q’,q),(f, σ))=(F’(q’, f(q)),F(q, σ))

Page 26: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Product of transformation semigroups

All state machines and transformation semigroups will be assumed to be complete in this section.

M M’

M product M’

TS(M) TS(M’)

TS(M product M’)

TS(M) product TS(M’)

Page 27: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Transformation semigroup of restricted direct product

iff

Page 28: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines
Page 29: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restricted direct product of transformation semigroups

Page 30: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Theorem

M M’

M product M’

TS(M) TS(M’)

TS(M product M’)

TS(M) product TS(M’) product – restricted direct product

Page 31: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Full direct product of transformation semigroups

Direct product of two semigroups

Page 32: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Theorem

M M’

M product M’

TS(M) TS(M’)

TS(M product M’)

TS(M) product TS(M’) product – full direct product

Page 33: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Theorem

Page 34: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Cascade and wreath products

There is no simple straightforward construction that yields the transformation semigroup B from a suitable combination of A and A'. What we will do here is to show that B can be covered by the wreath product of the transformation semigroups A and A'.

Page 35: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Wreath product of transformation semigroups

then

Page 36: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Theorem

M M’

M product M’

TS(M) TS(M’)

TS(M product M’)

TS(M) product TS(M’) product –cascade/wreath product

Page 37: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Associativity. Theorems

Page 38: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Products of incomplete machines

We now extend our definitions of products of state machines and transformation semigroups to include the incomplete cases.

Page 39: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restriction of state machine

Page 40: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Example

Page 41: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Restriction of transformation semigroup

:

whereIs defined by

Page 42: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Products of incomplete machines

suppose

Page 43: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

Products of incomplete transformation semigroups

Page 44: 03 Composition of state machinescs.ioc.ee/~margo/aat/03_Composition_of_state_machines.pdfcascade connection Wreath connection Wreath product Restricted direct product of state machines

TheoremsAll things are complete

3

2

1


Recommended