An Arab thinker invented economic theory 400 years before Adam Smith did