deletion operation on languages (original) (raw)

Let Σ be an alphabet and u,v be words over Σ. A deletion of v from u is a word of the form u1⁢u2, where u=u1⁢v⁢u2. 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 u⟶v.

For example, if u=(a⁢b)6 and v=a⁢b⁢a, then

u⟶v={(b⁢a)4⁢b,a⁢b⁢(b⁢a)3⁢b,(a⁢b)2⁢(b⁢a)2⁢b,(a⁢b)3⁢b⁢a⁢b,(a⁢b)4⁢b}.

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

For example, if L1={(a⁢b)n∣n≥0} and L2={an⁢bn∣n≥0}, then L1⟶L2=L1, and L2⟶L1=L2. If L3={an∣n≥0}, then L2⟶L3=ambn∣n≥m≥0}, and L3⟶L2=L3.

A language L is said to be deletion-closed if L⟶L⊆L. L1,L2, and L3 from above are all deletion closed, as well as the most obvious example: Σ*. L2⟶L3 is not deletion closed, for a3⁢b4⟶a⁢b3={a2⁢b}⊈L2⟶L3.

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=0∞Li

Then Del⁡(L)=L′.

For example, if L={ap∣p⁢ is a prime number }, then Del⁡(L)={an∣n≥0}, and if L={am⁢bn∣m≥n≥0}, then Del⁡(L)={am⁢bn∣m,n≥0}.

Remarks.

References

Title deletion operation on languages
Canonical name DeletionOperationOnLanguages
Date of creation 2013-03-22 18:56:23
Last modified on 2013-03-22 18:56:23
Owner CWoo (3771)
Last modified by CWoo (3771)
Numerical id 8
Author CWoo (3771)
Entry type Definition
Classification msc 68Q70
Classification msc 68Q45
Synonym deletion-closed
Synonym deletion-closure
Related topic ShuffleOfLanguages
Related topic InsertionOperationOnLanguages
Defines deletion
Defines deletion closed
Defines deletion closure