Title: Machine Composition
1Machine Composition
- ECE-548 Sequential Machine Theory
- Prof. K. J. Hintz
- Department of Electrical and Computer Engineering
- Lecture 9
2Behavioral Equivalence
- A behavioral Equivalence is
- Reflexive
- M M
- Symmetric
- M1 M2 implies M2 M1
- Transitive
- M1 M2 M3 implies M1 M3
3Morphisms
- Reduction Homomorphism
- Shows behavioral equivalence of machines of
different sizes - Can limit our analysis to minimized machines
- Isomorphism
- Shows equivalence of same, but not necessarily
minimal size - Shows equivalence between machines with different
labels for inputs, states, and outputs
4Reduction Homomorphism
- Two machines, M1 and M2, along with a
homomorphism, ? (?, ?, ?), is a reduction if - ? is surjective (onto)
- I1 I2 and ? is the identity function
- O1 O2 and ? is the identity function
5Reduction Homomorphism Ex.
Shields, p. 65
6M1 State Diagram
7Reduction Homomorphism Ex.
Shields, p. 65
8M2 State Diagram
9State Relation
10Red. Homo. Proof, States
11Red. Homo. Proof, Output
12Partitions from RH
13Partition from e.g. RH
14Partition from e.g. RH
15Inverse Mapping
- This Particular Surjective Mapping Is of Interest
Because - This mapping leads to an inverse, ?-1(s2) which
determines a partition of S1 since many elements
of S1 map to fewer elements of S2. - Although there are other partitions of S1 this
particular one is of interest because it has the
substitution property
16Needed Definitions
- The next state of a transition function resulting
from any of a set of states, ?, in response to a
single input is itself a set of all states which
could be reached from any of the initial states
element of ?.
17Needed Definitions
- The output caused by an input when the machine is
in any of a set of states is equal to the set of
outputs generated by the response of the
individual states to the single input.
18Behavior Equivalence
- B. E. as defined is awkward to work with, need a
property which infers B.E. - For a single machine, M1, one can define a new
state transition function, ? and output
function, ?
19Substitution Property
20Substitution Property
21Substitution Property Example
22SP Counter Example
23Substitution Property Example
Ginzburg, p. 20
24Substitution Property Example
25SP Counter Example
26Output Consistent SP (OCSP)
27Output Consistent SP (OCSP)
- The Output Produced by All States That Are
Elements of a Particular Pi-Block Is the Same
When Under the Influence of the Same Input. - The Output Does Not Have to Be the Same for Each
Different Input, Only the Same for Each
Individual Input.
28OCSP Example
Lee, p. 254
29OCSP Example
30OCSP Example
31Kernel(?)
32Kernel(?)
33Quotient Machine
34Machine Composition
- Parallel Composition
- Two or more machines operating synchronously to
produce outputs - Inputs/outputs of machine composition are vectors
constructed by adjoining the inputs/outputs of
the individual machines - Represented as M M1 M2
35Machine Composition
36Parallel Composition
37Parallel Composition
38Parallel Composition Example
Lee, p. 291
39Parallel Composition Example
Lee, p. 291
40Parallel Composition Example
41Parallel Composition Example
42Machine Composition
- Serial Composition
- Output of first machine fed to input of second
machine through mapping function, ?. - Machines do not need to operate synchronously
- Input of first machine is input to serial
composed machine - Output of last machine is output of serial
composed machine
43Machine Composition
44Serial Composition
45Serial Composition
46Serial Composition
47Serial Composition Example
48Serial Composition Example
Lee, p. 291
49Serial Composition Example
50Serial Composition Example