Merged
Conversation
affeldt-aist
reviewed
Jun 5, 2025
theories/exp.v
Outdated
| have -> : 1 + x = limn (series (f x)). | ||
| by apply/esym/lim_near_cst => //; near=> n; apply: F; near: n. | ||
| apply: ler_lim; first by apply: is_cvg_near_cst; near=> n; apply: F; near: n. | ||
| pose f n (x : R) i := ((i == 0%nat)%:R + x ^+ n / n`!%:R *+ (i == n)). |
Member
There was a problem hiding this comment.
Suggested change
| pose f n (x : R) i := ((i == 0%nat)%:R + x ^+ n / n`!%:R *+ (i == n)). | |
| pose f n (x : R) i := ((i == 0%N)%:R + x ^+ n / n`!%:R *+ (i == n)). |
affeldt-aist
reviewed
Jun 5, 2025
theories/exp.v
Outdated
| by apply/esym/lim_near_cst => //; near=> n; apply: F; near: n. | ||
| apply: ler_lim; first by apply: is_cvg_near_cst; near=> n; apply: F; near: n. | ||
| pose f n (x : R) i := ((i == 0%nat)%:R + x ^+ n / n`!%:R *+ (i == n)). | ||
| have F m : (n.+1 < m)%nat -> |
Member
There was a problem hiding this comment.
Suggested change
| have F m : (n.+1 < m)%nat -> | |
| have F m : (n.+1 < m)%N -> |
t6s
reviewed
Jun 5, 2025
theories/exp.v
Outdated
|
|
||
| Local Lemma expR_ge1Dx_subproof x : 0 <= x -> 1 + x <= expR x. | ||
| Lemma expR_ge1Dxn x n : 0 <= x -> | ||
| 1 + x ^+ n.+1 / n.+1`!%:R <= expR x. |
Member
There was a problem hiding this comment.
can be on the previous line without exceeding 80 cols?
Member
|
Looks good. Any awaiting application? |
Contributor
Author
I used this lemma to prove a property of the gamma function, which I'll include in an upcoming PR: Lemma Gamma_add1 a : 1 <= a -> (Gamma (a + 1) = a%:E * Gamma a)%E. |
Member
|
I did not at first sight judge whether this rather special form of statement could be useful, but with the application given, I approve this PR. (However I cannot find the approval button now..) |
bd58acf to
4538449
Compare
affeldt-aist
approved these changes
Jun 14, 2025
IshiguroYoshihiro
added a commit
to IshiguroYoshihiro/analysis
that referenced
this pull request
Jun 20, 2025
* expR_ge1Dxn
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.
Motivation for this change
This lemma is a property of expR, which is generalized from a local lemma
0 <= x -> 1 + x <= expR x.Checklist
CHANGELOG_UNRELEASED.mdReference: How to document
Merge policy
As a rule of thumb:
all compile are preferentially merged into master.
Reminder to reviewers