I'm right now trying to inhabit this point, and try to really grok it.
I guess it could be the case that the kind of intelligence that you need to engineer software and the kind that you need to develop novel algorithms are almost completely disjoint and unrelated. You can basically solve "make an AI that can make software", and not have even scratched the surface of "make an AI that can make new algorithms / new interesting math concepts".
(Is this what you think?)
It would surprise me if this were true, because it seems like there's a lot of overlap in the mental operations between those two kinds of work.