MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  bitsf Structured version   Visualization version   GIF version

Theorem bitsf 16299
Description: The bits function is a function from integers to subsets of nonnegative integers. (Contributed by Mario Carneiro, 5-Sep-2016.)
Assertion
Ref Expression
bitsf bits:ℤ⟶𝒫 ℕ0

Proof of Theorem bitsf
Dummy variables 𝑘 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-bits 16294 . 2 bits = (𝑛 ∈ ℤ ↦ {𝑘 ∈ ℕ0 ∣ ¬ 2 ∥ (⌊‘(𝑛 / (2↑𝑘)))})
2 nn0ex 12415 . . . 4 0 ∈ V
3 ssrab2 4035 . . . 4 {𝑘 ∈ ℕ0 ∣ ¬ 2 ∥ (⌊‘(𝑛 / (2↑𝑘)))} ⊆ ℕ0
42, 3elpwi2 5301 . . 3 {𝑘 ∈ ℕ0 ∣ ¬ 2 ∥ (⌊‘(𝑛 / (2↑𝑘)))} ∈ 𝒫 ℕ0
54a1i 11 . 2 (𝑛 ∈ ℤ → {𝑘 ∈ ℕ0 ∣ ¬ 2 ∥ (⌊‘(𝑛 / (2↑𝑘)))} ∈ 𝒫 ℕ0)
61, 5fmpti 7056 1 bits:ℤ⟶𝒫 ℕ0
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wcel 2106  {crab 3405  Vcvv 3443  𝒫 cpw 4558   class class class wbr 5103  wf 6489  cfv 6493  (class class class)co 7353   / cdiv 11808  2c2 12204  0cn0 12409  cz 12495  cfl 13687  cexp 13959  cdvds 16128  bitscbits 16291
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-sep 5254  ax-nul 5261  ax-pr 5382  ax-un 7668  ax-cnex 11103  ax-1cn 11105  ax-addcl 11107
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4281  df-if 4485  df-pw 4560  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-tr 5221  df-id 5529  df-eprel 5535  df-po 5543  df-so 5544  df-fr 5586  df-we 5588  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6251  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-ov 7356  df-om 7799  df-2nd 7918  df-frecs 8208  df-wrecs 8239  df-recs 8313  df-rdg 8352  df-nn 12150  df-n0 12410  df-bits 16294
This theorem is referenced by:  bitsf1ocnv  16316  bitsf1  16318  eulerpartgbij  32841  eulerpartlemmf  32844
  Copyright terms: Public domain W3C validator