I'm reading Conformally Invariant Processes in the Plane by Lawner and I have a doubt, he takes $R_L=(0,L)\times(0,i\pi) \subset \mathbb C$ and define $\partial_1=[0,i\pi]$, $\partial_2 = [L,L+i\pi]$, then define $f(z)=2 \min \{\mathbb P_z(B_\tau \in \partial_1),P_z(B_\tau \in \partial_2)\}$, where $B$ is a Brownian motion starting at $z$, $\tau=\inf\{t\ge 0\colon B(t)\in \partial (R_L)\}$, and $$ \Omega(R_L,\partial_1,\partial_2)= \sup\{f(z) \colon z \in R_L \}. $$ Then he takes a Jordan domain D (a.k.a. a domain bounded with boundary a jordan curve) and 4 points in the boundary ordered clockwise ($z_1,z_2,z_3,z_4$). If $A_1,A_2$ are the arcs between $z_1,z_2$ and $z_3,z_4$ then he define $\Omega(D,A_1,A_2)$ in the same way as above. At least he define the $\pi$-extremal distance $L(D; A_1,A_2)$ as the only $L$ such that $\Omega(R_L,\partial_1,\partial_2)=\Omega(D,A_1,A_2)$. I think this $L$ is the only number in $\mathbb R$ such that exists a conformal map $f\colon D \to R_L$ such that $f(z_1)=i\pi$, $f(z_2)=0$, $f(z_3)=L$, $f(z_4)=L+i\pi$.
My question is: How can i prove that this $L$ exists and how can i prove that such $f$ exist too?
By the Riemann Mapping Theorem, $D$ and $R_L$ are conformally equivalent for any $L$. Now, there is a theory of when such a map $\varphi:B(0,1)\to D$ extends to the boundary: For instance, it extends continuously to all of the boundary when $D$ is a Jordan Domain, making the map a homeomorphism from the closed ball onto the closure of $D$. For details on this, see, for instance, Rudin or Complex Analysis: An Invitation by Murali Rao.
Now, fix the unique conformal equivalence $\psi_L: B(0,1)\to R_L$ such that $0$ is mapped to the middle of $R_L$ and $\psi'(0)>0$. By the above, $\psi_L$ extends to the boundary, and you can simply check $\psi_L^{-1}$ at the four corners and $\varphi^{-1}$ at $z_1,z_2,z_3,z_4$.
The classification of the holomorphic automorphisms of the unit disk should now tell you that it is only possible to find a conformal equivalence $\xi_L:D\to R_L$ matching the correct boundary points if there exists $\theta\in [0,2\pi)$ such that $\varphi^{-1}(z_n)=e^{i\theta}\psi_L^{-1}(c_n)$ where $c_n$ is the corresponding corner of $R_L$ for all $n$.
This should establish both existence and uniqueness. I'm sorry it took someone six months to find you post.