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

Teaching chapter 14 of 31 · Canonical route compiled

Closed and proper extended-real functions

Real-cut closedness/LSC and proper finite witnesses for shared extended indicators, with explicit arbitrary-topological generalization.

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 entering Orabona Chapter2 subgradient analysis.

Learning goals

  • Separate REAL cuts from infinite function values and derive the bottom threshold.
  • Read source Euclidean/Hausdorff scope as a specialization of the stronger arbitrary-topological Lean result.
  • Distinguish topology-free properness definition from actual topology-bearing public iff.
  • Use the same zero/top indicator, genuine finite witnesses and empty ambient/set boundaries; teaching order is not proof dependency.

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: Definitions 2.16/2.18, Examples 2.17/2.19 and the closedness/LSC observation
Pages
printed16/PDF28
Open at the cited pages
foundational equivalences · ordered flow

Definitions and proof flow

Read top to bottom to follow the argument or procedure.

  1. Check all real cuts

    Real-cut complements plus actual real density derive bottom strict superlevel; top empty. Includes bottom-valued losses on arbitrary topology.

  2. Evaluate indicator sublevels

    Calculate indicator cuts independently of the LSC theorem, without any convexity or properness premise.

  3. Separate finiteness from closedness

    Finite witness and nowhere-bottom are distinct. Empty ambient has no witness; actual properiff topology binder is API context, not a mathematical properness condition.

3 distinct theory routes, one frontier.Open the statement you want to compare; the other routes stay compact.
Source theorem · faithful restatementDefinition2.16 and following semicontinuity equivalenceBounded library declarationsprinted16
Source theorem · faithful restatement

Definition2.16 and following semicontinuity equivalence

Original at printed16 ↗
Bounded library declarationsArbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

Closedness and lower semicontinuity

Model
EReal-valued function on arbitrary topological E; source Euclidean and stated Hausdorff domains are included.
Assumptions
Only TopologicalSpace E. No T2/Hausdorff, convexity, properness, no-bottom, finite dimension or nonempty ambient premise. No closed-effective-domain or closed-epigraph substitute.
Algorithm parameters
SourceClosed quantifies REAL thresholds. LSC covers all EReal thresholds: bottom strict superlevel is the real-density union, finite cuts by complements, top empty.
Regret notion
Foundational definitions/equivalences, no regret or subgradient guarantee.
Guarantee
Closedness and lower semicontinuity
Source mathematical statement. Take complements of real closed sublevels. The strict superlevel above negative infinity is the union of real strict superlevels; above positive infinity it is empty. This supplies every extended-real threshold.

BanditRLlib relationship. Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

Source theorem · faithful restatementExample2.17Bounded library declarationsprinted16
Source theorem · faithful restatement

Example2.17

Original at printed16 ↗
Bounded library declarationsArbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

Closed constraint indicators

Model
Same canonical zero-on-V/top-outside extendedIndicator on arbitrary topological E.
Assumptions
Only TopologicalSpace E; all V, including empty/full/nonclosed/nonconvex. Neither Vclosed nor Vnonempty is assumed for the iff.
Algorithm parameters
Direct real-r cuts equal V if r>=0 and empty if r<0; r0 yields necessity. No call to the preceding LSC theorem.
Regret notion
Foundational definitions/equivalences, no regret or subgradient guarantee.
Guarantee
Closed constraint indicators
Source mathematical statement. For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.

BanditRLlib relationship. Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

Source theorem · faithful restatementDefinition2.18 and Example2.19Bounded library declarationsprinted16
Source theorem · faithful restatement

Definition2.18 and Example2.19

Original at printed16 ↗
Bounded library declarationsArbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

Proper constraint indicators

Model
Same canonical indicator; SourceProper itself applies to every type without topology, while this actual iff has TopologicalSpace E.
Assumptions
No Nonempty E, closed/convex V or Vnonempty premise. Finite-somewhere and nowhere-bottom are both required.
Algorithm parameters
A finite indicator value forces membership; a member witnesses value0 and nowhere-bottom. Empty E has no proper functions; full indicator proper iff E nonempty.
Regret notion
Foundational definitions/equivalences, no regret or subgradient guarantee.
Guarantee
Proper constraint indicators
Source mathematical statement. The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.

BanditRLlib relationship. Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

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.

Mathematics ↔ Lean

Closedness and lower semicontinuity

Lean declarationBanditRL.OnlineConvex.sourceClosed_iff_lowerSemicontinuous

Compiled

Plain-English statement. Take complements of real closed sublevels. The strict superlevel above negative infinity is the union of real strict superlevels; above positive infinity it is empty. This supplies every extended-real threshold.

Mathematical reading. Take complements of real closed sublevels. The strict superlevel above negative infinity is the union of real strict superlevels; above positive infinity it is empty. This supplies every extended-real threshold.
Intuition
Take complements of real closed sublevels. The strict superlevel above negative infinity is the union of real strict superlevels; above positive infinity it is empty. This supplies every extended-real threshold.
Why it is needed
Source-qualified prerequisite in the same shared Lean/Book registry; no new proof-count gain or Chapter2 completion.
Place in the proof
Orabona v10 printed16/PDF28; four numbered anchors/two definitions/two examples plus REQUIRED unnumbered equivalence,3retainedproofs/0newnodes.
Proof and Lean reading notes
Proof idea
Take complements of real closed sublevels. The strict superlevel above negative infinity is the union of real strict superlevels; above positive infinity it is empty. This supplies every extended-real threshold.
Lean reading notes
Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem sourceClosed_iff_lowerSemicontinuous (f : E → EReal) : SourceClosed f ↔ LowerSemicontinuous f
Mathematics ↔ Lean

Closed constraint indicators

Lean declarationBanditRL.OnlineConvex.sourceClosed_indicator_iff

Compiled

Plain-English statement. For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.

Mathematical reading. For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.
Intuition
For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.
Why it is needed
Source-qualified prerequisite in the same shared Lean/Book registry; no new proof-count gain or Chapter2 completion.
Place in the proof
Orabona v10 printed16/PDF28; four numbered anchors/two definitions/two examples plus REQUIRED unnumbered equivalence,3retainedproofs/0newnodes.
Proof and Lean reading notes
Proof idea
Direct canonical indicator cuts V if r>=0 else empty, with r0 necessity; independent of the LSC theorem.
Lean reading notes
Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.extendedIndicator
Exact Lean statement
theorem sourceClosed_indicator_iff (V : Set E) : SourceClosed (extendedIndicator V) ↔ IsClosed V
Mathematics ↔ Lean

Proper constraint indicators

Lean declarationBanditRL.OnlineConvex.sourceProper_indicator_iff

Compiled

Plain-English statement. The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.

Mathematical reading. The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.
Intuition
The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.
Why it is needed
Source-qualified prerequisite in the same shared Lean/Book registry; no new proof-count gain or Chapter2 completion.
Place in the proof
Orabona v10 printed16/PDF28; four numbered anchors/two definitions/two examples plus REQUIRED unnumbered equivalence,3retainedproofs/0newnodes.
Proof and Lean reading notes
Proof idea
The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.
Lean reading notes
Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.extendedIndicator
Exact Lean statement
theorem sourceProper_indicator_iff (V : Set E) : SourceProper (extendedIndicator V) ↔ V.Nonempty

Maintainer contract

Open the canonical completion definition and blockers

Three equivalences and two literal definitions. 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

  • Arbitrary topological spaces generalize the source Euclidean/Hausdorff scope. No convexity, properness or separation premise is needed for closedness. The properness definition needs no topology, although its indicator equivalence retains a topology instance. The source cites the lower-semicontinuity equivalence externally and supplies no proofs for the two indicator examples; the explanations here are library proofs. Later source obligations, Chapter 2 and the whole book remain incomplete.

All Lean modules in this chapter

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