AFTD Auto-Formalizing Theoretical Domains

OnlineLearning.payoffVsPure_nonneg

theoremverifiedimported Lean

Nonnegativity of the mixed payoff against a pure column. Let $G$ be a finite two-player zero-sum game with $M$ row actions and $N$ column actions, let $p$ be a mixed row strategy over the $M$ rows, and let $j$ be a pure column action. Then the expected payoff of $p$ against column $j$ is non-negative: \[ \sum_{i} p_i \cdot A_{ij} \;\ge\; 0. \]

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open Real Finset BigOperators in
lemma OnlineLearning.payoffVsPure_nonneg {M N : ℕ} (G : ZeroSumGame M N)
    (p : MixedStrategy M) (j : Fin N) :
    0 ≤ payoffVsPure G p j
Source
TCSlib, `OnlineLearning.payoffVsPure_nonneg`
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.
Verified
07 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • MixedStrategyA mixed strategy over $n$ actions is a record consisting of a weight function $w : \mathrm{Fin}\,n \to \mathbb{R}$ together with…
  • ZeroSumGameA finite two-player zero-sum game with $M$ row actions and $N$ column actions is a record consisting of a payoff matrix…
  • payoffVsPureGiven a game $G$, a mixed row strategy $p$, and a pure column $j$, the expected payoff against column $j$ is…
Used by 1

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen Real Finset BigOperators in/-- Expected payoff against a pure column is nonnegative because payoffs and mixed-strategy weights are nonnegative. -/lemma OnlineLearning.payoffVsPure_nonneg {M N : ℕ} (G : ZeroSumGame M N)    (p : MixedStrategy M) (j : Fin N) :    0 ≤ payoffVsPure G p j := by  exact Finset.sum_nonneg fun i _ =>    mul_nonneg (p.nonneg i) (G.payoff_nonneg i j)
See it in the graphDiscuss this resultChallenge it