prefixPotential
defimported Lean
The prefix potential is the sum of prefix Hedge weights over all rows: \[ \Phi_t \;=\; \sum_{i \in \mathrm{Fin}\,M} w_t(i). \]
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in open Real Finset BigOperators in noncomputable def prefixPotential {M N : ℕ} (G : ZeroSumGame M N) (η : ℝ) {t : ℕ} (actions : Fin t → Fin N) : ℝ
- Defined in
- TCSlib, `prefixPotential`
- 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.prefixPotential← prefixPotential (TCSlib/LearningTheory/Minimax/HedgeInteraction.lean:220): verbatim
- Verified
- 07 Oct 2026
- Axioms
- none listed
- Built on 2
- ZeroSumGameA finite two-player zero-sum game with $M$ row actions and $N$ column actions is a record consisting of a payoff matrix…
- prefixHedgeWeightThe unnormalised Hedge weight of row $i$ after seeing a prefix of column actions at learning rate $\eta$ is…
- Used by 3
- prefixPotential_eq_potentialPrefix potential equals the induced Hedge potential. Let $G$ be a finite two-player zero-sum game with payoff matrix $A$ having $M$ rows…
- prefixHedgeMixedStrategyThe normalised Hedge distribution after a prefix of $t$ column actions is the mixed row strategy with weights…
- prefixPotential_posPositivity of the prefix potential. Let $G$ be a finite two-player zero-sum game with at least one row action, fix a learning rate…
Lean source view module on GitHub
set_option relaxedAutoImplicit false in set_option autoImplicit false in open Real Finset BigOperators in /-- The prefix potential: the sum over rows of the prefix Hedge weights. -/ noncomputable def prefixPotential {M N : ℕ} (G : ZeroSumGame M N) (η : ℝ) {t : ℕ} (actions : Fin t → Fin N) : ℝ := ∑ i : Fin M, prefixHedgeWeight G η actions i