The lights of the Ponyville library had blazed forth defiantly through the night.  This was hardly unusual—the library opening at a decent hour, on the other hoof, was quite rare.  But something had happened in Ponyville, something which demanded research, and Twilight was up to the task.  Sleep was for the weak.