Author: Fabien Pierret (Independent Researcher). Machine-checked Lean 4.36.0 proofs of necessary and sufficient conditions preventing reward hacking, statement gaming, and specification drift in RSI loops—with MIT Python CLI, GitHub Action, UK AISI Inspect AI & OpenEvolve connectors, and live Cloudflare Edge auditor.
| Theorem / Experiment | Baseline Failure | Proof-CI Result | Verification |
|---|---|---|---|
| Theorem 1 (Minimax IFF & Lp Impossibility) | L1, L2, L3 accept 100% single-mode hacks for τ ≥ K−1/p | 0.0% bypass & 0.0% false veto across 1,000 exploits | Lean 4 (1A–1D) + Exp 1 |
| Theorem 2 (Multi-Round RSI Drift Trichotomy) | Θ(T2) erosion: 22.20 (444×); Θ(T) rolling: 2.00 (40×) | O(1) ceiling ≤ 0.05 (0 violations/200 seeds; utility 2.80 vs 0.02) | Lean 4 (2A–2D) + Exp 2 |
| Theorem 3 (Live Lean 4.36 Statement Gaming) | Compiler-only (exit == 0) accepts 80.0% (4/5) exploit classes | 0.0% exploit leak, 100.0% clean pass (30 live Lean files, 453 ms) | Lean 4 (3A–3C) + Exp 3 |
| Theorem 4 (Geo Alpha-Spending & End-to-End RSI) | 100% FWER (constant-α); 80.5% (Gauss t3); 2.8% holdout acc | 1.25%–5.50% FWER; 90.9% holdout accuracy; 100% ledger tamper det. | Lean 4 (4A–4C) + Exp 4–5 |

Figure 1 (Theorem 1): Analytical single-mode blind threshold τ*(p, K) = K−1/p and empirical bypass across 1,000 adversarial exploits.

Figure 2 (Theorem 2): Multi-round RSI Drift Trichotomy (Θ(T2) vs Θ(T) vs O(1)) and 200-seed stateful promote-or-veto capability vs. drift.

Figure 3 (Theorem 3): Live Lean 4.36.0 compilation ablation across 30 artifacts proving compiler-only verification leaks 80% of exploit classes.

Figure 4 (Theorem 4): Infinite-horizon geometric alpha-spending and 60-round heavy-tail null FWER control (400 replicates, λ=8).

Figure 5 (Experiment 5): End-to-end 100-world × 50-round RSI benchmark: 0.0% hack evasion and 90.9% final true holdout accuracy.

Figure 6 (Experiment 6): Verification assurance coverage across 2026 RSI and formal theorem-proving stacks.
git clone https://github.com/fabien-pierret/proof-ci.git && cd proof-ci pip install -e ".[dev]" ./lean/verify_lean.sh # 34 Lean 4.36.0 theorems, 0 sorry, standard axioms only pytest -v # 20/20 unit, connector & live Lean 4 compiler tests python3 sim/run_all_experiments.py