Text this: Poetic Logic and the Origins of the Mathematical Imagination