# 函数　`def.number-function`
函数（Function）
layer 13 · 定义 · 关系与函数 · 集合论+分析学
[在星图里打开](../#n=def.number-function)　·　[节点索引](../index.md)

设 $f : X \to Y$ 是**映射**。若它的取值落在**数集**里 —— 即 $Y \subseteq \mathbb{R}$ 或 $Y \subseteq \mathbb{C}$ —— 就叫 $f$ 是一个**函数**。

按中学课本的说法是「数集到数集的映射」；本图把**定义域**那一边放宽：$X$ 可以是任意集合（测度空间、拓扑空间、甚至另一个函数空间）。

## 为什么成立（入边，证明在 proofs/）
- [`def.function`](../nodes/def.function.md) 映射：用到了定义 映射　[proofs/def-link.numberfn-function.md](../proofs/def-link.numberfn-function.md)

- …另有入边，续页见 [nodes/def.number-function.2.md](./def.number-function.2.md)

refs: Rudin, Principles of Mathematical Analysis

> 说明见 `notes/def.number-function.md`

引用：`def.number-function`（内容 v0.9.0）· 条款见 [LICENSE.txt](../LICENSE.txt)
