-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(analysis/special_functions/integrals): some simple integration lemmas #6216
Closed
Conversation
This file contains 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
benjamindavidson
changed the title
feat(measure_theory/interval_integral): some simple integration lemmas
feat(analysis/special_functions/integrals): some simple integration lemmas
Feb 18, 2021
benjamindavidson
added
awaiting-review
The author would like community review of the PR
and removed
WIP
Work in progress
labels
Feb 19, 2021
1 task
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
sgouezel
added
awaiting-author
A reviewer has asked the author a question or requested changes
and removed
awaiting-review
The author would like community review of the PR
labels
Feb 24, 2021
benjamindavidson
added
awaiting-review
The author would like community review of the PR
and removed
awaiting-author
A reviewer has asked the author a question or requested changes
labels
Feb 26, 2021
bors merge |
github-actions
bot
added
the
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
label
Mar 2, 2021
github-actions
bot
removed
the
awaiting-review
The author would like community review of the PR
label
Mar 2, 2021
bors bot
pushed a commit
that referenced
this pull request
Mar 2, 2021
…emmas (#6216) Integration of some simple functions, including `sin`, `cos`, `pow`, and `inv`. @ADedecker and I are working on the integrals of some more intricate functions, which we hope to add in a subsequent (series of) PR(s). With this PR, simple integrals are now computable by `norm_num`. Here are some examples: ``` import analysis.special_functions.integrals open real interval_integral open_locale real example : ∫ x in 0..π, sin x = 2 := by norm_num example : ∫ x in 0..π/4, cos x = sqrt 2 / 2 := by simp example : ∫ x:ℝ in 2..4, x^(3:ℕ) = 60 := by norm_num example : ∫ x in 0..2, -exp x = 1 - exp 2 := by simp example : ∫ x:ℝ in (-1)..4, x = 15/2 := by norm_num example : ∫ x:ℝ in 8..11, (1:ℝ) = 3 := by norm_num example : ∫ x:ℝ in 2..3, x⁻¹ = log (3/2) := by norm_num example : ∫ x:ℝ in 0..1, 1 / (1 + x^2) = π/4 := by simp ``` `integral_deriv_eq_sub'` courtesy of @gebner.
Build failed (retrying...): |
bors bot
pushed a commit
that referenced
this pull request
Mar 2, 2021
…emmas (#6216) Integration of some simple functions, including `sin`, `cos`, `pow`, and `inv`. @ADedecker and I are working on the integrals of some more intricate functions, which we hope to add in a subsequent (series of) PR(s). With this PR, simple integrals are now computable by `norm_num`. Here are some examples: ``` import analysis.special_functions.integrals open real interval_integral open_locale real example : ∫ x in 0..π, sin x = 2 := by norm_num example : ∫ x in 0..π/4, cos x = sqrt 2 / 2 := by simp example : ∫ x:ℝ in 2..4, x^(3:ℕ) = 60 := by norm_num example : ∫ x in 0..2, -exp x = 1 - exp 2 := by simp example : ∫ x:ℝ in (-1)..4, x = 15/2 := by norm_num example : ∫ x:ℝ in 8..11, (1:ℝ) = 3 := by norm_num example : ∫ x:ℝ in 2..3, x⁻¹ = log (3/2) := by norm_num example : ∫ x:ℝ in 0..1, 1 / (1 + x^2) = π/4 := by simp ``` `integral_deriv_eq_sub'` courtesy of @gebner.
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
feat(analysis/special_functions/integrals): some simple integration lemmas
[Merged by Bors] - feat(analysis/special_functions/integrals): some simple integration lemmas
Mar 2, 2021
bors bot
pushed a commit
that referenced
this pull request
Mar 7, 2021
This PR, together with #6216, makes the following possible: ``` import analysis.special_functions.integrals open real interval_integral open_locale real example : ∫ x in 0..π, 2 * sin x = 4 := by norm_num example : ∫ x:ℝ in 4..5, x * 2 = 9 := by norm_num example : ∫ x in 0..π/2, cos x / 2 = 1 / 2 := by simp ```
b-mehta
pushed a commit
that referenced
this pull request
Apr 2, 2021
…emmas (#6216) Integration of some simple functions, including `sin`, `cos`, `pow`, and `inv`. @ADedecker and I are working on the integrals of some more intricate functions, which we hope to add in a subsequent (series of) PR(s). With this PR, simple integrals are now computable by `norm_num`. Here are some examples: ``` import analysis.special_functions.integrals open real interval_integral open_locale real example : ∫ x in 0..π, sin x = 2 := by norm_num example : ∫ x in 0..π/4, cos x = sqrt 2 / 2 := by simp example : ∫ x:ℝ in 2..4, x^(3:ℕ) = 60 := by norm_num example : ∫ x in 0..2, -exp x = 1 - exp 2 := by simp example : ∫ x:ℝ in (-1)..4, x = 15/2 := by norm_num example : ∫ x:ℝ in 8..11, (1:ℝ) = 3 := by norm_num example : ∫ x:ℝ in 2..3, x⁻¹ = log (3/2) := by norm_num example : ∫ x:ℝ in 0..1, 1 / (1 + x^2) = π/4 := by simp ``` `integral_deriv_eq_sub'` courtesy of @gebner.
b-mehta
pushed a commit
that referenced
this pull request
Apr 2, 2021
This PR, together with #6216, makes the following possible: ``` import analysis.special_functions.integrals open real interval_integral open_locale real example : ∫ x in 0..π, 2 * sin x = 4 := by norm_num example : ∫ x:ℝ in 4..5, x * 2 = 9 := by norm_num example : ∫ x in 0..π/2, cos x / 2 = 1 / 2 := by simp ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
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.
Integration of some simple functions, including
sin
,cos
,pow
, andinv
. @ADedecker and I are working on the integrals of some more intricate functions, which we hope to add in a subsequent (series of) PR(s).With this PR, simple integrals are now computable by
norm_num
. Here are some examples:integral_deriv_eq_sub'
courtesy of @gebner.