I'm not presuming anything. writing came from Egypt, likely mathematics too, and where do you think the greeks get their knowledge from? Egypt. Obviously, they were creative in their own right, but that doesn't change the fact of where this stuff originated.