Consider divergence form elliptic pde in smooth boundary domain D


$$ Au:=\sum\_{i,j}\partial\_{i}(a\_{ij}(x)\partial\_{i}u(x)), $$


with boundary data $u|\_{\partial D}:=1\_{A}$ for $A\subset \partial D$. 


By Riesz representation there is a measure called the [L-measure](https://arxiv.org/pdf/1602.00717.pdf) s.t.


$$u(x)=\int\_{\partial D} \phi(y)d\omega\_{x}^{L}(y)$$


if $u|\_{\partial D}=\phi\in C(\partial D)$. For the harmonic case (Dirichlet problem) we have that the harmonic measure is harmonic and satisfies


$$\omega\_{x}(A,\partial D)=P\_{x}[B\_{T\_{\partial D}}\in A],$$


where B is Brownian motion. 



> 
> Q1: Do we have any such formula for nice enough sets A and pde Au that give a Feynman-Kac formula for some Ito process X:
>  $$u(x)=\omega^{L}(x,A)=P\_{x}[X\_{T\_{\partial D}}\in A].$$
> 
> 
> 


In [modern literature](https://arxiv.org/pdf/1211.3820.pdf) they mainly deal with continuous boundary data. For a related question in parabolic pdes see [this question](https://mathoverflow.net/questions/199994/does-ex-tfx-t-solve-a-pde-if-f-is-not-continuous). 


The particular equation I have is in the upper half plane $\{(x,y):y>0\}$


$$\frac{1}{\beta}y \Delta u+\partial\_{y}u=0$$


with $\beta>0$ and boundary data $u|\_{R}=1\_{R^{-}}$ the indicator on the half line. Indeed as mentioned below as well the divergence form I had in mind was $\nabla(y^{\beta}\nabla u)=0$ (which is the same in our case because $y>0$). 



> 
> Q2: If we can prove that we can apply Feynman-Kac then we obtain:
>  $$u(x)=P[(X\_{1,T\_{\mathbb{H}}},X\_{2,T\_{\mathbb{H}} })\in \mathbb{R}^{-}],$$
>  where $dX\_{1}=dB\_{1}, dX\_{2}=\frac{\beta}{X\_{2}}dt+dB\_{2}.$ 
> 
> 
> 


**Attempts**


1)mainly going through the corresponding proofs for the harmonic measure. In Doob's potential theory book 2.IX.7/13 he proves the harmonic measure statement above. 


2)As with dirichlet we have the same [representation](https://arxiv.org/pdf/1211.3820.pdf) for continuous boundary data:


$$E\_{x}[\phi(X\_{T\_{\partial D}})]=u(x)=\int\_{\partial D} \phi(y)d\omega\_{x}^{L}(y).$$


So at least heuristically by approximating the indicator function $1\_{R^{-}}$ by continuous functions we obtain something close to the desired formula above. 



Particular Elliptic pde of divergence form with indicator boundary data and Feynman-Kac formula
There is some ambiguity in your question. The operator $L$ (which you call $A$, but $A$ is also used for a set) is first given in a divergence form. Then it appears that you are interested in $L\_1 = \beta^{-1} y \Delta + \partial\_y$, which is not given in divergence form. Finally, in Q2, you consider the diffusion generated by $L\_2 = \Delta + \beta y^{-1} \partial\_y$. Both $L\_1$ and $L\_2$ have the same harmonic functions as the divergence form operator is $L\_3 = \nabla \cdot (y^\beta \nabla)$.


All three operators clearly correspond to certain diffusion processes in the upper half-plane, which differ one from another by a random time change.


The process generated by $L\_3$ has Brownian motion as the $x$ coordinate and Bessel diffusion as the $y$ coordinate (both coordinates are independent). If $\beta \ge 1$, the second coordinate will never hit $0$ and it will converge to $\infty$ as $t \to \infty$. Therefore, the Dirichlet problem in the half-space is ill-posed: any non-constant solution of $L\_3 u = 0$ in the upper half-plane is unbounded.


If $\beta \in (-\infty, 1)$, then the problem is well-posed, and the harmonic measure for $L\_3$ is indeed the distribution of the diffusion at its life-time. In fact, the solution can be given explicitly: $$u(x, y) = \int\_{-\infty}^\infty u\_0(x) \, \frac{c\_\beta y^{1 - \beta}}{(x^2 + y^2)^{1 - \beta/2}} \, dx,$$ where $c\_\beta$ is an appropriate normalisation constant. This can be verified directly, or by means of Fourier transform. For $\beta \in (-1, 1)$ this is precisely the Caffarelli–Silverstre extension technique for the fractional Laplacian, studied in the probabilistic context by Molchanov and Ostrovskii in 1969.


Time change does not essentially change the answer, except that the life-time may turn out to be infinite. If I am not mistaken, it will be finite for $L\_2$ and $L\_3$ and infinite for $L\_1$.


The answer to your general question depends on your assumptions on the coefficients of $L$. If they are regular enough (uniformly elliptic is enough), then the answer is essentially "yes": there is a diffusion behind your PDE.


Final remark: strictly speaking, your probabilistic expression for the harmonic measure is not the Feynman–Kac formula (unless you take zero potential in F–K). In the classical case it is, I believe, due to Kakutani.


