# Erratum to the Technical Report (arXiv:2607.13531v2) Report: Ho-Lin Chen and Xiang Huang, *Ripple: An Open, AI-Formalized Lean 4 Framework for Computing with CRNs*, `arXiv:2607.13531v2`, revised 21 July 2026 (the repository copy is [`Ripple-DNA32.pdf`](Ripple-DNA32.pdf)). This note corrects statements of that report about large-population-protocol (LPP) computability and about the class-level computability predicates, and records four further claims (Kurtz's theorem, the stochastic CRN simulation, and two population-protocol results) that the cited declarations do not establish, with their status in releases `r2026.11.1` to `r2026.11.6`. The report PDF is unchanged. No repository commit was recorded for v2. The definitions quoted below are identical at the last public commit before the v2 revision date (`e4f5d796`, 20 July 2026) and at release `r2026.08`. ## What was wrong At the v2 snapshot, four Lean predicates were weaker than their names and than the papers they formalize: - `IsCRNComputable α`, `IsRealTimeComputable α` and `IsPolyTimeComputable α n` (`Ripple/Core/BoundedTime.lean`) asked for a `BoundedTimeComputable` record over the semantic `PIVP` structure, whose vector field is an arbitrary function `(Fin d → ℝ) → (Fin d → ℝ)` and whose initial value is an arbitrary real vector. They therefore held for **every real number**: the one-variable system `y' = 0`, `y(0) = α` is bounded and computes `α` with any modulus. The repository proved exactly this as `realtime_const` (`∀ c : ℝ, IsRealTimeComputable c`). - `IsLPPComputable ν` (`Ripple/LPP/Defs.lean`) asked for a trajectory on the probability simplex with a rational initial value, solving an ODE whose vector field was an unrestricted function. It therefore held for **every `ν ∈ [0, 1]`**: the linear field `x₁' = ν − x₁`, `x₂' = x₁ − ν` from `x(0) = (1, 0)` stays on the simplex and has `x₁(t) → ν`. (Values outside `[0, 1]` are excluded by the simplex alone.) Definition 9 of the large-population protocol paper (Huang and Huls, DNA 28) requires the field to be the balance equation of a population protocol. The structure `CertifiedBoundedTimeComputable`, which §3.2 of the report names as the single carrier of "computes α", was **not** affected: it required a `PolyPIVP`, that is a vector field of polynomials with rational coefficients and a rational initial value. The constructions `catalanCBTC`, `piCBTC`, `ln2CBTC` and `invECBTC` were certified objects of that type. ## Report statements not established by the cited declarations Each declaration below concluded `∃ _ : IsLPPComputable α, True`, which at the snapshot follows from `0 ≤ α ≤ 1` alone. Its proof built a genuine compilation, but its statement did not record it, so `#print axioms` on it did not certify what the report says. - §3.4 (p. 6): "`bounded_crn_is_lpp_computable_unconditional` … verified clean: every bounded certified PIVP compiles into an LPP computing the same number", and stage (iv) "producing the `IsLPPComputable` witness". - §3.4 (p. 6): the corollary that every algebraic `α ∈ [0, 1]` is LPP-computable (`algebraic_lpp_computable`). - §6.1 (p. 10): "The formalized compilation theorem (§3.4) … proves the compilation unconditionally for every bounded certified PIVP". The gap in the published proof that §6.1 describes, and the saturating low-pass filter that repairs it, are correct as mathematics; the Lean statement cited for the repaired theorem was the one above. - §3.3 (p. 6): "This is the theorem `catalan_is_lpp_computable` …, verified clean". The certified PIVP for Catalan's constant (`catalanCBTC`, with `|G(t) − G| ≤ (t + 1) e^{-t}`) was correct; the LPP conclusion was not established. - §8 (p. 19): "`π/4 = arctan 1` is re-formalized axiom-free as `pi_quarter_is_lpp_computable`". The same applies; the certified PIVP `piCBTC` was correct. The abstract and §2 describe "a single Lean definition of real-time CRN computation" and "the class of reals it captures". The class-level predicate exported under the name `IsRealTimeComputable` contained every real number. For the elementary constants of §3.3, the declarations `euler_is_realtime`, `pi_quarter_is_realtime`, `pi_is_realtime`, `ln2_is_realtime` and `euler_gamma_is_realtime` concluded that predicate; the certified constructions listed above existed for `π/4`, `ln 2` and `1/e`, but not for `e` and `γ`, whose systems were given only in the semantic form. At the snapshot no declaration outside `Ripple/Core`, `Ripple/DualRail`, `Ripple/LPP` and `Ripple/Number` mentioned these predicates. The CTMC and Kurtz layers (§3.5), the majority formalizations (§4), the Turing-completeness theorems (§5), the Cassels descent (§6.2), the Frobenius and modular-forms work (§§7–8) and the `Tri` library are not affected. ## Other statements of the report that the cited formalization does not establish A review of the headline declarations for release `r2026.11` found the following. Each declaration below is the same at the v2 snapshot (under its former name, given in parentheses) and in `r2026.11`; they are recorded here so that the report is not read as claiming them. Releases `r2026.11.1` to `r2026.11.7` delete or restate them; the status lines of each item say which of the report's claims are now established and which remain open (details in [`OPEN_PROBLEMS.md`](../OPEN_PROBLEMS.md) §6). - **Kurtz's theorem, its three versions** (abstract, §2, Figure 1, §3.5: "Three sorry-free versions of the limit are proved"). The almost-sure rate `kurtz_strong_approximation` takes as its hypothesis `h_as_bound` the eventual almost-sure bound `(√N / log N) · sup_{t ≤ T} ‖X̄ᴺ(t) − x(t)‖ ≤ K`, from which its conclusion follows. The CLT-scale bound `kurtz_clt_second_moment` fixes `N` before its constant `C` and carries the Grönwall-type hypothesis `h_gronwall`. Both are reductions, not proofs of the limit theorems. The weak version (convergence in probability), `kurtz_mean_field_convergence`, assumes the estimate that makes the convergence a squeeze. *Status in `r2026.11.1`:* the law of large numbers on `[0, T]` (Kurtz 1970, Theorem 3.1) is established for canonical density-dependent chains, `kurtz_finite_horizon`; the former statement is renamed `tendsto_sup_err_of_gronwall_markov`. The almost-sure and CLT versions remain open; `kurtz_strong_approximation` and `kurtz_clt_second_moment` are deleted. *Status in `r2026.11.2`:* `kurtz_finite_horizon` takes the initial condition of Kurtz's theorem (random initial states whose densities converge in probability to `x(0)`). *Status in `r2026.11.4`:* the central limit theorem is established for finite-dimensional distributions (`kurtz_finite_dimensional_clt`), and the law of large numbers with an exponential tail (`kurtz_finite_horizon_exp_tail`). *Status in `r2026.11.6`:* the almost-sure strong approximation of Kurtz (1978) is established under the paper's hypotheses: Lemma 3.1 (`kurtz_lemma_three_one`), Theorem 3.3(a), `O(log N / N)` approximation by the diffusion (`kurtz_theorem_three_three_a`), and Theorem 4.4, `O(log N / √N)` approximation of `√N (X_N − x)` by a Gaussian process (`kurtz_theorem_four_four`). The process-level central limit theorem remains open. - **Bounded-error stochastic simulation in Soloveichik–Cook–Winfree–Bruck** (§5, layer (ii), "bounds the per-step error probability"; "arbitrarily small error probability"). The per-step bound used by `scwb_stochastic_bound` (formerly `scwb_stochastic_bound_unconditional`) is `statePairTransferEpsilonBound := 1`, so its conclusion bounds an error probability by `n · 1`. The version with a small per-step error, `scwb_stochastic_bound_of_enabled_of_clock` (formerly `scwb_stochastic_bound_conditional`), carries hypotheses that are not discharged; one of them cannot hold for two or more steps. Layer (i) is also weaker than stated: the `PaperTheorems.exists_*` reachability statements hold for every pair of states (through the network `∅ ⇄ X`), and the state-pair transfer network of `PaperTheorems.statePairTransfer_*` does not depend on the machine, so the four-phase development shows that a correct execution exists, not that a network fixed by the machine simulates it. *Status in `r2026.11.1`:* the error-bounded simulation theorems (SCWB Theorems 3.1, 3.2 and 4.1) remain open, and the statements above are deleted. SCWB Theorem 4.2 (coverability is decidable) is established, now as computable instances (`Decidability.petriCoverabilityDecidable`, `networkCoverabilityDecidable`). *Status in `r2026.11.2`:* SCWB Theorem 3.1, the bounded-error simulation of register machines by a network fixed by the machine, is established (`Clocked.scwb_theorem_3_1`). Theorems 3.2 and 4.1 (Turing machines) remain open. *Status in `r2026.11.3`:* SCWB Theorem 3.2 is established for a repaired version of the network of the paper's Figure 3.2, which fails as drawn (`ClockedCTM.scwb_theorem_3_2`; [`FIX3-SCWB-T32.md`](../docs/audit/FIX3-SCWB-T32.md)). A statement audit ([`SCWB-T31-T32-AUDIT.md`](../docs/audit/SCWB-T31-T32-AUDIT.md)) qualifies both Theorem 3.1 (as released in `r2026.11.2`) and Theorem 3.2: their success events are safety predicates, "no wrong step before the target", and do not assert that the target step is reached, which the paper's "completes the computation" includes. The probabilities are those of the jump chain of the mass-action process, and the expected time is the expected sum of mean holding times along it. Adding completion is in progress; Theorem 4.1 remains open. *Status in `r2026.11.4`:* the success events of Theorems 3.1 and 3.2 include completion (`Clocked.Completes`, `ClockedCTM.Reaches`), and both theorems also hold on the continuous-time chain with exponential holding times (`scwb_theorem_3_1_timed`, `scwb_theorem_3_2_timed`). *Status in `r2026.11.5`:* SCWB Theorem 4.1 is established for an explicit network that depends only on the machine (`ClockedCTM.Unbounded.scwb_theorem_4_1`; [`FIX3-SCWB-T41.md`](../docs/audit/FIX3-SCWB-T41.md)): the initial count of the accuracy species gives error at most `1344/(i₀ − 1)² ≤ δ` over the unbounded run for all inputs of length at most `s`, with an explicit expected time per simulated step. - **State count of the Doty et al. exact-majority protocol** (§4, "the O(log n) state-count bound"). `state_count_poly_bound` proves `|Λ| ≤ C · (K + 1) · (L + 1)^4` with `L = ⌈log₂ n⌉` and `K` fixed, that is O(log⁴ n) states, not O(log n). *Status in `r2026.11.1`:* unchanged and open, together with the O(log n) stabilization time; stable correctness is established (`ExactMajority.stable_majority_correct`). *Status in `r2026.11.4`:* the O(log n) state count is established on a compact state type (`Compact.compact_state_count_clog`), with stable correctness transported (`Compact.compact_stable_majority_correct_clog`). *Status in `r2026.11.6`:* the O(log n) stabilization time is established, with high probability and in expectation, without hypotheses (`DotyStabilizationTime.doty_stabilization_time`, for every population size `n ≥ 5·2^(2^41)`). Theorem 3.1 of Doty et al. is now established in full. *Status in `r2026.11.7`:* the time bound is renamed `StabilizationTime.exact_majority_stabilization_time` and holds for every `n ≥ 5·2^(2^23)` with smaller constants, and Theorem 3.1 is one theorem about one protocol (`TheoremThreeOne.exact_majority_theorem_three_one`: the compact protocol's state count, stable correctness and its own stabilization time). *Errata to the paper of Doty et al.* (arXiv:2106.10201v2; page numbers of its PDF), found during the formalization; the full note for the authors is [`docs/doty/ERRATA.pdf`](../docs/doty/ERRATA.pdf). None of them affects Theorem 3.1. 1. Lemma 5.3 (p. 26), large gaps: false as stated. The bias sum of the Main agents is the gap `g`, so if `|g| > |M|` (which includes every input with `|g| > 2n/3`, in particular the unanimous input) the last Main agent to leave Phase 1 has `|bias| ≥ 2` and the population reaches the Phase-10 backup with probability 1; the check `|bias| > 1` of the Phase-2 Init (p. 18) is therefore not a low-probability event. For `0.5|M| < |g| ≤ |M|` the cited convergence to `{0, 1, 2}` does not by itself exclude bias 2. The output stays correct; the expected-time argument (p. 46) needs one extra step, that the backup stabilizes in `O(log n)` parallel time when the gap is large, which holds (and is proved in Ripple). 2. Theorem 6.9 (p. 33): the conversion from all-clock parallel time to global parallel time multiplies by `1/c²`; the correct factor is `(n − 1)/(|C| − 1) ~ 1/c`. The upper bound stays valid; the lower bound on the length of a synchronous hour shrinks by a factor `c` and is false as stated for small `c`. Theorem 6.12 (p. 35) and Lemma 6.14 (p. 36) then lack a proof for `k = 45` minutes per hour; `k ≥ 121` (for example `k = 128`) restores them. Ripple uses `k = 256`. 3. Lemma 6.7 (p. 31): the displayed integrand `(1 + s)²` should be `(0.1 + s)²`, and the lemma needs the bound `< 0.1`, not `≤ 0.45`; with the intended integrand the value is about `0.0985`. 4. Section 6 (p. 27 and the hour induction): the clock analysis starts from a configuration with all Clock agents at minute 0 and the whole population in Phase 3. Phase 3 is entered by epidemic over `Θ(log n)` time, and such a configuration occurs only with probability `e^{−Ω(n)}`. The argument has to start at the first entry into Phase 3 (a stopping time); the conclusions hold with changed constants. 5. Lemma 6.10 (p. 33): the Azuma step uses `end_h = O(1)`, but `end_h` is measured from the start of Phase 3 and is `Θ(log n)` for the last hours; the bound is `exp(−Ω(n / log n))`, still a very high probability. 6. Small slips: the hour of a Clock agent is `⌈minute/k⌉` in the text (p. 18) and `⌊minute/k⌋` in the pseudocode and the proofs (the floor is meant); in the proof of Lemma 7.5 (p. 45) `|B_{−(l+2)}| ≤ 0.008|M|` should read `|B_{−(l+1)}|`; in the proof of Theorem 3.1 (p. 46) "after Phase 7 and Phase 7" should read "Phase 7 and Phase 8", and "the expected stabilization time is `O(n log n)`" should read `O(log n)`. The note for the authors also lists three pseudocode slips (Phase 7 gap-2 cancel, the Phase 8 guard, the phase update after an Init) and further typographical items. - **Self-stabilizing exact majority of Kanaya et al.** (§4, "Ripple formalizes the paper's four theorems: … the space lower bound …, convergence, and the time upper bound"). The time upper bound `PEM_expected_parallel_time_linear_param` has a hypothesis that no configuration satisfies (its source file says so); the variant `PEM_expected_parallel_time_from_phase_bounds` carries four phase-time hypotheses. The space lower bound `space_lower_bound` assumes that the transition function ignores the input opinions (`hIO`). The impossibility theorem and the unconditional convergence theorem for `n ≥ 4` (`P_EM_solves_SSEM_linear`, formerly `P_EM_solves_SSEM_final`) are as the report states. *Status in `r2026.11.1`:* the space lower bound is established without `hIO` (`space_lower_bound`; premises silence and self-stabilization), the time lower bound of Theorem 3 is established in expectation and with high probability (`time_lower_bound_omega_n_expected`, `time_lower_bound_whp`), and `P_EM` is silent SSEM for `n ≥ 4` (`P_EM_solves_silent_SSEM_linear`). The time upper bound and the O(n) state count of Theorem 4 remain open; `PEM_expected_parallel_time_linear_param` is deleted. *Status in `r2026.11.2`:* the O(n) state count is established, on a finite role-indexed state type (`P_EM_fin_silent_SSEM_states`) and for the papers' parameters (`card_PEMPaperFin_le`). The time upper bound remains open; of its inputs, Burman et al. Lemma 3.2 is established (`P_EM_paper_propagation`). *Status in `r2026.11.3`:* the time upper bound is established for the paper instance of `P_EM` (`P_EM_paper_thm4_time`: for `n ≥ 1608`, expected parallel time to silence at most `5215 n` from every configuration, and silence within `4172 n² ⌈log₂ n⌉` interactions except with probability at most `1/n`), with Burman et al. Lemmas 3.3–3.4 in corrected form; statement audit [`KANAYA-THM4-AUDIT.md`](../docs/audit/KANAYA-THM4-AUDIT.md). All parts of Theorem 4 are now established for this instance. ## Corrected statements Release `r2026.11` redefines the predicates as in the papers and proves the statements above for the new definitions: - `IsCRNComputable α` is `∃ d, Nonempty (CertifiedBoundedTimeComputable d α)` (Definitions 2.1 and 2.3 of the bounded analog complexity paper); `IsRealTimeComputable` and `IsPolyTimeComputable` add a linear or polynomial bound on the modulus of such a witness. `IsRealTimeComputable` equals the real-time GPAC class `R_RTGPAC` of Huang, Klinge and Lathrop (DNA 25): `isRealTimeComputable_iff_rtgpac`. - `IsLPPComputable ν` is `Nonempty (LPPComputation ν)`, the deterministic clause of Definition 9 (a protocol `δ : Q² → Q²`, its balance equation, a rational initial value on the simplex and a marked set whose mass tends to `ν`); `IsPLPPComputable` is the probabilistic clause, and the two agree by Theorem 17 (`isLPPComputable_iff_isPLPPComputable`). - `bounded_crn_is_lpp_computable`: for `0 ≤ α ≤ 1`, a `CertifiedBoundedTimeComputable d α` with a `PolyCRNDecomposition` gives `IsLPPComputable α`. It is the former `bounded_crn_is_lpp_computable_unconditional` under the new predicate, proved through the compiler `isLPPComputable_of_certified`, which uses the saturating filter of §6.1. - `algebraic_lpp_computable`, `catalan_is_lpp_computable` and `pi_quarter_is_lpp_computable` conclude the new `IsLPPComputable`. - `euler_is_realtime`, `pi_quarter_is_realtime`, `pi_is_realtime`, `ln2_is_realtime` and `euler_gamma_is_realtime` conclude the new `IsRealTimeComputable`, with certified ℚ-polynomial systems for `e` and `γ`. - `realtime_const` is deleted (it is false for the new predicate); its true form is `realtime_rat_const` (`q : ℚ`). `#print axioms` on each of these reports only `propext`, `Classical.choice` and `Quot.sound`. The complete list of restated, deleted and added declarations is [`docs/refactor/STATEMENT-CHANGES.tsv`](../docs/refactor/STATEMENT-CHANGES.tsv); the release notes for `r2026.11` explain the change.