Prove Modified Pumping Lemma for Infinite Language L

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the modified Pumping Lemma for infinite languages, specifically how to prove its validity and its implications for determining whether a language is regular. Participants explore the conditions under which the lemma holds and its relationship to the standard Pumping Lemma.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that for an infinite language L, there exist words x, y, z such that |xz| ≤ |Σ_k|, and each word xy^(i)z is in L.
  • Questions arise regarding the relationship between the length of |xz| and the number of states in the automaton, with some suggesting that |xz| may not necessarily be less than or equal to the number of states.
  • Clarifications are sought on the notation used, particularly regarding the meaning of y^(i) and the definition of Σ_k.
  • Some participants express uncertainty about whether the modified lemma can be applied in the same way as the standard Pumping Lemma, which states that for a regular language, every sufficiently long word can be decomposed into xyz.
  • There is a discussion about a specific example of a language, L = {ww | w ∈ {a,b}^*}, and how to apply the modified Pumping Lemma to show it is not regular.
  • Participants discuss the implications of the standard Pumping Lemma, noting differences in the conditions regarding |xy| and |xz|.
  • Some participants share insights from textbooks and Wikipedia regarding the proof of the standard Pumping Lemma and its application to infinite languages.
  • There is a request for clarification on a specific case in the proof involving common states in the automaton's path.

Areas of Agreement / Disagreement

Participants express differing views on the validity and application of the modified Pumping Lemma. While some agree on certain aspects of the lemma, there remains no consensus on its implications or the conditions under which it can be applied effectively.

Contextual Notes

Participants highlight the need for careful consideration of definitions and assumptions, particularly regarding the relationship between the lengths of segments in the context of the Pumping Lemma. There are unresolved questions about the implications of state visits in the automaton and how they relate to the lemma's conditions.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hi! :)
Let L be the language, which has an infinite number of words, then there are words x,y,z \epsilon \Sigma ^{*}, so that |xz|\leq |\Sigma_{k}|, and each word xy^{(i)}z, i\geq0 is in L.
How could we prove this modified Pumping Lemma?
 
Technology news on Phys.org
What is the relation between the length of |xz| and the number of the states?
 
mathmari said:
Let L be the language, which has an infinite number of words
Any infinite language whatsoever?

mathmari said:
then there are words x,y,z \epsilon \Sigma ^{*}, so that |xz|\leq |\Sigma_{k}|
What is $\Sigma_k$?

mathmari said:
and each word xy^{(i)}z, i\geq0 is in L.
Just to be sure: $y^{(i)}$ is the concatenation of $i$ copies of $y$? I saw this denoted by $y^i$ before, and since in calculus $y^i$ and $y^{(i)}$ are two different things, I am just being careful...

mathmari said:
How could we prove this modified Pumping Lemma?
Since this relates to various variants of the pumping lemma, what is the standard variant and can we use it?
 
Evgeny.Makarov said:
Any infinite language whatsoever?
With this lemma we want to show that a language is not regular.

What is $\Sigma_k$?
It is the set of the states.

Just to be sure: $y^{(i)}$ is the concatenation of $i$ copies of $y$? I saw this denoted by $y^i$ before, and since in calculus $y^i$ and $y^{(i)}$ are two different things, I am just being careful...
I think it is the concatenation of $i$ copies of $y$.

Since this relates to various variants of the pumping lemma, what is the standard variant and can we use it?
The standard variant of the Pumping Lemma is:
Let L be the language of the automaton M, which has an infinite number of words, then there are words $x,y,z \epsilon \Sigma^{*}$, so that each word $xy^{(i)}z \epsilon L$.
 
mathmari said:
With this lemma we want to show that a language is not regular.

It is the set of the states.

I think it is the concatenation of $i$ copies of $y$.The standard variant of the Pumping Lemma is:
Let L be the language of the automaton M, which has an infinite number of words, then there are words $x,y,z \epsilon \Sigma^{*}$, so that each word $xy^{(i)}z \epsilon L$.

So, at the modified lemma, $|xz| \leq |\Sigma_{k}|$ must also be satisfied..
 
What is the relation between the length of $|xz|$ and the number of the states?

Let $n$ be the number of states of the automaton. Take a word $w\in L$ whose length is at least $n$ and feed it to the automaton. Then some state $s$ is visited at least twice. Split $w$ so that $x$ is read before the first visit to $s$, $z$ is read after the last visit to $s$ and $y$ is everything in between. Then $xy^iz\in L$ for all $i$. However, it does not follow that $|xz|\le n$. In the best case, the states visited reading $x$ are different from those visited reading $z$; then indeed $|xz|\le n$, but this does not have to happen. Another choice of $s$ may be needed.

By the way, are you sure it's $|xz|\le n$ and not $|xy|\le n$?
 
Evgeny.Makarov said:
Let $n$ be the number of states of the automaton. Take a word $w\in L$ whose length is at least $n$ and feed it to the automaton. Then some state $s$ is visited at least twice. Split $w$ so that $x$ is read before the first visit to $s$, $z$ is read after the last visit to $s$ and $y$ is everything in between. Then $xy^iz\in L$ for all $i$. However, it does not follow that $|xz|\le n$. In the best case, the states visited reading $x$ are different from those visited reading $z$; then indeed $|xz|\le n$, but this does not have to happen. Another choice of $s$ may be needed.

By the way, are you sure it's $|xz|\le n$ and not $|xy|\le n$?

I am asked to show that $|xz|\le n$..
 
Last edited by a moderator:
Is this sure that we cannot conclude that $|xz| \leq n$ ? :eek:
 
I have to think about this.
 
  • #10
I am also asked to apply this lemma at an exercise.
Let the language be $L=\{ww|w \epsilon \{a,b\}^{*}\}$. To show that this language is not regular using the lemma above,what can I do? Do I have to take a specific word and apply this?
 
  • #11
At this point, I can only tell you how this is proved using standard pumping lemma. There are two differences with your version: first, it uses $|xy|\le n$ and not $|xz|\le n$ and, second, it says that every sufficiently long word (longer than the number of states) can be decomposed into $xyz$, not that there exists such a word. You can see a proof of this lemma in Wikipedia.

So, if $L$ is regular, then $a^kb^ka^kb^k\in L$ for every $k$. If $k>n$, then $xy$ and thus $y$ must consist of $a$s only. Pumping in $a$'s will break the balance between the first and second segments of $a$s, i.e., the number of $a$s in the two segments will be different and thus the word will no longer be a square.
 
  • #12
I found the proof of this version of Pumping Lemma in a textbook.

At at the path(from the initial state $I$ to an accepting state $T$) that generates a very large word, a state $K$ wil be repeated and the path has the form:
$I \to ... \to K ... \to K \to ... \to T$
If we delete the part $ K \to ... \to K$ the path still generates an accepting word.
If at the sub-path $ I \to ... \to K $ and $ K \to ... \to T $ there is no other common state $L$ (besides $K$), then we have finished: we set $x=I \to ... \to K$, $z=K \to ... \to T $ and $y=K\to ... \to K$. If there is a common state $L$ then we delete the part $K \to ... \to K$ and we continue with the path $ I \to ... \to L \to ... \to K \to ... \to L \to... \to T$.

I'm a little confused...Could you explain me the second case, when there is a common state $L$ ?
 
  • #13
mathmari said:
Could you explain me the second case, when there is a common state $L$ ?
Then we replace the middle path $K\to\dots\to K$ by just one state $K$. By assumption, there is a state $L$ that belongs to the first part $I\to\dots\to K$ and to the last part $K\to\dots\to T$. Therefore, after removing the middle part the path looks like \[
I \to\dots \to L \to\dots \to K \to\dots \to L \to\dots \to T.\] Then we apply the whole procedure again, and $L$ plays the role that $K$ played.
 
  • #14
Evgeny.Makarov said:
Then we replace the middle path $K\to\dots\to K$ by just one state $K$. By assumption, there is a state $L$ that belongs to the first part $I\to\dots\to K$ and to the last part $K\to\dots\to T$. Therefore, after removing the middle part the path looks like \[
I \to\dots \to L \to\dots \to K \to\dots \to L \to\dots \to T.\] Then we apply the whole procedure again, and $L$ plays the role that $K$ played.

I got! Thank you for explaining to me! :o
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K