As the Moon and the Earth are predicted to get into tidal lock, how slow would the Earth rotate? This answer to Will the Earth ever be tidally locked to the Moon? supports the widely held thinking that during the Sun's red giant phase or later the Earth and the Moon should be tidally locked to each other. The Earth is said to have a slower rotation then.
Do we have any idea how long a sidereal day and the mean solar day on Earth would be in several billion years?
The last part of the answer you linked to actually says (right at the end) that tidal locking will never be achieved, with reasoning similar to what I gave in this answer.
That said, even though the Moon and the Earth will never actually achieve tidal synchronization, we can still do the thought experiment and ask, &quot;If there were enough time for the current Earth-Moon system to achieve tidal synchronization, what would the length of the day be at which the rotation of the Earth and the orbit of the Moon would be synchronized?&quot;
To do this, we can assume that the Moon spirals outward due to an exchange of angular momentum between the Earth's rotation and the Moon's orbit.  The Earth's spin slows down as it loses angular momentum, and the Moon moves into a larger (and thus higher angular momentum) orbit as it gains that same angular momentum.  The rotation of the Moon would presumably stay locked to the Moon's orbital period, so it would slow down as well.
So, using $L$ to represent angular momentum, the key equation is
$$ L_{\rm now} = L_{\rm then} $$
where &quot;then&quot; is some time in the future when lock is achieved.  The total angular momentum in the system is constant.
The angular momentum of any object is $L = I\omega$, where $I$ is the moment of inertia, and $\omega = \frac{2\pi}{P}$ is the orbital frequency, related to the orbital period $P$.   For a constant-density sphere of mass $M$ and radius $R$ rotating on its axis, $I = 0.4 M R^2$.  The Earth and the Moon are somewhat more centrally condensed, so their moments of (rotational) inertia are a little smaller than the 0.4 for a uniform sphere.  The leading coefficient is 0.33 for the Earth, and 0.39 for the Moon.
For the Moon orbiting the Earth, it's a good approximation to just treat it as a point mass (since its size is small compared to its distance from Earth), so it has $I = M_{\rm Moon}R_{\rm Earth-Moon}^2$.
Putting all three of these motions (Earth rotation, Moon orbit, Moon rotation) together, we get
$$L_{\rm now} = 2\pi \left( \frac{0.33 M_\oplus R_\oplus^2}{P_\oplus} +  \frac{0.39 M_{\rm Moon} R_{\rm Moon}^2}{P_{\rm Moon}} +  \frac{M_{\rm Moon} R_{\rm Earth-Moon}^2}{P_{\rm Moon}} \right) $$
All of the values there represent current, known values, i.e. $P_\oplus = 1$ day, and $P_{\rm Moon} = 1$ month = 27.3 days.  Similarly, at some point in the (hypothetical) future, we would have
$$
L_{\rm then} = 2\pi \left( \frac{0.33 M_\oplus R_\oplus^2}{P_{\rm then}} +  \frac{0.39 M_{\rm Moon} R_{\rm Moon}^2}{P_{\rm then}} +  \frac{M_{\rm Moon} R_{\rm Earth-Moon,\ then}^2}{P_{\rm then}} \right) $$
or
$$ 
L_{\rm then}  = \frac{2\pi}{P_{\rm then}} \left(0.33 M_\oplus R_\oplus^2 + 0.39 M_{\rm Moon} R_{\rm Moon}^2 + M_{\rm Moon} R_{\rm Earth-Moon,\ then}^2 \right)
$$
Notice that there's just a single period here, since everything is now assumed to be synchronized.  So we could set this equal to $L_{\rm now}$ and solve for $P_{\rm then}$ – except that we have a second unknown in the equation, $R_{\rm Earth-Moon,\ then}$, the new orbital distance of the Moon from the Earth.   Fortunately, we can use Kepler's third law to relate this distance to the orbital period:
$$ P_{\rm then}^2 (M_\oplus + M_{\rm Moon} ) = \frac{4 \pi^2 }{G} R_{\rm Earth-Moon,\ then}^3  $$
To make life a little easier when we substitute into the equation, we could write this as a proportion with the current values, which makes some of the constants cancel:
$$ \frac{P_{\rm then}^2}{P_{\rm Moon}^2} = \frac{R_{\rm Earth-Moon,\ then}^3}{R_{\rm Earth-Moon}^3} $$
which means that
$$ R_{\rm Earth-Moon,\ then}^2 = R_{\rm Earth-Moon}^2 \left(\frac{P_{\rm then}}{P_{\rm Moon}}\right)^{4/3} $$
Substituting that into our expression for $I_{\rm then}$, we finally end up with
$$L_{\rm then} = \frac{2\pi}{P_{\rm then}} \left(0.33 M_\oplus R_\oplus^2 + 0.39 M_{\rm Moon} R_{\rm Moon}^2 + M_{\rm Moon} R_{\rm Earth-Moon}^2 \left(\frac{P_{\rm then}}{P_{\rm Moon}}\right)^{4/3} \right) $$
So in principle, we're done - we set this equal to $L_{\rm now}$ and solve for $P_{\rm then}$.  It's not a simple equation to solve analytically, but not hard to solve numerically.
Symbolically there's a lot going on, but we know most of these values, so if we plug in numbers for everything we know and simplify, this becomes
$$
P_{\rm then} = 0.16809413\ {\mathrm d} + 0.27626727\ {\mathrm d}^{-1/3} P_{\rm then}^{4/3}
$$
where the &quot;d&quot; represents units of days.  Solving this equation gives a period of 46.9 days, so that is how long the day, the month (i.e. the orbital period of the Moon), and the rotation period of the Moon would be if all were to become tidally locked to each other.
If you want to see the calculation done in Python, I've posted the code in a gist here. It's a nice example of the usefulness of Python's quantities and astropy's constants.