A priori entailment and the metaphysics of science