Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
29 views

I just learned about Kleene’s recursion theorem; the one that states that for any computable $Q$ there is an $e$ such that $\varphi_e(x)\simeq Q(e,x)$. Applying this to a Turing machine that halts if ...
Tala Cruz's user avatar
  • 121
1 vote
0 answers
114 views

(I cross-posted this on Math SE because the answering rate is relatively slower here, and I was really desperate for any suggestions If you feel the post on math SE misses any good material or sources,...
Aditya Mishra's user avatar
4 votes
1 answer
718 views

On Wikipedia in the article for oracle machines it says the following: A machine with an oracle for the halting problem can determine whether particular Turing machines will halt on particular inputs,...
user77036's user avatar
1 vote
0 answers
35 views

A countable but not computable set $X$ can be computed by a Turing machine that has access to an oracle $O_X$ that can decide whether $x$ is in $X$. Suppose we keep querying $O_X$ for different ...
spacemonkey's user avatar
2 votes
1 answer
101 views

I have two related questions about the structure of countable sets in computability theory, which I believe are equivalent. ...
nullptr's user avatar
  • 123
7 votes
1 answer
280 views

I'm interested in gathering some solid arguments in favor of the Church-Turing thesis, which states that anything computable by an algorithm can be computed by a Turing machine. I understand that ...
Sam's user avatar
  • 207
0 votes
0 answers
41 views

Given a Gödel numbering of programs in a Turing complete language, consider a sequence of the Gödel numbers of programs that have a particular syntactic property (or more generally, non-(non-trivial ...
2080's user avatar
  • 213
0 votes
1 answer
113 views

I was reading through the proof for the halting problem and saw that that the "pathological" program that makes program H return the wrong result needs to have H inside it, where H is a ...
Aliesha Flynn's user avatar
5 votes
2 answers
667 views

Consider the Language $L=\{aba:a\in0^{+}, b\in \{0,1\}^{+}\}$ over the alphabet $\{0,1\}$ Claim:- $L$ is a non-regular language Proof:- Suppose $L$ is regular. Then by pumping lemma there exists a ...
RAHUL 's user avatar
  • 179
-1 votes
1 answer
107 views

I've encountered this question since I studied the Cardinality of SD, deriving from the statement that the set of syntactically valid Turing machines is infinite and there exist a canonical ...
frollino's user avatar
1 vote
2 answers
160 views

$L = \{ <M> | |L(M)|=\infty \wedge |<M>|<k \}$, for some $k>1000$. It seems to me that $L \notin RE \cup CoRE$, and I would like to prove it. However, it seems that the classic ...
Yuvi's user avatar
  • 322
4 votes
1 answer
239 views

Let $L \in R$ be an infinite recursive language. Is it always possible to find a subset $L' \subseteq L$ such that $L' \in \mathbb{RE} \setminus R$? In other words, can every infinite decidable ...
csmathstudent8's user avatar
2 votes
2 answers
164 views

I'm trying to understand the classification of the following language: $$ L = \{ \langle M \rangle \mid M \text{ runs for an even number of steps on every input } w \in \Sigma^* \} $$ That is, the set ...
csmathstudent8's user avatar
4 votes
0 answers
52 views

Imagine an input-less Turing machine $M$ that runs potentially forever, outputting a string of 0's, 1's, and "."s. $M$ can then be associated with the real number $x_M$ whose binary ...
AAA's user avatar
  • 141
3 votes
1 answer
135 views

Let $Z \subseteq \Sigma^*$ be an infinite language such that $Z \in \text{RE}$ or $Z \in \text{R}$. Let $P \subseteq RE$ be a non-trivial language property Now define the language: $$ L = \{\langle M \...
csmathstudent8's user avatar
12 votes
2 answers
902 views

Suppose we have some subset $S$ of Turing machines with the property that, for every partial recursive function, at least one machine in $S$ computes that function. Question: for any such subset $S$, ...
Mike Battaglia's user avatar
3 votes
1 answer
79 views

Let $L' \subseteq \Sigma^*$ be a fixed, non-empty language. Define the language: $$ L = \left\{ \langle M \rangle \;\middle|\; L(M) = L' \right\} $$ That is, $L$ contains the descriptions of Turing ...
csmathstudent8's user avatar
0 votes
1 answer
260 views

Given an alphabet $A$, define a formal language $L\subseteq A^*$. This is a decision problem by definition, regardless of which subset it is. Let's make a strong assumption saying that $L$ is ...
Ning's user avatar
  • 307
3 votes
2 answers
110 views

Pumping Lemma : For any regular language $\mathbb{L}$, there exists an integer $P$, such that for all $x\in \mathbb{L}$ with $|x|\geq P$, there exists $u, y, w \in \Sigma^*$, such that $x = uyw$, and ...
M a m a D's user avatar
  • 1,561
2 votes
1 answer
110 views

I would like to know if every non-trivial language in RE is reducible to every language not in (RE union co-RE)?
Ahu's user avatar
  • 21
0 votes
1 answer
66 views

Let us consider the language ALLNFA={⟨A⟩∣A is an NFA and L(A)=Σ∗} and its complement NOTALLNFA={⟨A⟩∣A is an NFA and L(A)≠Σ∗}. In the context of showing that $\text{NOTALL}_{\text{NFA}}$ is in $\textsf{...
Hemang Gautam's user avatar
-2 votes
1 answer
77 views

I’m exploring whether there are any existing formal systems that do not assume logic, types, or operators, but instead allow them to emerge solely from recursive structural transformations. In the ...
Jeff Abrams's user avatar
1 vote
0 answers
55 views

Gödel managed to sneak self-reference into Principia Mathematica (PM). He showed that PM—and all other sufficiently expressive formal systems—contain unsolvable problems (aka unprovable theorems). ...
Barney's user avatar
  • 211
2 votes
1 answer
89 views

On the one hand, I feel like I don’t have enough information or tools to prove this. Because if $L_1 \cup L_2 \notin RE$, from my perspective, it only means at least one of them is $ \notin RE$; ...
erdos_was_genius's user avatar
1 vote
1 answer
89 views

I'm curious as to whether there are any functional examples of or research about General-Purpose Analog Computers out there at the moment. So any computing system that can: store pure analog values ...
Runsva's user avatar
  • 111
1 vote
2 answers
134 views

This is an exercise from Computability Complexity and Languages by Davis, Sigal, Weyuker. First, a quick overview of the language $\mathscr{S}$: it has input variables $X_1,X_2,...$, local variables $...
lanskey's user avatar
  • 11
2 votes
0 answers
104 views

Basic setups: A Turing machine M operates on a doubly infinite tape. The tape is divided into cells. Each cell can hold either a 0 or a 1 (meaning, we will consider only TM’s with two symbols). The ...
Monte_carlo's user avatar
1 vote
1 answer
137 views

I have been studying Rice's Theorem, and I came across the following proof, which I am trying to understand in more detail: [Rice's Theorem] If $A$ is an index set --- $\neq \emptyset$ or $\mathbb{N}$ ...
Pablo Menéndez's user avatar
-4 votes
2 answers
144 views

However given that Th can be constructed, we can construct a second machine Td1 such that : Td1(Ti , D.N. of Ti) = HALT if Ti does not halt on its own D.N. OR Ti=Td1 LOOP if Ti halts on its own D.N. ...
Meta Logician's user avatar
0 votes
2 answers
104 views

Suppose you construct a language $L$ by flipping a coin for every $x\in\{0,1\}^*$ to decide whether it's in $L$. After doing this, $L$ is now fixed but presumably there exists no compact description ...
Rincewind's user avatar
1 vote
0 answers
75 views

A reversible Turing machine ($\mathsf{RTM}$) is a Turing machine ($\mathsf{TM}$) whose transition function is a bijection, so that each instantaneous description ($\mathtt{ID}$) has at most one ...
Somudro Gupto's user avatar
0 votes
0 answers
32 views

In Sipser's book on Theory of Computation, the LBA $B_{M,w}$ is designed to accept all (if any) accepting computation histories of the string $w$ when run on the TM $M$. The LBA $B_{M,w}$ is described ...
confumbit's user avatar
11 votes
1 answer
2k views

Here is the definition of a ($k$-tape) Turing machine from Arora and Barak; everywhere else I've seen it has been effectively the same. A finite alphabet $\Gamma$ with distinguished $\square$ blank ...
kongus_bongus's user avatar
-1 votes
1 answer
68 views

I am trying to understand whether it is possible to construct a Turing Machine (TM) that accepts an input if and only if it halts on that input. My question is closely related to the halting problem. ...
checkchecker's user avatar
2 votes
0 answers
89 views

Can we determine whether the following language is recursively enumerable? $$L = \{\langle M \rangle \mid L(M) \text{ is a regular language}\}$$ Here, $\langle M \rangle$ denotes the encoding of a ...
Ferran Gonzalez's user avatar
0 votes
0 answers
31 views

Assume we have a Turing machine $M = (Q, \Sigma, \Gamma, \delta, q_0, B, F)$, where $|Q| = k$, that recognizes the language $L(M)$. I want to design another Turing machine $M'$ that satisfies $L(M') = ...
Ferran Gonzalez's user avatar
0 votes
0 answers
67 views

Is there an encoding (enumeration) method for Turing machines where the encoding uses only the alphabet $\{1\}$, i.e., the encoding is in $\mathbb{1}^*$ (the language of strings consisting only of the ...
Ferran Gonzalez's user avatar
2 votes
1 answer
145 views

Given some $n \in \mathbb{N}$, can one define a concrete computable decision problem which cannot be solved by a Turing machine with less than $n$ states, 1 tape and the tape alphabet $\{0, 1, B\}$? ...
Quintium's user avatar
  • 133
0 votes
1 answer
82 views

Let $P$ be any nontrivial property of the language of a Turing machine. Prove that the problem of determining whether a given TM’s language has property $P$ is undecidable. Proof: (from sipser's book) ...
Ronald's user avatar
  • 101
2 votes
1 answer
88 views

Using the definition from Sipser of a verifier as a machine that always halts (e.g. accepts or rejects a given input), I believe the language $\overline{E_{TM}}$ (e.g. the language consisting of ...
giorgio's user avatar
  • 123
0 votes
1 answer
78 views

I am analyzing two functions that are defined in terms of an effective enumeration $(M_n)_{n \in \mathbb{N}}$ of all Turing machines. For a given input $x$, the notation $M_n(x) \downarrow$ means that ...
Javocho Javier's user avatar
2 votes
0 answers
68 views

The languages are defined as such (for standard Turing machines and over $\{0, 1\}^*$: $$ L_3 \triangleq \{ (\langle M \rangle, x) \mid \text{$\forall M^\prime, [x\in L(M^\prime)] \lor [\langle M^\...
HitoriJanai's user avatar
7 votes
1 answer
1k views

Given two recursive languages A and B with alphabets $\Sigma$ and $\Delta$ respectively, is there always a computable function $f:\Sigma^*\rightarrow\Delta^*$ such that $x\in A \iff f(x)\in B$? (other ...
Bongus01's user avatar
0 votes
1 answer
155 views

I am currently working on an assignment, and we have to prove the existence of languages over the alphabet {0,1} that are neither semi-decidable nor co-semi-decidable. My intuition is that this can be ...
checkchecker's user avatar
3 votes
1 answer
138 views

Multi-taped Turing machine are equivalent to the standard single-taped variety; that much I know and can prove to a level of rigor that satisfies me; so long as there are finitely many tapes, I can ...
AnonA's user avatar
  • 43
2 votes
1 answer
139 views

Let $\mathrm{REG_{CFG}} = \{ G \text{ context-free grammar}\mid L(G) \text{ is regular} \}$. Is it Turing-reducible to Halting problem? Or say, is there a oracle machine with an oracle of Halting ...
rqy's user avatar
  • 41
0 votes
1 answer
118 views

I need help describing a Non-Deterministic Turing Machine (NTM) for the following language: $L=\{(ww^c)^n | n>1$ and $w,w^c\in\{a,b\}^*\}$. If $w=w_1...w_k$ then $w^c=w_1^c...w_k^c$ where $w_i^c=b$ ...
Fred's user avatar
  • 1
0 votes
0 answers
98 views

I'm working on a problem that asks for an informal description of a deterministic Turing Machine (TM) for the following language: $L=\{a^i b^j a^k b^l | i+j=k+l\}$ The challenge is to describe how a ...
Fred's user avatar
  • 1
2 votes
1 answer
181 views

I am attempting to simulate a TM on a FIFO machine. My initial approach is the following: \begin{align*} \text{Starting string:} & \quad \text{uabv}\rightarrow bv\#ua \\ \text{Step 1:} & \quad ...
Zach's user avatar
  • 21
0 votes
1 answer
208 views

I inspired by this question, $$\text{logCLIQUE}=\{\langle G\rangle:\text{G=(V,E) contains a clique of size $\log(|V|)$}\}.$$ Here $G$ is an undirected graph and it can be assumed that the number of ...
Redbull's user avatar
  • 33

1
2 3 4 5
43