I mean, you're right it won't happen in the next 15 years, but many problems in biology are reducible to mathematical algorithms. Protein folding, for example. So I wouldn't say that curing illness is unrelated to solving math problems, just that AI solving math problems (even ones as hard as proving the Riemann Hypothesis) isn't going to cure all illness without substantial physical follow-on work and certainly not that quickly.
It’s related to applying math. It’s not related to solving general, open math problems such as RH. And yes, it’s just a small part of the whole process. Could that contribute in some way to healing some illnesses? Very likely. Will that get rid of all illnesses in 5 years? Absolutely not, not even remotely. The link between solving RH and getting rid of illnesses is really not a direct one