| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > df-logb | Structured version Visualization version GIF version | ||
| Description: Define the logb operator. This is the logarithm generalized to an arbitrary base. It can be used as (𝐵 logb 𝑋) for "log base B of X". In the most common traditional notation, base B is a subscript of "log". The definition is according to Wikipedia "Complex logarithm": https://en.wikipedia.org/wiki/Complex_logarithm#Logarithms_to_other_bases (10-Jun-2020). (Contributed by David A. Wheeler, 21-Jan-2017.) |
| Ref | Expression |
|---|---|
| df-logb | ⊢ logb = (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | clogb 26807 | . 2 class logb | |
| 2 | vx | . . 3 setvar 𝑥 | |
| 3 | vy | . . 3 setvar 𝑦 | |
| 4 | cc 11153 | . . . 4 class ℂ | |
| 5 | cc0 11155 | . . . . 5 class 0 | |
| 6 | c1 11156 | . . . . 5 class 1 | |
| 7 | 5, 6 | cpr 4628 | . . . 4 class {0, 1} |
| 8 | 4, 7 | cdif 3948 | . . 3 class (ℂ ∖ {0, 1}) |
| 9 | 5 | csn 4626 | . . . 4 class {0} |
| 10 | 4, 9 | cdif 3948 | . . 3 class (ℂ ∖ {0}) |
| 11 | 3 | cv 1539 | . . . . 5 class 𝑦 |
| 12 | clog 26596 | . . . . 5 class log | |
| 13 | 11, 12 | cfv 6561 | . . . 4 class (log‘𝑦) |
| 14 | 2 | cv 1539 | . . . . 5 class 𝑥 |
| 15 | 14, 12 | cfv 6561 | . . . 4 class (log‘𝑥) |
| 16 | cdiv 11920 | . . . 4 class / | |
| 17 | 13, 15, 16 | co 7431 | . . 3 class ((log‘𝑦) / (log‘𝑥)) |
| 18 | 2, 3, 8, 10, 17 | cmpo 7433 | . 2 class (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥))) |
| 19 | 1, 18 | wceq 1540 | 1 wff logb = (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥))) |
| Colors of variables: wff setvar class |
| This definition is referenced by: logbval 26809 logbmpt 26831 logbfval 26833 |
| Copyright terms: Public domain | W3C validator |