Proof (complete analytic function and sections of Riemann surface)

Injectivity follows from $f = F \circ s_f$.

For surjectivity, let $s: D\to R_\mathcal{F}$ be a continuous section. For each $z\in D$, $s(z) \in [g_z, E_z]$ for some $(g_z, E_z)\in \mathcal{F}$. Let $D_z\subseteq s\inv([g_z, E_z]) \subseteq D \cap E_z$ be a domain containing $z$. Then $s|_{D_z}: D_z \to [g_z|_{D_z}, D_z]$ is a subsection. Therefore $s|_{D_z} = s_{g_z}|_{D_z}$

Thus $f := F \circ s : D \to \C$ satisfies $f|_{D_z} = g_z|_{D_z}$ for all $z\in D$, so $f$ is an analytic continuation of $g_z$. Hence $(f,D)\in \mathcal{F}$ and $s|_{D_z} = s_f|_{D_z}$ for all $z\in D$ and thus $s = s_f$.