arXiv:2603.07435v4 · local manuscript and PDF · thm:two
Persistent two-symbol source
Automated comparison found no discrepancy
How the statements compare
The checked Lean theorem implies the paper’s Theorem 2 and proves more. Both give the same rate, variance and support on the paper’s distortion ranges. Lean also proves the reduced rate formula at the shared threshold and uniqueness of the optimizing reproduction marginal on the full reduced branch.
| Case | Paper | Checked Lean statement | Why |
|---|---|---|---|
| Full-support branch and first zero not classified | For 0 ≤ D ≤ D_FS the rate is pair entropy minus 2h₂(D), and the variance is the varentropy of the pair. | PersistentPairStatement uses r = (1−√(1−4C))/2 and gives Z(x) = (1+u)²P(x), R = H(P)−2h₂(D), and V = Var[−log₂ P(X)] through D = r. | The pair law has masses A, B, C, C. The multiplier and normalization shift the score by the same constant for every x. Such a shift leaves its variance unchanged. Full support below r is compatible with the rate formula still holding at r. |
| Two constants and the threshold not classified | For r < D < D₀ the rate is S[h₂(B/S)−h₂((D−C)/S)]. Both constants remain active starting at r. | Lean sets δ = (D−C)/S and u² = δ/(1−δ). It gives the same rate, positive masses on 00 and 11, and zero on both mixed words for r ≤ D < D₀. | Substituting δ recovers the printed formula. The Lean branches overlap at r, so the Lean theorem also supplies the reduced expression at the shared endpoint. |
| What Lean adds about the optimizer not classified | The two constants remain active for D_FS ≤ D < D₀. The paper explicitly singles out uniqueness for the biased zero-rate reproduction at D₀. | Throughout D_FS ≤ D < D₀, every minimizing joint has the explicit reproduction marginal ReducedPair.prior. The declaration also gives an optimal Gibbs joint for each branch. | Knowing the optimizing marginal determines its support. Specifying which words have positive mass alone does not determine their probabilities. The extra uniqueness concerns the marginal; several joint laws could in principle have that same marginal. |
| Variance on the reduced branch not classified | The classes 00, transitions, 11 have probabilities A, 2C, B. Their normalizers are A(1+u²)/S, u, B(1+u²)/S. | The checked normalizers have those same values. The two transition words each have source mass C and share the score −log₂ u up to a common shift. | Combining two equal-score outcomes adds their weights. This gives the same three-point variance, with no extra factor of two in its value. |
| At and beyond zero rate not classified | At D ≥ D₀ the rate and the variance with the chosen zero slope vanish. At D₀ a biased source has only its more frequent constant as a zero-rate reproduction. | Lean sets D₀ = min(p,q), u = 1 and Z ≡ 1. It gives a majority-constant optimizer and proves uniqueness of its marginal at the biased endpoint. | With u = 1 and Z = 1 the tilted score is zero. The uniqueness quantifier uses the endpoint cost budget 2D₀. |
Scope of the conclusion
To recover the paper, restrict the reduced rate and variance clause from r ≤ D < D₀ to r < D < D₀, keep the support conclusion from r onward, and retain the separate biased uniqueness clause at D₀. The additional optimizing witnesses and middle-branch uniqueness can then be omitted. The current atlas target is the stronger PersistentPairStatement; the audit does not separately check a corollary containing only the printed claims.
Paper theorem
For a stationary pair of arbitrary bias with ρ > 0, put A = P(00), B = P(11), C = P(01) = P(10), S = A + B, D₀ = min(π₀,π₁), and D_FS = (1 − √(1 − 4C))/2. For 0 ≤ D ≤ D_FS the rate per pair is R₂(2D) = H(A,C,C,B) − 2h₂(D) and V₂(2D) is the varentropy of (A,C,C,B). For D_FS < D < D₀ put δ = (D − C)/S and u = √(δ/(1 − δ)). Then R₂(2D) = S[h₂(B/S) − h₂(δ)]. The variance is Var(−log₂ Z) under input-class probabilities (A,2C,B) for 00, transitions, and 11, with respective normalizers (A(1 + u²)/S, u, B(1 + u²)/S). Precisely the two constants are active for D_FS ≤ D < D₀. At D₀ a biased source has only its more frequent constant as a zero-rate reproduction. For D ≥ D₀ the rate and the variance at the chosen zero slope are zero.
Paper lines 232–249 (statement). Supporting passages at 121–126, 129–149, 195–201, 209–215, 250–258.
Original manuscript passage
\begin{theorem}[Persistent two-symbol source]\label{thm:two}
Suppose $\rho>0$ and write $S=A+B$. The rate in bits per pair is
\begin{equation}
R_2(2D)=
\begin{cases}
H(A,C,C,B)-2\hx(D), &0\le D\le D_{\rm FS},\\
S[\hx(B/S)-\hx((D-C)/S)], &D_{\rm FS}<D<D_0,\\
0, &D\ge D_0 .
\end{cases} \label{eq:r2}
\end{equation}
On the first branch the variance is the varentropy of $(A,C,C,B)$. On the second branch put $\delta_B=(D-C)/S$ and $u=\sqrt{\delta_B/(1-\delta_B)}$. The variance $V_2(2D)$ is the variance of $-\log_2Z$ under the three class probabilities
\begin{equation}
(s_{00},s_{\rm tr},s_{11})=(A,2C,B),\qquad
(Z_{00},Z_{\rm tr},Z_{11})=\left(\frac{A(1+u^2)}{S},u,\frac{B(1+u^2)}{S}\right).
\label{eq:v2b}
\end{equation}
The constant reproduction words remain active for $D_{\rm FS}\le D<D_0$. For a biased source, the more frequent constant is the only zero-rate reproduction at $D_0$. At $D\ge D_0$ the zero supporting slope gives $V_2(2D)=0$.
\end{theorem}
\begin{proof}
Equation~\eqref{eq:slb} gives the first branch. For the restricted output alphabet $\{00,11\}$, transition inputs contribute $2C$ to the expected number of errors per pair. Conditional on a constant input, $11$ has probability $B/S$, and each wrong reproduction costs two errors. The conditional bit error allowance is therefore $(2D-2C)/(2S)=\delta_B$. Let $C_{\rm same}$ indicate that the input is constant. The chain rule $I(X;Y)=I(C_{\rm same};Y)+I(X;Y\mid C_{\rm same})$ bounds the rate from below by $S[\hx(B/S)-\hx(\delta_B)]$. The optimal Bernoulli channel on the constant inputs attains this bound if each input containing a flip independently draws from its reproduction marginal. Indeed, $Y$ is then independent of $C_{\rm same}$.
The Bernoulli backward channel at crossover $\delta_B$ has reproduction probabilities
\[
q_{00}=\frac{A-Bu^2}{S(1-u^2)},\qquad q_{11}=\frac{B-Au^2}{S(1-u^2)} .
\]
Equation~\eqref{eq:Z} gives \eqref{eq:v2b}. Both transition columns satisfy \eqref{eq:kkt} if $2Sx+C/x\le1$, where $x=u/(1+u^2)$. The two roots of $2Sx^2-x+C=0$ are $C/S$ and $1/2$. At the first loss $x=C/S$, and $x$ increases towards $1/2$ as $u$ increases. The two active masses stay positive until $\delta_B=\min(A,B)/S$, which is $D=D_0$. This proves optimality over all four possible reproduction words.
\end{proof}What Lean proved
Mathematical reading of the audited Lean statementLet p,q>0, p+q=1, 0<a,b<1, pa=qb and 1−a−b>0. The pair law has masses A=p(1−a) on 00, B=q(1−b) on 11, and C=pa on each mixed word. Put S=A+B, r=(1−√(1−4C))/2 and d₀=min(p,q). Then 0<r<d₀. Write h for binary entropy in bits and H(P) for pair entropy in bits. R is the minimum mutual information in bits per pair over joints with source P and expected Hamming cost ≤2D. In each case the stated Q and Z satisfy Z(x)=ΣᵧQ(y)u^{d(x,y)}, and the joint P(x)Q(y)u^{d(x,y)}/Z(x) attains R. The tilted variance is V=Var_P[2D log₂u−log₂Z(X)], using Lean’s totalized logarithm at zero. • For 0≤D≤r, u=D/(1−D) and Z(x)=(1+u)²P(x). R=H(P)−2h(D) and V=Var_P[−log₂P(X)]. In word order 00,11,01,10 the reproduction masses have common denominator (1−u)² and numerators A−2Cu+Bu², B−2Cu+Au², C(1+u²)−Su, C(1+u²)−Su. • For r≤D<d₀, let δ=(D−C)/S and u=√(δ/(1−δ)). Then R=S[h(B/S)−h(δ)]. Q has positive masses (A−Bu²)/(S(1−u²)) and (B−Au²)/(S(1−u²)) on 00 and 11 respectively, and vanishes on both mixed words. Every minimizing joint has this reproduction marginal. The normalizers on 00, the mixed words, and 11 are A(1+u²)/S, u, and B(1+u²)/S respectively. V is the variance of their negative base-2 logarithms with weights (A,2C,B). • For every D≥d₀, R=0, u=1, Z≡1 and V=0. A minimizing Q puts all mass on 00 if p≥q and on 11 otherwise. If p≠q, every nonnegative joint with source P, zero mutual information and cost ≤2d₀ has this same reproduction marginal.
ReducedPair/PaperStatement.lean lines 10–37 (PersistentPairStatement); FirstChangeStatement.lean lines 8–27 (BinaryModel); PairChannel.lean lines 11–23 (law, hamming, prior); ReducedPair.lean lines 9–12 (ReducedPair.prior, ReducedPair.Z); ReducedPair/RateStatement.lean lines 8–29 (majorityWord, MinimizesAt, RateAt, GibbsPoint, tiltedVariance); ReducedPair/Moments.lean lines 6–13,28–30 (entropy, logTwo, variance, classVariance)
Paper PDF · Lean source and verification evidence
Inspect the exact Lean statement and definitions
BlockHierarchy.PersistentPairStatement · ReducedPair/PaperStatement.lean L7
/-- Theorem 2. The rates are minima over all joint laws and are measured in
bits per pair. Each variance is evaluated with the stated optimal marginal
and the same Hamming kernel used to construct the channel. -/
def PersistentPairStatement : Prop :=
∀ m : BinaryModel, 0 < m.persistence →
let r := (1-Real.sqrt (1-4*m.C))/2
let d₀ := min m.p m.q
let S := m.A+m.B
0 < r ∧ r < d₀ ∧
(∀ D, 0 ≤ D → D ≤ r →
let u := D/(1-D)
let Z := fun x => (1+u)^2*m.source x
RateAt m.source D ((-mean m.source (fun x => Real.log (m.source x))-2*binaryEntropyNats D)/Real.log 2) ∧
GibbsPoint m.source (PairChannel.prior m.A m.B m.C u) D u Z ∧
tiltedVariance m.source D u Z = variance m.source (fun x => -logTwo (m.source x))) ∧
(∀ D, r ≤ D → D < d₀ →
let δ := (D-m.C)/S
let u := Real.sqrt (δ/(1-δ))
RateAt m.source D (S*(binaryEntropyNats (m.B/S)-binaryEntropyNats δ)/Real.log 2) ∧
GibbsPoint m.source (ReducedPair.prior m.A m.B u) D u (ReducedPair.Z m.A m.B u) ∧
(∀ w, 0 < ReducedPair.prior m.A m.B u w ↔ w.1=w.2) ∧
(∀ t J, MinimizesAt m.source t J D → t=ReducedPair.prior m.A m.B u) ∧
tiltedVariance m.source D u (ReducedPair.Z m.A m.B u) =
ReducedPair.classVariance m.A m.B m.C (-logTwo (m.A*(1+u^2)/S)) (-logTwo u)
(-logTwo (m.B*(1+u^2)/S))) ∧
(∀ D, d₀ ≤ D → RateAt m.source D 0 ∧
GibbsPoint m.source (pointMass (majorityWord m)) D 1 (fun _ => 1) ∧
tiltedVariance m.source D 1 (fun _ => 1) = 0) ∧
(m.p ≠ m.q → ∀ t L, (∀ x y, 0 ≤ L x y) → (∀ x, ∑ y, L x y=m.source x) →
(∀ y, ∑ x, L x y=t y) → jointCost L ≤ 2*d₀ → Channel.info m.source t L=0 →
t=pointMass (majorityWord m))BlockHierarchy.BinaryModel · FirstChangeStatement.lean L6
/-- Stationary probabilities and transition probabilities in Section 2. Flow balance means that the two off-diagonal word probabilities coincide. -/ structure BinaryModel where p : ℝ q : ℝ a : ℝ b : ℝ ppos : 0 < p qpos : 0 < q normalized : p+q=1 apos : 0 < a alt : a < 1 bpos : 0 < b blt : b < 1 balanced : p*a=q*b
BlockHierarchy.BinaryModel.A · FirstChangeStatement.lean L24
def A (m : BinaryModel) := m.p*(1-m.a)
BlockHierarchy.BinaryModel.B · FirstChangeStatement.lean L25
def B (m : BinaryModel) := m.q*(1-m.b)
BlockHierarchy.BinaryModel.C · FirstChangeStatement.lean L26
def C (m : BinaryModel) := m.p*m.a
BlockHierarchy.BinaryModel.a · FirstChangeStatement.lean L11
a : ℝ
BlockHierarchy.BinaryModel.b · FirstChangeStatement.lean L12
b : ℝ
BlockHierarchy.BinaryModel.mk · FirstChangeStatement.lean L8
structure BinaryModel where
BlockHierarchy.BinaryModel.p · FirstChangeStatement.lean L9
p : ℝ
BlockHierarchy.BinaryModel.persistence · FirstChangeStatement.lean L23
def persistence (m : BinaryModel) := 1-m.a-m.b
BlockHierarchy.BinaryModel.q · FirstChangeStatement.lean L10
q : ℝ
BlockHierarchy.BinaryModel.source · FirstChangeStatement.lean L27
def source (m : BinaryModel) := law m.A m.B m.C
BlockHierarchy.Channel.cost · FiniteChannel.lean L17
def cost (d J : X → Y → ℝ) : ℝ := ∑ x, ∑ y, J x y * d x y
BlockHierarchy.Channel.info · FiniteChannel.lean L13
/-- Mutual information in nats, expressed in terms of the joint mass and marginals. -/ noncomputable def info (P : X → ℝ) (q : Y → ℝ) (J : X → Y → ℝ) : ℝ := ∑ x, ∑ y, J x y * (Real.log (J x y) - Real.log (P x) - Real.log (q y))
BlockHierarchy.GibbsPoint · ReducedPair/RateStatement.lean L22
/-- At an interior operating point, all active columns realize the selected
Gibbs channel. The normalizer and tilt use this same marginal and multiplier. -/
def GibbsPoint (P q : Word → ℝ) (D u : ℝ) (Z : Word → ℝ) : Prop :=
(∀ x, Z x = ∑ y, q y*u^hamming x y) ∧
MinimizesAt P q (fun x y => q y*(P x*u^hamming x y/Z x)) DBlockHierarchy.MinimizesAt · ReducedPair/RateStatement.lean L12
/-- Achievability and the matching converse against arbitrary joint laws.
The budget in this definition need not be saturated at zero rate. -/
def MinimizesAt (P q : Word → ℝ) (J : Word → Word → ℝ) (D : ℝ) : Prop :=
(∀ x y, 0 ≤ J x y) ∧ (∀ x, ∑ y, J x y = P x) ∧ (∀ y, ∑ x, J x y = q y) ∧
jointCost J ≤ 2*D ∧ ∀ t L, (∀ x y, 0 ≤ L x y) → (∀ x, ∑ y, L x y = P x) →
(∀ y, ∑ x, L x y = t y) → jointCost L ≤ 2*D → Channel.info P q J ≤ Channel.info P t LBlockHierarchy.PairChannel.Word · PairChannel.lean L9
abbrev Word := Bool × Bool
BlockHierarchy.PairChannel.hamming · PairChannel.lean L16
def hamming (x y : Word) : ℕ := (if x.1 = y.1 then 0 else 1) + (if x.2 = y.2 then 0 else 1)
BlockHierarchy.PairChannel.jointCost · PairChannel.lean L67
def jointCost := Channel.cost (fun x y : Word => (hamming x y : ℝ))
BlockHierarchy.PairChannel.law · PairChannel.lean L11
def law (A B C : ℝ) : Word → ℝ | (false,false) => A | (true,true) => B | _ => C
BlockHierarchy.PairChannel.prior · PairChannel.lean L21
noncomputable def prior (A B C u : ℝ) : Word → ℝ :=
law ((A-2*C*u+B*u^2)/(1-u)^2) ((B-2*C*u+A*u^2)/(1-u)^2)
((C*(1+u^2)-(A+B)*u)/(1-u)^2)BlockHierarchy.RateAt · ReducedPair/RateStatement.lean L19
def RateAt (P : Word → ℝ) (D bits : ℝ) : Prop := ∃ q J, MinimizesAt P q J D ∧ Channel.info P q J / Real.log 2 = bits
BlockHierarchy.ReducedPair.Z · ReducedPair.lean L12
noncomputable def Z (A B u : ℝ) := law (A*(1+u^2)/(A+B)) (B*(1+u^2)/(A+B)) u
BlockHierarchy.ReducedPair.classVariance · ReducedPair/Moments.lean L28
def classVariance (A B C l₀ lₜ l₁ : ℝ) := let mean := A*l₀+2*C*lₜ+B*l₁ A*(l₀-mean)^2+2*C*(lₜ-mean)^2+B*(l₁-mean)^2
BlockHierarchy.ReducedPair.prior · ReducedPair.lean L8
/-- Reproduction probabilities with only the constant words active. -/ noncomputable def prior (A B u : ℝ) : Word → ℝ := law ((A-B*u^2)/((A+B)*(1-u^2))) ((B-A*u^2)/((A+B)*(1-u^2))) 0
BlockHierarchy.binaryEntropyNats · ReducedPair/Moments.lean L6
noncomputable def binaryEntropyNats (p : ℝ) := -(p*Real.log p+(1-p)*Real.log (1-p))
BlockHierarchy.logTwo · ReducedPair/Moments.lean L8
noncomputable def logTwo (p : ℝ) := Real.log p / Real.log 2
BlockHierarchy.majorityWord · ReducedPair/RateStatement.lean L10
noncomputable def majorityWord (m : BinaryModel) : Word := if m.q ≤ m.p then (false,false) else (true,true)
BlockHierarchy.mean · ReducedPair/Moments.lean L10
noncomputable def mean {X : Type*} [Fintype X] (P f : X → ℝ) := ∑ x, P x*f xBlockHierarchy.pointMass · ReducedPair/RateStatement.lean L8
def pointMass (w : Word) (y : Word) : ℝ := if y=w then 1 else 0
BlockHierarchy.tiltedVariance · ReducedPair/RateStatement.lean L28
noncomputable def tiltedVariance (P : Word → ℝ) (D u : ℝ) (Z : Word → ℝ) := variance P (fun x => 2*D*logTwo u-logTwo (Z x))
BlockHierarchy.variance · ReducedPair/Moments.lean L12
noncomputable def variance {X : Type*} [Fintype X] (P f : X → ℝ) :=
∑ x, P x*(f x-mean P f)^2Next action · Author (optional)
Review the comparison whenever convenient.
To respond, ask your agent to open the local review dashboard for this paper.