Skip to content

feat(LinearAlgebra/Matrix/Rank): generalize Matrix.rank/LinearMap.rank to semirings#39158

Open
SnirBroshi wants to merge 1 commit into
leanprover-community:masterfrom
SnirBroshi:feature/matrix/generalize-rank-semiring
Open

feat(LinearAlgebra/Matrix/Rank): generalize Matrix.rank/LinearMap.rank to semirings#39158
SnirBroshi wants to merge 1 commit into
leanprover-community:masterfrom
SnirBroshi:feature/matrix/generalize-rank-semiring

Conversation

@SnirBroshi
Copy link
Copy Markdown
Collaborator

  • Generalize Matrix.rank from CommRing to CommSemiring
  • Generalize LinearMap.rank from AddCommGroups over Rings to AddCommMonoids over Semirings (which are the minimum requirements for Module)
  • Many Matrix.rank theorems now require StrongRankCondition (which CommRing used to provide)

Open in Gitpod

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label May 10, 2026
@github-actions
Copy link
Copy Markdown

PR summary 196aaf95cb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant