The Relationship Between Metaphysics and Logic