AFTD Auto-Formalizing Theoretical Domains

JointDistribution.colMarginal

defimported Lean

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

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open Finset BigOperators in
variable {M N : ℕ} in
noncomputable def JointDistribution.colMarginal (σ : JointDistribution M N) (j : Fin N) : ℝ
Defined in
TCSlib, `JointDistribution.colMarginal`
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
  • empiricalJoint_colMarginalColumn marginal of the empirical joint distribution. Consider $T > 0$ rounds of play between a row player with $M$ actions and a column…
  • JointDistribution.rowDeviationUtilityThe row player's expected utility from unilaterally deviating to the fixed pure action $i'$, while the column player keeps $\sigma$'s…

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 column marginal of a joint distribution: the probability that the column player plays `j`, i.e. the sum of the profile probabilities `(i, j)` over rows `i`. [Rou13-L13, Def. 3.4]. -/
noncomputable def JointDistribution.colMarginal (σ : JointDistribution M N) (j : Fin N) : ℝ :=
  ∑ i : Fin M, σ.prob i j
See it in the graphDiscuss this resultChallenge it