I Is the Inverse Image of a Computable Function Recursively Enumerable?

  • I
  • Thread starter Thread starter Bedrich
  • Start date Start date
  • Tags Tags
    Set Set theory
Bedrich
Messages
6
Reaction score
1
Hello, I am stuck on deciding if given sets are recursive or recursively enumerable and why. Those sets are:
set ƒ(A) = {y, ∃ x ∈ A ƒ(x) = y}
and the second is
set ƒ-1(A) = {x, ƒ(x) ∈ A}
where A is a recursive set and ƒ : ℕ → ℕ is a computable function.

I am new to computability theory and any advice would be highly appreciated.
 
Physics news on Phys.org
They can both be recursively enumerable, for instance if ##f^{-1}## is a computable function (note that, strictly speaking, ##f^{-1}## is a function from N to the power set of N, ie the set of subsets of N). Examples are the functions that deliver result ##\max(0,x-1), x+1, x## and ##0##.

But if ##f^{-1}## is not computable, the second set will not be RE. Do all functions from N to N have computable inverses?
 
  • Like
Likes berkeman
andrewkirk said:
They can both be recursively enumerable, for instance if ##f^{-1}## is a computable function (note that, strictly speaking, ##f^{-1}## is a function from N to the power set of N, ie the set of subsets of N). Examples are the functions that deliver result ##\max(0,x-1), x+1, x## and ##0##.

But if ##f^{-1}## is not computable, the second set will not be RE. Do all functions from N to N have computable inverses?
Thank you for your answer. Can you please clarify the examples of functions. I can't really imagine how they could prove that ƒ-1 is recursively enumerable. There is nothing said about that functions from ℕ → ℕ have computable inverses.
 
Bedrich said:
Thank you for your answer. Can you please clarify the examples of functions. I can't really imagine how they could prove that ƒ-1 is recursively enumerable. There is nothing said about that functions from ℕ → ℕ have computable inverses.
Having a computable inverse is the same as the image of the inverse being RE.

Consider the function ##f:\mathbb N\to\mathbb N## such that ##f(x)=x+1##. The inverse function is ##f^{-1}:\mathbb N\to 2^\mathbb N## such that ##f^{-1}(x)=\{x-1\}## if ##x>0##, and ##f^{-1}(0)=\{0\}##.

The image of function ##f^{-1}## is ##S=\{\{x\}\ :\ x\in \mathbb N\}##. This is recursively enumerable if there exists an algorithm that enumerates the members of ##S##. Such an algorithm is:

x:=0;
while TRUE do
print(cat("{",x,"}"));
x := x+1;
end;​

where 'cat' is the string concatenation function.

Hence ##S## is RE.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Replies
4
Views
1K
Replies
18
Views
3K
Replies
1
Views
1K
Replies
6
Views
2K
Replies
5
Views
3K
Replies
14
Views
3K
Replies
1
Views
2K
Back
Top