Skip to content

Upstream 9.4 hypothesis cleanup#489

Open
rkirov wants to merge 2 commits intoteorth:mainfrom
rkirov:upstream-9.4-hypothesis-cleanup
Open

Upstream 9.4 hypothesis cleanup#489
rkirov wants to merge 2 commits intoteorth:mainfrom
rkirov:upstream-9.4-hypothesis-cleanup

Conversation

@rkirov
Copy link
Copy Markdown
Contributor

@rkirov rkirov commented Apr 19, 2026

follow-up to #484, showing as a stacked commit on top of the previous one (will rebase once the other one lands).

rkirov and others added 2 commits April 11, 2026 08:36
Remark 9.3.11 asked whether the AdherentPt hypothesis could be removed
from Proposition 9.3.9 and subsequent theorems. Formalization confirms
it can. This removes AdherentPt from 17 theorem statements (keeping it
only in Convergesto.uniq where it is genuinely needed).

Other statement fixes:
- Example 9.3.2 constants: 5 → 5.1, 0.41 → 0.42 (needed for strict <)
- sq, linear, quadratic: fix argument order (limit before point)
- const, id, sq, linear, quadratic: implicit → explicit args
- const body: fun x ↦ c → fun _ ↦ c

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…At.comp typo

Follow-up to the AdherentPt removal: once `AdherentPt.of_mem h` is no
longer called in the bodies of `ContinuousWithinAt.add/.sub/.max/.min/
.mul'/.div'`, the `(h : x₀ ∈ X)` hypothesis is unused. Drop it.

Same cleanup for `Filter.Tendsto.comp_of_continuous` and for
`ContinuousWithinAt.tfae` (also makes `x₀` explicit there, since there
is no longer a hypothesis to infer it from). Drop the stale
"It is possible that the hypothesis x₀ ∈ X is unnecessary" comment.

`ContinuousWithinAt.comp` had `(hx₀: x ∈ X)` where `x` was an auto-bound
implicit (not `x₀`), so the hypothesis was a latent typo. Remove it and
make `x₀` explicit.

Update cascaded call sites in 9.5, 9.6, 9.7, 9.9, 10.4, 11.9.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant