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
Read top to bottom to follow the argument or procedure.
01
Check all real cuts
Real-cut complements plus actual real density derive bottom strict superlevel; top empty. Includes bottom-valued losses on arbitrary topology.
02
Evaluate indicator sublevels
Calculate indicator cuts independently of the LSC theorem, without any convexity or properness premise.
03
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
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.Formula renderer unavailable; readable fallback: 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.\(\operatorname{SourceClosed}(f)\iff f\text{ is lower semicontinuous}\)Swipe to read the full formula →
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.
The mathematical content is restated in this site's notation; wording is ours. See printed16 in the linked source for the original statement and full assumptions.
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.Formula renderer unavailable; readable fallback: For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.\(\operatorname{SourceClosed}(I_V)\iff V\text{ is closed}\)Swipe to read the full formula →
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.
The mathematical content is restated in this site's notation; wording is ours. See printed16 in the linked source for the original statement and full assumptions.
Source theorem · faithful restatementDefinition2.18 and Example2.19Bounded library declarationsprinted16+
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.Formula renderer unavailable; readable fallback: The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.\(\operatorname{SourceProper}(I_V)\iff V\ne\varnothing\)Swipe to read the full formula →
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.
The mathematical content is restated in this site's notation; wording is ours. See printed16 in the linked source for the original statement and full assumptions.
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.
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.Formula renderer unavailable; readable fallback: 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.\(\operatorname{SourceClosed}(f)\iff f\text{ is lower semicontinuous}\)Swipe to read the full formula →
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
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.Formula renderer unavailable; readable fallback: For a real cut r, the indicator sublevel is V when r>=0 and empty otherwise. In particular the cut0 recovers V.\(\operatorname{SourceClosed}(I_V)\iff V\text{ is closed}\)Swipe to read the full formula →
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
Plain-English statement. The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.
Mathematical reading.Formula renderer unavailable; readable fallback: The indicator never equals negative infinity; it has a finite real value exactly when a point of V exists.\(\operatorname{SourceProper}(I_V)\iff V\ne\varnothing\)Swipe to read the full formula →
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
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.