Though this expression, is accepted by deterministic finite automation, but if we applying pumping lemma on this expression, pumping lemma fails, also this expression have finite states but does not halt and run on continuously, the edges keep making self loops b/w the states as i tends to become larger and when tends to infinity, it does not supposed to be halt. So, for this expression DFA can be drawn but pumping lemma and TM fails. So, tell is this a regular grammar or not?
Is a^i^2 | i>=1 regular?
323 Views Asked by peeyush.cray At
1
There are 1 best solutions below
Related Questions in REGEX
- Check for numeric value with optional commas javascript
- CSV to XML XSLT: How to quote excape
- How can I determine the index of the same set of characters between two strings that are of different lengths?
- Max 3 digits, up to 3 decimals
- Regex for SQL insert query
- Javascript Regex to get specific string from two differently-formatted text blocks
- JavaScript differences beetween new Regex('regex', 'flags') and /regex/flags
- Java replace every Nth specific character (e.g. space) in String
- c# regex spain mobile phone
- Perl Regex: Merge multiple one-character substrings
- Using .css("background-color") for comparison jQuery/Js
- Unexpected NoReverseMatch error when using include() in urls patterns
- RegEx for all the javascript code except comments
- Regex: how to separate username:password?
- Customising a RegExp for international phone numbers
Related Questions in AUTOMATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Automating Telnet Scripts from .bat with a teamspeak instance
- schedule and automate sqoop import/export tasks
- Dynamic @Test generation in TestNG
- detecting a file downloaded in selenium java
- Can I automate auto-app installation on my Android device?
- C# Program automation - Program hangs/doesn't work
- Saving Excel workbook as PDF gives me an OLE error 800A03EC
- Appium-How to send SMS for login verification purpose during automation test
- How to maximize browser window with helium using Java?
- Appium iOS automation using Java : get element using accessibility Id?
- Looking to run automated jobs in .NET application
- How to click the back navigation button of the browser using helium?
- Firefox automatically choose certificate, without ui dialog
- Test class not found in selected project
Related Questions in PUMPING-LEMMA
- Is a^i^2 | i>=1 regular?
- Relation of pumping lengths between related regular languages
- Finding errors in pumping lemma conditions
- What exactly is the 'pumping length' in the Pumping lemma?
- Did I apply pumping lemma correctly?
- Pumping lemma on regular languages?
- Why pumping lemma for context free languages do not have bound on first part of string?
- Prove language irregular with pumping Lemma
- Discrete Logarithm in Prolog
- Is L = {ww^Ru | w, u ∈ {0,1}+} regular language?
- To make sure: Pumping lemma for infinite regular languages only?
- Pumping Lemma, Condition 1
- Is this the correct way to use the pumping lemma?
- Proving language is context-free with pumping lemma
- Hard to pin non-regular language with pumping lemma
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Actually a DFA cannot be drawn (at least a correct one that is). You're right that the pumping lemma gives a contradiction, it's easy to pump i up or down to make it non-square. If the pumping lemma shows that a language is not regular, then by definition there is no way to draw a DFA to represent that language.
The set of states is infinite, there must be one state to accept a^1, one for a^2, one for a^3 and so on. Then there's all the states between these accepting ones.. it gets messy pretty quickly. Anyways, if the pumping lemma shows a language is not regular (assuming you're applying it properly), then there is no DFA (or regular expression) to represent the language.