The completion of executing the less valuable (as perceived) idea may lead to the ease in execution of the more valuable (as perceived) idea.
It's more humorous to consider maths and programs as ideas. And when I say humorous, I mean that very seriously.