161 From the \(\mathbb {F}_2\) Bernoulli Variable to KL Divergence
Thesis. An \(\mathbb {F}_2\)-valued random variable carries the identity \(X^2=X\) (the algebraic form of \(A=A\)). This
idempotency directly yields the variance \(\mathrm {Var}(X)=p(1-p)=O\cdot U\), the product of the partition fractions, and the binary
KL divergence is the building block of all relative entropy.
Step 1: \(\mathbb {F}_2\)-valued variable is a partition
Let \(X:\Omega \to \mathbb {F}_2=\{0,1\}\) with \(\mathrm {Im}(X)\subseteq \{0,1\}\). The preimages partition the sample space:
The algebraic identity \(X^2=X\) (i.e. \(A=A\)) produces the variance as the product of
the partition fractions. It is maximal at \(p=\tfrac {1}{2}\) (\(O=U\), maximal uncertainty) and vanishes at \(p\in \{0,1\}\)
(deterministic).
Step 5: Binary KL divergence
For two Bernoulli laws \(P=(1-p,p)\) and \(Q=(1-q,q)\):
using \(\sum _x 2^{-N}(-N\log 2) = -N\log 2\cdot \sum _x 2^{-N} = -N\log 2\). The first term \(-N\log 2\) is minus the maximal entropy; the second is the cross-entropy with
\(Q\).
The preimage partition \(X^{-1}(0)\sqcup X^{-1}(1)=\Omega \) is the \(A=A\) partition \(O\sqcup U\).
Probability normalisation \(P(X=0)+P(X=1)=1\) is \(O+U=1\).
The \(\mathbb {F}_2\) idempotency \(X^2=X\) gives \(\mathrm {Var}(X)=\mathbb {E}[X^2]-\mathbb {E}[X]^2=p-p^2=p(1-p)=O\cdot U\) — the variance is the product of the partition fractions,
directly from \(A=A\).
The binary KL \(D_{KL}=p\log \tfrac {p}{q}+(1-p)\log \tfrac {1-p}{1-q}\) is the building block of all relative entropy, and the uniform \(\mathbb {F}_2^N\) case
is the cross-entropy form.
The single algebraic fact \(X^2=X\) — the Bernoulli realisation of \(A=A\) — fixes both the variance \(p(1-p)=O\cdot U\) (maximal at \(O=U=\tfrac {1}{2}\))
and seeds the KL divergence that generates the Fisher metric, the Polyakov action, and the
Ryu–Takayanagi area in the preceding sections.
161.1 KL Divergence to Fisher Metric: the Second-Order Expansion
Thesis. The Fisher–Rao metric is the second-order Taylor coefficient of the KL divergence
between nearby distributions. The first-order term vanishes by normalisation, and the Hessian
form \(-\sum _x P\,\partial _i\partial _j\log P\) equals the score form \(\sum _x P\,\partial _i\log P\,\partial _j\log P\) identically.
Step 1: KL between nearby distributions
Let \(P(x)=P(x;\theta )\) and \(Q(x)=P(x;\theta +d\theta )\). Then
The KL divergence between \(P(\theta )\) and \(P(\theta +d\theta )\) has no first-order term (normalisation kills it) and a
second-order term equal to \(\tfrac {1}{2}g_{ij}\,d\theta ^i d\theta ^j\), where \(g_{ij}\) is the Fisher–Rao metric. The two standard forms of \(g_{ij}\) —
the negative Hessian of the log-likelihood and the score covariance — are identically
equal, both following from \(\sum _x P=1\). This is the information-geometric root from which the
Polyakov action, the Ryu–Takayanagi area, and the emergent Einstein geometry all
descend.
161.2 Mutual Information from \(D_{\mathrm {KL}}\)
Thesis. The mutual information \(I(X;Y)\) is the Kullback–Leibler divergence between the joint
distribution and the product of marginals. It measures the failure of independence — the
informational analogue of the partition boundary \(\partial (O,U)\).
The mutual information is the
single object \(D_{\mathrm {KL}}\) evaluated on the independence reference \(Q=P_XP_Y\): it quantifies the correlation between \(X\)
and \(Y\), vanishing precisely when they factorise, and decomposing into the entropy relation
\(I=H(X)+H(Y)-H(X,Y)\).