The setting
When a spin on is broadcast along an edge of a tree through the three-state symmetric channel with parameter , a posterior likelihood vector at the child becomes at the parent. To control how information contracts across an edge, one compares a combined entropy functional at with times its value at .
Messages
A three-state spin is an element of , corresponding to the states in the paper.✦ A vector in is a triple of real coordinates indexed by .✦ The library, from OpenAI (OAI), has two parts, OAI.ThreeState and OAI.ThreeState.TreeClauses, and in both the coordinate average of a vector in is the mean of its three coordinates, (1)
In OAI.ThreeState, the message space is the set of vectors in with for every spin and , so that the coordinate average (1) satisfies ; its elements, called messages, are the likelihood vectors of posterior probability vectors on the three spins.✦ A positive message in OAI.ThreeState.TreeClauses is a vector in with for every spin and .✦
In OAI.ThreeState.TreeClauses, the centered vector of a vector in is .✦ The quadratic moment of a vector in is . For a real factor and a vector in , the radial edge map is the vector whose coordinate at is .✦
Entropy functionals
In OAI.ThreeState, for a message in and a spin , the log of the message at is , the natural logarithm of with the convention .✦ For a vector in , the average of the log message in OAI.ThreeState.TreeClauses is .✦ In both parts, the centered log vector of a vector in (called the centered log message when is in ) has coordinates (2) for each spin .
For a vector in in OAI.ThreeState.TreeClauses and a message in in OAI.ThreeState, the information term is (3) which for in is the relative entropy of the posterior with respect to the uniform law on the three spins.
For a vector in in OAI.ThreeState.TreeClauses and a message in in OAI.ThreeState, the symmetrized entropy is (4) Using the centered log vector (2), the quadratic correction (called the second-order entropy on ) of a vector in in OAI.ThreeState.TreeClauses and a message in in OAI.ThreeState is (5)
From the terms (3), (4), and (5), OAI.ThreeState defines the entropy functional of a message in by (6)✦ and OAI.ThreeState.TreeClauses defines the radial functional of a vector in by (7)✦ In OAI.ThreeState, the source functional of a vector in is (8)✦
The claim
Lemma. In OAI.ThreeState, for every vector in with and for each spin , and every real number with , (9)✦ In OAI.ThreeState.TreeClauses, for every positive message and every real number with , (10)✦ In OAI.ThreeState, for every message in , (11)✦
In the paper, the result reads: for every vector with positive coordinates and , writing , , , , , , and (with for , and for ), every satisfies . To capture this formulation, OAI.ThreeState pairs (9) for (8) with (11) for (6) on , while OAI.ThreeState.TreeClauses gives (10) for (7) in terms of and .
What is checked
In OAI.ThreeState, the statement (9) is stated over vectors in of coordinate average with strictly positive coordinates, real parameters , and the source functional (8), and (11) is stated over messages in and the entropy functional (6); in OAI.ThreeState.TreeClauses, the statement (10) is stated over positive messages, real parameters , the centered vector , the quadratic moment , the radial edge map , and the radial functional (7).