I've recently took interest in morphism and category theory and I'm amazed how it offers a very general notion. However, I'm struggling to apply this for the affine vector spaces.
I've seen that a linear application could be thought as a morphism between two vector spaces: Let ($V_1, \oplus_1, \odot_1$) and ($V_2, \oplus_2, \odot_2$) be two vector spaces of dimension $n\in \mathbb{N}$ over a field $\mathbb{F}$, where $\odot_{\bullet}$ and $\oplus_{\bullet}$ denotes the scalar multiplication and the vector addition of the vector space $V_\bullet$ respectively. From what I understand, a morphism $\varphi$ from $V_1$ to $V_2$ is a map that preserves the structure of these spaces, i.e. that is compatible whith their respective operations: $$ \begin{cases} \forall(u,v)\in V_1,\quad \varphi(u \oplus_1 v) = \varphi(u) \oplus_2 \varphi(v)\\ \forall\lambda\in\mathbb{F},\quad\forall u\in V_1,\quad\varphi(\lambda \odot_1 u) = \lambda \odot_2 \varphi(u) \end{cases}, $$ We can see that this definition coincides with the definition of a linear map. Let ($A_1, V_1, \boxplus_1$) and et ($A_2, V_2, \boxplus_2$), two affine spaces with respective vector space direction $V_1$ and $V_2$. Note that $\boxplus_\bullet$ denotes the transitive and free action of the additive group of $V_\bullet$ on the set $A_\bullet$ (https://en.wikipedia.org/wiki/Affine_space#Definition). Now this is where I struggle, let $\varphi$ be a morphism from $A_1$ to $A_2$. So I assume that it means somehow something like: $$ \forall \mathrm{P}\in A_1,\quad \forall u \in V_1, \quad\varphi(\mathrm{P}\,\boxplus_1\,u) = \varphi(P)\,\boxplus_2 \,? $$ What should I put instead of the interrogation point in the right handside of the equation above? Indeed, $\varphi$ only acts on points of $A_1$, not vectors of $V_1$. I know that it will eventually coincide with the definition of an affine map, i.e. that the "$?$" will be eventually replaced by $\vec{\varphi}(u)$, with $\vec\varphi$ a linear map from $V_1$ to $V_2$, but how can I demonstrate it directly from the definition of a morphism of affine spaces?