Lean module · Absolute value
BanditRLProof.OnlineSubgradientAbsolute
Orabona, Online Learning: A Modern Introduction Using Convex Optimization, arXiv:1912.13213v10, Example 2.24, printed page 18 / PDF page 30. These equalities characterize every global scalar support: positive queries have slope 1, zero admits the entire closed interval [-1,1], and negative queries have slope -1. Real-valued absolute value is embedded into EReal only to reuse the shared support definition. This is not a higher-dimensional norm claim, an algorithm guarantee, Chapter 2 completion, or whole-book completion.
Module map
Imports
BanditRLProof.OnlineSubgradientBasic
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRL.OnlineConvex.abs_subgradient_zero
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Absolute-value subdifferential
Canonical node identity
declaration:BanditRL.OnlineConvex.abs_subgradient_zeroReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem abs_subgradient_zero : SourceSubdifferential (fun y : ℝ => ((|y| : ℝ) : EReal)) 0 = Icc (-1 : ℝ) 1
theorem
BanditRL.OnlineConvex.abs_subgradient_positive
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Absolute-value subdifferential
Canonical node identity
declaration:BanditRL.OnlineConvex.abs_subgradient_positiveReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem abs_subgradient_positive (x : ℝ) (hx : 0 < x) : SourceSubdifferential (fun y : ℝ => ((|y| : ℝ) : EReal)) x = {(1 : ℝ)}
theorem
BanditRL.OnlineConvex.abs_subgradient_negative
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Absolute-value subdifferential
Canonical node identity
declaration:BanditRL.OnlineConvex.abs_subgradient_negativeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem abs_subgradient_negative (x : ℝ) (hx : x < 0) : SourceSubdifferential (fun y : ℝ => ((|y| : ℝ) : EReal)) x = {(-1 : ℝ)}
theorem
BanditRL.OnlineConvex.example_2_24
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Absolute-value subdifferential
Canonical node identity
declaration:BanditRL.OnlineConvex.example_2_24Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem example_2_24 (x : ℝ) : SourceSubdifferential (fun y : ℝ => ((|y| : ℝ) : EReal)) x = if 0 < x then {(1 : ℝ)} else if x = 0 then Icc (-1 : ℝ) 1 else {(-1 : ℝ)}