I'm reading Enderton's text on logic trying to justify ( to myself ) the use of induction on recursively defined sets. This is of course used repeatedly in trying to prove results about well-formed formulas in propositional calculus. Now in the authors digressive explanation in formulating the general concept of induction he first defines the "inductive functions" on a universal set. For an example he defines the formula building operations on the set of all expressions (any strings with letters from the Language of Propositions). And then proceeds to say the smallest set which contains the propositional symbols and is closed under the said functions is the set of all formulas. This to me makes perfect sense. But then we come to the examples. And the first one is the recursive definition of the natural numbers. The author first defines the successor function for all real numbers. That is, he defines $S : \Bbb R \to \Bbb R$ to be $S(x) = x + 1$. Then says the smallest set which contains $1$ and is closed under the successor function is $\Bbb N$. Which again is perfectly fine. But that got me thinking about the successor function used in other constructions such as in Landau's Foundations of Analysis. It seemed clear to me then but now when I look again I realise no clear domain was defined for the successor function.
All this time I was under the impression that to define a function one must specify a domain and then assign a value to each element in the domain. But in the case of the successor function in $\Bbb N$ it does not seem to be true. But Enderton in his book makes the point to define the function on a super set of what we wish to use it on. So,
What constitutes the definition of a function? Must not the domain always be specified clearly, unambiguously, distinctly and separately before making use of the said function for something else?
Regarding Edmund Landau, Foundations of analysis : The arithmetic of whole rational, irrational, and complex numbers (ed or : 1930), its approach is the "standard" axiomatic one.
See pages 1-2 :
The second axiom implicitly define the function $S$ ("successor") such that :
The domain of the function is clearly the totality of natural numbers itself.
The relation of the above definition with the inductive definition (cited into Enderton's book as an example, used only - I think - in order to show how inductive definitions "work") can be better understood supplementing it with Herbert Enderton, Elements of Set Theory (1977), page 66-on :
First of all, Enderton defines $0$ as the $\emptyset$ [Landau "starts from" $1$, but the choice is immaterial] and then defines a successor operation [page 68] :
In this definition, the successor function is defined by way of the union operation : $\cup$, which is already defined in set theory : its domain is the "universe" of sets.