GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Interchange lemma

In the theory of formal languages, the interchange lemma states a necessary condition for a language to be context-free, just like the pumping lemma for context-free languages. It states that for every context-free language L there is a c>0 such that for all n\geq m\geq 2 for any collection of length n words R\subset L there is a Z=\{z_1,\ldots,z_k\ \subset R with k\ge. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In the theory of formal languages, the interchange lemma states a necessary condition for a language to be context-free, just like the pumping lemma for context-free languages. It states that for every context-free language L there is a c>0 such that for all n\geq m\geq 2 for any collection of length n words R\subset L there is a Z=\{z_1,\ldots,z_k\}\subset R with k\ge |R|/(cn^2) , and decompositions z_i=w_ix_iy_i such that each of |w_i| , |x_i| , |y_i| is independent of i , moreover, m/2 , and the words w_ix_jy_i are in L for every i and j . The first application of the interchange lemma was to show that the set of repetitive strings (i.e., strings of the form xyyz with |y|>0 ) over an alphabet of three or more characters is not context-free.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Interchange lemma". 1663511526. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1110967617

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·