In this question, Bonrey uses the identity $$\int_{-\infty}^\infty f(x)g(x)dx = \frac1{2\pi}\int_{-\infty}^\infty\hat{f}(y)\hat{g}(y)dy$$ to attempt to integrate $$\int_{-\infty}^{\infty}\frac{\sin(x-3)}{x-3}e^{-|x|}dx$$ where he defines the fourier transform of a function to be $$\mathcal{F}\left[f(x)\right](y)=\hat{f}(y)=\int_{-\infty}^\infty f(x)e^{ixy}dx$$
Where is this identity from? The closest formula I could find through intensive searching was Parseval's theorem, which states that for two square integrable functions $f$ and $g$, $$\int_{-\infty}^\infty f(x)\overline{g(x)}dx=\int_{-\infty}^\infty\hat{f}(y)\overline{\hat{g}(y)}dy$$ where $\overline{f(x)}$ is $f$'s complex conjugate. Due to this conjugation, I do not believe this is the same theorem that Bonrey applied.
Any help is appreciated! :)
I would just like to note a few things in regards to this. In my case with $g(x)=e^{-|x|}$, this is a real, even function.
We know a few things
If $f(x)$ and its fourier transform are real (which is the case here), then we can say that $$\int_{-\infty}^{\infty}\hat{f}(s)\hat{g}(-s)ds=\int_{-\infty}^{\infty}g(y)f(-y)dy$$
If in addition to this, our function is real valued and even (which is also the case here), then we can reduce this to the identity in question $$\int_{-\infty}^{\infty}\hat{f}(s)\hat{g}(s)ds=\int_{-\infty}^{\infty}g(y)f(y)dy$$