PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
metalinear language (Definition)

Recall that a linear grammar is a formal grammar $G=(\Sigma, N,P,\sigma)$ whose productions are of the form $A\to x$ , where $A$ is a terminal symbol, and $x$ is a word over $\Sigma$ , with at most one occurrence of a non-terminal symbol.

The concept of a linear grammar can be generalized: define a $k$ -linear grammar as a formal grammar $G=(\Sigma, N,P,\sigma)$ such that every production in $P$ has one of the three following forms:

  • $A\to u$ ,
  • $A\to uBv$ ,
  • $\sigma \to W$ ,
where $A,B$ are non-terminal symbols, $u,v$ are terminal words, and $W$ is a word over $\Sigma$ with no more than $k$ occurrences of non-terminal symbols, and none of which is the start symbol $\sigma$ . Any $k$ -linear grammar is context-free.

A language is said to be $k$ -linear if it can be generated by a $k$ -linear grammar. Note that a language is $1$ -linear iff it is linear.

A language is said to be metalinear if it is $k$ -linear for some positive integer $k$ . In other words, if $ \mathscr{L}(k)$ denotes the family of $k$ -linear languages, then the family $ \mathscr{L}(\infty)$ of metalinear langauges is

$\displaystyle \mathscr{L}(\infty)=\bigcup \lbrace \mathscr{L}(k) \mid k\ge 1\rbrace.$

It is easy to see we have the following inclusions

$\displaystyle \mathscr{R}\subseteq \mathscr{L}(k) \subseteq \cdots \subseteq \mathscr{L}(k) \subseteq \cdots \subseteq \mathscr{L}(\infty) \subseteq \mathscr{F}$
where $ \mathscr{R}$ and $ \mathscr{F}$ are the families of regular and context-free languages respectively.

In fact, it can be shown that all of the inclusions above are strict, providing us with an infinite chain of families of languages between the regular languages and the context-free languages.

Bibliography

1
A. Salomaa, Formal Languages, Academic Press, New York (1973).




"metalinear language" is owned by CWoo.
(view preamble | get metadata)

View style:

See Also: linear grammar, linear language

Also defines:  $k$-linear language
Log in to rate this entry.
(view current ratings)

Cross-references: regular languages, infinite chain, strict, context-free languages, regular, inclusions, easy to see, integer, positive, iff, generated by, language, context-free, terminal, occurrence, productions, formal grammar, linear grammar

This is version 5 of metalinear language, born on 2009-06-01, modified 2009-06-06.
Object id is 11809, canonical name is MetalinearLanguage.
Accessed 466 times total.

Classification:
AMS MSC68Q70 (Computer science :: Theory of computing :: Algebraic theory of languages and automata)
 68Q45 (Computer science :: Theory of computing :: Formal languages and automata)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)