I want to find $p(x \vert y)$ given $p(y \vert x)$. I am aware of Bayesian formula but I can not understand why the following logic is wrong.
Let $x$ some random variable with pdf $p(x)$ and $\varepsilon \sim N(0,1)$.
Define $y(x) \equiv x + \varepsilon$, then $(y\vert x) \sim N(x,1)$.
But it also should be true that $x=y-\varepsilon$ and because standard normal distribution is symmetric around zero, then it should follow that $(x \vert y) \sim N(y,1)$. Thus we didn't use the information about unconditional distributions, needed for Bayesian formula.
Please, point me where I am wrong.
Update 1: by Bayesian formula I mean $p(x \vert y) = \frac{p(y \vert x)p(x)}{\int_{-\infty}^{+\infty}p(y \vert x)p(x)dx}$.
Update 2: The following analytical solution should prove that two distributions are indeed not equal.
Let $x \sim N(\mu,\sigma)$, then $p(x)=\frac{e^{-\frac{(x-\mu )^2}{2 \sigma ^2}}}{\sqrt{2 \pi } \sigma }$.
Let $y(x)=x+\varepsilon$ and $\varepsilon \sim N(0,1)$, then $p(y\vert x)=\frac{e^{-\frac{1}{2} (y-x)^2}}{\sqrt{2 \pi }}$. Hence, $\int_{-\infty}^{+\infty}p(y \vert x)p(x)dx=\frac{e^{-\frac{(y-\mu )^2}{2 \left(\sigma ^2+1\right)}}}{\sqrt{2 \pi } \sqrt{\frac{1}{\sigma ^2}+1} \sigma }$ and therefore by Bayesian formula $p(x\vert y)=\frac{\sqrt{\frac{1}{\sigma ^2}+1} \exp \left(-\frac{(x-\mu )^2}{2 \sigma ^2}-\frac{1}{2} (y-x)^2+\frac{(y-\mu )^2}{2 \left(\sigma ^2+1\right)}\right)}{\sqrt{2 \pi }}$. Finally, this is not equal to pdf of $N(y,1)$, which is $\frac{e^{-\frac{1}{2} (x-y)^2}}{\sqrt{2 \pi }}$.

Take $f(x,y)=p(y|x)$ as given conditional PDF and $p_X{x}$ as PDF of $X$. therefore:
$$p(x,y)=p(y|x)p_X(x)\to p_Y(y)=\Sigma_x p(y|x)p_X(x)\to p(x|y)={{p(y|x)p_X(x)}\over{\Sigma_x p(y|x)p_X(x)}}$$
So this question requires extra information. Now using your method the question is: "What if $\epsilon\nsim N(\mu,\sigma^2)$?"