OnlineLearning.minimaxSublevel_isClosed
theoremverifiedimported Lean
Closedness of the minimax sublevel set. Let $X \subseteq \bbr$ be a closed set, let $f\colon \bbr \times \bbr \to \bbr$ be a payoff function, and fix a column point $y \in \bbr$ and a threshold $c \in \bbr$. If the map $x \mapsto f(x,y)$ is continuous on $X$, then the minimax sublevel set $\mathrm{sublevel}(X,f,y,c) = X \cap \{x \in \bbr : f(x,y) \le c\}$ is closed.
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in open Real Finset BigOperators in lemma OnlineLearning.minimaxSublevel_isClosed {X : Set ℝ} {f : ℝ → ℝ → ℝ} {y c : ℝ} (hX : IsClosed X) (hf : ContinuousOn (fun x => f x y) X) : IsClosed (minimaxSublevel X f y c)
- Source
- TCSlib, `OnlineLearning.minimaxSublevel_isClosed`
- Lean proof
- By Karim Abdel Sadek, Mark Bedaywi, from github.com/Shilun-Allan-Li/tcslib at
c8a02591b1e5(Copyright (c) 2026 Karim Abdel Sadek and Mark Bedaywi. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.OnlineLearning.minimaxSublevel_isClosed← OnlineLearning.minimaxSublevel_isClosed (TCSlib/LearningTheory/Minimax/ConvexMinimaxCore.lean:394): verbatim
- Verified
- 07 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- OnlineLearning.minimaxSublevelFor a set $X \subseteq \bbr$, a payoff function $f$, a column point $y$, and a threshold $c \in \bbr$, the minimax sublevel set is…
- Used by 1
- OnlineLearning.exists_forall_le_of_finite_sublevel_intersectionsFrom finite feasibility to a uniform row point. Let $X, Y \subseteq \bbr$ together with a payoff function $f : \bbr \to \bbr \to \bbr$…
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option relaxedAutoImplicit false inset_option autoImplicit false inopen Real Finset BigOperators in/-- The sublevel set is closed when `X` is closed and the payoff is continuous on `X` in the row variable. -/lemma OnlineLearning.minimaxSublevel_isClosed {X : Set ℝ} {f : ℝ → ℝ → ℝ} {y c : ℝ} (hX : IsClosed X) (hf : ContinuousOn (fun x => f x y) X) : IsClosed (minimaxSublevel X f y c) := by simpa [minimaxSublevel, Set.preimage, Set.Iic] using hf.preimage_isClosed_of_isClosed hX (isClosed_Iic : IsClosed (Set.Iic c))