Among the steps needed to attain enlightenment, a practitioner of Buddhism needs to abandon the wrong philosophical views that they acquired due to either wrong teaching or wrong study. In this sense, a practitioner that is less educated need only remove his or her sense of self or ego and the afflictions due to his or her present body. However, a practitioner that is educated would also have to remove the philosophical views acquired through wrong learning.
As paradigms in science have historically been replaced by new paradigms a la Kuhn, this means that science is necessarily a wrong view. For instance, a person living in Newton's time would have studied the absoluteness of time and space, but that view was displaced by Einstein's relativistic paradigm. Whatever science we are learning now, whether it be quantum physics or evolution or species, given the historical record, would be a wrong view and replaced by a more correct paradigm in the future.
Even mathematics have proven to be contradictory through history. At first, set theorists believed in unlimited comprehension till Russell's paradox showed the need for bounded comprehension, in the fateful saga of Russel and Whitehead's Principia Mathematica. Pythagoras's theorem was thought to be unconditionally true, but now it is true in only one of the three absolute geometries and physicists now believe our world to be non-Euclidean, in which Pythagoras's theorem fails.
After one is reborn in another world, the physics or mathematics of that world would likely be very different, and one's body would also likely be very different. This probably indicates the impermanent nature of the science and mathematics of our current society.
Are you also of the opinion that the learning mathematics and science causes a person to acquire wrong views? Would this lead one further away from enlightenment?