On Sunday, April 17, 2022 at 6:16:29 AM UTC+2, Dan Christensen wrote:
> "Definition 3.3.7 (Equality of functions). Two functions f : X → Y, g : X → Y with the same domain and range are said to be equal, f = g, if and only if f(x) = g(x) for all x ∈ X."
> --Terence Tao, "Analysis I, 3rd Ed.," p. 51
Actually, We can get that as a theorem in the context of the "set theoretic" approach.
Though it seems that you are too dumb to get it.
I'll formulate it once more. Just for fun.
Some motivating preliminary definitions:
ordered_pair(p) :<-> ExEy(p = <x, y>)
set_of_ordered_pairs(f) :<-> Set(f) & Ap(p e f -> ordered_pair(p))
functional(f) :<-> AxAyAz(<x, y> e f & <x, z> e f -> y = z)
Now we may define the core notions:
function(f) :<-> set_of_ordered_pairs(f) & functional(f)
dom(f) := {x e UUf : Ey(<x, y> e f)}
img(f) := {y e UUf : Ex(<x, y> e f)}
Finally we may define some rather helpful notions in connection with functions:
f: X --> Y :<-> function(f) & dom(f) = X & img(f) c Y
"f is a function from X to Y."
f(x) := U{y e UUf : <x, y> e f}
"the value of f at x"
These notions allow to deal with "functions" (at a basic level).
For example, we can derive (in a set theoreric context) the theorem
AfAXAY((f: X --> Y) -> Ax(x e X -> f(x) e Y))
as well as, say, the theorem:
AfAgAXAY((f: X --> Y) & (g: X --> Y) -> (f = g <-> Ax(x e X -> f(x) = g(x)))).
"[Any] two functions f : X → Y, g : X → Y [...] are [...] equal, f = g, if and only if f(x) = g(x) for all x ∈ X."