The scheme for construction of distances, presented in the previous paper quant-ph/0005087, v.1 (Ref. 1) is amended. The formulation of Proposition 1 of Ref. 1 does not ensure the triangle inequality, therefore some of the functionals D(a,b) in Ref. 1 are in fact quasi-distances. In this note we formulate sufficient conditions for a functional D(a,b) of the (squared) form D(a,b)^2 = f(a)^2 + f(b)^2 - 2f(a)f(b)g(a,b) to be a distance and provide some examples of such distances. A one parameter generalization of a bounded distance of the (squared) form D(a,b)^2 = D_0^2 (1 - g(a,b)), which includes the known Bures-Uhlmann and Hilbert-Schmidt distances between quantum states, is established.
In this paper we study an application of an information distance between two measurements to the problem of non-contextuality and local realism. We postulate the triangle principle which states that any information distance is well defined on any pair of measurements, even if the two measurements cannot be jointly performed. As a consequence, the triangle inequality for this distance is obeyed for any three measurements. This simple principle is valid in any classical realistic theory, however it does not hold in quantum theory. It allows us to re-derive in an astonishingly simple way a large class of non-contextuality and local realistic inequalities via multiple applications of the triangle inequality. We also show that this principle can be applied to derive monogamy relations. The triangle principle is different than the assumption of non-contextuality and local realism, which is defined as a lack of existence of a joined probability distribution giving rise to all measurable data. Therefore, we show that one can design Bell-Kochen-Specker tests using a different principle.