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] - chore(NormedSpace/Complemented): review API #8596

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Nov 23, 2023

  • use And instead of Exists;
  • move lemmas from Subspace to Submodule namespace;
  • rename some lemmas to enable dot notation;
  • add ClosedComplemented.exists_submodule_equiv_prod.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR t-analysis Analysis (normed *, calculus) labels Nov 23, 2023
Copy link
Contributor

@sgouezel sgouezel left a comment

Choose a reason for hiding this comment

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

bors d+


theorem closedComplemented_of_closed_compl (h : IsCompl p q) (hp : IsClosed (p : Set E))
theorem ClosedComplemented.of_isClosed_isCompl (h : IsCompl p q) (hp : IsClosed (p : Set E))
Copy link
Contributor

Choose a reason for hiding this comment

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

this name is strange, because it can't be used with dot notation. Maybe IsCompl.closedComplemented_of_isClosed?

Copy link
Member Author

Choose a reason for hiding this comment

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

It can be used with the new Lean 4 dot notation, see line 141 below. I can add an alias, if you want.

@mathlib-bors
Copy link

mathlib-bors bot commented Dec 3, 2023

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Dec 3, 2023
@urkud urkud requested a review from sgouezel December 3, 2023 12:18
@urkud
Copy link
Member Author

urkud commented Dec 4, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Dec 4, 2023
mathlib-bors bot pushed a commit that referenced this pull request Dec 4, 2023
- use `And` instead of `Exists`;
- move lemmas from `Subspace` to `Submodule` namespace;
- rename some lemmas to enable dot notation;
- add `ClosedComplemented.exists_submodule_equiv_prod`.
@mathlib-bors
Copy link

mathlib-bors bot commented Dec 4, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(NormedSpace/Complemented): review API [Merged by Bors] - chore(NormedSpace/Complemented): review API Dec 4, 2023
@mathlib-bors mathlib-bors bot closed this Dec 4, 2023
@mathlib-bors mathlib-bors bot deleted the YK-closed-compl branch December 4, 2023 14:42
awueth pushed a commit that referenced this pull request Dec 19, 2023
- use `And` instead of `Exists`;
- move lemmas from `Subspace` to `Submodule` namespace;
- rename some lemmas to enable dot notation;
- add `ClosedComplemented.exists_submodule_equiv_prod`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants