AFTD Auto-Formalizing Theoretical Domains

MatrixGame.optimalRowSet_isClosed

theoremverifiedformalizationimported Lean

MatrixGame.optimalRowSet_isClosed

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset BigOperators Set in
set_option linter.unusedSectionVars false in
universe u in
variable {I J : Type u} [Fintype I] [Fintype J] [Nonempty I] [Nonempty J] in
variable (A : MatrixGame I J ℝ) in
theorem MatrixGame.optimalRowSet_isClosed : IsClosed A.optimalRowSet
Formalizes
EconCSLib, `MatrixGame.optimalRowSet_isClosed`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
Used by 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Finset BigOperators Set inset_option linter.unusedSectionVars false inuniverse u invariable {I J : Type u} [Fintype I] [Fintype J] [Nonempty I] [Nonempty J] invariable (A : MatrixGame I J ℝ) intheorem MatrixGame.optimalRowSet_isClosed : IsClosed A.optimalRowSet := by  have hsimplex : IsClosed (stdSimplex ℝ I) := isClosed_stdSimplex ℝ I  apply IsClosed.inter hsimplex  apply isClosed_iInter  intro j  -- {f | A.value ≤ ∑ i, f i * A.g i j} is closed: preimage of [A.value, ∞)  -- under the continuous functional f ↦ ∑ i, f i * A.g i j.  refine IsClosed.preimage ?_ isClosed_Ici  exact continuous_finset_sum _ (fun i _ => (continuous_apply i).mul continuous_const)
See it in the graphDiscuss this resultChallenge it