Text this: The logical strength of Büchi's decidability theorem