Text this: Morse theory and gravitational microlensing.