A warrior contemplated an equation while discovered a rare gem in a library of ancient books. .