automata-theory

Definition

Transducer

A transducer is an automaton that processes input strings and produces corresponding output strings, effectively mapping one sequence to another.

Formally, a finite-state transducer can be defined as a tuple:

where:

  • is a set of states
  • is the input alphabet
  • is the output alphabet
  • : is the transition function
  • : is the output function
  • is the set of initial states
  • is the set of accepting (final) states.

For each input symbol in a state, a next state, using the transition function , and an output symbol, using the output function , are produced by the transducer.

Notation

When representing a transducer, the notation is used to describe state transitions, where is the input, and is the output. Both can can be a vector, e.g.: when adding binary numbers, a 2D vector is used as input.

Translation Relation

Note that is the extended transition relation of automaton .

Examples

Binary Addition