请输入您要查询的字词:

 

单词 DeletionOperationOnLanguages
释义

deletion operation on languages


Let Σ be an alphabet and u,v be words over Σ. A deletion of v from u is a word of the form u1u2, where u=u1vu2. If w is a deletion of v from u, then u is an insertion of v into w.

The deletion of v from u is the set of all deletions of v from u, and is denoted by uv.

For example, if u=(ab)6 and v=aba, then

uv={(ba)4b,ab(ba)3b,(ab)2(ba)2b,(ab)3bab,(ab)4b}.

More generally, given two languagesPlanetmathPlanetmath L1,L2 over Σ, the deletion of L2 from L1 is the set

L1L2:={uvuL1,vL2}.

For example, if L1={(ab)nn0} and L2={anbnn0}, then L1L2=L1, and L2L1=L2. If L3={ann0}, then L2L3=ambnnm0}, and L3L2=L3.

A language L is said to be deletion-closed if LLL. L1,L2, and L3 from above are all deletion closed, as well as the most obvious example: Σ*. L2L3 is not deletion closed, for a3b4ab3={a2b}L2L3.

It is easy to see that arbitrary intersectionsMathworldPlanetmath of deletion-closed languages is deletion-closed.

Given a language L, the intersection of all deletion-closed languages containing L, denoted by Del(L), is called the deletion-closure of L. In other words, Del(L) is the smallest deletion-closed language containing L.

The deletion-closure of a language L can be constructed from L, as follows:

L0:=L
Ln+1:=Ln(Ln{λ})
L:=i=0Li

Then Del(L)=L.

For example, if L={app is a prime number }, then Del(L)={ann0}, and if L={ambnmn0}, then Del(L)={ambnm,n0}.

Remarks.

  • If L1,L2 are regular languages, so is L1L2. In other words, the family of regular languages is closed underPlanetmathPlanetmath the deletion binary operationMathworldPlanetmath.

  • In additionPlanetmathPlanetmath, is closed under deletion closure: if L is regular, so is Del(L).

  • However, , the family of context-free languages, is neither closed under deletion, nor under deletion closure.

References

  • 1 M. Ito, Algebraic Theory of Automata and Languages, World Scientific, Singapore (2004).

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 2:11:39