The Logic of the Revelation of St. John