matt grime: Obivously, that isn't even a function. (and obviously you aren't going to get a function because the definition of a function precludes such things.)
Agreed. I suspected as much but it is nice to see someone else say it explicitly.
Using the definition of a function at
mathworld, I infer that my "function" is not a function because it does not seem to uniquely assign a value to
f(
n).
But that's exactly what I want, something that looks like a definition of a function, but is for a "function" that cannot exist, just like the Barber of Seville cannot exist, just as the set of all sets that are not members of themselves cannot exist.
My objective is to show that just because a function can be described does not mean it exists. Using functional notation, I am trying to capture the essence of one of Russell's points that just because a set can be described does not mean it exists, which motivated the axiomatic constraints on how sets can be defined.
Here is perhaps a less abstract version of the problem: If I write a book that has a bibiliography of all the books that do not mention themselves in their own bibliography, do I mention my own book in its bibliography? I conclude that such a book cannot be written. I want to be able to make that same argument using standard notations for defining functions.
Given all that, does my definition above of a "function" do what I want?
I could, of course, obscure the recursion (just barely) by splitting it into two functions:
f(n)=\left\{\begin{array}{cc}0,&\mbox{ if }g(n)=1\\1,&\mbox{ if } g(n)=0\end{array}\right.
g(n)=f(n)
Neither of these functions are problematic by themselves, but when taken together, has the same effect as the original. This would seem to overcome the objection that the individual definitions do not conform to proper functions.
However, my gut feeling tells me that a single "function" is a more elegant way to express the notion.
Any other thoughts or suggestions?