We prove the simple, standard bijection between functions
and sections of the projection
.
We write
(or simply
) for the first projection and
for the second projection.
1. From a function to a section
Given any function
, define
For every
we have
.
Hence
, so
is a section of
.
2. From a section to a function
Conversely, suppose
is a section of
; i.e.
.
Compose
with the second projection to get a function
Thus
determines a function
.
3. These constructions are inverse
We check the two assignments are inverse to each other.
-
Start with
. Form
and then
. For each
,
so
.
-
Start with a section
. Let
. By the universal property of the product (or by pairing), the unique map
satisfies
and
. But
also satisfies
and
, so by uniqueness
. In particular
.
Hence the map
is a bijection between
and the set of sections of
.
4. Conclusion
We have shown canonically and explicitly that every function
corresponds exactly to a section of the trivial product bundle
; the correspondence is
.
(If
lie in a category with products—e.g.
,
, a topos—exactly the same argument holds, with the extra requirement that functions/sections be morphisms in that category.)