Pinsker's inequality for finite probability vectors:
ProvedNeuroSymbolicRLHF.klDivFin_pinskeraether-catalogspeculative
Pinsker's inequality for finite probability vectors:
‖p - q‖₁² ≤ 2 KL(p ‖ q).
theorem NeuroSymbolicRLHF.klDivFin_pinsker{p q : ι → ℝ} (hp : IsProb p) (hq : IsPosProb q) :
(∑ i, |p i - q i|)^2 ≤ 2 * klDivFin p q := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Speculative/AutoResearch/NeuroSymbolicRLHFPinsker.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Speculative/AutoResearch/NeuroSymbolicRLHFPinsker.lean
import Mathlib
import Definitions.Def_Speculative_AutoResearch_NeuroSymbolicRLHFObjective
import Definitions.Def_Speculative_AutoResearch_NeuroSymbolicRLHFPinsker
/-
Copyright (c) 2025. All rights reserved.
# Pinsker's Inequality for Finite Alphabets, and the Square-Root Alignment Drift Bound
Fifth research cycle. This file closes "Conjecture 1" of the previous cycle's
`FUTURE_DIRECTIONS.md`: the exponential drift bound `e^{Δ/β} - 1` proved in
`Catalog.Shared.NeuroSymbolicRLHFRobustness` is replaced by the correct
square-root rate.
The route is the classical Cauchy–Schwarz proof of Pinsker's inequality, built
here from scratch (Mathlib has no finite-alphabet Pinsker inequality at this
commit):
1. a sharp one-variable estimate `x log x - x + 1 ≥ 3(x-1)²/(2(x+2))` on
`[0, ∞)`, proved by a second-derivative argument (`(x+2)³ ≥ 27x`);
2. its homogeneous form `a log (a/b) - a + b ≥ 3(a-b)²/(2(a+2b))`;
3. Cauchy–Schwarz against the weights `w i = p i + 2 q i`, whose total mass is
exactly `3`.
The alignment corollary: the aligned policy satisfies
`‖π* - π_SFT‖₁ ≤ √(2(max r - min r)/β)`, which beats the exponential bound
whenever the reward range exceeds the KL coefficient — the regime of practical
RLHF.
No `sorry`, no `native_decide`.
-/
open Finset Real BigOperators Set
noncomputable section
open NeuroSymbolicRLHF
/-! ## Step 1: the one-variable estimate -/
/-! ## Step 2: Pinsker's inequality on a finite alphabet -/
variable {ι : Type*} [Fintype ι]Formal statement
theorem NeuroSymbolicRLHF.klDivFin_pinsker{p q : ι → ℝ} (hp : IsProb p) (hq : IsPosProb q) :
(∑ i, |p i - q i|)^2 ≤ 2 * klDivFin p q := by sorrySource