-
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): mul/div by a const #6357
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
added
the
awaiting-review
The author would like community review of the PR
label
Feb 22, 2021
github-actions
bot
added
the
blocked-by-other-PR
This PR depends on another PR which is still in the queue. A bot manages this label via PR comment.
label
Feb 22, 2021
github-actions
bot
added
merge-conflict
Please `git merge origin/master` then a bot will remove this label.
and removed
blocked-by-other-PR
This PR depends on another PR which is still in the queue. A bot manages this label via PR comment.
labels
Mar 2, 2021
🎉 Great news! Looks like all the dependencies have been resolved: 💡 To add or remove a dependency please update this issue/PR description. Brought to you by Dependent Issues (:robot: ). Happy coding! |
github-actions
bot
removed
the
merge-conflict
Please `git merge origin/master` then a bot will remove this label.
label
Mar 2, 2021
fpvandoorn
reviewed
Mar 4, 2021
LGTM bors merge |
github-actions
bot
added
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
and removed
awaiting-review
The author would like community review of the PR
labels
Mar 7, 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 ```
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
feat(analysis/special_functions/integrals): mul/div by a const
[Merged by Bors] - feat(analysis/special_functions/integrals): mul/div by a const
Mar 7, 2021
bors bot
pushed a commit
that referenced
this pull request
Mar 19, 2021
…ations of functions (#6597) Together with #6357, this PR makes it possible to compute integrals of the form `∫ x in a..b, c * f x + d * g x` by `simp` (where `c` and `d` are constants and `f` and `g` are functions that are `interval_integrable` on `interval a b`. Notably, this allows us to compute the integrals of polynomials by `norm_num`. Here's an example, followed by an example of a more random linear combination of `interval_integrable` functions: ``` import analysis.special_functions.integrals open interval_integral real open_locale real example : ∫ x:ℝ in 0..2, 6*x^5 + 3*x^4 + x^3 - 2*x^2 + x - 7 = 1048 / 15 := by norm_num example : ∫ x:ℝ in 0..1, exp x + 9 * x^8 + x^3 - x/2 + (1 + x^2)⁻¹ = exp 1 + π/4 := by norm_num ```
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 ```
b-mehta
pushed a commit
that referenced
this pull request
Apr 2, 2021
…ations of functions (#6597) Together with #6357, this PR makes it possible to compute integrals of the form `∫ x in a..b, c * f x + d * g x` by `simp` (where `c` and `d` are constants and `f` and `g` are functions that are `interval_integrable` on `interval a b`. Notably, this allows us to compute the integrals of polynomials by `norm_num`. Here's an example, followed by an example of a more random linear combination of `interval_integrable` functions: ``` import analysis.special_functions.integrals open interval_integral real open_locale real example : ∫ x:ℝ in 0..2, 6*x^5 + 3*x^4 + x^3 - 2*x^2 + x - 7 = 1048 / 15 := by norm_num example : ∫ x:ℝ in 0..1, exp x + 9 * x^8 + x^3 - x/2 + (1 + x^2)⁻¹ = exp 1 + π/4 := by norm_num ```
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.
This PR, together with #6216, makes the following possible: