Philosophers have research value dependent on sloth in the province. Not magic. If you have a high productivity they philosophize less and make useful stuff such as work with their hands and organize society. If they are in a lazy land they just sit and think up magic systems.