The Exercise
The exercise asks for the trace distance between two probability distributions on two outcomes, and , and between two on three outcomes, and . The first pair compares a coin that always lands heads with a fair coin. The library defines the trace distance and states its value on each pair.
The Trace Distance
The trace distance between two real functions and of an outcome ranging over a finite set is the real number (1)✦
The Claim
Theorem 1. For the deterministic distribution and the uniform distribution on two outcomes, (2)✦ and for two distributions on three outcomes, (3)✦
What Is Checked
The claim is stated over a single construction, the trace distance (1), taken between the four distributions of the exercise. The library proves its two values, (2) on two outcomes and (3) on three.