Popper, Lógica