OctoInform Beta

OpenAI preprint, September 2026 · §3. Positive channels at equality · §3

§3 (setting): the functionals I, J, B and F: The definitions of II, JJ, BB and FF on messages in OAI.ThreeState and the radial functional Φ\Phi on ℝ3\mathbb{R}^3 in OAI.ThreeState.TreeClauses

Entropy functionals on three-state messages.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In broadcast processes on trees with the three-state symmetric channel, a posterior distribution of the root spin given the boundary spins is a probability vector on three states, represented as a likelihood vector whose three coordinates sum to 33. The library, abbreviated OAI (OpenAI), has two parts, OAI.ThreeState and OAI.ThreeState.TreeClauses, and both define the entropy functionals, the first on messages, the likelihood vectors of root posteriors, and the second on arbitrary vectors in ℝ3\mathbb{R}^3.

Messages

A three-state spin in OAI.ThreeState is an element i∈{0,1,2}i \in \{0, 1, 2\}, indexing the three states that the preprint labels 11, 22, 33.✦ A vector w∈ℝ3w \in \mathbb{R}^3 in OAI.ThreeState.TreeClauses is a triple (w0,w1,w2)(w_0, w_1, w_2) of real coordinates indexed by {0,1,2}\{0, 1, 2\}.✦ Taking products and powers of vectors coordinatewise, both parts of the library define the coordinate average ⟨w⟩\langle w \rangle of a vector w∈ℝ3w \in \mathbb{R}^3 by ⟨w⟩=w0+w1+w23.\langle w \rangle = \frac{w_0 + w_1 + w_2}{3}.(1) The message space in OAI.ThreeState is the set of vectors m∈ℝ3m \in \mathbb{R}^3 with mi≥0m_i \ge 0 for every spin i∈{0,1,2}i \in \{0, 1, 2\} and ∑i=02mi=3\sum_{i=0}^2 m_i = 3, so that the coordinate average in (1) is ⟨m⟩=1\langle m \rangle = 1.✦ Each element mm of the message space is called a message; it equals 3p3p for a posterior probability vector pp on the three spins, and we write v=m−1v = m - 1, where 11 denotes the vector (1,1,1)(1, 1, 1).

Logarithmic coordinates

Throughout both parts of the library, logarithms are natural with the convention log⁡0=0\log 0 = 0. In OAI.ThreeState.TreeClauses, the average of the log message of a vector m∈ℝ3m \in \mathbb{R}^3 is the coordinate average ⟨log⁡m⟩\langle \log m \rangle of (log⁡m0,log⁡m1,log⁡m2)(\log m_0, \log m_1, \log m_2).✦

Centered log coordinates add under products of likelihood vectors because the common normalizing constant cancels on centering. For a message mm in OAI.ThreeState, the centered log message uu is the vector on {0,1,2}\{0, 1, 2\} with coordinates ui=log⁡mi−⟨log⁡m⟩u_i = \log m_i - \langle \log m \rangle(2)✦ for each i∈{0,1,2}i \in \{0, 1, 2\}. In OAI.ThreeState.TreeClauses, the same expression (2) defines the centered log vector uu for any vector m∈ℝ3m \in \mathbb{R}^3.✦

The definition

Definition. In OAI.ThreeState, for a message mm with v=m−1v = m - 1 and centered log message uu, the entropy term I(m)I(m) is I(m)=⟨mlog⁡m⟩.I(m) = \langle m \log m \rangle.(3)✦ The quantity (3) is the relative entropy of the posterior m/3m/3 with respect to the uniform law on the three spins. The symmetrized entropy JJ satisfies an expected additivity identity across the branches of the tree, giving the symmetric-channel form of the symmetrized-entropy recursion. The symmetrized entropy J(m)J(m) is J(m)=12⟨vlog⁡m⟩.J(m) = \frac{1}{2}\langle v \log m \rangle.(4)✦ The second-order entropy BB is a centered-log correction whose expected branch recursion combines a linear branch term with a quadratic term in the expectation of JJ. The second-order entropy B(m)B(m) is B(m)=12⟨mu2⟩.B(m) = \frac{1}{2}\langle m u^2 \rangle.(5)✦ At the message m=(1,1,1)m = (1, 1, 1) of the uniform posterior, I(m)I(m), J(m)J(m) and B(m)B(m) vanish. Combining (3), (4) and (5), the entropy functional F(m)F(m) is F(m)=3I(m)−2J(m)+45B(m).F(m) = 3I(m) - 2J(m) + \frac{4}{5}B(m).(6)✦ In OAI.ThreeState.TreeClauses, for any vector m∈ℝ3m \in \mathbb{R}^3 with centered log vector uu, the expressions (3), (4) (with m−1m - 1 in place of vv) and (5) define the entropy term I(m)I(m), the symmetrized entropy J(m)J(m) and the second-order entropy B(m)B(m), and, matching (6), the radial functional Φ(m)\Phi(m) is Φ(m)=3I(m)−2J(m)+45B(m).\Phi(m) = 3I(m) - 2J(m) + \frac{4}{5}B(m).(7)✦

What is checked

In OAI.ThreeState, the entropy functionals (3), (4), (5) and (6) are defined over messages on the three spins {0,1,2}\{0, 1, 2\} with nonnegative coordinates summing to 33 and the convention log⁡0=0\log 0 = 0, while in OAI.ThreeState.TreeClauses the radial functional (7) is defined over arbitrary vectors in ℝ3\mathbb{R}^3.