The logarithm with values in the extended reals
Lax606786.ExtendedLog · concepts/Lax606786/ExtendedLog.lean · lax-606786
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
For the logarithm , with . Growth rates are taken with this logarithm, so that a sequence which vanishes has rate . (Arguments do not occur; they are also sent to .)
Concept map
Lean source view on GitLab
| 1 | import Mathlib.Analysis.SpecialFunctions.Log.Basic |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The logarithm with values in the extended reals |
| 6 | type: definition |
| 7 | --- |
| 8 | For the logarithm , with . Growth rates |
| 9 | are taken with this logarithm, so that a sequence which vanishes has rate |
| 10 | . (Arguments do not occur; they are also sent to .) |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax606786.ExtendedLog |
| 14 | |
| 15 | /-- `log r` for `r > 0`, and `-∞` for `r ≤ 0`. -/ |
| 16 | noncomputable def logEReal (r : ℝ) : EReal := if r ≤ 0 then ⊥ else (Real.log r : EReal) |
| 17 | |
| 18 | end Lax606786.ExtendedLog |
| 19 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments