Though no one here really has accurate info, some figures are more likely than others. To get into the whole game of guessing radar ranges we need to know power of radar, gain, operating wavelength and RCS of target. That last one is actually dependant on radar wavelength but all the info that's ever given or hinted at for various plane's RCS is given as final RCS for some unindentified wavelength, presumably somewhere in 5-10 cm as most air search radars use those wavelength.
For f-22, only official figure given by USAF was RCS of a marble. It didnt say what kind of marble, what size, under what wavelength. It could range from 0.002 to 0.0001 square meters. With jsf it was said a golf ball, which is quite precise in size, so that would suggest range of 0.014 for large wavelengths and possibly as low as 0.001 for small wavelengths like that of amraam seeer.
While we don't know precise values of raptors and amraams radars' power, we can suspect they are in 15-25 kw and 700-900 w range, respectevely. So that is some 25 times less power in amraam than it is in apg-77. There is also difference in wavelength which we sort of know but there's radar gain too, which is harder to guess.
Radar equation then gives out the figures i mentioned before, just some two or so nautical miles for amraam class seeker and not much more than 20 nm for apg77, in ideal circumstances. Yes, amraam has only ten times smaller range but it also has some 25 times weaker radar. While amraam can in theory lock onto f22, in practice its unlikely target will be so steady and peaceful to allow the amraam launching plane to achieve that lock on.
Assuming publicized (but not necesarrily true) values for spy-1 radar, we would get detection range of some 40 nm. so yeah, that's basically 50 statute miles like you were guessing. f-35 would be detected at over 70 nm. It is, though, questionable if either, especially raptor, could be targeted by either ship missile guidance illuminators or missile's own radars.