Metamath Proof Explorer


Definition df-logbALT

Description: Define the log_ operator. This is the logarithm generalized to an arbitrary base. It can be used as ( ( log_B )X ) for "log base B of X". This formulation suggested by Mario Carneiro. (Contributed by David A. Wheeler, 14-Jul-2017) (New usage is discouraged.)

Ref Expression
Assertion df-logbALT log_ = b 0 1 x 0 log x log b

Detailed syntax breakdown

Step Hyp Ref Expression
0 clog- class log_
1 vb setvar b
2 cc class
3 cc0 class 0
4 c1 class 1
5 3 4 cpr class 0 1
6 2 5 cdif class 0 1
7 vx setvar x
8 3 csn class 0
9 2 8 cdif class 0
10 clog class log
11 7 cv setvar x
12 11 10 cfv class log x
13 cdiv class ÷
14 1 cv setvar b
15 14 10 cfv class log b
16 12 15 13 co class log x log b
17 7 9 16 cmpt class x 0 log x log b
18 1 6 17 cmpt class b 0 1 x 0 log x log b
19 0 18 wceq wff log_ = b 0 1 x 0 log x log b