Rigorous connection between physical properties of porous rocks