I see that you are desperately trying to distinguish "foundational" and "analysis" contexts from each other. If you are writing a book about analysis, it might be helpful to clarify that in this context you reserve "function" for mappings into ℂ or ℝ, for example [1] defines "function" exclusively as a mapping from a set S to ℝ (without any further requirements on S such as being a subset of ℝⁿ). Note that even under this restricted definition of function, a distribution still is a function.
In a general mathematical context, "function" and "mapping" are usually used synonymously. It is just not the case that such use is restricted to "foundations" only.
It seems to me that squabbles about issues like this are becoming more frequent here on HN, and I am wondering why that is. One hypothesis I have is that there is an influx of people here who learn mathematics through the lens of programs and type theory, and that limits their exposure to "normal" mathematics.
[1] Undergraduate Analysis, Second Edition, by Serge Lang