AFTD Auto-Formalizing Theoretical Domains

JointDistribution.rowMarginal

defimported Lean

The row marginal of $\sigma$ at row action $i$ is $\sigma^{\mathrm{row}}_i = \sum_{j} \sigma_{ij}$, i.e.\ the probability that the row player plays $i$ under $\sigma$.

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open Finset BigOperators in
variable {M N : ℕ} in
noncomputable def JointDistribution.rowMarginal (σ : JointDistribution M N) (i : Fin M) : ℝ
Defined in
TCSlib, `JointDistribution.rowMarginal`
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
none listed
Built on 1
  • JointDistributionA joint distribution $\sigma$ on $\mathrm{Fin}\,M \times \mathrm{Fin}\,N$ is a nonnegative function $\sigma_{ij} \ge 0$ satisfying…
Used by 2
  • JointDistribution.colDeviationUtilityThe column player's expected utility from unilaterally deviating to the fixed pure action $j'$, while the row player keeps $\sigma$'s row…
  • empiricalJoint_rowMarginalRow marginal of the empirical joint distribution. Fix $T \ge 1$ rounds of play in which the row player uses mixed strategies…

Lean source view module on GitHub

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open Finset BigOperators in
variable {M N : ℕ} in
/-- The row marginal of a joint distribution: the probability that the row player plays `i`, i.e. the sum of the profile probabilities `(i, j)` over columns `j`. [Rou13-L13, Def. 3.4]. -/
noncomputable def JointDistribution.rowMarginal (σ : JointDistribution M N) (i : Fin M) : ℝ :=
  ∑ j : Fin N, σ.prob i j
See it in the graphDiscuss this resultChallenge it