Logic, Epistemology, and the Unity of Science