[Merged by Bors] - feat(SpecialFunctions/Log): add extended nonnegative real logarithm#14018
[Merged by Bors] - feat(SpecialFunctions/Log): add extended nonnegative real logarithm#14018pitmonticone wants to merge 23 commits intomasterfrom
Conversation
Co-Authored-By: D-Thomine <100795491+D-Thomine@users.noreply.github.com>
PR summary 269142b3fbImport changesNo significant changes to the import graph
|
Co-Authored-By: D-Thomine <100795491+D-Thomine@users.noreply.github.com>
Co-Authored-By: D-Thomine <100795491+D-Thomine@users.noreply.github.com>
sgouezel
left a comment
There was a problem hiding this comment.
Are you planning to also add exp in the other direction? (I'm asking because the order iso version and the homeomorphism version would love to have a simp lemma saying that, when you apply their symm, it coincides with exp). If yes in a near future, then everything is perfect. If not, can you add a todo about this at the end of the file-level comment?
dupuisf
left a comment
There was a problem hiding this comment.
I just have a few comments, but globally it looks good! I think it would be good to also add lemmas about (ENNReal.log x).toReal, my guess is that it would come up in practice quite a bit.
|
(Sorry about some of the double comments, I was reviewing at the same time as Sébastien...) |
No, unfortunately I won't have enough time in the near future. I'm going to add the |
Co-authored-by: Frédéric Dupuis <31101893+dupuisf@users.noreply.github.com>
Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
|
bors r+ |
…14018) This PR adds the `SpecialFunctions/Log/ENNRealLog.lean` file where we define `log` as an extension of the logarithm of a positive real to the extended nonnegative reals `ℝ≥0∞`. The function takes values in the extended reals `EReal`, with `log 0 = ⊥` and `log ⊤ = ⊤`. Co-authored with @D-Thomine.
|
Pull request successfully merged into master. Build succeeded: |
…14018) This PR adds the `SpecialFunctions/Log/ENNRealLog.lean` file where we define `log` as an extension of the logarithm of a positive real to the extended nonnegative reals `ℝ≥0∞`. The function takes values in the extended reals `EReal`, with `log 0 = ⊥` and `log ⊤ = ⊤`. Co-authored with @D-Thomine.
…14018) This PR adds the `SpecialFunctions/Log/ENNRealLog.lean` file where we define `log` as an extension of the logarithm of a positive real to the extended nonnegative reals `ℝ≥0∞`. The function takes values in the extended reals `EReal`, with `log 0 = ⊥` and `log ⊤ = ⊤`. Co-authored with @D-Thomine.
This PR adds the
SpecialFunctions/Log/ENNRealLog.leanfile where we definelogas an extension of the logarithm of a positive real to the extended nonnegative realsℝ≥0∞. The function takes values in the extended realsEReal, withlog 0 = ⊥andlog ⊤ = ⊤.Co-authored with @D-Thomine.