Exact `O(1/ε)` second-moment bound for importance weighting.
ProvedPolicyGradient.importanceSecondMoment_le_inv_epsilonaether-catalogmachinelearning
Exact O(1/ε) second-moment bound for importance weighting. The condition
behavior ≥ ε·target includes ε-greedy exploration relative to a target
policy, and the constant is explicit.
theorem PolicyGradient.importanceSecondMoment_le_inv_epsilon (behavior target g : Fin n → ℝ) (ε : ℝ)
(hε : 0 < ε) (hb : ∀ a, 0 < behavior a)
(ht : ∀ a, 0 ≤ target a)
(hexplore : ∀ a, ε * target a ≤ behavior a) :
importanceSecondMoment behavior target g ≤
(1 / ε) * expect target (fun a => (g a) ^ 2) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/PolicyGradient/Theorems.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/PolicyGradient/Theorems.lean
import Mathlib
import Definitions.Def_MachineLearning_PolicyGradient_Theorems
/-
Copyright (c) 2026 Harmonic. All rights reserved.
Released under Apache 2.0 license.
# Finite policy-gradient and exploration-variance theorems
A self-contained finite-action formalization. Policies are differentiable
families of probability vectors. The score identity is represented without
logs by `∂p(a) = p(a) ψ(a)`.
-/
open PolicyGradient
open scoped BigOperators
variable {n d : ℕ}Formal statement
theorem PolicyGradient.importanceSecondMoment_le_inv_epsilon (behavior target g : Fin n → ℝ) (ε : ℝ)
(hε : 0 < ε) (hb : ∀ a, 0 < behavior a)
(ht : ∀ a, 0 ≤ target a)
(hexplore : ∀ a, ε * target a ≤ behavior a) :
importanceSecondMoment behavior target g ≤
(1 / ε) * expect target (fun a => (g a) ^ 2) := by sorrySource