Jump to content

Local language (formal language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Deltahedron (talk | contribs) at 07:18, 24 November 2012 (better). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a local language is a formal language for which membership of a word in the language can be determined by looking at a "window" of length two. Equivalently, it is a language recognised by a local automaton, a class of deterministic finite automaton.[1]

Formally, we define a language L over an alphabet A to be local if there are subsets R and S of A and a subset F of A×A such that a word w is in L if and only if the first letter of w is in R, the last letter of w is in S and no factor of length 2 in w is in F.[2] This corresponds to the regular expression[3]

Examples

  • Over the alphabet {a,b}[3]

Properties

References

  1. ^ Lawson (2004) p.130
  2. ^ Lawson (2004) p.129
  3. ^ a b c Sakarovitch (2009) p.228
  4. ^ Lawson (2004) p.132
  • Lawson, Mark V. (2004). Finite automata. Chapman and Hall/CRC. ISBN 1-58488-255-7. Zbl 1086.68074.
  • Sakarovitch, Jacques (2009). Elements of automata theory. Translated from the French by Reuben Thomas. Cambridge: Cambridge University Press. ISBN 978-0-521-84425-3. Zbl 1188.68177.