Let $\mathbb{B}_1(0)\subseteq\mathbb{R}^n$ be the ball of radius $1$ in the Euclidean space, $n>1$. Suppose we have a cylinder $C=[0,1]\times \mathbb{B}_1(0)$ and suppose we are given smooth functions
- $\rho_0\colon [0,\varepsilon)\times \mathbb{B}_1(0)\to\mathbb{R}$;
- $\rho_1\colon (1-\varepsilon,1]\times \mathbb{B}_1(0)\to\mathbb{R}$;
- $F_0\colon[0,1]\to\mathbb{R}$,
such that $F_0\equiv\rho_0(\cdot,0)$ on $[0,\varepsilon)$ and $F_0\equiv\rho_1(\cdot,0)$ on $(1-\varepsilon,1]$.
Can we find a smooth function $F(x,s)$ on $C$ such that
- $F(x,s)=\rho_0(x,s)$ for $(x,s)\in[0,\varepsilon)\times \mathbb{B}_1(0)$;
- $F(x,s)=\rho_1(x,s)$ for $(x,s)\in(1-\varepsilon,1]\times \mathbb{B}_1(0)$;
- $F(x,0)=F_0(x)$ for all $x\in[0,1]$?
If not always, which assumptions do we need on $F_0,\rho_0,\rho_1$?
When we can, do we have control on derivatives?
I know Tietze's extension yields the result with $F(x,s)$ continuous, but I can't find much in the smooth case. Whitney's extension doesn't work either as on $[0,1]\times\{0\}$ we have $F_0$ but we don't know whether it can be extended locally in the sense of smooth functions on closed subsets.
I think the main difficulty lies in the fact that the boundary of where the functions are defined is not a manifold; in particular the points $(\varepsilon,0)$ and $(1-\varepsilon,0)$ cause problems even locally.
Is this a known topic? Thank you for your replies!