Tag probability theory