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 25923 | . 2 class logb | |
2 | vx | . . 3 setvar 𝑥 | |
3 | vy | . . 3 setvar 𝑦 | |
4 | cc 10878 | . . . 4 class ℂ | |
5 | cc0 10880 | . . . . 5 class 0 | |
6 | c1 10881 | . . . . 5 class 1 | |
7 | 5, 6 | cpr 4564 | . . . 4 class {0, 1} |
8 | 4, 7 | cdif 3885 | . . 3 class (ℂ ∖ {0, 1}) |
9 | 5 | csn 4562 | . . . 4 class {0} |
10 | 4, 9 | cdif 3885 | . . 3 class (ℂ ∖ {0}) |
11 | 3 | cv 1538 | . . . . 5 class 𝑦 |
12 | clog 25719 | . . . . 5 class log | |
13 | 11, 12 | cfv 6437 | . . . 4 class (log‘𝑦) |
14 | 2 | cv 1538 | . . . . 5 class 𝑥 |
15 | 14, 12 | cfv 6437 | . . . 4 class (log‘𝑥) |
16 | cdiv 11641 | . . . 4 class / | |
17 | 13, 15, 16 | co 7284 | . . 3 class ((log‘𝑦) / (log‘𝑥)) |
18 | 2, 3, 8, 10, 17 | cmpo 7286 | . 2 class (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥))) |
19 | 1, 18 | wceq 1539 | 1 wff logb = (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥))) |
Colors of variables: wff setvar class |
This definition is referenced by: logbval 25925 logbmpt 25947 logbfval 25949 |
Copyright terms: Public domain | W3C validator |