Loomis.xB
defimported Lean
Row-vector product (xB)_j = ∑ᵢ xᵢ Bᵢⱼ.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Finset BigOperators in set_option linter.unusedSectionVars false in variable {I J : Type*} [Fintype I] [Fintype J] [Nonempty I] [Nonempty J] in noncomputable def Loomis.xB (B : I → J → ℝ) (x : stdSimplex ℝ I) (j : J) : ℝ
- Defined in
- EconCSLib, `Loomis.xB`
- 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.Loomis.xB← Loomis.xB (EconCSLib/Math/Minimax/Loomis.lean:75): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 2
- wsumWeighted sum of
fwith weights from a simplex elementx. Thinabbrevover Mathlib's finite dot product⬝ᵥ: definitionally equal,… - wsum_pure_applyWeighted sum at a point mass evaluates the chosen coordinate.
- wsumWeighted sum of
- Used by 16
- Loomis.xB_extendDropRowLoomis.xB_extendDropRow
- Loomis.exists_xx_lamB0Attainment of
lamB0: there exists a mixed strategyxxwith(xA xx)_j ≥ lamB0 · (xB xx)_jfor every column. - Loomis.xB_oneLoomis.xB_one
- EconCSLib.LinearAlgebra.perron_frobeniusPerron-Frobenius for positive matrices [MFoGT, Section 2.8, Exercise 1(2)]. A square matrix with strictly positive entries has a…
- Loomis.colRatioRow player's per-column Loomis ratio
(xA)_j / (xB)_j. - Loomis.loomis_value_eq_auxLoomis induction:
lamB0 A B = muB0 A Bfor any finite positive-Bmatrix pair with2 ≤ |I| + |J|, by strong induction on the… - Loomis.lamB0_le_muB0Weak duality for the Loomis scalars:
lamB0 ≤ muB0. - Loomis.lamB.aux_gt_of_colOffset_pos
lamB.aux A B xstrictly exceedslamiff every offsetcolOffsetis strictly positive atx. - Loomis.colOffsetLinearised column constraint:
colOffset A B λ x j = (xA)_j - λ · (xB)_j. Note that… - Loomis.loomis_value_IJ_2Base case of the Loomis induction: a 1×1 matrix pair has the single ratio
A i₀ j₀ / B i₀ j₀as the common Loomis value. - Loomis.colRatio_oneLoomis.colRatio_one
- Loomis.loomis_theoremLoomis Theorem [MFoGT, Theorem 2.5.1]. For any pair of matrices
A B : I → J → ℝwithBentrywise positive, there exist mixed… - Loomis.xB_posPositivity of the row aggregate when
Bis entrywise positive. - Loomis.colOffset_eq_wsum
colOffsetis awsumofA i j - λ B i joveri. - Loomis.xBy_swapThe bilinear pairing
xByand its symmetric variants. - Loomis.colRatio.continuousEach column ratio
(xA)_j / (xB)_jis continuous onΔ(I).
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 variable {I J : Type*} [Fintype I] [Fintype J] [Nonempty I] [Nonempty J] in /-- Row-vector product `(xB)_j = ∑ᵢ xᵢ Bᵢⱼ`. -/ noncomputable def Loomis.xB (B : I → J → ℝ) (x : stdSimplex ℝ I) (j : J) : ℝ := wsum x (fun i => B i j)