[Merged by Bors] - feat: add circle averages#24427
Closed
Conversation
PR summary 9cdc811252Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
sgouezel
reviewed
May 1, 2025
sgouezel
reviewed
May 1, 2025
sgouezel
reviewed
May 1, 2025
pfaffelh
reviewed
May 2, 2025
Co-authored-by: Peter Pfaffelhuber <41927422+pfaffelh@users.noreply.github.com> Co-authored-by: Sebastien Gouezel <sebastien.gouezel@univ-rennes1.fr>
sgouezel
reviewed
May 3, 2025
Co-authored-by: Sebastien Gouezel <sebastien.gouezel@univ-rennes1.fr>
sgouezel
reviewed
May 4, 2025
Co-authored-by: Sebastien Gouezel <sebastien.gouezel@univ-rennes1.fr>
Collaborator
Author
|
@sgouezel Thank you for the improvements. All implemented. |
Contributor
|
✌️ kebekus can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Sebastien Gouezel <sebastien.gouezel@univ-rennes1.fr>
Collaborator
Author
mathlib-bors bot
pushed a commit
that referenced
this pull request
May 9, 2025
For a function `f` on the complex plane, introduce the notation `circleAverage f c R` as a shorthand for the average of `f` on the circle with center `c` and radius `R`. Averages of this form are typically used in analysis of one complex variable. ### Raison d'Être Like `IntervalAverage,` this notion exists as a convenience. It avoids the hassle of manually eliminating `2 * π` every time an average is computed. At least for the moment, it seems that the simplifier is not built to cancel repeating factors in non-trivial formulas. ### Why not use `IntervalAverage`? Two reasons: - Length: `circleAverage` is shorter and easier to read than the interval average of `f (circleMap c R θ)`, taken over the interval `0..2 * π`. This is an issue in computations, where splitting the circle average of a sum into a sum of circle averages quickly leads for lengthy formulas unfit for human consumption. - Ease of use: Manipulating `IntervalAverage`s by applying standard theorems from mathlib often leads to expressions of the form `(f + g) (circleMap c R θ)`, `f (circleMap c R θ) + g (circleMap c R θ) ` and `(f + g) ∘ (circleMap c R)` that are not equal enough for tactics like `rw`.
Contributor
|
Pull request successfully merged into master. Build succeeded: |
tannerduve
pushed a commit
that referenced
this pull request
May 13, 2025
For a function `f` on the complex plane, introduce the notation `circleAverage f c R` as a shorthand for the average of `f` on the circle with center `c` and radius `R`. Averages of this form are typically used in analysis of one complex variable. ### Raison d'Être Like `IntervalAverage,` this notion exists as a convenience. It avoids the hassle of manually eliminating `2 * π` every time an average is computed. At least for the moment, it seems that the simplifier is not built to cancel repeating factors in non-trivial formulas. ### Why not use `IntervalAverage`? Two reasons: - Length: `circleAverage` is shorter and easier to read than the interval average of `f (circleMap c R θ)`, taken over the interval `0..2 * π`. This is an issue in computations, where splitting the circle average of a sum into a sum of circle averages quickly leads for lengthy formulas unfit for human consumption. - Ease of use: Manipulating `IntervalAverage`s by applying standard theorems from mathlib often leads to expressions of the form `(f + g) (circleMap c R θ)`, `f (circleMap c R θ) + g (circleMap c R θ) ` and `(f + g) ∘ (circleMap c R)` that are not equal enough for tactics like `rw`.
bwehlin
pushed a commit
to bwehlin/mathlib4
that referenced
this pull request
May 31, 2025
For a function `f` on the complex plane, introduce the notation `circleAverage f c R` as a shorthand for the average of `f` on the circle with center `c` and radius `R`. Averages of this form are typically used in analysis of one complex variable. ### Raison d'Être Like `IntervalAverage,` this notion exists as a convenience. It avoids the hassle of manually eliminating `2 * π` every time an average is computed. At least for the moment, it seems that the simplifier is not built to cancel repeating factors in non-trivial formulas. ### Why not use `IntervalAverage`? Two reasons: - Length: `circleAverage` is shorter and easier to read than the interval average of `f (circleMap c R θ)`, taken over the interval `0..2 * π`. This is an issue in computations, where splitting the circle average of a sum into a sum of circle averages quickly leads for lengthy formulas unfit for human consumption. - Ease of use: Manipulating `IntervalAverage`s by applying standard theorems from mathlib often leads to expressions of the form `(f + g) (circleMap c R θ)`, `f (circleMap c R θ) + g (circleMap c R θ) ` and `(f + g) ∘ (circleMap c R)` that are not equal enough for tactics like `rw`.
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.
For a function
fon the complex plane, introduce the notationcircleAverage f c Ras a shorthand for the average offon the circle with centercand radiusR. Averages of this form are typically used in analysis of one complex variable.Raison d'Être
Like
IntervalAverage,this notion exists as a convenience. It avoids the hassle of manually eliminating2 * πevery time an average is computed. At least for the moment, it seems that the simplifier is not built to cancel repeating factors in non-trivial formulas.Why not use
IntervalAverage?Two reasons:
Length:
circleAverageis shorter and easier to read than the interval average off (circleMap c R θ), taken over the interval0..2 * π. This is an issue in computations, where splitting the circle average of a sum into a sum of circle averages quickly leads for lengthy formulas unfit for human consumption.Ease of use: Manipulating
IntervalAverages by applying standard theorems from mathlib often leads to expressions of the form(f + g) (circleMap c R θ),f (circleMap c R θ) + g (circleMap c R θ)and(f + g) ∘ (circleMap c R)that are not equal enough for tactics likerw.