Disregarding the competing definitions of “science”, a significant value in mathematical work is “the journey”. The truth or falsehood of individual results are rarely as important as the machinery developed to deliver it. If all the genie did was tell you something was true or false, the only learning you gain is to backtrack and develop the machinery yourself. To a certain extent this is true of the other sciences too.
This is a genie that does far more than tell you whether something is true or false though.