Skip to content

[Merged by Bors] - chore: remove stream-of-consciousness uses of have, replace and suffices#10640

Closed
sgouezel wants to merge 47 commits intomasterfrom
remove_stream
Closed

[Merged by Bors] - chore: remove stream-of-consciousness uses of have, replace and suffices#10640
sgouezel wants to merge 47 commits intomasterfrom
remove_stream

Conversation

@sgouezel
Copy link
Copy Markdown
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

Copy link
Copy Markdown
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.

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 17, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 17, 2024
@sgouezel
Copy link
Copy Markdown
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.

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Feb 18, 2024

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review 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
Copy Markdown
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
Copy Markdown
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.

4 participants