The laws of association