-
Notifications
You must be signed in to change notification settings - Fork 381
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] - chore: Added namespace Mathlib around Vector defs #13407
Conversation
… functions which are now fixed
Note at this commit : When opening the namespace Mathlib inside the namespace Vector in Topology.List, a number of Vector functions were inferred as List functions and this created errors. I correctly namespaced them |
9e91a8f
to
05c3fcf
Compare
PR summary be5981ac7dImport changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit> |
683ad6b
to
2235ae5
Compare
LGTM bors d+ Make sure you merge master and CI builds before merging. |
✌️ Shreyas4991 can now approve this pull request. To approve and merge a pull request, simply reply with |
Master has been merged into this PR. CI passes. bors r+ |
This PR puts `Mathlib.Data.Vector`'s `Vector` type into the namespace `Mathlib`. This will help ensure that users of `Mathlib` and `Batteries` can use this Vector type and Batteries' upcoming Array based Vector type without name conflicts. Tasks: - [x] Put all Vector definitions, currently all of which are inside Mathlib/Data/Vector into the namespace `Mathlib`. ~~- [x] Add deprecation aliases for all `def`s, `theorem`s and `lemmas` thus namespaced.~~ NOTE : This is not possible because `alias` simply reintroduces naming conflicts. See the linked zulip discussion - [x] Fix breakages within Mathlib Discussion in [Zulip topic](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Mathlib.20Vector.20namespace/near/441643042)
Pull request successfully merged into master. Build succeeded: |
This PR puts
Mathlib.Data.Vector
'sVector
type into the namespaceMathlib
. This will help ensure that users ofMathlib
andBatteries
can use this Vector type and Batteries' upcoming Array based Vector type without name conflicts.Tasks:
Mathlib
.- [x] Add deprecation aliases for allNOTE : This is not possible becausedef
s,theorem
s andlemmas
thus namespaced.alias
simply reintroduces naming conflicts. See the linked zulip discussionDiscussion in Zulip topic