Triangle inequalities | ScratchStats