Currently I am reading the book 'Isometries on Banach spaces: Vector valued function spaces and operator spaces, Volume $2$.'
$C(X,Y)$ is the set of continuous functions $f:X \rightarrow Y$ with supremum norm $\| f \|_{\infty} = \sup_{x \in X}\| f(x) \|_Y.$
In chapter $7$, page $1,$ the authors quoted the following sentences:
Suppose that $Q,K$ are non-homeomorphic compact Hausdorff spaces and $L$ s a compact Hausdorff space such that $Q \times L$ is homeomorphic to $K \times L.$ For example, take $$Q = \{ (a,b): 1/2 \leq a^2+b^2\leq1; or \space 0\leq a \leq 2,b=0\},$$ where $(a,b)$ is a point in the Euclidean plane, $$K=\{ (a,b):1/2\leq a^2+b^2 \leq 1;or \space 1\leq a \leq 2,b=0; or \space a=0,1,1\leq b \leq 2 \},$$ and $L$ is the unit interval. Then for any Banach space $X,$ $C(L \times Q, X) $ is isometric to $C(L \times K, X)$ and so $C(Q,C(L,X))$ is isometric with $C(K,C(L,X))$.
Question: I do not understand the last sentence, namely: for any Banach space $X,$ $C(L \times Q, X) $ is isometric to $C(L \times K, X)$ and so $C(Q,C(L,X))$ is isometric with $C(K,C(L,X))$.
How to prove the above statement?
Suppose $$\varphi:C(L\times Q,X)\to C(L\times K,X)$$ is an isometry. Then so is $$\psi:C(Q,C(L,X))\to C(K,C(L,X))$$ given by (for $F\in C(Q,C(L,X))$ and $k\in K$, $\ell\in L$) $$\psi(F)(k)(\ell)=\varphi(G_F)(\ell,k)$$ where $G_F\in C(L\times Q,X)$ is given by $G_F(\ell',q')=F(q')(\ell')$. Because $$\|\psi(F)\|_{\infty}=\|\varphi(G_F)\|_{\infty}=\|G_F\|_{\infty}=\|F\|_{\infty}.$$ At least, this is what will have to be true along the lines of @Hurkyl's comment.