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: remove stream-of-consciousness uses of have, replace and suffices #10640

Closed
wants to merge 47 commits into from

Conversation

sgouezel
Copy link
Contributor

@sgouezel sgouezel commented Feb 16, 2024

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.


The fixes have been found by disabling the tactics, in #10534, but the current PR does not touch the tactic files to make it easier to review and uncontroversial.

After this PR, there are just two remaining uses of the old style have, in test/slim_check, which I don't know how to convert to the new style without making them noisy (plus the other ones that will have been introduced to master in between!)

Open in Gitpod

@sgouezel sgouezel added the awaiting-review The author would like community review of the PR label Feb 16, 2024
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

I have not read the diff, but I am keen in principle to get this merged.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Feb 17, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Feb 17, 2024
@sgouezel
Copy link
Contributor Author

I have reverted the two noisy tests to the previous versions, which are non-noisy but use the old-fashioned have. I think this shouldn't block this PR, since remaining issues can be discussed in #10534 while here we are just doing a cleanup of the library, which doesn't have to be complete.

@semorrison
Copy link
Contributor

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Feb 18, 2024
mathlib-bors bot pushed a commit that referenced this pull request Feb 18, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@eric-wieser
Copy link
Member

since remaining issues can be discussed in #10534

While I definitely agree this split was a good idea, I think we might want to merge #10534 sooner rather than later, to avoid regressions appearing.

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 18, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove stream-of-consciousness uses of have, replace and suffices [Merged by Bors] - chore: remove stream-of-consciousness uses of have, replace and suffices Feb 18, 2024
@mathlib-bors mathlib-bors bot closed this Feb 18, 2024
@mathlib-bors mathlib-bors bot deleted the remove_stream branch February 18, 2024 10:55
riccardobrasca pushed a commit that referenced this pull request Feb 18, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
riccardobrasca pushed a commit that referenced this pull request Feb 18, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
mathlib-bors bot pushed a commit that referenced this pull request Feb 20, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
mathlib-bors bot pushed a commit that referenced this pull request Feb 20, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
thorimur pushed a commit that referenced this pull request Feb 24, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
thorimur pushed a commit that referenced this pull request Feb 24, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
thorimur pushed a commit that referenced this pull request Feb 26, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
thorimur pushed a commit that referenced this pull request Feb 26, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
riccardobrasca pushed a commit that referenced this pull request Mar 1, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
…suffices` (#10640)

No changes to tactic file, it's just boring fixes throughout the library.

This follows on from #6964.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
…mathlib (#10534)

This syntax remains available downstream with `import Mathlib.Tactic`, but is no longer available in mathlib itself.

This follows on from #10640, which remove all current uses of this syntax.

By removing these imports, we prevent further regressions in mathlib,
and save reviewers from having to look out for this in review.

In future we could delete this syntax entirely, but this would harm downstream code, especially mathport output.



Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants