Inspired by the true story of a Harvard grad student who attempted to identify and woo the love of his life through complex math equations.