Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Local language (formal language)
In mathematics, some kind of formal language

In mathematics, a local language is a formal language for which membership of a word in the language can be determined by looking at the first and last symbol and each two-symbol substring of the word. Equivalently, it is a language recognised by a local automaton, a particular kind of deterministic finite automaton.

Formally, a language L over an alphabet A is defined 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. This corresponds to the regular expression

( R A ∗ ∩ A ∗ S ) ∖ A ∗ F A ∗   . {\displaystyle (RA^{*}\cap A^{*}S)\setminus A^{*}FA^{*}\ .}

More generally, a k-testable language L is one for which membership of a word w in L depends only on the prefix and suffix of length k and the set of factors of w of length k; a language is locally testable if it is k-testable for some k. A local language is 2-testable.

We don't have any images related to Local language (formal language) yet.
We don't have any YouTube videos related to Local language (formal language) yet.
We don't have any PDF documents related to Local language (formal language) yet.
We don't have any Books related to Local language (formal language) yet.
We don't have any archived web articles related to Local language (formal language) yet.

Examples

  • Over the alphabet {a,b,[,]}9
a a ∗ ,   [ a b ]   . {\displaystyle aa^{*},\ [ab]\ .}

Properties

References

  1. Salomaa (1981) p.97

  2. Lawson (2004) p.130

  3. Lawson (2004) p.129

  4. Salomaa (1981) p.97

  5. Sakarovitch (2009) p.228

  6. Caron, Pascal (2000-07-06). "Families of locally testable languages". Theoretical Computer Science. 242 (1): 361–376. doi:10.1016/S0304-3975(98)00332-6. ISSN 0304-3975. https://www.sciencedirect.com/science/article/pii/S0304397598003326

  7. McNaughton & Papert (1971) p.14

  8. Salomaa (1981) p.97

  9. Sakarovitch (2009) p.228

  10. Sakarovitch (2009) p.228

  11. Salomaa (1981) p.97

  12. Lawson (2004) p.132

  13. McNaughton & Papert (1971) p.18