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/trigonometric): range_{exp,cos,sin} #4595
Conversation
jcommelin
commented
Oct 13, 2020
•
edited by github-actions
bot
edited by github-actions
bot
- depends on: [Merged by Bors] - refactor(algebra/quadratic_discriminant): drop linearity condition; cleanup #4656
Is there a generalization lurking here? Is it true that a path-connected Hausdorff space is either a singleton or infinite, or something along these lines? @urkud |
I just found this: https://topospaces.subwiki.org/wiki/Path-connected_and_T1_with_at_least_two_points_implies_uncountable |
Great! And yes, I think one can do (fairly quickly?) finite + Hausdorff -> discrete; connected + discrete -> singleton. @jcommelin, do you have the energy for this generalization? I can share the work if you like. |
On second thoughts ... the connectedness of the range would probably be established from its being literally an interval (
is less efficient (even modulo a pre-existing perfect library) than your current version. What do you think? bors d+ |
✌️ jcommelin can now approve this pull request. To approve and merge a pull request, simply reply with |
I guess you can also get connectedness of the range from continuity and connectedness of the domain, so with a perfect library the proof might become a little bit shorter. But I won't have time to work on that in the near future. |
@hrmacbeth @urkud this PR changed a lot, so I don't think it's fair if I (ab)use the |
@jcommelin does #4656 need to be merged first? Who is the canonical reviewer for that? |
I think anybody can review that. It's mostly cleaning up... weakening assumptions, using readable names for variables, moving things to the proper location. |
@@ -1658,6 +1669,21 @@ lemma log_I : log I = π / 2 * I := by simp [log] | |||
|
|||
lemma log_neg_I : log (-I) = -(π / 2) * I := by simp [log] | |||
|
|||
lemma exists_pow_nat_eq (x : ℂ) {n : ℕ} (hn : 0 < n) : ∃ z, z ^ n = x := |
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.
TODO (not necessarily for this PR): generalize these two lemmas to an [is_alg_closed]
field and add an instance [is_alg_closed complex]
.
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.
It would be a good idea to create an issue if you won't be working on it immediately.
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.
Maybe I'm misunderstanding the comment, but we did have the complex.is_alg_closed
instance:
instance complex.is_alg_closed : is_alg_closed ℂ := |
bors merge |
Merge conflict. |
Co-authored-by: Anatole Dedecker <anatolededecker@gmail.com>
…leanup Renames: - `discriminant_le_zero` to `discrim_le_zero` - `discriminant_lt_zero` to `discrim_lt_zero`
697a3cc
to
22454a1
Compare
bors merge |
…4595) Co-authored-by: Patrick Massot <patrickmassot@free.fr>
Pull request successfully merged into master. Build succeeded: |