Add compound matrices: multiplicativity and entrywise nonnegativity - #408
Merged
Conversation
Step 3 (tractable half) of issue #394's decomposition; issue #405. Defines Matrix.compound q A, the matrix of all q x q minors indexed by increasing q-element selections, and proves compound_mul, that compound q (L * A) = compound q L * compound q A. That is exactly the existing Cauchy-Binet expansion det_submatrix_mul_eq_sum_powersetCard re-indexed, so the proof is three lines. Also proves compound_nonneg, that a totally nonnegative matrix has an entrywise nonnegative compound matrix, and compound_one_apply identifying the first compound matrix with A itself. Placed in the Mathlib mirror tree so it is upstream-shaped. Not proved here: that the eigenvalues of compound q A are the q-fold products of the eigenvalues of A, which is the hard half of #405 and the remaining spectral input for Gantmacher-Krein. No sorry and no axiom. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Items 1 and 2 of #405 (does not close it — item 3, the eigenvalue-product
theorem, is the remaining hard half).
Adds
RealRooted/Mathlib/LinearAlgebra/Matrix/Compound.lean, mirroring theMathlib path for upstreaming:
compound q A: theq-th compound matrix, indexed bySet.powersetCard (Fin n) q, entries theq × qminors via the strictlymonotone enumeration
powersetEnum;compound_mul: multiplicativitycompound q (A * B) = compound q A * compound q B,a re-indexing of
Matrix.det_submatrix_mul_eq_sum_powersetCard(
Determinant/CauchyBinet.lean);compound_nonneg: total nonnegativity gives entrywise nonnegative compounds;compound_one_apply: theq = 1compound recovers the matrix.Sorry-free; builds clean on top of #403.
🤖 Generated with Claude Code