ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rplogbval GIF version

Theorem rplogbval 15662
Description: Define the value of the logb function, the logarithm generalized to an arbitrary base, when used as infix. Most Metamath statements select variables in order of their use, but to make the order clearer we use "B" for base and "X" for the argument of the logarithm function here. (Contributed by David A. Wheeler, 21-Jan-2017.) (Revised by Jim Kingdon, 3-Jul-2024.)
Assertion
Ref Expression
rplogbval ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (𝐵 logb 𝑋) = ((log‘𝑋) / (log‘𝐵)))

Proof of Theorem rplogbval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rpcn 9890 . . . 4 (𝐵 ∈ ℝ+𝐵 ∈ ℂ)
213ad2ant1 1042 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 ∈ ℂ)
3 rpne0 9897 . . . 4 (𝐵 ∈ ℝ+𝐵 ≠ 0)
433ad2ant1 1042 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 ≠ 0)
5 simp2 1022 . . . 4 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 # 1)
6 1cnd 8188 . . . . 5 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 1 ∈ ℂ)
7 apne 8796 . . . . 5 ((𝐵 ∈ ℂ ∧ 1 ∈ ℂ) → (𝐵 # 1 → 𝐵 ≠ 1))
82, 6, 7syl2anc 411 . . . 4 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (𝐵 # 1 → 𝐵 ≠ 1))
95, 8mpd 13 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 ≠ 1)
10 eldifpr 3694 . . 3 (𝐵 ∈ (ℂ ∖ {0, 1}) ↔ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0 ∧ 𝐵 ≠ 1))
112, 4, 9, 10syl3anbrc 1205 . 2 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 ∈ (ℂ ∖ {0, 1}))
12 rpcn 9890 . . . 4 (𝑋 ∈ ℝ+𝑋 ∈ ℂ)
13123ad2ant3 1044 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝑋 ∈ ℂ)
14 rpne0 9897 . . . 4 (𝑋 ∈ ℝ+𝑋 ≠ 0)
15143ad2ant3 1044 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝑋 ≠ 0)
16 eldifsn 3798 . . 3 (𝑋 ∈ (ℂ ∖ {0}) ↔ (𝑋 ∈ ℂ ∧ 𝑋 ≠ 0))
1713, 15, 16sylanbrc 417 . 2 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝑋 ∈ (ℂ ∖ {0}))
18 simp3 1023 . . . 4 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝑋 ∈ ℝ+)
1918relogcld 15599 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (log‘𝑋) ∈ ℝ)
20 simp1 1021 . . . 4 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → 𝐵 ∈ ℝ+)
2120relogcld 15599 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (log‘𝐵) ∈ ℝ)
2220, 5logrpap0d 15595 . . 3 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (log‘𝐵) # 0)
2319, 21, 22redivclapd 9008 . 2 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → ((log‘𝑋) / (log‘𝐵)) ∈ ℝ)
24 fveq2 5635 . . . 4 (𝑥 = 𝐵 → (log‘𝑥) = (log‘𝐵))
2524oveq2d 6029 . . 3 (𝑥 = 𝐵 → ((log‘𝑦) / (log‘𝑥)) = ((log‘𝑦) / (log‘𝐵)))
26 fveq2 5635 . . . 4 (𝑦 = 𝑋 → (log‘𝑦) = (log‘𝑋))
2726oveq1d 6028 . . 3 (𝑦 = 𝑋 → ((log‘𝑦) / (log‘𝐵)) = ((log‘𝑋) / (log‘𝐵)))
28 df-logb 15661 . . 3 logb = (𝑥 ∈ (ℂ ∖ {0, 1}), 𝑦 ∈ (ℂ ∖ {0}) ↦ ((log‘𝑦) / (log‘𝑥)))
2925, 27, 28ovmpog 6151 . 2 ((𝐵 ∈ (ℂ ∖ {0, 1}) ∧ 𝑋 ∈ (ℂ ∖ {0}) ∧ ((log‘𝑋) / (log‘𝐵)) ∈ ℝ) → (𝐵 logb 𝑋) = ((log‘𝑋) / (log‘𝐵)))
3011, 17, 23, 29syl3anc 1271 1 ((𝐵 ∈ ℝ+𝐵 # 1 ∧ 𝑋 ∈ ℝ+) → (𝐵 logb 𝑋) = ((log‘𝑋) / (log‘𝐵)))
Colors of variables: wff set class
Syntax hints:  wi 4  w3a 1002   = wceq 1395  wcel 2200  wne 2400  cdif 3195  {csn 3667  {cpr 3668   class class class wbr 4086  cfv 5324  (class class class)co 6013  cc 8023  cr 8024  0cc0 8025  1c1 8026   # cap 8754   / cdiv 8845  +crp 9881  logclog 15573   logb clogb 15660
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-coll 4202  ax-sep 4205  ax-nul 4213  ax-pow 4262  ax-pr 4297  ax-un 4528  ax-setind 4633  ax-iinf 4684  ax-cnex 8116  ax-resscn 8117  ax-1cn 8118  ax-1re 8119  ax-icn 8120  ax-addcl 8121  ax-addrcl 8122  ax-mulcl 8123  ax-mulrcl 8124  ax-addcom 8125  ax-mulcom 8126  ax-addass 8127  ax-mulass 8128  ax-distr 8129  ax-i2m1 8130  ax-0lt1 8131  ax-1rid 8132  ax-0id 8133  ax-rnegex 8134  ax-precex 8135  ax-cnre 8136  ax-pre-ltirr 8137  ax-pre-ltwlin 8138  ax-pre-lttrn 8139  ax-pre-apti 8140  ax-pre-ltadd 8141  ax-pre-mulgt0 8142  ax-pre-mulext 8143  ax-arch 8144  ax-caucvg 8145  ax-pre-suploc 8146  ax-addf 8147  ax-mulf 8148
This theorem depends on definitions:  df-bi 117  df-stab 836  df-dc 840  df-3or 1003  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ne 2401  df-nel 2496  df-ral 2513  df-rex 2514  df-reu 2515  df-rmo 2516  df-rab 2517  df-v 2802  df-sbc 3030  df-csb 3126  df-dif 3200  df-un 3202  df-in 3204  df-ss 3211  df-nul 3493  df-if 3604  df-pw 3652  df-sn 3673  df-pr 3674  df-op 3676  df-uni 3892  df-int 3927  df-iun 3970  df-disj 4063  df-br 4087  df-opab 4149  df-mpt 4150  df-tr 4186  df-id 4388  df-po 4391  df-iso 4392  df-iord 4461  df-on 4463  df-ilim 4464  df-suc 4466  df-iom 4687  df-xp 4729  df-rel 4730  df-cnv 4731  df-co 4732  df-dm 4733  df-rn 4734  df-res 4735  df-ima 4736  df-iota 5284  df-fun 5326  df-fn 5327  df-f 5328  df-f1 5329  df-fo 5330  df-f1o 5331  df-fv 5332  df-isom 5333  df-riota 5966  df-ov 6016  df-oprab 6017  df-mpo 6018  df-of 6230  df-1st 6298  df-2nd 6299  df-recs 6466  df-irdg 6531  df-frec 6552  df-1o 6577  df-oadd 6581  df-er 6697  df-map 6814  df-pm 6815  df-en 6905  df-dom 6906  df-fin 6907  df-sup 7177  df-inf 7178  df-pnf 8209  df-mnf 8210  df-xr 8211  df-ltxr 8212  df-le 8213  df-sub 8345  df-neg 8346  df-reap 8748  df-ap 8755  df-div 8846  df-inn 9137  df-2 9195  df-3 9196  df-4 9197  df-n0 9396  df-z 9473  df-uz 9749  df-q 9847  df-rp 9882  df-xneg 10000  df-xadd 10001  df-ioo 10120  df-ico 10122  df-icc 10123  df-fz 10237  df-fzo 10371  df-seqfrec 10703  df-exp 10794  df-fac 10981  df-bc 11003  df-ihash 11031  df-shft 11369  df-cj 11396  df-re 11397  df-im 11398  df-rsqrt 11552  df-abs 11553  df-clim 11833  df-sumdc 11908  df-ef 12202  df-e 12203  df-rest 13317  df-topgen 13336  df-psmet 14550  df-xmet 14551  df-met 14552  df-bl 14553  df-mopn 14554  df-top 14715  df-topon 14728  df-bases 14760  df-ntr 14813  df-cn 14905  df-cnp 14906  df-tx 14970  df-cncf 15288  df-limced 15373  df-dvap 15374  df-relog 15575  df-logb 15661
This theorem is referenced by:  rplogbcl  15663  rplogbid1  15664  rplogb1  15665  rpelogb  15666  rplogbchbase  15667  relogbval  15668  rplogbreexp  15670  rprelogbmul  15672  rpcxplogb  15681  logbgt0b  15683
  Copyright terms: Public domain W3C validator