Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - refactor(linear_algebra/dimension): use rank in lemma names instead of dim #18741

Closed
wants to merge 3 commits into from

Conversation

eric-wieser
Copy link
Member

The dim name is left from the previous name of the function, vector_space.dim. When that was merged with module.rank in #7322, we left renaming the existing lemmas as future work.

This commit was made by replacing (\b|(?<=_))dim(\b|(?=_)) with rank in the dimension and finite_dimensional files, and then manually fixing downstream breakages; it's important not to rename power_basis.dim at the same time!

Deciding whether to move some of these to the module namespace is left as future work, the diff is already big enough.


Open in Gitpod

Due to my mistake, bors forgot about #18735. This is exactly the same commit as that PR.

… of `dim`

The `dim` name is left from the previous name of the function.
When that was merged with `module.rank`, we left renaming the existing lemmas as future work.
@eric-wieser
Copy link
Member 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 Apr 5, 2023
bors bot pushed a commit that referenced this pull request Apr 5, 2023
… of `dim` (#18741)

The `dim` name is left from the previous name of the function, `vector_space.dim`. When that was merged with `module.rank` in #7322, we left renaming the existing lemmas as future work.

This commit was made by replacing `(\b|(?<=_))dim(\b|(?=_))` with `rank` in the `dimension` and `finite_dimensional` files, and then manually fixing downstream breakages; it's important not to rename `power_basis.dim` at the same time!

Deciding whether to move some of these to the `module` namespace is left as future work, the diff is already big enough.
@bors
Copy link

bors bot commented Apr 5, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(linear_algebra/dimension): use rank in lemma names instead of dim [Merged by Bors] - refactor(linear_algebra/dimension): use rank in lemma names instead of dim Apr 5, 2023
@bors bors bot closed this Apr 5, 2023
@bors bors bot deleted the eric-wieser/rename-dim-2 branch April 5, 2023 13:19
xroblot pushed a commit that referenced this pull request Apr 23, 2023
… of `dim` (#18741)

The `dim` name is left from the previous name of the function, `vector_space.dim`. When that was merged with `module.rank` in #7322, we left renaming the existing lemmas as future work.

This commit was made by replacing `(\b|(?<=_))dim(\b|(?=_))` with `rank` in the `dimension` and `finite_dimensional` files, and then manually fixing downstream breakages; it's important not to rename `power_basis.dim` at the same time!

Deciding whether to move some of these to the `module` namespace is left as future work, the diff is already big enough.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

1 participant