Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:08:30+00:00 2026-05-27T08:08:30+00:00

I got this question wrong on my test and was wondering if someone could

  • 0

I got this question wrong on my test and was wondering if someone could explain it, showing the steps taken to come to the conclusion. Any help would be appreciated.

In the PL proof for L_neq = {0^i1^j | i < j} given an m-state DFA, someone picks the string 0^(m/2)1^(m/2+1). They then pick y = 0 and show that by pumping, we can arrive at the string 0^(m/2+1)1^(m/2+1) which is outside L_neq. Is this proof correct? Why or why not?

Further, if this proof is wrong, write down a correct proof.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:08:30+00:00Added an answer on May 27, 2026 at 8:08 am

    When using the pumping lemma, while you are allowed to choose the string to pump (let’s call it w), you are not allowed to choose how to split w into three parts xyz. Instead, what you need to do is show that for any way that w could be split into xyz, there is some choice of i such that xyiz such that xyiz ∉ Lneq. So while you are correct that if y = 0 then the string can be taken out of Lneq, you cannot guarantee that y = 0. Instead, you’d need to show that for any choice of y such that |xy| ≤ m and |y| > 0, you can take the string out of the language.

    As a hint, try the string 0m1m. Now, for any choice of y, since |xy| ≤ m, you know that y must have the form 0j for some natural number j > 0. Your argument then can be used to show that xyiz is no longer in Lneq.

    For another resource on the pumping lemma and how these proofs work, feel free to check out these lecture slides I used earlier this quarter in a theory of computation course. They walk through a few pumping lemma examples, and (importantly) show off the adversarial model for thinking about these proofs.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got this question in a programming test. Do you think this question is
I got this question from my cousin: What will be the best way to
Today I got this question for which I think I answered very bad. I
I just got this question on an interview and had no idea how to
So I got this question in data structures class' homework, I'm translating so I
Based on feedback I got from this question , I'm interested in using Lazy
This question got me thinking about bare strings. When PHP sees a string that's
This question got me thinking about the max_size method in vector class. It is
I got this in an interview question -- the question was more about what
This question about Timers for windows services got me thinking: Say I have (and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.