Text this: The origin of the logic of symbolic mathematics