So, I was having a bit of difficulty figuring what exactly is meant by a String on which Turing Machine does not halt. I read somewhere that a Turing Machine is equivalent to a deterministic automata with 2 stacks. But how will a deterministic automata with 2 stacks accept a string that doesn't halt when for any finite string it is determined to halt... Am I missing something??
Can a PDA with two stacks accept RE Language?
3.2k Views Asked by Q Tw At
1
There are 1 best solutions below
Related Questions in TURING-MACHINES
- Understanding Unary PCP Reduction to a Matching Problem (UPCP)
- Build a Turing Machine that counts a's and b's
- Language for Turing Machine
- Unable to export Chains class from Julia's Turing library
- Complicated, long equations in MCMC [Julia, Turing.jl]
- Turing Pattern Formation
- Is there a way to prove that the intersection of a decidable language and a recognizable language is also recognizable?
- binary search with JFLAP turing machine
- python - 3 Turing Machine script, getting errors on an undefined variable, even though I assigned it
- Prove that the following problem is undecidable by a reduction from the halting problem:
- Construct a Turing Machine that halts on an unbroken string of 1s
- Jump to a specific vector place if a condition is met and start reading it from there
- Binary to unary turing machine
- How to generate an Unrestricted grammar if a language defination is given
- Can we assure a strictly decreasing function is computable?
Related Questions in FORMAL-LANGUAGES
- Understanding Unary PCP Reduction to a Matching Problem (UPCP)
- Balanced parentheses and brackets, where a closing bracket also closes any outstanding open parentheses (up to the previous open bracket)
- How can I generate a Context Free Grammar for a specific language
- Definition of "operator", and by extension "operand", in Python terminology
- Is ambiguous cfg(context free grammar) more expressive than unambiguous cfg?
- how to solve the undetermined issue in a let-such-that expression in Dafny?
- Finding a regular grammar for the language L
- Training difficulties on Transformer seq2seq task using pytorch
- Recognize the type of the given formal language
- VECTORSZ size is too small in ispin
- Talend application scenarios: is it correct to have logical operators in the first term of GAV mapping?
- Grammars, parsers and infinite loops
- How to construct DFA that L accept : w contain '110' and doesn't contain '010'?
- Swift String (With Diacritics) Isn't Passing Into CLI Process Correctly
- type variable in datatype definition
Related Questions in DETERMINISTIC
- A deterministic GPU implementation of fused batch-norm backprop, when training is disabled, is not currently available
- Unable to create an DPDA that accepts strings in binary notation multiples of 3
- Hybrid Public Key Encryption (HPKE) with deterministically generated key pairs using Tink
- Deterministic time series returns an assertion error?
- Issue with Achieving Deterministic Training Results in TensorFlow-GPU 2.10.0
- Deterministic automaton whose input length is divisible by 3 or 5?
- How to implement RSA based on custom user defined padding -JAVA
- How to include time-varying parameters in an ODE system with deSolve R without modification of cumulative indicators when using approxfun?
- Can I get an ORDER BY with several columns but still deterministic?
- How do I make a string validator for Deterministic Finite Automata?
- DFA for complement language of given language
- Execute azure durable function activities in raised order
- Can a linux program be run deterministically under emulation?
- How to achieve deterministic builds with Webpack for Firefox extension?
- DFA- Set of all strings whose 10th symbol from the right end is 1
Related Questions in PUSHDOWN-AUTOMATON
- Unable to create an DPDA that accepts strings in binary notation multiples of 3
- DFA for complement language of given language
- platform not supported exception in WinCE6.0 OS PDA
- Confusion on the Syntax of a Python Module named automata.pda.npda within automata -lib
- Pushdown Automata for the Language {wwR | w∈{0,1}*}
- How to use zero_copy with anchor in Solana PDAs
- PDA for language where order of letters does not count
- Why does the grammar I defined not use tokens?
- A specific push down automaton for a language (PDA)
- pda to accept the language L={a^n b^m | n<m}
- How to define delta in a PDA
- How to construct a pushdown automata for L= { w ∈ {a, b}* | w does not equal xx^R for some x ∈ {a, b}* }?
- Clarification regarding PDA for L = {a^nb^(2n) | n>=1}
- How can I write pushdown automata?
- PDA for {a^n b^m | n<=m<=2n}
Related Questions in DECIDABLE
- I have two types that should be semantically identical. Why is one resulting in an error while the other one gets accepted?
- Applying Reflexivity of String Equivalence in Agda Proofs
- Are linear problems on rational numbers decidable in Z3?
- Z3: is Nonlinear integer arithmetic undecidable or semi-decidable
- Is "less than" for rational numbers decideable in Coq?
- Prove that we can decide whether a Turing machine takes at least 100 steps on some input
- Recognizabilty of a set in regards to their size bounds
- Recursive vs recursively enumerable language in Turing Machines?
- Undecidable if TM overwrites its input?
- Looking for the Agda module that contains decidable equality for lists
- "Reduction" from the complement of the universal language (L_u) to the language of nonempty-language Turing machines (L_ne)
- Is a given TM having finite states is decidable or not?
- reduction from ALLtm to Etm
- How to define a subformula of an inductively defined type in Agda?
- Turing machines and decidability
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 # Hahtags
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?
A PDA with two stacks is equivalent to a Turing machine. To show a TM is at least as powerful as a two-stack PDA, we can use the fact that a TM is exactly as powerful as a two-tape TM. In a two-tape TM, we can restrict usage of the tapes to simulate their being stacks. So, certainly a TM can do whatever a two-stack PDA can do.
To show a PDA with two stacks is at least as powerful as a two-stack TM is a little trickier, but basically the idea is that you can simulate a single tape using the two stacks as follows:
So, we can move left and right and overwrite symbols. This lets us simulate a tape, which is all a TM can do anyway.