The Algebra of International Law