Proof Atlas.

arXiv:2603.07435v4 · local manuscript and PDF · prop:rec

Full-support threshold

Automated comparison found no discrepancy

How the statements compare

The recurrence, its stopping rule and Gray’s limiting distortion agree after shifting the prefix index by one.

Case-by-case comparison
CasePaperChecked Lean statementWhy
Prefix and recursion
not classified
H₁ is the maximum for the empty prefix. While the preceding maxima are below z, the next maximum is ρ(1−zH)/(z−H).Lean numbers the empty prefix 0 and proves the same update when every maximum through the current index is strictly below z.A prefix with n symbols corresponds to paper index i=n+1. With that shift the initial value is zero and the same denominator z−H stays positive at every update.
Feasibility and the limiting threshold
not classified
Earlier inequalities are strict; the last allows equality. Finite-block thresholds decrease to D_c.At length n+1 the formal test is strict for j<n and weak for j=n. The threshold sequence is nonincreasing and converges to both displayed expressions for Gray’s value.The final equality is allowed because no further update divides by z−H. The sequence characterizes feasible distortions at each length, so its limit concerns the same thresholds.

Scope of the conclusion

The claim uses positive block lengths and 0 < D,p < 1/2. Here “decrease” is read as nonincreasing; the Lean statement establishes no strict drop at every successive length.

Paper theorem

For a stationary symmetric chain with 0 < p < 1/2, 0 < D < 1/2, and block length K ≥ 1, put ρ = 1 − 2p and z = 1 − 2D. Let Hᵢ be the largest absolute normalized signed moment of the next spin among positive-mass reproduction prefixes of length i − 1. The empty prefix gives H₁ = 0. While Hᵢ < z, Hᵢ₊₁ = ρ(1 − zHᵢ)/(z − Hᵢ). The backward Bernoulli(D) channel is feasible exactly when Hᵢ < z for every i < K and H_K ≤ z. The finite-block full-support thresholds decrease to Gray’s critical distortion D_c = (1 − 2√ρ/(1 + ρ))/2 = (1 − √(1 − (p/(1 − p))²))/2.

Paper lines 419–430 (statement). Supporting passages at 412–418, 431–433.

Original manuscript passage
\begin{proposition}[Full-support threshold]\label{prop:rec}
Let $H_i$ be the largest $|\mu|$ over positive-mass reproduction prefixes of length $i-1$. The empty prefix gives $H_1=0$. While $H_i<z$,
\begin{equation}
 H_{i+1}=\rho\frac{1-zH_i}{z-H_i}.                             \label{eq:rec}
\end{equation}
The backward Bernoulli$(D)$ channel is feasible exactly when $H_i<z$ for $i<K$ and $H_K\le z$. The finite-block thresholds decrease to Gray's critical distortion \cite{gray70,jalali}
\begin{equation}
 D_c=\frac12\left(1-\frac{2\sqrt\rho}{1+\rho}\right)
     =\frac12\left(1-\sqrt{1-\left(\frac p{1-p}\right)^2}\right).
                                                                    \label{eq:Dc}
\end{equation}
\end{proposition}

What Lean proved

Mathematical reading of the audited Lean statement

Let 0<p<1/2 be the flip probability of a stationary symmetric binary Markov chain, with equiprobable initial bits, and put ρ=1−2p. Fix 0<D<1/2 and z=1−2D. Write σ(true)=1 and σ(false)=−1. For a length-n word y define Wᵧ=∏ᵢ[(1+σ(Xᵢ)σ(yᵢ)/z)/2]. Its inverse mass is M(y)=E[Wᵧ]. Its normalized moment is μ(y)=E[σ(Xₙ₊₁)Wᵧ]/M(y), indexing visited spins from 1. A length K is backward-feasible if some nonnegative reproduction probability law on K-bit words, passed through K independent bit-flip channels of crossover D, gives exactly the Markov source law on K-bit words. For each such D there is a sequence H indexed from zero. For every n, Hₙ is the attained maximum of |μ(y)| over length-n words with M(y)>0, and H₀=0. If Hⱼ<z for every j≤n then Hₙ₊₁=ρ(1−zHₙ)/(z−Hₙ). For each n≥0, backward feasibility at length n+1 is equivalent to M(y)≥0 for every word of that length. It is also equivalent to Hⱼ<z for every j<n together with Hₙ≤z. Let g=(1−2√ρ/(1+ρ))/2. Then g=(1−√(1−(p/(1−p))²))/2. For this p there is a single nonincreasing sequence dₙ∈[0,1/2] such that for every n≥0 and every 0<D<1/2, length n+1 is backward-feasible exactly when D≤dₙ. As n tends to infinity, dₙ tends to g.

BlockHierarchy/RecurrenceStatement.lean lines 7–38 (wordSum, expectFrom, markovExpect, pathLaw, invWeight, backWeight, wordWeight, mass, firstMoment, moment); BlockHierarchy/RecurrenceStatement.lean lines 40–55 (InverseNonnegative, BackwardFeasible, MaximumAt, grayD); BlockHierarchy/RecurrenceStatement.lean lines 60–72 (RecurrenceStatement); BlockHierarchy/RecurrenceExtrema.lean lines 7,58 (peak, spin); BlockHierarchy/Three/Classes.lean lines 22 (step)

Paper PDF · Lean source and verification evidence

Inspect the exact Lean statement and definitions
BlockHierarchy.Recurrence.RecurrenceStatement · BlockHierarchy/RecurrenceStatement.lean L57
/-- Proposition 5, with a common sequence of upper endpoints for all finite lengths.
The K=1 endpoint is allowed at 1/2. The source and inverse-channel expectations use
the stationary symmetric Markov law on actual binary words. -/
def RecurrenceStatement : Prop :=
  ∀ p : ℝ, 0 < p → p < 1/2 →
    let ρ := 1-2*p
    (∀ D : ℝ, 0 < D → D < 1/2 →
      let z := 1-2*D
      ∃ H : ℕ → ℝ, (∀ n, MaximumAt p z n (H n)) ∧ H 0=0 ∧
        (∀ n, (∀ j ≤ n, H j < z) → H (n+1)=peak ρ z (H n)) ∧
        (∀ n, BackwardFeasible p D (n+1) ↔ InverseNonnegative p z (n+1)) ∧
        (∀ n, BackwardFeasible p D (n+1) ↔ (∀ j<n, H j < z) ∧ H n ≤ z)) ∧
    grayD p=(1-Real.sqrt (1-(p/(1-p))^2))/2 ∧
    ∃ d : ℕ → ℝ, (∀ n, 0 ≤ d n ∧ d n ≤ 1/2) ∧ Antitone d ∧
      (∀ n D, 0 < D → D < 1/2 → (BackwardFeasible p D (n+1) ↔ D ≤ d n)) ∧
      Filter.Tendsto d Filter.atTop (nhds (grayD p))
BlockHierarchy.Recurrence.BackwardFeasible · BlockHierarchy/RecurrenceStatement.lean L43
/-- A genuine reproduction probability law pushed through K independent backward
Bernoulli(D) channels has exactly the given K-symbol Markov source marginal. -/
def BackwardFeasible (p D : ℝ) (K : ℕ) : Prop :=
  ∃ q : List Bool → ℝ, (∀ y, y.length=K → 0 ≤ q y) ∧ wordSum K q=1 ∧
    ∀ x, x.length=K → wordSum K (fun y => q y*wordWeight (backWeight D) x y)=pathLaw p x
BlockHierarchy.Recurrence.InverseNonnegative · BlockHierarchy/RecurrenceStatement.lean L40
def InverseNonnegative (p z : ℝ) (K : ℕ) : Prop :=
  ∀ y : List Bool, y.length=K → 0 ≤ mass p z y
BlockHierarchy.Recurrence.MaximumAt · BlockHierarchy/RecurrenceStatement.lean L49
/-- Index n corresponds to the paper's H_(n+1). -/
def MaximumAt (p z : ℝ) (n : ℕ) (H : ℝ) : Prop :=
  IsGreatest {h | ∃ y : List Bool, y.length=n ∧ 0 < mass p z y ∧ h=|moment p z y|} H
BlockHierarchy.Recurrence.backWeight · BlockHierarchy/RecurrenceStatement.lean L24
noncomputable def backWeight (D : ℝ) (x y : Bool) := if x=y then 1-D else D
BlockHierarchy.Recurrence.expectFrom · BlockHierarchy/RecurrenceStatement.lean L11
/-- Finite Markov expectation starting at a specified spin. The first argument of the
observable records the visited word; the second is the next spin after that word. -/
noncomputable def expectFrom (p : ℝ) (a : Bool) : ℕ → (List Bool → Bool → ℝ) → ℝ
  | 0, f => f [] a
  | n+1, f => ∑ b : Bool, Three.step p a b * expectFrom p b n (fun xs t => f (a::xs) t)
BlockHierarchy.Recurrence.firstMoment · BlockHierarchy/RecurrenceStatement.lean L35
noncomputable def firstMoment (p z : ℝ) (ys : List Bool) :=
  markovExpect p ys.length (fun xs t => spin t * wordWeight (invWeight z) xs ys)
BlockHierarchy.Recurrence.grayD · BlockHierarchy/RecurrenceStatement.lean L53
noncomputable def grayD (p : ℝ) :=
  let ρ := 1-2*p
  (1-2*Real.sqrt ρ/(1+ρ))/2
BlockHierarchy.Recurrence.invWeight · BlockHierarchy/RecurrenceStatement.lean L23
noncomputable def invWeight (z : ℝ) (x y : Bool) := (1+spin x*spin y/z)/2
BlockHierarchy.Recurrence.markovExpect · BlockHierarchy/RecurrenceStatement.lean L17
noncomputable def markovExpect (p : ℝ) (n : ℕ) (f : List Bool → Bool → ℝ) :=
  (∑ a : Bool, expectFrom p a n f)/2
BlockHierarchy.Recurrence.mass · BlockHierarchy/RecurrenceStatement.lean L32
noncomputable def mass (p z : ℝ) (ys : List Bool) :=
  markovExpect p ys.length (fun xs _ => wordWeight (invWeight z) xs ys)
BlockHierarchy.Recurrence.moment · BlockHierarchy/RecurrenceStatement.lean L38
noncomputable def moment (p z : ℝ) (ys : List Bool) := firstMoment p z ys / mass p z ys
BlockHierarchy.Recurrence.pathLaw · BlockHierarchy/RecurrenceStatement.lean L20
noncomputable def pathLaw (p : ℝ) (x : List Bool) :=
  markovExpect p x.length (fun xs _ => if xs=x then 1 else 0)
BlockHierarchy.Recurrence.peak · BlockHierarchy/RecurrenceExtrema.lean L7
noncomputable def peak (ρ z x : ℝ) := ρ*((1-z*x)/(z-x))
BlockHierarchy.Recurrence.spin · BlockHierarchy/RecurrenceExtrema.lean L58
def spin (b : Bool) : ℝ := if b then 1 else -1
BlockHierarchy.Recurrence.wordSum · BlockHierarchy/RecurrenceStatement.lean L6
/-- Sum over all binary words of a specified length, in chronological order. -/
def wordSum : ℕ → (List Bool → ℝ) → ℝ
  | 0, f => f []
  | n+1, f => ∑ b : Bool, wordSum n (fun xs => f (b::xs))
BlockHierarchy.Recurrence.wordWeight · BlockHierarchy/RecurrenceStatement.lean L26
/-- Tensor product of bitwise factors on equally long words. -/
noncomputable def wordWeight (f : Bool → Bool → ℝ) : List Bool → List Bool → ℝ
  | [], [] => 1
  | x::xs, y::ys => f x y * wordWeight f xs ys
  | _, _ => 0
BlockHierarchy.Three.step · BlockHierarchy/Three/Classes.lean L22
def step (p : ℝ) (a b : Bool) := if a = b then 1-p else p

Next action · Author (optional)
Review the comparison whenever convenient.

To respond, ask your agent to open the local review dashboard for this paper.