Skip to content

Conversation

harahu
Copy link
Contributor

@harahu harahu commented Oct 20, 2025

I noticed that there were a lot of instances of the typo "this files" in the repo. I fixed these while doing some drive-by typo fixes in the files I touched while I was at it.

The drive-by fixes are due to Codex and consist of:

  • Minor textual tweaks to improve flow of sentences.
  • Punctuation, like adding commas and full stops where appropriate in sentences.
  • Trimming superfluous white space and adding missing white space.
  • Swapping a -operator for a , where the latter was intended.
  • Swapping 𝒱(α, β, 𝔖 uβ) for 𝒱(α, β, 𝔖, uβ) where the latter was intended.

Open in Gitpod

Copy link

github-actions bot commented Oct 20, 2025

PR summary 0d837987e5

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@harahu harahu marked this pull request as ready for review October 20, 2025 10:41
Copy link
Collaborator

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM with the changes below fixed.

`β` is T₂ and `𝔖` covers `α`
* `UniformOnFun.tendsto_iff_tendstoUniformlyOn`:
`𝒱(α, β, 𝔖 uβ)` is indeed the uniform structure of `𝔖`-convergence
`𝒱(α, β, 𝔖, uβ)` is indeed the uniform structure of `𝔖`-convergence
Copy link
Collaborator

@grunweg grunweg Oct 20, 2025

Choose a reason for hiding this comment

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

I'd need domain expertise to verify this. Are you absolutely sure this is correct? Otherwise, please split this into a separate PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am pretty sure. The original, 𝒱(α, β, 𝔖 uβ) never actually shows up elsewhere in this file, whereas 𝒱(α, β, 𝔖, uβ) shows up 5 times in different docstrings in this file. I can't imagine anything else than this being the intended meaning.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See e.g. the definition of this structure on lines 40-42

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you're still unconvinced I can revert it.

Copy link
Member

Choose a reason for hiding this comment

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

This looks correct to me, but really shouldn't go in this PR. I'm happy to let you off this one time, but mixing a tricky change in with 30 boring changes means a person reviewing the boring stuff will give up at the tricky stuff and leave before finishing, and the person looking for tricky stuff will skip your review because it looks boring.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just wanted to say that I'm grateful, not for you letting me off the hook, @eric-wieser, but for you so clearly explaining why this mixing is a bad idea. This psychological point is something that makes perfect sense when you point it out, but that I hadn't thought properly about. I guess part of the problem is that I don't have a well-developed sense of what is and isn't trivial. But I'll keep this in mind.

@grunweg grunweg added the awaiting-author A reviewer has asked the author a question or requested changes. label Oct 20, 2025
@eric-wieser
Copy link
Member

I fixed these while doing some drive-by fixes in the files I touched while I was at it.

Please try to resist the urge to do this, as it makes review slower; or if you do, use git add -p to split them out into a separate PR.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
@grunweg
Copy link
Collaborator

grunweg commented Oct 20, 2025

I fixed these while doing some drive-by fixes in the files I touched while I was at it.

Please try to resist the urge to do this, as it makes review slower; or if you do, use git add -p to split them out into a separate PR.

Strongly agree! You like fast reviews (as do I), and having a PR do only one thing makes it much faster.

@harahu
Copy link
Contributor Author

harahu commented Oct 20, 2025

Good point. I had just been working with a bunch of typo PRs, and those tend to end up quite heterogeneous in content anyway, so I didn't connect that the "this files"-related changes could be (very) quickly merged on their own. Oh well.

@harahu
Copy link
Contributor Author

harahu commented Oct 20, 2025

-awaiting-author

@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Oct 20, 2025
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.

This looks ok to me now. Please summarize explicitly in the description any change that isn't "this files". @grunweg, are you happy?

@grunweg
Copy link
Collaborator

grunweg commented Oct 21, 2025

Can you update the PR description as requested and ping me again once you've done this, please? I strongly presume I'll be happy then and just merge it. Thanks!

@grunweg grunweg added the awaiting-author A reviewer has asked the author a question or requested changes. label Oct 21, 2025
@harahu
Copy link
Contributor Author

harahu commented Oct 21, 2025

@grunweg: PR description is now updated with a summary of the drive-by changes.

-awaiting-author

@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Oct 21, 2025
@grunweg
Copy link
Collaborator

grunweg commented Oct 21, 2025

I'm happy now!
bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Oct 21, 2025
mathlib-bors bot pushed a commit that referenced this pull request Oct 21, 2025
I noticed that there were a lot of instances of the typo "this files" in the repo. I fixed these while doing some drive-by typo fixes in the files I touched while I was at it.

The drive-by fixes are due to Codex and consist of:
- Minor textual tweaks to improve flow of sentences.
- Punctuation, like adding commas and full stops where appropriate in sentences.
- Trimming superfluous white space and adding missing white space.
- Swapping a `∪`-operator for a `∩`, where the latter was intended.
- Swapping `𝒱(α, β, 𝔖 uβ)` for `𝒱(α, β, 𝔖, uβ)` where the latter was intended.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 21, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Oct 21, 2025
I noticed that there were a lot of instances of the typo "this files" in the repo. I fixed these while doing some drive-by typo fixes in the files I touched while I was at it.

The drive-by fixes are due to Codex and consist of:
- Minor textual tweaks to improve flow of sentences.
- Punctuation, like adding commas and full stops where appropriate in sentences.
- Trimming superfluous white space and adding missing white space.
- Swapping a `∪`-operator for a `∩`, where the latter was intended.
- Swapping `𝒱(α, β, 𝔖 uβ)` for `𝒱(α, β, 𝔖, uβ)` where the latter was intended.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 21, 2025

Build failed:

@bryangingechen
Copy link
Contributor

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Oct 21, 2025
I noticed that there were a lot of instances of the typo "this files" in the repo. I fixed these while doing some drive-by typo fixes in the files I touched while I was at it.

The drive-by fixes are due to Codex and consist of:
- Minor textual tweaks to improve flow of sentences.
- Punctuation, like adding commas and full stops where appropriate in sentences.
- Trimming superfluous white space and adding missing white space.
- Swapping a `∪`-operator for a `∩`, where the latter was intended.
- Swapping `𝒱(α, β, 𝔖 uβ)` for `𝒱(α, β, 𝔖, uβ)` where the latter was intended.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 21, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title doc: fix recurring instances of "this files" [Merged by Bors] - doc: fix recurring instances of "this files" Oct 21, 2025
@mathlib-bors mathlib-bors bot closed this Oct 21, 2025
@harahu harahu deleted the doc/this-files branch October 21, 2025 13:31
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.

5 participants