Talk:Partial function

From Wikipedia, the free encyclopedia

WikiProject Mathematics
This article is within the scope of WikiProject Mathematics, which collaborates on articles related to mathematics.
Mathematics rating: B Class Mid Priority  Field: Basics
Please update this rating as the article progresses, or if the rating is inaccurate. Please also add comments to suggest improvements to the article.

If a partial function associates with every element in its codomain precisely one element of its domain, then it is called a total function, or simply a function.

This doesn't sound right to me. I think the words codomain and domain should be swapped. The function described above sounds like a 1:1 function, not an arbitrary total function.

We need a better definition of "total function" Pizza Puzzle


Partial Function from-set contains members not in the domain, i.e. domain is subset of the from-set. Total Function Domain is the entire from-set -Mikael-


alrighty smartyhairsplitterses. What is to domain of a partial function what range is to codomain? (whaddya call {x|f(x) exists}?) Kwantus 2005 June 28 17:23 (UTC)

In my usage, {x|f(x) exists} is the domain of the partial function f. What I don't know a name for is the set X, when f is a partial function from X to Y. This needs to be clearly explained--someone following the link here from Uniformization (set theory) would be confused. --Trovatore 19:12, 6 September 2005 (UTC)

Contents

[edit] Cleanup

I am confused by the grammar in this explanation. It would be nice if somebody could explain the concept in a clearer fashion, perhaps something that would not confuse a non-mathematician. If nobody does so by this weekend, I'll get around to it if I have time. Suggestions? --Kooky 02:19, 20 July 2005 (UTC)

Kooky: Your prayers have been answered (I hope). I'll get right on it. Vonkje 16:21, 1 August 2005 (UTC)
Okay, I reworked the intro, but I'm keeping the to-be-cleaned-up tag 'cuz the rest of this article needs work, namely: 1) The section on Discussion and examples was kept from the original article, although it makes those annoying types of plays on mathwords that had turned me off to Mathematics as a lower-division undergraduate. 2) A modern formal definition like the kind from the MathWorld site will be needed in a new section titled: Formal definition. This would be a nice couple of things for you to do if you are interested. Vonkje 20:47, 1 August 2005 (UTC)


[edit] Total Function

I noticed that total function redirects to partial function. While the article in question does explain what a total function is, I think it is quite confusing to have total function simply redirect here. I'm not sure that creating a page called "total function" would be advisable, perhaps we could rename this to something like Partial vs Total functions, although I think that wording is too cumbersome. Anyone have any suggestions? Grokmoo 17:59, 24 January 2006 (UTC)

I agree it's a little peculiar, but there's plenty of precedent for this sort of thing. I don't think it's worth a whole article. Changing the redirect so it points to function (mathematics) would be defensible; I don't have a strong preference one way or the other for which article it should point to. --Trovatore 20:48, 24 January 2006 (UTC)

[edit] Merge

This section moved to Talk:function (mathematics)#Merge? where the mergeto template points. CMummert 12:32, 14 October 2006 (UTC)

[edit] Partial functions versus functions

[edit] The whole is a part of itself

In the lead:

"However, not every element of the domain has to be associated with an element of the codomain."

This implies that a total function is a special kind of partial function!!! Why? Are you sure? I would write:

"However, some element of the domain is not associated with an element of the codomain."

Paolo.dL 17:26, 7 September 2007 (UTC)

A total function is a special kind of partial function; this is completely standard. This sort of thing is quite usual in mathematics -- typically, when you loosen a restriction, you just loosen it; you don't require that an object in the new category actually fail the old definition. Similarly, a subset doesn't have to omit an element of the larger set; it's just permitted to. --Trovatore 17:43, 7 September 2007 (UTC)

[edit] The whole is part of a proper part of it

Thanks for your comment. Ok, I can understand the usefullness of calling a set a subset of itself. But in this case the use of the word "partial" to describe a total function seems crazy to me, because this terminology has a huge drawback: if what I suspect is confirmed (see this discussion), according to the modern formal and strict definition of the word "function", non-total functions are not functions! Thus, some "partial functions" are functions, but most of them are not! This is equivalent to a definition such that A+B is allowed to be a subset of A, with B \notin A (A=true functions, B=non-total functions, which by strict definition are not true functions, A+B=partial functions)! The whole is part of a proper part of it! That's too loose to be acceptable.

Alternative terminology 1. Imagine how simple the strict definition of the word function would become if this counter-intuitive terminology were abandoned and a more intuitive definition of the expression "partial function" were adopted:

  • Only total and single-valued relations are functions (this is the currently adopted standard definition).
  • There are two kinds of relations:
  1. total relations (also called functions, when single-valued).
  2. partial (=non-total!) relations (this is the change).
  • Partial (=non-total!) relations are not true functions. Thus, strictly speaking, the expressions "partial function" (="non-total function") is a misnomer.

(Similarly, "multivalued" or "multiple-valued" should mean "non-single-valued", and "multivalued function" should be replaced by "multivalued relation")

Isn't that much simpler and nicer? A question: does your counter-intuitive terminology include the expression "proper partial function" (analogous to "proper subset"), meaning "non-total function"? By the way, of course, "crazy" terminology is profuse in my field as well :-) Paolo.dL 15:38, 9 September 2007 (UTC)

Yes, both "partial function" and "multivalued function" are misnomers, since neither of these types of objects must be a function. But the terminology is nevertheless common in mathematics. The term "proper partial function" is not common; the only way to express that is to say that the partial function isn't total. The word "domain" also has multiple, mutually contradictory, meanings in teh context of partial functions - see domain (mathematics). — Carl (CBM · talk) 18:33, 9 September 2007 (UTC)

Ok, I know that this is not the place to express opinions. But I conclude as follows: if you accept this terminology, you accept that the whole is part of a proper part of it! As I wrote in the 1st paragraph of this section, Georg Cantor and others were only able to show that, in some cases, the part can be the same size as the whole... Paolo.dL 18:57, 9 September 2007 (UTC)

[edit] Is the definition of the word function a Procrustean bed?

Alternative terminology 2. Another radically different possibility to avoid the above described terminological inconsistency would be an alternative less-restrictive definition of the word function:

  • Total and non-total relations (i.e. "partial functions") are both true functions.
  • But only single-valued relations are true functions.
  • Multivalued relations are not true functions.
  • Thus, strictly speaking, only the expression "multivalued function" is a misnomer.

Thank you for your answers. :-) With kind regards, Paolo.dL 18:57, 9 September 2007 (UTC)

As you say earlier, non-total functions are not functions. All functions are total functions and also partial functions. But not all partial functions are functions (though some of them are, namely the total ones). I see nothing wrong with any of this, nor are there any misnomers here; it's quite alright for a frumious bandersnatch not to be a bandersnatch, but rather something else. That's just a feature of the English language.
But in any case we're not here to change the world; our job is to report the conventions that exist.
--Trovatore 03:27, 10 September 2007 (UTC)

A unreasonably complex convention. "My" alternative terminology 2 is much simpler. I really can't see the reason why mathematicians need to restrict the meaning of the word function! Yes, we are not here to change the world, but terminology does evolve. Unless there's a good reason, that I cannot see, to keep the current terminology, I hope this (apparently) absurd restriction to the meaning of the word function will be progressively abandoned by those who have the guts to change the world and make it better. :-) Paolo.dL 09:16, 10 September 2007 (UTC)

See also this wonderfully written sentence, posted in this interesting section by Arcfrk, one of the main authors of Function (mathematics):

Paolo.dL 16:15, 10 September 2007 (UTC)

That is true, to some extent. But if you ask the same mathematicians to define a function simpliciter they will almost certainly give the standard calculus definition. — Carl (CBM · talk) 16:59, 10 September 2007 (UTC)
I think the complaint about partial functions being possibly but not necessarily functions is frankly a little odd. Does it also bother you that skew fields may be, but need not be, fields? That manifolds with boundary may be, but need not be, manifolds? That weak inaccessibles may be, but need not be, inaccessibles? This is just the way mathematical English has evolved, for maximum utility and economy as its users see it. And it's not that different from everyday English in that regard. --Trovatore 17:18, 10 September 2007 (UTC)

You did not read with attention my latest comments. You seem to be answering to my very first comment, which I abandoned. I added subheaders to help you. As you can see, I use discussions to learn, not to defend my initial idea:

  1. I am not advocating against the general concept that "the whole is a part of itself" (which implies that a total function is a partial function, a set is a subset of istelf, etc.). This is not inconsistent. It is just weird. It is useful and therefore acceptable.
  2. Similarly, I am not against the general concept that "one" can be "many" (which implies that a single can be a couple and a group, and that a "one-to-one" function is a "many-to-one" function, and that a "single-valued" function is a "multiple-valued" function).
  3. I am advocating not against but in favour of spontaneous current and widely used language (see my Alternative 2, and Arcfrk's sentence).

Everybody uses the expression "partial function", but at the same time a strict definition (the Procrustean bed) exists somewhere in the heaven ("Űber alles"), which implies that everybody is guilty for incorrectly using the word "function". Here, mathematicians seem to be at the same time Procrustes (the "serial killer" who set the impossible rule) and Theseus (who killed Procrustes for not being able to comply with his own rule). This is masochistic. We are talking about scientific terminology, which should have an internal consistency. And we are talking about mathematics, by definition the most abstract and self-coherent science. Unless you can give a sound rationale for this Procrustean bed (the strict definition which forces us all to be inconsistent), you are not going to change my mind on that.

A function is strictly defined as a many-to-one and total relation. Since everybody keeps using the expression "partial function", you need a very sound rationale for forcing a function to be total. Let's admit that you have such a sound rationale and you strongly believe in it. In that case, for the sake of consistency, you should stop using the expression "partial function" and start using "partial relation". As for multivalued relations with more than one value, we should not call them functions (indeed, Wikipedia already states that "multivalued function" is a misnomer).

I conclude that either a rationale does not exist, or it is so weak that nobody believes in it. Hence, the strict definition of function is just a Procrustean bed. Regards, Paolo.dL 08:34, 11 September 2007 (UTC)

If you pick up any common calculus text, undergraduate analysis text, or undergraduate algebra text, you will get the definition of "function" as a total single-valued relation. It is completely standard. Studying mathematical terminology with the mindset "we are talking about scientific terminology, which should have an internal consistency" is bound to be disappointing. As Trovatore pointed out: a skew field may not be a field, a manifold with boundary may not be a manifold, and a partial function may not be a function. Wikipedia is not the place to change the widely-used definition of function, or to change the terminology. We just report on things as they are.
By the way, it isn't true that "everyone uses the term partial function". Only a few areas of math have any use for partial functions, and the terminology is not common outside those fields. — Carl (CBM · talk) 12:31, 11 September 2007 (UTC)
Paolo, if you want internal consistency, then think of it this way (not guaranteed to work 100% of the time but should get pretty close). There are two kinds of adjectives in mathematical English. We might call them, just for now, strengthening adjectives and weakening adjectives (and whether an adjective is strengthening or weakening can depend on the noun it modifies). If grezzlish is a strengthening adjective when applied to oddlewad, then every grezzlish oddlewad is an oddlewad, but perhaps not every oddlewad is grezzlish.
On the other hand, if tiluent is a weakening adjective when applied to roniform, then every roniform is a tiluent roniform, but not every tiluent roniform is necessarily a roniform.
So "partial" is a weakening adjective applied to "function", "weak" is a weakening adjective applied to "inaccessible", "skew" is a weakening adjective applied to "field".
Weakening adjectives tend to show up when it's the more restrictive concept that's generally found more useful, and therefore wants a shorter name. As in this case -- total functions are more generally useful than partial functions, so we prefer not to have to say "total" all the time.
Note that this terminology about strengthening and weakening adjectives is not remotely standard; I just made it up now to explain the situation as I see it. --Trovatore 15:01, 11 September 2007 (UTC)

[edit] Alternative terminology 1b

This is the most conservative alternative (see below for the rationale):

  • Only total and single-valued relations are functions (this is the currently adopted standard definition).
  • There are two kinds of relations:
  1. Total relations (also called functions, when single-valued).
  2. Non-total relations (which are not functions)
  • There's no need to use the word "partial", or the expression "partial function"; hence, there's no misnomer.

Similarly, "multivalued functions" could be replaced by "single-valued relation" or "non-single-valued relation". (Note that, according to the current definitions, some partial functions are total, and some multivalued functions are single-valued)

Paolo.dL 12:13, 12 September 2007 (UTC)

This is completely unacceptable, being not used in any published mathematical works. — Arthur Rubin | (talk) 14:56, 12 September 2007 (UTC)

Amazing! How can I answer to someone who knows all published mathematical works? First, I will ask you to explain why in Function (mathematics) you can read that sometimes non-total relations may be called partial functions (by the way, I just deleted "sometimes called" from the captions of two figures, because I wanted them to be very concise; the details are in the text). Second, I will remind you that in this section we are critically comparing hypothetical alternative definitions with standard definitions. It might be useful but it is not necessary to know whether the alternative hypotheses are used or not in the literature. What's more useful is to discuss pros and cons. This reveals the rationale behind the standard conventions (e.g., see latest comments by CBM and Trovatore). Paolo.dL 09:03, 13 September 2007 (UTC)

The burden of proof is on you to name a work in which it's used. All I can say for sure is that it's not standard. — Arthur Rubin | (talk) 09:07, 13 September 2007 (UTC)

Well, of course this terminology is not standard! Did I ever imply the contrary? I repeat that in my opinion the "burden of [this] proof" is not necessary in this context, because the purpose of this discussion is another. Paolo.dL 09:27, 13 September 2007 (UTC)

[edit] Examples of widely used but questionable terminology

Many authoritative scientists regard this terminology as "standard" and sometimes they defend it by saying: "lots of Wise Men adopted it"! Paolo.dL 10:06, 13 September 2007 (UTC)

Copied from Talk:Exterior algebra#Exterior to what? Ausdehnungslehre means "extension theory", not "exterior theory"

1. Homogeneous transformation.

An example of widely misused terminology is the expression "homogeneous transformation matrix", widely and rather conventionally used (unfortunately) by many experts in computer graphics, robotics, biomechanics, to indicate 4x4 transformation matrices containing 4-D homogeneous coordinates. These matrices are used to perform non-linear (affine and projective) transformations of vectors in 3-D space. This is neither an homogeneous matrix, nor it performs homogeneous transformations. It performs transformations that are non-homogeneous in 3-D. In 4-D, the transformation becomes linear and homogeneous. But all matrices, even 2x2 or 3x3 matrices, perform linear and homogeneous transformations (see discussion on this topic on the BIOMCH-L mailing list).
Paolo.dL 6 May 2007 (UTC)
I agree with you about the improper term homogeneous transformation for a projective general linear transformation. The classical term for such things is homographic transformation, and I fully support a revival of this more precise terminology. Silly rabbit 16:46, 6 May 2007 (UTC)

2. Inertial force and centrifugal force

Do not recur to Wise Men, please. There are many examples of wise men who found useful algorithms, wrote successfull formulas, but used terribly inadequate terminology. One example: D'Alembert and his imaginary, fictitious, appearant "inertial force" (e.g., the "centrifugal force"). Newton, if he were alive, would explain that this terminology is against nothing less than the logical foundations of mechanics. He spent much of his lifetime trying to convince others that there does not exist a centrifugal force, to stress the distinction between inertia and force (Newton's first law), and to fight against the "appearance" (inertial forces are appearant). Newton's outstanding theory stemmed from the study of the elliptical motion of planets (inspired and initiated by Kepler). Newton realized that they were acted upon by a centripetal force, while the absence of this force, and not a centrifugal force, produced rectilinear uniform motion. D'Alembert naively ignored Newton's effort, and brought back prejudice in science, by just using terminology incompatible with Newton's insightful teaching, unfortunately associated with a perfectly legitimate and useful rearrangement of Newton-Eulero's equations of motion. However, scientists and engineers have been using extensively D'Alembert's naive terminology... There have been dramatic examples in history about Wise Men being just men and being wrong, with the world blindly believing in them. And not only in the field of terminology! Before Galileo and Newton there was Aristoteles. He was for several centuries acclaimed as "The Wisest Man", but unfortunately everybody trusted him too much, and whenever somebody tried to say that the Earth was not the heart of the universe, somebody else could answer: "you are crazy, don't you know about Aristoteles and all of these Wise Men who for centuries embraced geocentrism? How dare you say they were wrong? Do you think you are smarter than all of them?". Now we know that was the case, indeed. But before our "awakening", this even became a religious issue, with the Catholic Church contrasting Galileo's teaching with forced exile.
Paolo.dL 9 May 2007 (UTC)
What you have written is entirely beside the point. When someone on one of these pages points out that a terminology is (or is not) standard, there is no implication that the standard terminology is necessarily the best possible one. The point is that even if you come up with something that's better, you still can't put it in the article, not until you first get the community at large, outside Wikipedia, to accept it. Therefore strictly speaking this talk page is not an appropriate place to discuss it, because the purpose of the talk page is to discuss improvements to the article, and we know in advance that we can't put in your proposed change.
I think it's counterproductive to be too strict on the latter point (the one about talk pages); editors can be more effective if they understand the reasons behind the accepted view, so sometimes it's worth discussing to some extent. But there has to be a cutoff at some point, or the talk page will lose effectiveness for its actual purpose. --Trovatore 22:31, 13 September 2007 (UTC)
I agree. This subsection was just to stress the point that (saying it with your own words): "there is no implication that the standard terminology is necessarily the best possible one". Although, as you perfectly know, many will just assume the contrary. And I also agree that this discussion can be considered to be closed. Paolo.dL 07:42, 14 September 2007 (UTC)

[edit] Tentative conclusions

As Arthur Rubin pointed out, the above presented alternative terminologies are just hypothetical. They are not necessarily used in the literature. The purpose of this discussion was to critically compare them with the standard terminology, as described in Partial function and Function (mathematics).

Carl and Trovatore, thank you very much for your enlightening contributions. Trovatore, by explaining the reason why the standard strict definition of function is necessary, you convinced me that the hypothetical "alternative terminology 1b" is better than 1 and 2. You also showed that the inconsistency in standard terminology is a "weak" inconsistency :-). However, in this case, full consistency is possible and easy. My opinion on this is irrelevant: the readers are free to choose what they prefer. For sure, now they are better informed.

Carl, when possible, I prefer full terminological consistency because I believe it facilitates the learning process and makes it stabler (I see it as a service for students). Yes, we are not here to change the world, but this discussion will provide good food for thought for the readers. They will be able to compare the definitions of partial function and function with possible alternative ones. At least, the text in this section will help them to better understand the standard definitions, and what's more important, the rationale behind them.

With kind regards, Paolo.dL 11:46, 13 September 2007 (UTC)

[edit] A partial function as one defined on a restricted domain "domain of definition" which is a proper or improper subset i.e. ⊆ (and not this ambiguous symbol ⊂) of the "universe of discourse"

The symbol "Ø" stands for "empty"; [X]=Ø stands for "the place named "X" is empty of content." When restricted to a proper subset of the unrestricted universe of discourse = {Ø, 1, 2, 3, 4, 5} the function has the domain of definition {2, 3, 4} and is "effective at" (i.e. does a good job of) putting an output y ="o" or y="e" into the subset range={o,e}. This "effective" range is a place1 inside the place2 inside the place called "the codomain Y". The "computable range" {{o,e},u} (place2) includes an output y="u" produced when the input(s) is(are) not in the defined domain D(f). Thus, because "u" is not an element of the "effective" range, D(f) is a proper subset of X: f(D) ⊂ X. If the function fails to HALT (for whatever reason) it apparently fails to put anything into the "computable range". But at the start, a machine "clears" this place Y; a mathematician would start with a blank sheet of paper, or erase an area to work in. In this sense (due to the clearing, erasing, emptying) the function has put "nothingness" into the codomain Y, i.e. Ø → [Y]. Thus, because Ø is not an element of the "computable range", the "computable range" is a "proper subset" of the "semi-computable range". The drawing shows that this happens when the function is given no input i.e. [X]=Ø or if it is given the input "5". This example also works when symbol "5" represents any of the positive integers. wvbaileyWvbailey 19:40, 12 September 2007 (UTC)
The symbol "Ø" stands for "empty"; [X]=Ø stands for "the place named "X" is empty of content." When restricted to a proper subset of the unrestricted universe of discourse = {Ø, 1, 2, 3, 4, 5} the function has the domain of definition {2, 3, 4} and is "effective at" (i.e. does a good job of) putting an output y ="o" or y="e" into the subset range={o,e}. This "effective" range is a place1 inside the place2 inside the place called "the codomain Y". The "computable range" {{o,e},u} (place2) includes an output y="u" produced when the input(s) is(are) not in the defined domain D(f). Thus, because "u" is not an element of the "effective" range, D(f) is a proper subset of X: f(D) ⊂ X. If the function fails to HALT (for whatever reason) it apparently fails to put anything into the "computable range". But at the start, a machine "clears" this place Y; a mathematician would start with a blank sheet of paper, or erase an area to work in. In this sense (due to the clearing, erasing, emptying) the function has put "nothingness" into the codomain Y, i.e. Ø → [Y]. Thus, because Ø is not an element of the "computable range", the "computable range" is a "proper subset" of the "semi-computable range". The drawing shows that this happens when the function is given no input i.e. [X]=Ø or if it is given the input "5". This example also works when symbol "5" represents any of the positive integers. wvbaileyWvbailey 19:40, 12 September 2007 (UTC)

∈∉⊂⊆→

Manin's definition of "partial function" makes this very clear (he excludes "0" for a very good reason, shown below):

"Let X and Y be two sets. A partial function (or mapping) from X to Y is any pair <D(f),f> consisting of a subset D(f)⊂X and a mapping f:D(f)→Y. Here D(f) (instead of the early dom f) is called the domain of definition of f: f is defined at a point x∈X if x∈D(f); f is nowhere defined if D(f) is empty, and there exists a unique nowhere defined partial function.
"We let " Z+ = {1, 2, 3, ... } denote the set of natural numbers, excluding zero. (It is not necessary, only convenient, to exlcude 0)."(p.178)

In his immediately-following definition of "computable" (i.e. it always terminates, but sometimes with "0") to indicate that "x ∉ D(f)". Manin states the following: "Here 0 merely indicates that f is not defined at x; we could allow the output in this case to be anything not in (Z+)n [this is just a vector of elements off the domain] (p. 178)

Boolos-Burgess-Jeffrey 2002 also say that "domain of partial function" ⊂ "domain of universe of discourse" but only in words:

"A partial function of positive integers is one whose domain is something less than the whole set P [of positive integers]" (p. 7)
Yu. I. Manin, 1977, A Course in Mathematical Logic, Springer-Verlag, New York, ISBN 0-387-90243-0.
Boolos, Burgess, Jeffrey 2002, Computability and Logic: Fourth edition", Cambridge University Press, Cambridge UK ISBN 0521 00758 5 paperback.
Herbert B. Enderton, 2001 2nd ed, 1971, A Mathematical Introduction to Logic: Second Edition, Harcourt Academic Press (Elsevier), Burlington, MA, ISBN-13: 978-0-12-238452-3

Manin lives up to its name "Graduate Texts in Mathematics" (and is a bit quirky in a nice way -- it's translated from the Russian, sometimes has proverbs in it, etc), but is by far the clearest treatment I've seen. wvbaileyWvbailey 14:11, 12 September 2007 (UTC), Enderton added: wvbaileyWvbailey 16:52, 14 September 2007 (UTC)

WV, you appear to be assuming that Manin uses the ⊂ symbol to mean "proper subset" rather than just "subset". You are aware that there are two possible conventions on this point? Without some indication as to which convention Manin is using, we can't tell whether he is requiring D(f) to be a proper subset of X.
(I note in passing that I have never ever ever heard anyone use "partial function" in a way that required the domain to be a proper subset. That would be a very unweildy convention, requiring us to prove theorems twice, once for partial functions and once for total, when only one proof is in fact necessary.) --Trovatore 20:22, 12 September 2007 (UTC)

↔∈∉⊂⊆←→øØℕǎă

Good point, I wasn't aware of this, but a little lucky research showed you are correct (but see my suggestion below about proving twice, based on Suppes's definitions -- i.e. if you prove the case for the partial function you get the total function for free). I honestly can't tell what convention Manin's using (what I would call the exclusive-⊂ vs inclusive-⊂ i.e. ⊆). Throughout the book he refers to the "von Neumann universe" (cf where he defines this in his II.Appendix: the von Neumann universe (p. 95-102)) but he never bothers to define the symbol ⊂, at least that I can find in the text. In the instance of defining V0=Ø, V1={Ø}, V2=={0,{Ø}} he says "It is easy to see that Vn⊂Vn+1." (p. 96). But I don't know enough set theory to know, in other instances of his usage, whether its the exclusive- or inclusive- usage. To add to the confusion, on p.145 he writes "we have replaced ⊆ by ≥ ...". I checked out von Neumann's original paper in van Heijenoort and this is his usage as well (i.e. >, <, ≤, ≥). However, the plot thickens. Halmos in his Naive Set Theory uses the inclusive- form: A ⊂ A (cf p. 3). Whereas Suppes in his Axiomatic Set Theory strongly distinguishes the two with: A ⊆ A (p. 22); he defines the "exclusive" form as follows;

"THEOREM 3. A ⊆ A
"We now define proper inclusion.
"DEFINITION 4. A ⊂ B ←→ A ⊆ B & A ≠ B" (p. 23)

This becomes useful when he also cites:

"THEOREM 10. A ⊂ B → A ⊆ B" (p. 23)

And Enderton 2001 uses only ⊆ as defined in the manner of Suppes. This becomes important for his definitions of partial function and computable function; he does not allow for semi-computable function in the manner of B-B-J:

"DEFINITION. An m-place partial function is a function f with dom f ⊆ ℕ [his ℕ includes 0, i.e. ℕ={ 0, 1, 2, 3, ...}]. If ă ∉ dom f, then f(ă) is said to be undefined. If dom f = ℕm [N x N x ...] then f is said to be total.
"DEFINITION. An m-place partial function f is computable iff there is an effective procedure such that (a) given an m-tuple ă in dom f, the procedure prduces f(ă); and (b) given an m-tuple ă not in dom f, the procedure produces no output at all. (Enderton 2001:250)

What do we do about the Boolos-Burgess-Jeffrey (B-B-J) quote? If a set is defined by its elements, then we are truly stuck with the "proper" inclusion because a partial function will always include at least one extra element.

My suggestion about proving twice is based on the Suppes definition and THEOREM 10: If you prove the case for the partial-and-semi-computable function you are proving the partial-and-computable and the total sub-functions as well; the converse is NOT true: if you prove the case for the total function (with its restricted domain) then if you widen the domain to include rogue elements your proof will be insufficient. A real-life example:

I've figured out a better (less arbitrary) example than the one shown above: Suppose I build a counter machine that computes/calculates a Q = quotient_part(N/(X - k)), i.e. counter Q will contain the quotient. It turns out that the residue can be found in "X", iff the function halts. N and k are specified at the outset for example N=12, k=2 so we have: Y=12/(X-2). Now to get our answer, we concatenate the quotient and the residue, i.e. Q.X, where "." means "concatenate".

If I restrict my domain to the positive integers (3, 4, 5, 6, ... ) then Q.X="0.0" never occurs because there's always a non-zero residue in counter X or a non-zero quotient in counter Q, or both, and the "function" always halts. Thus the function is total over this restricted domain. If I expand the domain to include "2", i.e. {2, 3, 4, 5, 6} then when X=2 indeed the function will not halt -- it forever increments Q (i.e. Q = N/0) and the function is now partial. Now, if I expand the domain to include {0, 1, 2, 3, 4, 5, 6, ...} but restrict it by excluding "2", and I define the subtraction "X-2" to be proper, then when X < 2, it will terminate the calculation with Q.R = 0.0. Now the function is "partial but computable" over {0, 1, 3, 4, 5, 6, ...}. If I expand the domain to the whole "universe of discourse" by including the rogue "2" i.e. so X = {0, 1, 2, 3, 4, 5, 6, ...} the function of course remains semi-computable, it is both partial and semi-computable.

I've actually built the "function" as a counter machine in Excel and it does the above (however, along the way, mistakes were made...). Once I was able to "prove" the "inner part" -- the total machine over its restricted domain -- ) I then widened the domain to take care of all the other cases (the computable and semi-computable cases). Indeed -- After I got the "total" piece to work, the other part (the proper subtraction part) didn't. I had to fiddle with the algorithm as I expanded the domain. At last I got it to work "as advertised". Thus, when I had "proved" (verified as working correctly) the whole thing (semi-computable and partial) my proof implied I had also proved all the restricted sub-parts (computable and partial, total). I hope I am using the words correctly. wvbaileyWvbailey 15:38, 13 September 2007 (UTC),

Like B-B-J (2002), Enderton also uses a counter machine (he calls it a register machine) as one example of "equivalent definitions of the class of recursive functions functions" (p. 261ff). Enderton references Boolos and Jeffrey 3rd edition 1989, not their latest 4th edition 2002; the 4th B-B-J was significantly changed from the 3rd edition when they added Burgess as a middle-author. ( Updated with Enderton) wvbaileyWvbailey 16:52, 14 September 2007 (UTC)

Changed the heading. Am now convinced by Kleene 1952: "To fix our terminology, let us now call a function from any subset (proper or improper) of the n-tuples of the natural numbers to the natural numbers a partial function. [Kleene's definition of the "natural numbers" includes 0 cf p. 3]. In other words, a partial function φ is a function which for each n-tuple x1, ..., xn of natural numbers as arguments takes at most one natural number φ(x1, ..., xn) as value." (Kleene 1952:326). Kleene goes on to define a "defined function" at a value x1, ..., xn, "undefined function" at a value x1, ..., xn, "range of definition" (what we would now call the "domain of definition"), "completely defined function" [defined for all 1, ..., xn in the domain of definition] and "incompletely defined" function [incompletely defined for some 1, ..., xn in the "domain of definition" ⊆ "universe of discourse"], and "completely undefined" (p. 327). wvbaileyWvbailey 15:31, 17 September 2007 (UTC)