AFTD Auto-Formalizing Theoretical Domains

MatrixGame.toMixedProfile

defimported Lean

Build a MixedProfile of toStrategicGame from a saddle-point pair.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset BigOperators 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
variable [DecidableEq I] [DecidableEq J] in
noncomputable def MatrixGame.toMixedProfile {π•œ : Type}
    [Field π•œ] [LinearOrder π•œ] [IsStrictOrderedRing π•œ]
    (A : MatrixGame I J π•œ) (xx : stdSimplex π•œ I) (yy : stdSimplex π•œ J) :
    EconCSLib.StrategicGame.MixedProfile A.toStrategicGame
Defined in
EconCSLib, `MatrixGame.toMixedProfile`
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.
What was changed in MatrixGame.toMixedProfile
--- EconCSLib/GameTheory/StrategicGame/ZeroSum/MatrixGameNash.lean:533 (MatrixGame.toMixedProfile)
+++ as compiled here
@@ -1,7 +1,13 @@
-/-- Build a `MixedProfile` of `toStrategicGame` from a saddle-point pair. -/
-noncomputable def toMixedProfile {π•œ : Type}
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open Finset BigOperators 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
+variable [DecidableEq I] [DecidableEq J] in
+noncomputable def MatrixGame.toMixedProfile {π•œ : Type}
     [Field π•œ] [LinearOrder π•œ] [IsStrictOrderedRing π•œ]
     (A : MatrixGame I J π•œ) (xx : stdSimplex π•œ I) (yy : stdSimplex π•œ J) :
-    StrategicGame.MixedProfile A.toStrategicGame
-  | 0 => xx
+    EconCSLib.StrategicGame.MixedProfile A.toStrategicGame | 0 => xx
   | 1 => yy
Verified
08 Oct 2026
Axioms
none listed
Built on 10
Used by 3

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset BigOperators 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
variable [DecidableEq I] [DecidableEq J] in
/-- Build a `MixedProfile` of `toStrategicGame` from a saddle-point pair. -/
noncomputable def MatrixGame.toMixedProfile {π•œ : Type}
    [Field π•œ] [LinearOrder π•œ] [IsStrictOrderedRing π•œ]
    (A : MatrixGame I J π•œ) (xx : stdSimplex π•œ I) (yy : stdSimplex π•œ J) :
    EconCSLib.StrategicGame.MixedProfile A.toStrategicGame
  | 0 => xx
  | 1 => yy
See it in the graphDiscuss this resultChallenge it