The laws of global warming