The noun Hoare logic can be countable or uncountable.
The singular form of Hoare logic is also Hoare logic.