A Generalized Information Formula as the Bridge between Shannon and Popper