BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Lean module · History-dependent OSD

BanditRLProof.OnlineSubgradientPolicy

Orabona arXiv:1912.13213v10, Algorithm 2.2 / Lemma 2.31 and the explicit Theorem 2.13 / equation (2.1) transfer (printed 19-21 and 13-15). A support policy sees finite past losses/outputs and the current whole loss. The actual history appends the shared nearest projection of the actual update. Performance requires legal supports only at played points; the stronger off-path oracle law is an optional sufficient adapter. Fixed and decreasing step bounds keep the negative terminal squared-distance term. The fixed branch allows T=0 and unbounded domains. Tuning is for the same horizon-prescribed run with D,G,T>0, not

Module map

Declarations
30
Placeholders
0

Imports

BanditRLProof.OnlineSubgradientDescent

Imported by

BanditRLProof, BanditRLProof.OnlineAdaptiveOSD, BanditRLProof.OnlineGuessingSubgradientPolicy, BanditRLProof.OnlineLinearization, BanditRLProof.OnlineUnitScaling

Declarations

Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.

abbrev BanditRL.OnlineSubgradientPolicy.Domain Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.Domain

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

abbrev Domain
abbrev BanditRL.OnlineSubgradientPolicy.SupportPolicy Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.SupportPolicy

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

abbrev SupportPolicy
def BanditRL.OnlineSubgradientPolicy.history Compiled

Only finite past losses/outputs and the currently observed loss are inputs.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.history

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def history (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) : (t : ℕ) → Fin (t + 1) → E
def BanditRL.OnlineSubgradientPolicy.output Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.output

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def output (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) : E
def BanditRL.OnlineSubgradientPolicy.selected Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.selected

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def selected (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) : E
def BanditRL.OnlineSubgradientPolicy.OracleLaw Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.OracleLaw

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def OracleLaw (V : Domain (E := E)) (p : SupportPolicy (E := E)) : Prop
def BanditRL.OnlineSubgradientPolicy.canonicalPolicy Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.canonicalPolicy

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def canonicalPolicy : SupportPolicy (E := E)
def BanditRL.OnlineSubgradientPolicy.LegalFeedback Compiled

Legality is imposed only at the actual played points, not at off-path histories.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.LegalFeedback

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def LegalFeedback (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (T : ℕ) : Prop
def BanditRL.OnlineSubgradientPolicy.regret Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def regret (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (u : E) (T : ℕ) : ℝ
theorem BanditRL.OnlineSubgradientPolicy.history_zero Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.history_zero

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem history_zero (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) : history V η loss x₁ p 0 = fun _ => x₁
theorem BanditRL.OnlineSubgradientPolicy.history_succ Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.history_succ

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem history_succ (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) : history V η loss x₁ p (t + 1) = Fin.snoc (history V η loss x₁ p t) (BanditRL.OnlineGradientDescent.project V (output V η loss x₁ p t - η t • selected V η loss x₁ p t))
theorem BanditRL.OnlineSubgradientPolicy.output_zero Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.output_zero

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem output_zero (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) : output V η loss x₁ p 0 = x₁
theorem BanditRL.OnlineSubgradientPolicy.output_succ Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.output_succ

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem output_succ (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) : output V η loss x₁ p (t + 1) = BanditRL.OnlineGradientDescent.project V (output V η loss x₁ p t - η t • selected V η loss x₁ p t)
theorem BanditRL.OnlineSubgradientPolicy.history_mem Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.history_mem

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem history_mem (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (i : Fin (t + 1)) : history V η loss x₁ p t i ∈ V.carrier
theorem BanditRL.OnlineSubgradientPolicy.output_mem Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.output_mem

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem output_mem (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) : output V η loss x₁ p t ∈ V.carrier
theorem BanditRL.OnlineSubgradientPolicy.history_prefix Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.history_prefix

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem history_prefix (V : Domain (E := E)) (η η' : ℕ → ℝ) (loss loss' : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) (hη : ∀ s < t, η s = η' s) (hloss : ∀ s < t, loss s = loss' s) : history V η loss x₁ p t = history V η' loss' x₁ p t
theorem BanditRL.OnlineSubgradientPolicy.output_prefix Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.output_prefix

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem output_prefix (V : Domain (E := E)) (η η' : ℕ → ℝ) (loss loss' : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) (hη : ∀ s < t, η s = η' s) (hloss : ∀ s < t, loss s = loss' s) : output V η loss x₁ p t = output V η' loss' x₁ p t
theorem BanditRL.OnlineSubgradientPolicy.oracle_feedback Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.oracle_feedback

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem oracle_feedback (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hp : OracleLaw V p) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) : LegalFeedback V η loss x₁ p T
theorem BanditRL.OnlineSubgradientPolicy.trajectory_finite_loss Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.trajectory_finite_loss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem trajectory_finite_loss (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (hloss : BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (u : E) (hu : u ∈ V.carrier) : loss t (output V η loss x₁ p t) = ((loss t (output V η loss x₁ p t)).toReal : EReal) ∧ loss t u = ((loss t u).toReal : EReal)
theorem BanditRL.OnlineSubgradientPolicy.one_step_chain Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.one_step_chain

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem one_step_chain (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) (hη : 0 < η t) (hloss : BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hg : selected V η loss x₁ p t ∈ SourceSubdifferential (loss t) (output V η loss x₁ p t)) (u : E) (hu : u ∈ V.carrier) : η t * ((loss t (output V η loss x₁ p t)).toReal - (loss t u).toReal) ≤ η t * inner ℝ (selected V η loss x₁ p t) (output V η loss x₁ p t - u) ∧ η t * inner ℝ (selected V η loss x₁ p t) (output V η loss x₁ p t - u) ≤ ‖output V η loss x₁ p t - u‖ ^ 2 / 2 - ‖output V η loss x₁ p (t + 1) - u‖ ^ 2 / 2 + (η t) ^ 2 / 2 * ‖selected V η loss x₁ p t‖ ^ 2
theorem BanditRL.OnlineSubgradientPolicy.one_step Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.one_step

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem one_step (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (t : ℕ) (hη : 0 < η t) (hloss : BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hg : selected V η loss x₁ p t ∈ SourceSubdifferential (loss t) (output V η loss x₁ p t)) (u : E) (hu : u ∈ V.carrier) : (loss t (output V η loss x₁ p t)).toReal - (loss t u).toReal ≤ (‖output V η loss x₁ p t - u‖ ^ 2 - ‖output V η loss x₁ p (t + 1) - u‖ ^ 2) / (2 * η t) + η t / 2 * ‖selected V η loss x₁ p t‖ ^ 2
theorem BanditRL.OnlineSubgradientPolicy.regret_fixed Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_fixed

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_fixed (V : Domain (E := E)) (η : ℝ) (hη : 0 < η) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V (fun _ => η) loss x₁ p T) (u : E) (hu : u ∈ V.carrier) : regret V (fun _ => η) loss x₁ p u T ≤ ‖x₁ - u‖ ^ 2 / (2 * η) + η / 2 * (∑ t ∈ range T, ‖selected V (fun _ => η) loss x₁ p t‖ ^ 2) - ‖output V (fun _ => η) loss x₁ p T - u‖ ^ 2 / (2 * η)
theorem BanditRL.OnlineSubgradientPolicy.regret_fixed_coarse Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_fixed_coarse

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_fixed_coarse (V : Domain (E := E)) (η : ℝ) (hη : 0 < η) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V (fun _ => η) loss x₁ p T) (u : E) (hu : u ∈ V.carrier) : regret V (fun _ => η) loss x₁ p u T ≤ ‖x₁ - u‖ ^ 2 / (2 * η) + η / 2 * (∑ t ∈ range T, ‖selected V (fun _ => η) loss x₁ p t‖ ^ 2)
theorem BanditRL.OnlineSubgradientPolicy.regret_variable_bound Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_variable_bound

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_variable_bound (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (hη : ∀ t < T, 0 < η t) (hmono : ∀ t, t + 1 < T → η (t + 1) ≤ η t) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V η loss x₁ p T) (D : ℝ) (hdiam : ∀ x ∈ V.carrier, ∀ y ∈ V.carrier, ‖x - y‖ ≤ D) (u : E) (hu : u ∈ V.carrier) : regret V η loss x₁ p u T ≤ D ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖selected V η loss x₁ p t‖ ^ 2) - ‖output V η loss x₁ p T - u‖ ^ 2 / (2 * η (T - 1))
theorem BanditRL.OnlineSubgradientPolicy.regret_variable Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_variable

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_variable (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (hη : ∀ t < T, 0 < η t) (hmono : ∀ t, t + 1 < T → η (t + 1) ≤ η t) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V η loss x₁ p T) (hV : Bornology.IsBounded V.carrier) (u : E) (hu : u ∈ V.carrier) : regret V η loss x₁ p u T ≤ (Metric.diam V.carrier) ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖selected V η loss x₁ p t‖ ^ 2) - ‖output V η loss x₁ p T - u‖ ^ 2 / (2 * η (T - 1))
theorem BanditRL.OnlineSubgradientPolicy.regret_tuned_distance Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_tuned_distance

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_tuned_distance (V : Domain (E := E)) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (D G : ℝ) (hD : 0 < D) (hG : 0 < G) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V (fun _ => D / (G * Real.sqrt T)) loss x₁ p T) (u : E) (hu : u ∈ V.carrier) (hdist : ‖x₁ - u‖ ≤ D) (hgrad : ∀ t < T, ‖selected V (fun _ => D / (G * Real.sqrt T)) loss x₁ p t‖ ≤ G) : regret V (fun _ => D / (G * Real.sqrt T)) loss x₁ p u T ≤ D * G * Real.sqrt T
theorem BanditRL.OnlineSubgradientPolicy.regret_tuned Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.regret_tuned

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem regret_tuned (V : Domain (E := E)) (loss : ℕ → E → EReal) (x₁ : E) (p : SupportPolicy (E := E)) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (D G : ℝ) (hD : 0 < D) (hG : 0 < G) (hloss : ∀ t < T, BanditRL.OnlineSubgradientDescent.SubdifferentiableOn V (loss t)) (hlegal : LegalFeedback V (fun _ => D / (G * Real.sqrt T)) loss x₁ p T) (hdiam : ∀ x ∈ V.carrier, ∀ y ∈ V.carrier, ‖x - y‖ ≤ D) (hgrad : ∀ t < T, ‖selected V (fun _ => D / (G * Real.sqrt T)) loss x₁ p t‖ ≤ G) : ∀ u ∈ V.carrier, regret V (fun _ => D / (G * Real.sqrt T)) loss x₁ p u T ≤ D * G * Real.sqrt T
theorem BanditRL.OnlineSubgradientPolicy.canonicalPolicy_legal Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.canonicalPolicy_legal

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem canonicalPolicy_legal (V : Domain (E := E)) : OracleLaw V (canonicalPolicy (E := E))
theorem BanditRL.OnlineSubgradientPolicy.canonical_output Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.canonical_output

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem canonical_output (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (t : ℕ) : output V η loss x₁ canonicalPolicy t = BanditRL.OnlineSubgradientDescent.iterate V η loss x₁ t
theorem BanditRL.OnlineSubgradientPolicy.canonical_selected Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OSD with legal history-dependent support policies

Canonical node identitydeclaration:BanditRL.OnlineSubgradientPolicy.canonical_selected

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem canonical_selected (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (t : ℕ) : selected V η loss x₁ canonicalPolicy t = BanditRL.OnlineSubgradientDescent.currentSubgradient (loss t) (BanditRL.OnlineSubgradientDescent.iterate V η loss x₁ t)