I have some misunderstanding about EdDSA conversion coordinates between Montgomery curve and twisted Edwards curve. In https://www.rfc-editor.org/rfc/rfc7748 I see that a base point for Curve25519 is
Montgomery curve:
U(P) 9
V(P) 14781619447589544791020593568409986887264606134616475288964881837755586237401
Twisted Edwards curve:
X(P) 15112221349535400772501151409588531511454012693041857206046113283949847762202
Y(P) 46316835694926478169428394003475163141307993866256225615783033603165251855960
and then I see
The birational maps are:
$(u, v) = \frac{1+y}{1-y}, \sqrt{-486664}*\frac{u}{x}$
$(x, y) = \sqrt{-486664}*\frac{u}{v}, \frac{u-1}{u+1}$
But if we try convert $(x,y)$ to $(u,v)$ or $(u,v)$ to $(x,y)$ by using these formulas, we will not get correct answers. For example convert y-coordinate to u-coordinate:
(1+46316835694926478169428394003475163141307993866256225615783033603165251855960)/(1-46316835694926478169428394003475163141307993866256225615783033603165251855960)
result will not be equal to
14781619447589544791020593568409986887264606134616475288964881837755586237401
How can I convert coordinates between Montgomery curve and twisted Edwards curve correctly?