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

Teaching chapter 20 of 31 · Canonical route compiled

Indicator supports and normal cones

Characterize full feasible normals, ambient interior zero and the entire nonnegative unit-ball boundary ray.

How to read the status. It describes this page's canonical local Lean route, not completion of the cited textbook chapter or every extension listed below.

Orientation

Who should read this. Readers of Orabona Example2.25.

Learning goals

  • Keep queried feasibility in the cone definition and prove the full indicator equality.
  • Derive zero interior normals from an actual feasible neighborhood.
  • Construct the full boundary ray using normalization and Cauchy equality, including the zero vector.

Textbook crosswalk

Read the mathematics before the Lean interface

This reading follows Online Learning: A Modern Introduction Using Convex Optimization. Teaching routes group mathematical dependencies across the shared library. Visible page labels use the cited source's numbered pages; source buttons use the PDF viewer's physical page index, including front matter. Companion papers cover algorithm-specific results.

Primary spine · arXiv:1912.13213v10,21June2026

Online Learning: A Modern Introduction Using Convex Optimization

Francesco Orabona

Location
Section 2.2.1, Example 2.25: indicator and normal cone
Pages
printed18/PDF30
Open at the cited pages
proof flow · ordered flow

Construct and characterize the actual normals

Read top to bottom to follow the argument or procedure.

  1. Use the actual indicator support

    Nonempty V produces actual indicator properness. The shared support-domain theorem forces queried x∈V. At every feasible y, the global support inequality reduces to inner(g,y-x)≤0; outside y its upper value is top. Conversely actual feasible normality gives global support at EVERY ambient y. Exact equality holds for EVERY query and candidate vector, including outside-query emptiness.

  2. Move along an interior normal

    AMBIENT interior supplies an actual metric ball around x inside V. If g≠0, choose a=r/(2‖g‖)>0 so actual y=x+ag lies in that ball; normality gives a‖g‖²≤0, contradicting positivity. Zero satisfies all inequalities and x is feasible. Ambient interior is not relative interior; no conclusion of zero normals is supplied at a thin set with empty ambient interior.

  3. Normalize a boundary normal

    The set is the CLOSED unit ball ‖y‖≤1, query ‖x‖=1. Zero gives α=0. For g≠0 test actual y=g/‖g‖; normality and Cauchy imply inner(g,x)=‖g‖. The squared difference ‖g-‖g‖x‖²=0 produces g=‖g‖x and α=‖g‖≥0. Conversely EVERY real α≥0 satisfies ALL feasible-y inequalities by Cauchy. Whole ray equality includes zero and both directions; radiality is produced, not assumed. In zero dimension no norm1 query exists, so this boundary result is vacuous without adding d>0.

3 distinct theory routes, one frontier.Open the statement you want to compare; the other routes stay compact.
Source theorem · faithful restatementExample2.25 indicatorBounded library declarationsprinted18
Source theorem · faithful restatement

Example2.25 indicator

Original at printed18 ↗
Bounded library declarationsThe library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.

For nonempty convex V and x in V, indicator supports are exactly the vectors satisfying all feasible displacement inequalities. The library feasible-normal convention extends equality to every x.

Model
Finite-dimensional real inner-product space, zero/top indicator and explicitly feasible normals.
Assumptions
Explicit FD/nonemptyconvexV; every ambientquery x including outsideV. No query-feasibility, generalclosed/boundedV premise.
Algorithm parameters
Every candidate g, EVERY ambient support test y and EVERY feasible normal test y.
Regret notion
No algorithm/regret/probability/feedback/computable or measurable vector selection claim.
Guarantee
Complete indicator subdifferential equals full feasible normal set, both directions/allqueries incloutsideempty.
Source mathematical statement. For nonempty convex V and x in V, indicator supports are exactly the vectors satisfying all feasible displacement inequalities. The library feasible-normal convention extends equality to every x.

BanditRLlib relationship. The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them.

Source theorem · faithful restatementExample2.25 interiorBounded library declarationsprinted18
Source theorem · faithful restatement

Example2.25 interior

Original at printed18 ↗
Bounded library declarationsThe library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.

Interior normals are exactly zero, proved from an actual feasible neighborhood.

Model
Finite-dimensional real inner-product space, zero/top indicator and explicitly feasible normals.
Assumptions
Explicit FD/nonemptyconvexV, x in actual AMBIENT interiorV. No relative-interior or closedV replacement.
Algorithm parameters
Every eligible interiorquery x and every candidate g.
Regret notion
No algorithm/regret/probability/feedback/computable or measurable vector selection claim.
Guarantee
Entire normal set equals singletonzero, including actual membership of0.
Source mathematical statement. Interior normals are exactly zero, proved from an actual feasible neighborhood.

BanditRLlib relationship. The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them.

Source theorem · faithful restatementExample2.25 unit-ball boundaryBounded library declarationsprinted18
Source theorem · faithful restatement

Example2.25 unit-ball boundary

Original at printed18 ↗
Bounded library declarationsThe library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.

Every boundary normal is a nonnegative radial multiple, and every such multiple is a normal.

Model
Finite-dimensional real inner-product space, zero/top indicator and explicitly feasible normals.
Assumptions
Explicit FD and normx=1, CLOSEDunitballnormy≤1. No assumed direction/multiplier or positive dimension.
Algorithm parameters
Every unit queryx/every candidateg/realα≥0 including0; EVERY feasibley.
Regret notion
No algorithm/regret/probability/feedback/computable or measurable vector selection claim.
Guarantee
FULL nonnegative radial-ray equality, produced and proved in both directions. Zero-dimensional case has no unitquery.
Source mathematical statement. Every boundary normal is a nonnegative radial multiple, and every such multiple is a normal.

BanditRLlib relationship. The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them.

Natural-language and Lean side by side

The mathematical readings are explanatory summaries. The exact generated Lean statement and its source link remain authoritative for hypotheses, types, constants, and indexing.

A curated route through definitions, key bridges, and canonical terminals stays visible. 1 additional dependency, extension, or research-frontier notes are grouped below.

Mathematics ↔ Lean

Indicator support equals the normal cone

Lean declarationBanditRL.OnlineConvex.indicator_subdifferential_eq_normalCone

Compiled

Plain-English statement. Indicator support equals the normal cone

Mathematical reading. Indicator support equals the normal cone
Intuition
Use actual global support geometry to characterize the entire set.
Why it is needed
Indicator support equals the normal cone
Place in the proof
Three theorems and one feasible-normal definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
Nonempty V produces actual indicator properness. The shared support-domain theorem forces queried x∈V. At every feasible y, the global support inequality reduces to inner(g,y-x)≤0; outside y its upper value is top. Conversely actual feasible normality gives global support at EVERY ambient y. Exact equality holds for EVERY query and candidate vector, including outside-query emptiness.
Lean reading notes
The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.SourceNormalCone
Exact Lean statement
theorem indicator_subdifferential_eq_normalCone [FiniteDimensional ℝ E] (V : Set E) (hVn : V.Nonempty) (hVc : Convex ℝ V) (x : E) : SourceSubdifferential (extendedIndicator V) x = SourceNormalCone V x
Mathematics ↔ Lean

Interior normals are exactly zero

Lean declarationBanditRL.OnlineConvex.normalCone_interior_eq_zero

Compiled

Plain-English statement. Interior normals are exactly zero

Mathematical reading. Interior normals are exactly zero
Intuition
Use actual global support geometry to characterize the entire set.
Why it is needed
Interior normals are exactly zero
Place in the proof
Three theorems and one feasible-normal definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
AMBIENT interior supplies an actual metric ball around x inside V. If g≠0, choose a=r/(2‖g‖)>0 so actual y=x+ag lies in that ball; normality gives a‖g‖²≤0, contradicting positivity. Zero satisfies all inequalities and x is feasible. Ambient interior is not relative interior; no conclusion of zero normals is supplied at a thin set with empty ambient interior.
Lean reading notes
The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.SourceNormalCone
Exact Lean statement
theorem normalCone_interior_eq_zero [FiniteDimensional ℝ E] (V : Set E) (hVn : V.Nonempty) (hVc : Convex ℝ V) (x : E) (hx : x ∈ interior V) : SourceNormalCone V x = {(0 : E)}
Mathematics ↔ Lean

Boundary normals form the full nonnegative ray

Lean declarationBanditRL.OnlineConvex.normalCone_unitBall_boundary

Compiled

Plain-English statement. Boundary normals form the full nonnegative ray

Mathematical reading. Boundary normals form the full nonnegative ray
Intuition
Use actual global support geometry to characterize the entire set.
Why it is needed
Boundary normals form the full nonnegative ray
Place in the proof
Three theorems and one feasible-normal definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
The set is the CLOSED unit ball ‖y‖≤1, query ‖x‖=1. Zero gives α=0. For g≠0 test actual y=g/‖g‖; normality and Cauchy imply inner(g,x)=‖g‖. The squared difference ‖g-‖g‖x‖²=0 produces g=‖g‖x and α=‖g‖≥0. Conversely EVERY real α≥0 satisfies ALL feasible-y inequalities by Cauchy. Whole ray equality includes zero and both directions; radiality is produced, not assumed. In zero dimension no norm1 query exists, so this boundary result is vacuous without adding d>0.
Lean reading notes
The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.SourceNormalCone
Exact Lean statement
theorem normalCone_unitBall_boundary [FiniteDimensional ℝ E] (x : E) (hx : ‖x‖ = 1) : SourceNormalCone {y : E | ‖y‖ ≤ 1} x = {g | ∃ α : ℝ, 0 ≤ α ∧ g = α • x}
Explore 1 additional Lean teaching notes
Mathematics ↔ Lean

Feasible query and all feasible displacements

Lean declarationBanditRL.OnlineConvex.SourceNormalCone

Compiled

Plain-English statement. Feasible query and all feasible displacements

Mathematical reading. Feasible query and all feasible displacements
Intuition
Feasibility of the query is part of the full defining predicate; every feasible displacement is tested.
Why it is needed
Feasible query and all feasible displacements
Place in the proof
Three theorems and one feasible-normal definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
This is a retained Set definition, not a proved characterization: x∈V AND ∀y∈V inner(g,y−x)≤0. It has no FD/nonempty/convexity premise.
Lean reading notes
The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
def SourceNormalCone (V : Set E) (x : E) : Set E

Maintainer contract

Open the canonical completion definition and blockers

Three theorems and one feasible-normal definition. Later source obligations, Chapter 2 and the whole book remain incomplete.

Remaining blockers

  • Later source obligations, Chapter 2 and the whole book remain incomplete.

Chapter implementation status

The compact summary keeps the reading route visible. Open it for source-linked declarations and exact remaining gaps.

Open 0 implementation records0 compiled · 0 partial · 0 blocked · 0 planned
MilestoneStatusLean declarationRemaining gap

Open boundaries

  • The library chooses feasible normals: x belongs to V and every feasible displacement has nonpositive inner product. This explicitly makes the cone empty outside V; the inspected source names the cone after an x-in-V reduction and does not independently specify its off-set convention (G2.25.OFFSET). Indicator equality and interior equality retain nonempty convex V in a finite-dimensional real inner-product space; no closedness of V is added. The unit-ball result retains norm x=1 and the entire nonnegative ray, including zero. The definition itself needs no finite dimension, convexity or nonemptiness. The reverse indicator bridge is compressed in the source, the interior proof is only a hint, and the ball equality has no local proof (G2.25.EQUIV, G2.25.INTERIOR, G2.25.BALL). The proofs below complete these library arguments without claiming the source supplied them.

All Lean modules in this chapter

Open the complete module list (1 modules)
ModuleDeclarationsProject importsStatus
BanditRLProof.OnlineNormalCone41Compiled