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

Theorem hashfz0 10464
Description: Value of the numeric cardinality of a nonempty range of nonnegative integers. (Contributed by Alexander van der Vekens, 21-Jul-2018.)
Assertion
Ref Expression
hashfz0 (𝐵 ∈ ℕ0 → (♯‘(0...𝐵)) = (𝐵 + 1))

Proof of Theorem hashfz0
StepHypRef Expression
1 elnn0uz 9265 . . 3 (𝐵 ∈ ℕ0𝐵 ∈ (ℤ‘0))
2 hashfz 10460 . . 3 (𝐵 ∈ (ℤ‘0) → (♯‘(0...𝐵)) = ((𝐵 − 0) + 1))
31, 2sylbi 120 . 2 (𝐵 ∈ ℕ0 → (♯‘(0...𝐵)) = ((𝐵 − 0) + 1))
4 nn0cn 8891 . . . 4 (𝐵 ∈ ℕ0𝐵 ∈ ℂ)
54subid1d 7985 . . 3 (𝐵 ∈ ℕ0 → (𝐵 − 0) = 𝐵)
65oveq1d 5743 . 2 (𝐵 ∈ ℕ0 → ((𝐵 − 0) + 1) = (𝐵 + 1))
73, 6eqtrd 2147 1 (𝐵 ∈ ℕ0 → (♯‘(0...𝐵)) = (𝐵 + 1))
Colors of variables: wff set class
Syntax hints:  wi 4   = wceq 1314  wcel 1463  cfv 5081  (class class class)co 5728  0cc0 7547  1c1 7548   + caddc 7550  cmin 7856  0cn0 8881  cuz 9228  ...cfz 9683  chash 10414
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-10 1466  ax-11 1467  ax-i12 1468  ax-bndl 1469  ax-4 1470  ax-13 1474  ax-14 1475  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498  ax-ext 2097  ax-coll 4003  ax-sep 4006  ax-nul 4014  ax-pow 4058  ax-pr 4091  ax-un 4315  ax-setind 4412  ax-iinf 4462  ax-cnex 7636  ax-resscn 7637  ax-1cn 7638  ax-1re 7639  ax-icn 7640  ax-addcl 7641  ax-addrcl 7642  ax-mulcl 7643  ax-addcom 7645  ax-addass 7647  ax-distr 7649  ax-i2m1 7650  ax-0lt1 7651  ax-0id 7653  ax-rnegex 7654  ax-cnre 7656  ax-pre-ltirr 7657  ax-pre-ltwlin 7658  ax-pre-lttrn 7659  ax-pre-apti 7660  ax-pre-ltadd 7661
This theorem depends on definitions:  df-bi 116  df-dc 803  df-3or 946  df-3an 947  df-tru 1317  df-fal 1320  df-nf 1420  df-sb 1719  df-eu 1978  df-mo 1979  df-clab 2102  df-cleq 2108  df-clel 2111  df-nfc 2244  df-ne 2283  df-nel 2378  df-ral 2395  df-rex 2396  df-reu 2397  df-rab 2399  df-v 2659  df-sbc 2879  df-csb 2972  df-dif 3039  df-un 3041  df-in 3043  df-ss 3050  df-nul 3330  df-pw 3478  df-sn 3499  df-pr 3500  df-op 3502  df-uni 3703  df-int 3738  df-iun 3781  df-br 3896  df-opab 3950  df-mpt 3951  df-tr 3987  df-id 4175  df-iord 4248  df-on 4250  df-ilim 4251  df-suc 4253  df-iom 4465  df-xp 4505  df-rel 4506  df-cnv 4507  df-co 4508  df-dm 4509  df-rn 4510  df-res 4511  df-ima 4512  df-iota 5046  df-fun 5083  df-fn 5084  df-f 5085  df-f1 5086  df-fo 5087  df-f1o 5088  df-fv 5089  df-riota 5684  df-ov 5731  df-oprab 5732  df-mpo 5733  df-1st 5992  df-2nd 5993  df-recs 6156  df-frec 6242  df-1o 6267  df-er 6383  df-en 6589  df-dom 6590  df-fin 6591  df-pnf 7726  df-mnf 7727  df-xr 7728  df-ltxr 7729  df-le 7730  df-sub 7858  df-neg 7859  df-inn 8631  df-n0 8882  df-z 8959  df-uz 9229  df-fz 9684  df-ihash 10415
This theorem is referenced by:  fnfz0hash  10468
  Copyright terms: Public domain W3C validator