⊢mathematics.distributed.systems
Proof Tree / Coding & Boolean / Deletion, Edit & Permutation Codes / open-algorithmic-information-kolmogorov-memory
KERNEL VERIFIED · 0 WARNINGS Coding & Boolean · Deletion, Edit & Permutation Codes Initiated by Arthur Collé 4/4 verified files · ⊢ 129 theorems

Algorithmic Information Theory, Constructive Kraft–Chaitin $\Omega$, Exact Solomonoff Telescoping, Krichevsky–Trofimov MDL Phase Transitions & Sharp Levin Universal Search

A 4-module Lean 4 formalization establishing sharp non-asymptotic foundations of Kolmogorov Complexity, Solomonoff Universal Prediction, MDL vs. Memorization Phase Transitions & Levin Universal Search: (1) Prefix Codes, Constructive Kraft Converse & Chaitin $\Omega_U$ (PrefixCodesKolmogorovChaitin.lean: integer/countable Kraft–McMillan, Constructive Dyadic Kraft Converse, Elias-gamma prefix code & additive invariance, factor-2 sharper prefix-vs-plain incompressibility $2^{k-1}$ vs. $2^k-1$, universal $\lceil\log_2 N\rceil$ gap, & Chaitin $\Omega_U$ halting-capture, incompressibility & Jensen $n+\log_2(1/\Omega_U)$); (2) Exact Solomonoff Telescoping & Approximate-Solomonoff Robustness (SolomonoffUniversalPrediction.lean: Bhattacharyya–Hellinger–KL chain, self-contained Pinsker, Exact Solomonoff Telescoping Identity $\sum\mathbb{E}[D_{\mathrm{KL}}]+\mathbb{E}[\ln(1/w_k)]=\ln(W/w_k)$, sharp constant-$2$ $\ell_1^2$/Hellinger witnesses, factor-$1/2$ posterior concentration, Cesàro merge rates, & Li–Teng Oct 2026 Approximate-Solomonoff robustness); (3) MDL vs. Memorization Phase Transitions, KT Unimodality & Zero-Stirling Shtarkov Sandwich (MDLMemorizationPhaseTransition.lean: linear/nonlinear BIC phase transitions, Barron–Cover MGF/risk bounds, exact Binomial NML/Shtarkov, exact Krichevsky–Trofimov regret unimodality improving on Laplace for ALL $n\ge 2$, & zero-Stirling sandwich $\frac{1}{2}\ln(n+1)\le\ln S_{\mathrm{Bern}}(n)\le\frac{1}{2}\ln n+\ln 2$); and (4) Exact Symmetry of Information & Sharp Incremental Levin Search (SymmetryOfInformationLevinSearch.lean: exact $x^*$ (+1, tight!) & plain-$x$ Symmetry of Information, algorithmic MI symmetry, & exact sharp incremental Levin Universal Search $<2^{\ell+1}t$ with sharpness witness & $Kt$ invariance) (129 verified declarations across 4 modules, 5,399 lines, 60/60 clean axioms).

Contribution status

Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.

How results are classified
⊢ TL;DR & Key Verified Results
Field Context (Deletion, Edit & Permutation Codes): Capacity bounds and LP-duality limits for codes correcting deletions, transpositions, and DNA grain errors.

4-module Lean 4 formalization of Algorithmic Information Theory, Chaitin's $\Omega$, Exact Solomonoff Telescoping, Krichevsky–Trofimov MDL Phase Transitions & Sharp Levin Universal Search (129 verified declarations across 4 modules, 5,288 lines, 60/60 clean axioms): proves the Constructive Dyadic Kraft Converse, Elias-gamma additive invariance, factor-2 sharper prefix-vs-plain incompressibility ($2^{k-1}$ vs. $2^k-1$), & Chaitin $\Omega_U$ halting-capture, incompressibility & Jensen $n+\log_2(1/\Omega_U)$; proves the Exact Solomonoff Telescoping Identity $\sum\mathbb{E}[D_{\mathrm{KL}}]+\mathbb{E}[\ln(1/w_k)]=\ln(W/w_k)$ with exact sharpness for KL/Hellinger/$\ell_1^2$ constant $2$, factor-$1/2$ posterior concentration, & Li–Teng (Oct 2026) Approximate-Solomonoff robustness; proves BIC MDL-vs-memorization phase transitions, Barron–Cover MGF/risk bounds, exact Krichevsky–Trofimov regret unimodality strictly improving on Laplace for ALL $n\ge 2$, & a zero-Stirling Binomial Shtarkov sandwich $\frac{1}{2}\ln(n+1)\le\ln S_{\mathrm{Bern}}(n)\le\frac{1}{2}\ln n+\ln 2$; and proves exact $x^*$ (+1, tight!) & plain-$x$ Symmetry of Information plus exact sharp incremental Levin Universal Search $<2^{\ell+1}t$ with sharpness witness & $Kt$ invariance.

Exact Solomonoff KL Telescoping, Sharp Constant-$2$ $\ell_1^2$ Witness & Approximate-Solomonoff Robustness: Proves $\sum\mathbb{E}[D_{\mathrm{KL}}]+\mathbb{E}[\ln(1/w_k)]=\ln(W/w_k)$, sharp KL/Hellinger/$\ell_1^2$ witnesses, & Li–Teng (Oct 2026) robustness.
MDL vs. Memorization Phase Transitions, KT Unimodality & Zero-Stirling Shtarkov Sandwich: Proves exact KT regret unimodality improving on Laplace $\forall n\ge 2$, Barron–Cover bounds, & $\frac{1}{2}\ln(n+1)\le\ln S_{\mathrm{Bern}}(n)\le\frac{1}{2}\ln n+\ln 2$.
Constructive Dyadic Kraft Converse, Chaitin $\Omega_U$, Exact Symmetry of Information & Sharp Levin Search: Proves constructive Kraft, Chaitin halting-capture, tight +1 $x^*$ Symmetry of Information, & sharp $<2^{\ell+1}t$ incremental Levin search.
Prior Art, Upstream Literature & Scholarly Attribution SOURCE CONTEXT
Local Proof Scope (Priority Not Established): Four standalone Mathlib-only Lean 4 modules (PrefixCodesKolmogorovChaitin.lean 49, MDLMemorizationPhaseTransition.lean 34, SolomonoffUniversalPrediction.lean 31, SymmetryOfInformationLevinSearch.lean 15 = 129 verified declarations, 5,288 lines, 60/60 clean axioms) plus Python verification proving kraft_converse_constructive, chaitin_omega_halting_capture, solomonoff_exact_kl_telescoping, solomonoff_l1_sq_constant_two_sharp, kt_exact_regret_and_shtarkov_sandwich, barron_cover_two_part_mdl_bounds, exact_symmetry_of_information_lower, and levin_incremental_optimal.

⊢ Mathematical Constructions & Proof Explorer

Raw .lean
—

Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.

Mathematical Overview & Verification Notes

Verification: Four 100% self-contained Lean 4 / Mathlib modules (EXIT 0 in 2.85s + 7.86s + 6.16s + 3.05s), 0 errors, 0 warnings, 0 sorry / admit / custom axiom / native_decide / unsafe / partial / opaque / set_option overrides, 60 / 60 #print axioms strictly ⊆ {propext, Classical.choice, Quot.sound}, plus zero-warning Python screening (python3 -W error verify_ait_frontiers.py).

Executive Summary (TL;DR)

We establish a self-contained, sharp, non-asymptotic machine-verified theory spanning four pillars of algorithmic information theory, universal Bayesian prediction, minimum description length (MDL) compression, and resource-bounded universal search:

  1. Prefix-Free Codes, Constructive Dyadic Kraft–McMillan, Sharp Incompressibility & Chaitin's $\Omega_U$ (PrefixCodesKolmogorovChaitin.lean):
    • Proves the exact integer Kraft inequality $\sum_{w \in S} 2^{M - |w|} \le 2^M$ (kraft_nat_exact), exact full-tree completeness equivalence (kraft_nat_eq_iff_complete), countable prefix-free Kraft (kraft_countable_tsum_le_one), countable $D$-ary McMillan (mcmillan_countable_tsum_le_one), and the Constructive Dyadic Kraft Converse (kraft_converse_constructive): from any nondecreasing length sequence $\ell : \mathrm{Fin}\,m \to \mathbb{N}$ satisfying $\sum_i 2^{L - \ell_i} \le 2^L$, explicitly constructs an injective prefix-free binary code of exact lengths $\ell$.
    • Constructs an explicit Elias-gamma self-delimiting prefix code (eliasDelim_prefixFree, length $|x| + 2\lfloor\log_2(|x|+1)\rfloor + 1$) and universal prefix machine univPrefixMachine M satisfying exact additive invariance $K_U(x) \le K_{M_i}(x) + 2\lfloor\log_2(i+1)\rfloor + 1$ (universal_prefix_invariance).
    • Separates exact incompressibility counting between plain machines ($|\{x \in \{0,1\}^n : C_M(x) < k\}| \le 2^k - 1$, plain_incompressibility_card_le, exact equality witness plain_incompressibility_sharp_witness) and prefix-free machines ($|\{x \in \{0,1\}^n : K_U(x) < k\}| \le 2^{k-1}$ for $k \ge 1$ — strictly tighter by nearly a factor of $2$, ratio $2 - 2^{1-k}$ whenever $k \ge 2$, prefix_incompressibility_card_le, exact equality witness prefix_incompressibility_sharp_witness), and proves the Universal Non-Asymptotic Prefix-vs-Plain Gap (universal_prefix_vs_plain_gap): for every prefix machine $U$ and every $N \ge 1$, there exists $x$ with $|x| < N$ and $K_U(x) \ge C_{\mathrm{id}}(x) + \lceil\log_2 N\rceil$.
    • Proves monotone convergence $\Omega_U^{(L)} \uparrow \Omega_U \le 1$ (omegaPartial_mono, tendsto_omegaPartial_chaitinOmega), the Exact Chaitin Halting-Capture Theorem (chaitin_omega_halting_capture: any halting subset with mass $> \Omega_U - 2^{-n}$ contains every halting program of length $\le n$), conditional Chaitin Prefix-Incompressibility (chaitin_omega_incompressibility: given an enumerated halting set $F$ with mass $\ge \omega_n$ avoiding $y_n$ and the decoder hypothesis $K_U(y_n) \le K_U(\omega_n) + c_D$, proves $n + 1 \le K_U(\omega_n) + c_D$), and Exact Finite-Horizon Algorithmic Randomness Deficit Bounds (algorithmic_randomness_deficit_bounds), including the exact Jensen average complexity lower bound $\frac{1}{2^n}\sum_{x \in \{0,1\}^n} K_U(x) \ge n + \log_2(1/\Omega_U)$.
  2. Exact Solomonoff Universal Bayes Mixture — Cumulative KL, Bhattacharyya, Hellinger & Squared-$\ell_1$ Bounds, Sharpness Witnesses & Approximate-Solomonoff Robustness (SolomonoffUniversalPrediction.lean):
    • Proves the sharp two-stage Bhattacharyya–Hellinger–KL chain $H^2(p, q) \le -\ln(1 - H^2(p, q)) \le \frac{1}{2} D_{\mathrm{KL}}(p \| q)$ (hellingerSq_bhatt_kl_chain), alongside self-contained re-proved supporting lemmas for klDiv_nonneg, two_mul_hellingerSq_le_klDiv, and Pinsker pinsker_l1_sq_le_two_kl (not new to the workspace — also formalized in open-free-energy-active-inference-bayesian and open-discrete-isoperimetry-concentration, generalized here to absolute continuity $p(a) > 0 \Rightarrow q(a) > 0$ rather than strict positivity everywhere, and sub-probability $q$ in klDiv_nonneg).
    • For any finite or countably infinite hypothesis class with sub-probability prior weights $w_i > 0$, $W = \sum_i w_i \le 1$, proves the Exact Solomonoff Telescoping Identity (solomonoff_exact_kl_telescoping):
      $$\sum_{t=1}^T \mathbb{E}_{P_k}\!\Bigl[D_{\mathrm{KL}}\bigl(\mu_k(\cdot \mid X_{<t}) \;\|\; \xi(\cdot \mid X_{<t})\bigr)\Bigr] \;+\; \mathbb{E}_{P_k}\!\Bigl[\ln\frac{1}{w_k(X_{1:T})}\Bigr] \;=\; \ln\frac{W}{w_k},$$

      yielding exact non-asymptotic cumulative KL ($\le \ln(W/w_k) \le \ln(1/w_k)$), Hellinger ($\le \frac{1}{2}\ln(W/w_k)$), and squared-$\ell_1$ ($\le 2\ln(W/w_k)$) bounds (solomonoff_cumulative_kl_hellinger_tv_bounds).
    • Proves exact sharpness for every constant: exact equality for KL and Bhattacharyya plus Hellinger ratio $\to 1$ to $\frac{1}{2}$ (solomonoff_kl_hellinger_sharp_witness), and an explicit multi-round symmetric Bernoulli family $\mathrm{Bern}(\frac{1}{2}\pm\varepsilon)$ proving that for every $c < 2$ there exists $(\varepsilon, T)$ with $\sum_{t=1}^T \mathbb{E}[\|\mu_0 - \xi\|_1^2] > c \ln(1/w_0)$ (solomonoff_l1_sq_constant_two_sharp).
    • Proves the Factor-$1/2$ Exponential Bayesian Posterior Concentration Bound $\mathbb{E}_{P_k}[1 - w_k(X_{1:T})] \le \frac{1}{2}\sum_{j \ne k}\sqrt{w_j/w_k}\,\mathrm{BC}_T(P_k, P_j)$ (solomonoff_posterior_concentration), Cesàro merge rates $O(1/T)$ for $H^2$ and $O(1/\sqrt{T})$ for $\ell_1$ (solomonoff_cesaro_merge_rates), and the Exact Approximate-Solomonoff Robustness Theorem (approximate_solomonoff_robustness, connecting to late-2026 Li–Teng): $D_{\mathrm{KL}}(p \| \rho) \le \frac{1}{\alpha} D_{\mathrm{KL}}(\tilde{\xi} \| \rho) + \ln\frac{1}{\alpha} + 1$.
  3. MDL-vs-Memorization Phase Transitions, Barron–Cover Risk, Exact Binomial NML / Shtarkov, Laplace & Krichevsky–Trofimov Predictors (MDLMemorizationPhaseTransition.lean):
    • Proves exact linear two-part MDL vs. verbatim memorization threshold $n_c = \kappa / (\log_2 q - h)$ (mdl_vs_memorization_phase_transition, witnesses mdl_phase_transition_sharp_witnesses) and an explicit sufficient threshold for nonlinear BIC/Rissanen MDL ($n > \frac{2\kappa_0 + d(\ln(d/\Delta) - 1)}{\Delta}$, bic_mdl_beats_memorization_above_threshold, witnesses bic_mdl_phase_transition_witness).
    • Proves the Exact Non-Asymptotic Barron–Cover Two-Part MDL Risk & Tail Theorem (barron_cover_two_part_mdl_bounds): MGF $\mathbb{E}[\exp(n H^2 - L(h^*))] \le 1$, expected risk $\mathbb{E}[H^2] \le L(h^*)/n$, and exponential tail $\mathbb{P}(H^2 \ge \varepsilon) \le e^{L(h^*) - n\varepsilon}$.
    • Proves Exact Binomial NML / Shtarkov Minimax Regret (nml_shtarkov_minimax_exact), exact Laplace Sequential Closed Form $P_{\mathrm{Lap}}(k, n) = \frac{1}{(n+1)\binom{n}{k}}$ with sharp regret bound $\le \ln(n+1)$ attained at $0^n, 1^n$ (laplace_seq_prob_exact, laplace_exact_regret_and_sharpness), and exact Krichevsky–Trofimov (KT) Rational Closed Form $P_{\mathrm{KT}}(k, n) = \frac{(2k)!(2(n-k))!}{4^n k!(n-k)! n!}$ (kt_seq_prob_exact, sum_pKT_eq_one).
    • Exact Unimodality of KT Regret & Zero-Stirling Binomial Shtarkov Sandwich: proving $m \mapsto \frac{(m+1)^{m+1}}{m^m(2m+1)}$ is strictly increasing via $\ln\frac{1+u}{1-u} \ge 2u$ establishes that $R_{\mathrm{KT}}(k, n) = \hat{P}_{\mathrm{ML}}(k, n) / P_{\mathrm{KT}}(k, n)$ is symmetric and decreasing on $0 \le k \le \lfloor n/2 \rfloor$ (kt_regret_ratio_unimodal), yielding the exact non-asymptotic KT regret bound $\le \frac{1}{2}\ln n + \ln 2$ (strictly beating Laplace for every $n \ge 2$!) and the exact elementary two-sided Binomial Shtarkov sandwich (kt_exact_regret_and_shtarkov_sandwich):
      $$\sqrt{n + 1} \;\le\; S_{\mathrm{Bern}}(n) \;\le\; 2\sqrt{n} \quad \Longleftrightarrow \quad \frac{1}{2}\ln(n + 1) \;\le\; \ln S_{\mathrm{Bern}}(n) \;\le\; \frac{1}{2}\ln n + \ln 2 \qquad (\forall n \ge 1).$$
  4. Exact Symmetry of Information & Levin Universal Search ($Kt$ Complexity) (SymmetryOfInformationLevinSearch.lean):
    • For any joint prefix-free code outputting pairs $(x, y)$, proves marginal and conditional slice Kraft feasibility (symmetry_kraft_feasibility), exact $x^*$-Symmetry of Information $\ell_{\mathrm{marg}}(x) + \ell_{\mathrm{cond}}(y \mid x^*) \le K_C(x, y) + 1$ with exact $+1$-slack sharpness witness (symmetry_plus_one_sharp_witness), explicit logarithmic-overhead plain-$x$ Symmetry of Information $\ell_{\mathrm{marg}}(x) + \ell_{\mathrm{cond}}^{\mathrm{plain}}(y \mid x) \le K_C(x, y) + 2\lfloor\log_2(\ell_{\mathrm{marg}}(x)+1)\rfloor + 2$ (exact_symmetry_of_information_lower), and the abstract consequence of assumed two-sided SoI and swap-invariance bounds for algorithmic mutual information (algorithmic_mutual_info_symmetry).
    • Proves the Exact Sharp Incremental Levin Universal Search Optimality Theorem (levin_incremental_optimal): incremental dovetailing solves any verifiable search instance in at most $2^{Kt} \le 2^{\ell(p)+1} t(p) - 2^{\ell(p)} < 2^{\ell(p)+1} t(p)$ steps for every valid solver $p$ (t(p) ≥ 1), separated cleanly from stateless restart dovetailing ($< 2^{\ell(p)+2} t(p)$, levin_restart_bound), matched by an exact sharpness witness (levin_sharpness_witness: exact phase-completion cost $2^{\ell+1}(t-1)$ and exact mid-phase early-stopping cost levinEarlyStopSteps S k* p* t = (2^ℓ - 1) · 2^{m+1} + t with ratio $\to 1$ to $2^{\ell+1} t$), plus system-level levinKt invariance (kt_invariance_exact: levinKt S_U ≤ levinKt S_M + c_M + ⌈log₂ a_M⌉) and system-level K ≤ Kt separation (k_le_kt_and_arbitrary_gap: minSolverLen S ≤ levinKt S with concrete slowUnitSystem m achieving minSolverLen = 0 and levinKt = m).

Prior-Art Comparison (Through Nov 2026) & Overlap Receipt

Prior Work / Sibling TrackWhat Was Known / FormalizedWhat Is Genuinely New / Sharper Here
Mathlib InformationTheory.Coding.KraftMcMillan (2026)Finite-Finset forward McMillan inequality $\sum_{w \in S} D^{-\|w\|} \le 1$ for uniquely decodable codes.Direct integer/real prefix-free Kraft with full-tree equality characterization, countable Kraft & McMillan (tsum), and the Constructive Dyadic Kraft Converse explicitly synthesizing prefix-free codes from arbitrary Kraft-feasible lengths.
Forster–Kunze–Lauermann (Coq synthetic AIT); Li & Vitányi (2019); Hutter (2005)Synthetic uncomputability of $C$; asymptotic textbook $K_U$, Chaitin $\Omega$, Solomonoff bounds, Symmetry of Information, and Levin search.First self-contained Lean 4 formalization unifying all 4 pillars with exact non-asymptotic constants and sharpness witnesses: prefix-vs-plain counting tighter by nearly a factor of $2$ ($2^{k-1}$ vs $2^k - 1$, ratio $2 - 2^{1-k}$), universal $\lceil\log_2 N\rceil$ gap across all prefix machines, exact Chaitin halting-capture & Jensen average complexity $n + \log_2(1/\Omega_U)$, multi-step Bernoulli sharpness achieving constant $2$ in $\sum \mathbb{E}[\|\mu_0 - \xi\|_1^2] \le 2\ln(1/w_0)$, exact $+1$ Symmetry witness, and exact $2^{\ell+1} t$ incremental Levin optimality + early-stop sharpness witness + levinKt invariance.
Li & Teng (Approximate Solomonoff Induction, arXiv:2610.29289, Oct 2026)Pen-and-paper robustness of learned approximate universal predictors under $D_{\mathrm{KL}}(\xi \| \rho) \le \eta$.Machine-verified exact Bregman mixture identity and sharp non-asymptotic robustness bound $D_{\mathrm{KL}}(p \| \rho) \le \frac{1}{\alpha} D_{\mathrm{KL}}(\tilde{\xi} \| \rho) + \ln(1/\alpha) + 1$ with exact binary-entropy slack $\le 1$.
Krichevsky & Trofimov (1981); Grünwald (2007); Barron & Cover (1991)Asymptotic $\frac{1}{2}\ln n + \frac{1}{2}\ln\frac{\pi}{2} + o(1)$ binomial Shtarkov redundancy; two-part MDL Hellinger consistency.Machine-verified exact unimodality of $R_{\mathrm{KT}}(k, n)$ via strict monotonicity of $h(m) = \frac{(m+1)^{m+1}}{m^m(2m+1)}$, giving a zero-Stirling elementary two-sided sandwich $\frac{1}{2}\ln(n+1) \le \ln S_{\mathrm{Bern}}(n) \le \frac{1}{2}\ln n + \ln 2$ for ALL $n \ge 1$, strict KT-over-Laplace dominance for all $n \ge 2$, and exact finite-sample Barron–Cover MGF/expectation/tail bounds.
Sibling Tracks (open-online-logloss-memory-frontiers, open-information-learning-memory-frontiers, open-cs-memory-learning-complexity-frontiers, open-coding-information-combinatorics, open-free-energy-active-inference-bayesian, open-discrete-isoperimetry-concentration)Contextual online cNML & streaming; realizable $\ell_p$ regression; multiclass Brier/Spherical scoring rules; deletion-substitution balls; VFE & entropic mirror descent (which already prove klDiv_nonneg, two_mul_hellingerSq_le_klDiv, and pinsker_ineq / fin_pinsker_ent).Zero overlap on all headline theorems; the 3 elementary divergence lemmas (klDiv_nonneg, two_mul_hellingerSq_le_klDiv, pinsker_l1_sq_le_two_kl) are explicitly flagged as re-proved self-contained supporting lemmas (generalized to absolute continuity and sub-probability $q$). All core results — prefix machines, constructive Kraft converse, Chaitin $\Omega_U$, countable Solomonoff mixtures with Hellinger/TV sharpness & approximate robustness, MDL memorization phase transitions & KT/Laplace/Barron–Cover coding, Symmetry of Information, and Levin $Kt$ search — are strictly disjoint from sibling tracks.

Python Screening Verification

verify_ait_frontiers.py screens every constant, identity, boundary case, and sharpness witness under python3 -W error (EXIT 0):

  • Pillar 1: Constructive dyadic Kraft converse across 9 feasible length profiles, Elias self-delimiting prefix-freeness and exact lengths on all strings of length $\le 5$, exact plain vs. prefix-free compressible counts, $\lceil\log_2 N\rceil$ gap tightness, and Chaitin $\Omega$ halting-capture across all subsets of a halting domain.
  • Pillar 2: Exact 6-round telescoping identity (cum_kl + post_surp == ln(W / w_k) to < 1e-12) on sub-probability prior $W = 0.80$, Bhattacharyya/Hellinger/$\ell_1^2$ chains, factor-$1/2$ posterior concentration, multi-step Bernoulli $\ell_1^2$ sharpness ratio 0.999469 toward constant 2, and Bregman mixture robustness identity.
  • Pillar 3: Exact KT & Laplace rational closed forms and normalization ($n \le 14$), exact unimodality of $R_{\mathrm{KT}}(k, n)$ and strict monotonicity of $h(m)$ ($n < 200$, $m < 100$), central binomial $\mathbb{N}$-sandwich, nonlinear BIC threshold, and exact Barron–Cover MGF/risk verification.
  • Pillar 4: Exact +1 Symmetry witness (3 equiprobable length-2 pairs), random prefix-free group Kraft & Symmetry stress test (including $k = 0$ edge case), incremental vs. restart Levin dovetailing bounds, and incremental early-stop sharpness ratio 0.998537 toward $2^{\ell+1} t$.

Theorem Inventory (59 Theorems + 70 Supporting Lemmas = 129 Proved Declarations)

Pillar 1 — PrefixCodesKolmogorovChaitin.lean (1,405 lines · 2.85s · 24 theorems, 25 lemmas)

TheoremSummaryLocation
kraft_nat_exactExact integer binary Kraft $\sum_{w \in S} 2^{M - \|w\|} \le 2^M$PrefixCodesKolmogorovChaitin.lean:130
kraft_nat_eq_iff_completeExact full-tree Kraft equality iff every length-$M$ word has a prefix in $S$PrefixCodesKolmogorovChaitin.lean:149
kraft_finset_realFinite real binary Kraft $\sum_{w \in S} 2^{-\|w\|} \le 1$ (including $\{[]\}$)PrefixCodesKolmogorovChaitin.lean:178
kraft_countable_summableCountable prefix-free sets are summable under $2^{-\|p\|}$PrefixCodesKolmogorovChaitin.lean:199
kraft_countable_tsum_le_oneCountable binary Kraft $\sum'_{p \in S} 2^{-\|p\|} \le 1$PrefixCodesKolmogorovChaitin.lean:221
isPrefixFree_uniquelyDecodablePrefix-free codes excluding $[]$ are uniquely decodablePrefixCodesKolmogorovChaitin.lean:240
mcmillan_countable_tsum_le_oneCountable $D$-ary McMillan inequality $\sum'_{p \in S} D^{-\|p\|} \le 1$PrefixCodesKolmogorovChaitin.lean:293
kraft_converse_constructiveConstructive dyadic prefix-free code matching any Kraft-feasible lengthsPrefixCodesKolmogorovChaitin.lean:443
eliasDelim_prefixFreeElias-gamma self-delimiting binary string code is prefix-freePrefixCodesKolmogorovChaitin.lean:671
eliasIdentityMachine_prefixK_leExplicit prefix complexity bound $K_{\mathrm{elias}}(x) \le \|x\| + 2\lfloor\log_2(\|x\|+1)\rfloor + 1$PrefixCodesKolmogorovChaitin.lean:697
universal_prefix_invarianceExact additive invariance $K_U(x) \le K_{M_i}(x) + 2\lfloor\log_2(i+1)\rfloor + 1$PrefixCodesKolmogorovChaitin.lean:744
plain_incompressibility_card_leExact plain compressible count $\le 2^k - 1$PrefixCodesKolmogorovChaitin.lean:798
plain_incompressibility_sharp_witnessExact equality witness achieving $2^k - 1$ plain compressible stringsPrefixCodesKolmogorovChaitin.lean:859
prefix_incompressibility_card_leSharper prefix-free compressible count $\le 2^{k-1}$ ($k \ge 1$; nearly factor-2 tighter than $2^k - 1$)PrefixCodesKolmogorovChaitin.lean:931
prefix_incompressibility_sharp_witnessExact equality witness achieving $2^{k-1}$ prefix-free compressible stringsPrefixCodesKolmogorovChaitin.lean:974
universal_prefix_vs_plain_gapUniversal $\lceil\log_2 N\rceil$ gap between $K_U$ and $C_{\mathrm{id}}$ across lengths $< N$PrefixCodesKolmogorovChaitin.lean:1013
chaitinOmega_nonnegNonnegativity $0 \le \Omega_U$PrefixCodesKolmogorovChaitin.lean:1127
chaitinOmega_le_oneUpper bound $\Omega_U \le 1$PrefixCodesKolmogorovChaitin.lean:1130
omegaPartial_monoMonotonicity of finite-horizon partial sums $\Omega_U^{(L)}$PrefixCodesKolmogorovChaitin.lean:1133
omegaPartial_le_chaitinOmegaPartial sums bounded above by $\Omega_U$PrefixCodesKolmogorovChaitin.lean:1157
tendsto_omegaPartial_chaitinOmegaConvergence $\lim_{L \to \infty} \Omega_U^{(L)} = \Omega_U$PrefixCodesKolmogorovChaitin.lean:1162
chaitin_omega_halting_captureHalting mass $> \Omega_U - 2^{-n}$ captures all halting programs of length $\le n$PrefixCodesKolmogorovChaitin.lean:1198
chaitin_omega_incompressibilityConditional Chaitin prefix-incompressibility: given halting set $F$ with mass $\ge \omega_n$ avoiding $y_n$ and decoder hypothesis $K_U(y_n) \le K_U(\omega_n) + c_D$, proves $n + 1 \le K_U(\omega_n) + c_D$PrefixCodesKolmogorovChaitin.lean:1244
algorithmic_randomness_deficit_boundsKraft-test sum, exponential deficit tail, and Jensen average bound $n + \log_2(1/\Omega_U)$PrefixCodesKolmogorovChaitin.lean:1269

Pillar 2 — SolomonoffUniversalPrediction.lean (1,678 lines · 7.86s · 12 theorems, 19 lemmas)

TheoremSummaryLocation
klDiv_nonneg(Re-proved supporting lemma; generalized to abs-continuity & sub-prob $q$) Nonnegativity of discrete KL divergenceSolomonoffUniversalPrediction.lean:106
hellingerSq_bhatt_kl_chainTwo-stage chain $H^2(p, q) \le -\ln(1 - H^2(p, q)) \le \frac{1}{2} D_{\mathrm{KL}}(p \| q)$SolomonoffUniversalPrediction.lean:119
two_mul_hellingerSq_le_klDiv(Re-proved supporting lemma; generalized to abs-continuity) Corollary $2 H^2(p, q) \le D_{\mathrm{KL}}(p \| q)$SolomonoffUniversalPrediction.lean:192
pinsker_l1_sq_le_two_kl(Re-proved supporting lemma; generalized to abs-continuity) Self-contained Pinsker inequality $\|p - q\|_1^2 \le 2 D_{\mathrm{KL}}(p \| q)$SolomonoffUniversalPrediction.lean:334
klDiv_chain_ruleExact $T$-round chain rule for sequential KL divergenceSolomonoffUniversalPrediction.lean:493
solomonoff_exact_kl_telescopingExact identity $\sum_{t=1}^T \mathbb{E}[D_{\mathrm{KL}}] + \mathbb{E}[\ln(1/w_k(X_{1:T}))] = \ln(W/w_k)$SolomonoffUniversalPrediction.lean:670
solomonoff_cumulative_kl_hellinger_tv_boundsCountable/finite cumulative KL, Hellinger, and squared-$\ell_1$ boundsSolomonoffUniversalPrediction.lean:720
solomonoff_kl_hellinger_sharp_witnessExact KL & Bhattacharyya equality witness + Hellinger ratio $\to 1$ to $1/2$SolomonoffUniversalPrediction.lean:847
solomonoff_l1_sq_constant_two_sharpMulti-step Bernoulli sharpness family achieving ratio $\to 1$ to constant $2$SolomonoffUniversalPrediction.lean:1176
solomonoff_posterior_concentrationFactor-$1/2$ Bhattacharyya Bayesian posterior concentration boundSolomonoffUniversalPrediction.lean:1372
solomonoff_cesaro_merge_ratesExact $O(1/T)$ Hellinger and $O(1/\sqrt{T})$ $\ell_1$ Cesàro merge ratesSolomonoffUniversalPrediction.lean:1460
klDiv_mixture_bregman_identityExact Bregman / Jensen–Shannon KL mixture decomposition identitySolomonoffUniversalPrediction.lean:1533
approximate_solomonoff_robustnessApproximate-Solomonoff robustness $D_{\mathrm{KL}}(p\|\rho) \le \frac{1}{\alpha} D_{\mathrm{KL}}(\tilde{\xi}\|\rho) + \ln\frac{1}{\alpha} + 1$SolomonoffUniversalPrediction.lean:1584

Pillar 3 — MDLMemorizationPhaseTransition.lean (1,486 lines · 6.16s · 13 theorems, 21 lemmas)

TheoremSummaryLocation
mdl_vs_memorization_phase_transitionExact linear MDL-vs-memorization threshold $n_c = \kappa / (\log_2 q - h)$MDLMemorizationPhaseTransition.lean:71
mdl_phase_transition_sharp_witnessesSharp binary witnesses at $n = 19$ (mem), $n = 20$ (critical), $n = 21$ (MDL)MDLMemorizationPhaseTransition.lean:91
bic_mdl_beats_memorization_above_thresholdExplicit sufficient threshold for nonlinear $\frac{d}{2}\ln n$ BIC MDLMDLMemorizationPhaseTransition.lean:111
bic_mdl_phase_transition_witnessExplicit BIC memorization ($n = 1$) vs. compression ($n = 16$) witnessesMDLMemorizationPhaseTransition.lean:141
barron_cover_two_part_mdl_boundsExact Barron–Cover two-part MDL MGF, expected Hellinger risk & tail boundsMDLMemorizationPhaseTransition.lean:211
nml_shtarkov_minimax_exactExact Binomial NML constant pointwise regret & minimax optimalityMDLMemorizationPhaseTransition.lean:472
laplace_seq_prob_exactExact closed form $P_{\mathrm{Lap}}(bs) = 1 / ((n+1)\binom{n}{k})$MDLMemorizationPhaseTransition.lean:589
laplace_exact_regret_and_sharpnessNormalization, regret $\le \ln(n+1)$, and exact equality at $0^n, 1^n$MDLMemorizationPhaseTransition.lean:631
kt_seq_prob_exactExact rational closed form $P_{\mathrm{KT}}(bs) = \frac{(2k)!(2(n-k))!}{4^n k!(n-k)! n!}$MDLMemorizationPhaseTransition.lean:805
sum_pKT_eq_oneExact normalization $\sum_{x \in \{0,1\}^n} P_{\mathrm{KT}}(x) = 1$MDLMemorizationPhaseTransition.lean:833
centralBinom_nat_sandwichExact $\mathbb{N}$ sandwich $(3n+1)\binom{2n}{n}^2 \le 4^{2n} \le 4n\binom{2n}{n}^2$MDLMemorizationPhaseTransition.lean:941
kt_regret_ratio_unimodalExact unimodality of KT regret ratio (max at $0, n$; min at $\lfloor n/2 \rfloor$)MDLMemorizationPhaseTransition.lean:1170
kt_exact_regret_and_shtarkov_sandwichKT regret $\le \frac{1}{2}\ln n + \ln 2$, beats Laplace ($\forall n \ge 2$), exact Shtarkov sandwichMDLMemorizationPhaseTransition.lean:1270

Pillar 4 — SymmetryOfInformationLevinSearch.lean (830 lines · 3.05s · 10 theorems, 5 lemmas)

TheoremSummaryLocation
symmetry_kraft_feasibilityMarginal & conditional slice Kraft feasibility $\le 1$SymmetryOfInformationLevinSearch.lean:193
exact_symmetry_of_information_lowerExact $x^*$ (+1) & plain-$x$ (+ 2⌊log₂(ℓ+1)⌋ + 2) Symmetry lower boundsSymmetryOfInformationLevinSearch.lean:238
symmetry_plus_one_sharp_witnessExact 3-pair sharpness witness achieving $\ell_{\mathrm{marg}} + \ell_{\mathrm{cond}} = K + 1$SymmetryOfInformationLevinSearch.lean:343
algorithmic_mutual_info_symmetryAbstract consequence of assumed two-sided SoI and swap bounds over $\mathbb{Z}$-valued functionsSymmetryOfInformationLevinSearch.lean:397
levinIncrementalSteps_le_powExact Kraft phase-cost bound $\mathrm{TotalSteps}_{\mathrm{inc}}(k) \le 2^k$SymmetryOfInformationLevinSearch.lean:456
levin_incremental_optimalSharp Levin search optimality $\mathrm{TotalSteps}_{\mathrm{inc}} \le 2^{Kt} \le 2^{\ell+1}t - 2^\ell < 2^{\ell+1}t$SymmetryOfInformationLevinSearch.lean:485
levin_restart_boundStateless restart dovetailing bound $< 2^{\ell+2} t$ ($\le 2^{\ell+1} t - 1$ for $t = 2^m$)SymmetryOfInformationLevinSearch.lean:529
levin_sharpness_witnessExact sharpness on levinSharpSystem: $2^{\ell+1}(t-1)$ phase cost & derived levinEarlyStopSteps ratio $\to 1$ to $2^{\ell+1} t$SymmetryOfInformationLevinSearch.lean:594
kt_invariance_exactSystem-level levinKt invariance levinKt S_U ≤ levinKt S_M + c_M + ⌈log₂ a_M⌉ under simulationSymmetryOfInformationLevinSearch.lean:723
k_le_kt_and_arbitrary_gapSystem-level minSolverLen S ≤ levinKt S and concrete slowUnitSystem m with minSolverLen = 0, levinKt = mSymmetryOfInformationLevinSearch.lean:792

Verbatim #print axioms Output (60 / 60 Clean)

=== PrefixCodesKolmogorovChaitin.lean (2.853s, EXIT 0) ===
'AlgorithmicInformation.kraft_nat_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.kraft_nat_eq_iff_complete' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.kraft_finset_real' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.kraft_countable_summable' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.kraft_countable_tsum_le_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.isPrefixFree_uniquelyDecodable' depends on axioms: [propext, Quot.sound]
'AlgorithmicInformation.mcmillan_countable_tsum_le_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.kraft_converse_constructive' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.eliasDelim_prefixFree' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.eliasIdentityMachine_prefixK_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.universal_prefix_invariance' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.plain_incompressibility_card_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.plain_incompressibility_sharp_witness' depends on axioms: [propext,
 Classical.choice,
 Quot.sound]
'AlgorithmicInformation.prefix_incompressibility_card_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.prefix_incompressibility_sharp_witness' depends on axioms: [propext,
 Classical.choice,
 Quot.sound]
'AlgorithmicInformation.universal_prefix_vs_plain_gap' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.chaitinOmega_nonneg' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.chaitinOmega_le_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.omegaPartial_mono' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.omegaPartial_le_chaitinOmega' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.tendsto_omegaPartial_chaitinOmega' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.chaitin_omega_halting_capture' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.chaitin_omega_incompressibility' depends on axioms: [propext, Classical.choice, Quot.sound]
'AlgorithmicInformation.algorithmic_randomness_deficit_bounds' depends on axioms: [propext,
 Classical.choice,
 Quot.sound]

=== SolomonoffUniversalPrediction.lean (7.858s, EXIT 0) ===
'SolomonoffPrediction.klDiv_nonneg' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.hellingerSq_bhatt_kl_chain' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.two_mul_hellingerSq_le_klDiv' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.pinsker_l1_sq_le_two_kl' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.klDiv_chain_rule' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.solomonoff_exact_kl_telescoping' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.solomonoff_cumulative_kl_hellinger_tv_bounds' depends on axioms: [propext,
 Classical.choice,
 Quot.sound]
'SolomonoffPrediction.solomonoff_kl_hellinger_sharp_witness' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.solomonoff_l1_sq_constant_two_sharp' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.solomonoff_posterior_concentration' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.solomonoff_cesaro_merge_rates' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.klDiv_mixture_bregman_identity' depends on axioms: [propext, Classical.choice, Quot.sound]
'SolomonoffPrediction.approximate_solomonoff_robustness' depends on axioms: [propext, Classical.choice, Quot.sound]

=== MDLMemorizationPhaseTransition.lean (6.157s, EXIT 0) ===
'MDLPhaseTransition.mdl_vs_memorization_phase_transition' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.mdl_phase_transition_sharp_witnesses' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.bic_mdl_beats_memorization_above_threshold' depends on axioms: [propext,
 Classical.choice,
 Quot.sound]
'MDLPhaseTransition.bic_mdl_phase_transition_witness' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.barron_cover_two_part_mdl_bounds' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.nml_shtarkov_minimax_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.laplace_seq_prob_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.laplace_exact_regret_and_sharpness' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.kt_seq_prob_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.sum_pKT_eq_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.centralBinom_nat_sandwich' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.kt_regret_ratio_unimodal' depends on axioms: [propext, Classical.choice, Quot.sound]
'MDLPhaseTransition.kt_exact_regret_and_shtarkov_sandwich' depends on axioms: [propext, Classical.choice, Quot.sound]

=== SymmetryOfInformationLevinSearch.lean (3.05s, EXIT 0) ===
'SymmetryAndLevin.symmetry_kraft_feasibility' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.exact_symmetry_of_information_lower' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.symmetry_plus_one_sharp_witness' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.algorithmic_mutual_info_symmetry' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.levinIncrementalSteps_le_pow' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.levin_incremental_optimal' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.levin_restart_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.levin_sharpness_witness' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.kt_invariance_exact' depends on axioms: [propext, Classical.choice, Quot.sound]
'SymmetryAndLevin.k_le_kt_and_arbitrary_gap' depends on axioms: [propext, Classical.choice, Quot.sound]
ZITADEL IDENTITY · auth.distributed.systems

Researcher Identity & AI Attribution

Loading account state...