Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

[Merged by Bors] - refactor(linear_algebra/dimension): generalize definition of module.rank - #7634

Closed
kim-em wants to merge 4 commits into
masterfrom
generalise_rank
Closed

kim-em wants to merge 4 commits into
masterfrom
generalise_rank

Conversation

@kim-em

@kim-em kim-em commented May 17, 2021

Copy link
Copy Markdown
Collaborator

The main change is to generalize the definition of module.rank. It used to be the infimum over cardinalities of bases, and is now the supremum over cardinalities of linearly independent sets.

I have not attempted to systematically generalize theorems about the rank; there is lots more work to be done. For now I've just made a few easy generalizations (either replacing field with division_ring, or division_ring with ring+nontrivial).


Open in Gitpod

@kim-em kim-em added the awaiting-review The author would like community review of the PR label May 17, 2021

@Vierkantor Vierkantor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

I am somewhat wary that the [irreducible] module.rank attribute might break something down the line (I recall some messing around in the bundled_basis refactor), so I'd like to wait for the build to finish.

bors d+

@bors

bors Bot commented May 17, 2021

Copy link
Copy Markdown

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions Bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels May 17, 2021
@kim-em

kim-em commented May 17, 2021

Copy link
Copy Markdown
Collaborator Author

I am somewhat wary that the [irreducible] module.rank attribute might break something down the line (I recall some messing around in the bundled_basis refactor), so I'd like to wait for the build to finish.

I put this in to solve a mysterious timeout in field_theory.fixed (and of course it's a good idea if possible). In the long run we will need to install a bit more API before making it irreducible.

@kim-em

kim-em commented May 18, 2021

Copy link
Copy Markdown
Collaborator Author

bors merge

@github-actions github-actions Bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label May 18, 2021
bors Bot pushed a commit that referenced this pull request May 18, 2021
…rank` (#7634)

The main change is to generalize the definition of `module.rank`. It used to be the infimum over cardinalities of bases, and is now the supremum over cardinalities of linearly independent sets.

I have not attempted to systematically generalize  theorems about the rank; there is lots more work to be done. For now I've just made a few easy generalizations (either replacing `field` with `division_ring`, or `division_ring` with `ring`+`nontrivial`).



Co-authored-by: Scott Morrison <[email protected]>
@bors

bors Bot commented May 18, 2021

Copy link
Copy Markdown

Build failed (retrying...):

bors Bot pushed a commit that referenced this pull request May 18, 2021
…rank` (#7634)

The main change is to generalize the definition of `module.rank`. It used to be the infimum over cardinalities of bases, and is now the supremum over cardinalities of linearly independent sets.

I have not attempted to systematically generalize  theorems about the rank; there is lots more work to be done. For now I've just made a few easy generalizations (either replacing `field` with `division_ring`, or `division_ring` with `ring`+`nontrivial`).



Co-authored-by: Scott Morrison <[email protected]>
@bors

bors Bot commented May 18, 2021

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title refactor(linear_algebra/dimension): generalize definition of module.rank [Merged by Bors] - refactor(linear_algebra/dimension): generalize definition of module.rank May 18, 2021
@bors bors Bot closed this May 18, 2021
@bors
bors Bot deleted the generalise_rank branch May 18, 2021 16:02
Vierkantor pushed a commit that referenced this pull request May 19, 2021
…rank` (#7634)

The main change is to generalize the definition of `module.rank`. It used to be the infimum over cardinalities of bases, and is now the supremum over cardinalities of linearly independent sets.

I have not attempted to systematically generalize  theorems about the rank; there is lots more work to be done. For now I've just made a few easy generalizations (either replacing `field` with `division_ring`, or `division_ring` with `ring`+`nontrivial`).



Co-authored-by: Scott Morrison <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants