Indirect reciprocity1, 2, 3, 4, 5 is a key mechanism for the evolution of human cooperation. Our behaviour towards other people depends not only on what they have done to us but also on what they have done to others. Indirect reciprocity works through reputation5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. The standard model of indirect reciprocity offers a binary choice: people can either cooperate or defect. Cooperation implies a cost for the donor and a benefit for the recipient. Defection has no cost and yields no benefit. Currently there is considerable interest in studying the effect of costly (or altruistic) punishment on human behaviour18, 19, 20, 21, 22, 23, 24, 25. Punishment implies a cost for the punished person. Costly punishm...