Skip to content
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/normed_space/exponential): exponentials of negations, scalar actions, and sums #13036

Closed
wants to merge 15 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Mar 29, 2022

The new lemmas are:

  • exp_invertible_of_mem_ball
  • exp_invertible
  • is_unit_exp_of_mem_ball
  • is_unit_exp
  • ring.inverse_exp
  • exp_neg_of_mem_ball
  • exp_neg
  • exp_sum_of_commute
  • exp_sum
  • exp_nsmul
  • exp_zsmul

I don't know enough about the radius of convergence of exp to know if exp_nsmul holds more generally under extra conditions.


Open in Gitpod

These live in their respective namespaces for now to match `list.prod_commute` and `multiset.prod_commute`.

This also renames the existing additive versions to `sum_add_commute`, to avoid confusion.
These live in their respective namespaces for now to match `list.prod_commute` and `multiset.prod_commute`.

This also renames the existing additive versions to `sum_add_commute`, to avoid confusion.
@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Mar 29, 2022
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed 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 Apr 4, 2022
@leanprover-community-bot-assistant
Copy link
Collaborator

@eric-wieser eric-wieser changed the title feat(analysis/normed_space/exponential): add exp_nsmul and exp_sum_of_commute feat(analysis/normed_space/exponential): exponentials of negations, scalar actions, and sums Apr 4, 2022
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Apr 4, 2022
Comment on lines 387 to 388
noncomputable def invertible_exp [char_zero 𝕂] (x : 𝔸) : invertible (exp 𝕂 𝔸 x) :=
invertible_exp_of_mem_ball $ (exp_series_radius_eq_top 𝕂 𝔸).symm ▸ edist_lt_top _ _
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
noncomputable def invertible_exp [char_zero 𝕂] (x : 𝔸) : invertible (exp 𝕂 𝔸 x) :=
invertible_exp_of_mem_ball $ (exp_series_radius_eq_top 𝕂 𝔸).symm ▸ edist_lt_top _ _
noncomputable def invertible_exp (x : 𝔸) : invertible (exp 𝕂 𝔸 x) :=
invertible_exp_of_mem_ball $ (exp_series_radius_eq_top 𝕂 𝔸).symm ▸ edist_lt_top _ _

Same with the rest of this section, we have this instance for is_R_or_C 𝕂. Also, how about making this an instance and removing this awkward requirement from inv_of_exp?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems we don't tend to make invertible declarations actually instances, as this easily leads to diamonds. The awkward requirement in inv_of_exp is deliberate, as it makes this lemma immune to diamond problems.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. Let's just remove the [char_zero 𝕂] assumptions and merge this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I agree I should do that.

@dupuisf dupuisf 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 Apr 9, 2022
@eric-wieser eric-wieser 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 Apr 10, 2022
@dupuisf
Copy link
Collaborator

dupuisf commented Apr 12, 2022

bors r+

@github-actions 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 Apr 12, 2022
bors bot pushed a commit that referenced this pull request Apr 12, 2022
…calar actions, and sums (#13036)

The new lemmas are:

* `exp_invertible_of_mem_ball`
* `exp_invertible`
* `is_unit_exp_of_mem_ball`
* `is_unit_exp`
* `ring.inverse_exp`
* `exp_neg_of_mem_ball`
* `exp_neg`
* `exp_sum_of_commute`
* `exp_sum`
* `exp_nsmul`
* `exp_zsmul`

I don't know enough about the radius of convergence of `exp` to know if `exp_nsmul` holds more generally under extra conditions.
@bors
Copy link

bors bot commented Apr 12, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/normed_space/exponential): exponentials of negations, scalar actions, and sums [Merged by Bors] - feat(analysis/normed_space/exponential): exponentials of negations, scalar actions, and sums Apr 12, 2022
@bors bors bot closed this Apr 12, 2022
@bors bors bot deleted the eric-wieser/exp_nsmul branch April 12, 2022 19:51
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+`.)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants