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

Theorem hashbcval 16328
Description: Value of the "binomial set", the set of all 𝑁-element subsets of 𝐴. (Contributed by Mario Carneiro, 20-Apr-2015.)
Hypothesis
Ref Expression
ramval.c 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
Assertion
Ref Expression
hashbcval ((𝐴𝑉𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
Distinct variable groups:   𝑥,𝐶   𝑎,𝑏,𝑖,𝑥   𝐴,𝑎,𝑖,𝑥   𝑁,𝑎,𝑖,𝑥   𝑥,𝑉
Allowed substitution hints:   𝐴(𝑏)   𝐶(𝑖,𝑎,𝑏)   𝑁(𝑏)   𝑉(𝑖,𝑎,𝑏)

Proof of Theorem hashbcval
StepHypRef Expression
1 elex 3459 . 2 (𝐴𝑉𝐴 ∈ V)
2 pwexg 5244 . . . . 5 (𝐴 ∈ V → 𝒫 𝐴 ∈ V)
32adantr 484 . . . 4 ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → 𝒫 𝐴 ∈ V)
4 rabexg 5198 . . . 4 (𝒫 𝐴 ∈ V → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V)
53, 4syl 17 . . 3 ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V)
6 fveqeq2 6654 . . . . . 6 (𝑏 = 𝑥 → ((♯‘𝑏) = 𝑖 ↔ (♯‘𝑥) = 𝑖))
76cbvrabv 3439 . . . . 5 {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖}
8 simpl 486 . . . . . . 7 ((𝑎 = 𝐴𝑖 = 𝑁) → 𝑎 = 𝐴)
98pweqd 4516 . . . . . 6 ((𝑎 = 𝐴𝑖 = 𝑁) → 𝒫 𝑎 = 𝒫 𝐴)
10 simpr 488 . . . . . . 7 ((𝑎 = 𝐴𝑖 = 𝑁) → 𝑖 = 𝑁)
1110eqeq2d 2809 . . . . . 6 ((𝑎 = 𝐴𝑖 = 𝑁) → ((♯‘𝑥) = 𝑖 ↔ (♯‘𝑥) = 𝑁))
129, 11rabeqbidv 3433 . . . . 5 ((𝑎 = 𝐴𝑖 = 𝑁) → {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
137, 12syl5eq 2845 . . . 4 ((𝑎 = 𝐴𝑖 = 𝑁) → {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
14 ramval.c . . . 4 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖})
1513, 14ovmpoga 7283 . . 3 ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0 ∧ {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
165, 15mpd3an3 1459 . 2 ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
171, 16sylan 583 1 ((𝐴𝑉𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  {crab 3110  Vcvv 3441  𝒫 cpw 4497  cfv 6324  (class class class)co 7135  cmpo 7137  0cn0 11885  chash 13686
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-iota 6283  df-fun 6326  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140
This theorem is referenced by:  hashbccl  16329  hashbcss  16330  hashbc0  16331  hashbc2  16332  ramval  16334  ram0  16348  ramub1lem1  16352  ramub1lem2  16353
  Copyright terms: Public domain W3C validator