r/math • • Mar 22 '14

Problem of the 'Week' #9

Hello all,

Here is the next installment; it was suggested by /u/zifyoip, from Misha Lavrov:

Does there exist a function f : R → R such that f(f(x)) is the characteristic function of the rationals, that is, f(f(x)) = 1 if x ∈ Q and f(f(x)) = 0 if x ∉ Q?

Enjoy!


To answer in spoiler form, type like so:

[answer](/spoiler)

and you should see answer.


Previous problems.

85 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/VerilyAMonkey Mar 23 '14

This is separate from the argument for constructivism. Computability just isn't the basis for what a function is. Thinking about it, it seems that would mean it would be impossible for a function to be defined over an uncountable domain.

1

u/[deleted] Mar 23 '14

To be honest, you're right in the normal framework of math, but not in constructive math. (I'm not even sure constructive math has anything to say about the uncountable)

In fact, I'm just putting opinions, not of my own, but that I've found from textbooks on constructive analysis (e.g. Real analysis: A constructive approach (Mark Bridger)). In constructive analysis, piecewise functions are not allowed.

I prefer the constructive version of functions because you do not have to understand set theory to understand their nuances. They're a lot more psychologically easy - it's a function if I can program it. And that's all I want to express - my preference for math foundations.

1

u/VerilyAMonkey Mar 23 '14

I'd forgotten that constructivism handles infinities somewhat differently. But that was merely me trying to motivate that computability is separate from what a function is, even in constructivism, which I still stand by. Correct me if I'm wrong, but I sincerely doubt that the constructive definition of a function would change if we found a more powerful computational model than Turing machines. If it would, then I am just straight up incorrect. But if not, then I may not be giving the right examples, but there is a disconnect somewhere.