Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  snmlfval Structured version   Visualization version   GIF version

Theorem snmlfval 34981
Description: The function ๐น from snmlval 34982 maps ๐‘ to the relative density of ๐ต in the first ๐‘ digits of the digit string of ๐ด in base ๐‘…. (Contributed by Mario Carneiro, 6-Apr-2015.)
Hypothesis
Ref Expression
snmlff.f ๐น = (๐‘› โˆˆ โ„• โ†ฆ ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘›) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘›))
Assertion
Ref Expression
snmlfval (๐‘ โˆˆ โ„• โ†’ (๐นโ€˜๐‘) = ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘))
Distinct variable groups:   ๐ด,๐‘›   ๐ต,๐‘›   ๐‘˜,๐‘›,๐‘   ๐‘…,๐‘›
Allowed substitution hints:   ๐ด(๐‘˜)   ๐ต(๐‘˜)   ๐‘…(๐‘˜)   ๐น(๐‘˜,๐‘›)

Proof of Theorem snmlfval
StepHypRef Expression
1 oveq2 7434 . . . . 5 (๐‘› = ๐‘ โ†’ (1...๐‘›) = (1...๐‘))
21rabeqdv 3446 . . . 4 (๐‘› = ๐‘ โ†’ {๐‘˜ โˆˆ (1...๐‘›) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต} = {๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต})
32fveq2d 6906 . . 3 (๐‘› = ๐‘ โ†’ (โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘›) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) = (โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}))
4 id 22 . . 3 (๐‘› = ๐‘ โ†’ ๐‘› = ๐‘)
53, 4oveq12d 7444 . 2 (๐‘› = ๐‘ โ†’ ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘›) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘›) = ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘))
6 snmlff.f . 2 ๐น = (๐‘› โˆˆ โ„• โ†ฆ ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘›) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘›))
7 ovex 7459 . 2 ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘) โˆˆ V
85, 6, 7fvmpt 7010 1 (๐‘ โˆˆ โ„• โ†’ (๐นโ€˜๐‘) = ((โ™ฏโ€˜{๐‘˜ โˆˆ (1...๐‘) โˆฃ (โŒŠโ€˜((๐ด ยท (๐‘…โ†‘๐‘˜)) mod ๐‘…)) = ๐ต}) / ๐‘))
Colors of variables: wff setvar class
Syntax hints:   โ†’ wi 4   = wceq 1533   โˆˆ wcel 2098  {crab 3430   โ†ฆ cmpt 5235  โ€˜cfv 6553  (class class class)co 7426  1c1 11149   ยท cmul 11153   / cdiv 11911  โ„•cn 12252  ...cfz 13526  โŒŠcfl 13797   mod cmo 13876  โ†‘cexp 14068  โ™ฏchash 14331
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2699  ax-sep 5303  ax-nul 5310  ax-pr 5433
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2529  df-eu 2558  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2938  df-ral 3059  df-rex 3068  df-rab 3431  df-v 3475  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4327  df-if 4533  df-sn 4633  df-pr 4635  df-op 4639  df-uni 4913  df-br 5153  df-opab 5215  df-mpt 5236  df-id 5580  df-xp 5688  df-rel 5689  df-cnv 5690  df-co 5691  df-dm 5692  df-iota 6505  df-fun 6555  df-fv 6561  df-ov 7429
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator