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): real.log
is infinitely smooth away from zero
#5116
Conversation
We can use these to avoid `@strict_mono_??cr_on (order_dual α) (order_dual β)`.
* add lemmas `order_iso.apply_eq_iff_eq` etc; * define `order_iso.symm`.
Since you're taking this opportunity to do a general refactor of |
I have a refactor of |
Ah, fantastic!
In my opinion that is definitely the most elegant method. If you have the energy, that would be great! I guess it requires one of the other 9^2 variants of
|
If I understand correctly, that would allow you to slim down #5111, since On the other hand, maybe it's worth keeping the local results such as |
I would prefer to keep local results. I have no particular applications in mind right now but I don't want to prove them once more when they will be needed. UPD: I already have a use case for a local lemma. |
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.
Looks good to me. Since the redefinition of log
is a moderately fundamental change (a big improvement in my opinion!), let's leave the PR open for a day or so, for greater visibility?
@[simp] lemma differentiable_at_log_iff : differentiable_at ℝ log x ↔ x ≠ 0 := | ||
⟨λ h, continuous_at_log_iff.1 h.continuous_at, differentiable_at_log⟩ |
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.
Last time I looked, we didn't have the analogue of this and the next lemma in other cases where they would be useful: x⁻¹
, tan
, etc. Note to self: add them!
Co-authored-by: hrmacbeth <25316162+hrmacbeth@users.noreply.github.com>
…lib into log-tcd2
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.
Thank you for adding the filter lemmas! These last two are basically aesthetic suggestions, up to you whether to implement them.
bors d+
simpa [(∘)] using (tendsto_neg_at_top_at_bot.comp $ tendsto_log_at_top.comp | ||
tendsto_inv_zero_at_top).comp this |
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.
simpa [(∘)] using (tendsto_neg_at_top_at_bot.comp $ tendsto_log_at_top.comp | |
tendsto_inv_zero_at_top).comp this | |
have h : tendsto log (𝓝[set.Ioi 0] 0) at_bot := | |
tendsto_comp_exp_at_bot.1 (by simpa only [log_exp] using tendsto_id), | |
simpa [(∘)] using h.comp this, |
I think you don't need this particular trick (inverting and re-inverting). My suggestion is still longer than yours with the trick, but maybe you can golf it ...
✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
…y from zero (#5116) Also redefine it using `order_iso.to_homeomorph` and prove more lemmas about limits of `exp`/`log`.
Pull request successfully merged into master. Build succeeded: |
real.log
is infinitely smooth away from zeroreal.log
is infinitely smooth away from zero
Also redefine it using
order_iso.to_homeomorph
and prove more lemmas about limits ofexp
/log
.order_iso
lemmasstrict_mono_??cr_on.dual
anddual_right
#5107strict_mono_incr_on.dual
order_iso.to_homeomorph
#5111order_iso.to_homeomorph
map coe at_top/at_bot
#5238 map/comap at_top in open intervalsintermediate_value_Icc
etc #5235 generalize IVT