fix: Exercise 10.2.6 should bound |f x - f y| on the closed interval - #674
Open
Chessing234 wants to merge 1 commit into
Open
fix: Exercise 10.2.6 should bound |f x - f y| on the closed interval#674Chessing234 wants to merge 1 commit into
Chessing234 wants to merge 1 commit into
Conversation
Exercise 10.2.6 asks to show that a function which is continuous on [a,b], differentiable on (a,b), and has |f'| bounded by M on (a,b) is Lipschitz with constant M on its whole domain [a,b]; the exercise closes by defining Lipschitz continuity in those terms. As formalized, x and y were quantified over the open interval (a,b) instead, which leaves out exactly the two endpoints where the Lipschitz bound is not immediate from the mean value theorem. The tell is that the continuity hypothesis is unused in the weaker version: for x, y in (a,b) the segment [x,y] is contained in (a,b), so `hderiv` alone already supplies the continuity that Corollary 10.2.9 needs, and `hcont` never enters the argument. It is needed only to pass to the endpoints.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exercise 10.2.6 asks to show that a function which is continuous on
[a,b], differentiable on(a,b), and whose derivative is bounded in absolute value byMon(a,b), satisfies|f(x) - f(y)| ≤ M|x - y|for allx, yin[a,b]. The exercise then defines Lipschitz continuity in exactly those terms, so the closed interval is the point of the statement.The formalized version quantifies
xandyoverSet.Ioo a binstead, which drops precisely the two endpoints. Nothing is false as stated, but it is strictly weaker than the text, and the weakening is visible from the hypotheses: forx, y ∈ (a,b)we have[x,y] ⊆ (a,b), sohderivalone gives Corollary 10.2.9 everything it needs andhcontis never used. Continuity on[a,b]is hypothesized precisely so that the bound extends toxoryequal toaorb, which is where the mean value theorem has to be applied on[x,y]with differentiability only on the interior.The change is to the binders
hxandhyonly; the body issorry, so no proof is affected.I could not build locally on this machine — the Mathlib cache is not present and there is not enough free disk to fetch it — so this relies on
build_book.ymlin CI rather than a locallake build Analysis.Section_10_2.