| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > hashbcval | Structured version Visualization version GIF version | ||
| Description: Value of the "binomial set", the set of all 𝑁-element subsets of 𝐴. (Contributed by Mario Carneiro, 20-Apr-2015.) |
| Ref | Expression |
|---|---|
| ramval.c | ⊢ 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖}) |
| Ref | Expression |
|---|---|
| hashbcval | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elex 3461 | . 2 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ V) | |
| 2 | pwexg 5323 | . . . . 5 ⊢ (𝐴 ∈ V → 𝒫 𝐴 ∈ V) | |
| 3 | 2 | adantr 480 | . . . 4 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → 𝒫 𝐴 ∈ V) |
| 4 | rabexg 5282 | . . . 4 ⊢ (𝒫 𝐴 ∈ V → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) | |
| 5 | 3, 4 | syl 17 | . . 3 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) |
| 6 | fveqeq2 6843 | . . . . . 6 ⊢ (𝑏 = 𝑥 → ((♯‘𝑏) = 𝑖 ↔ (♯‘𝑥) = 𝑖)) | |
| 7 | 6 | cbvrabv 3409 | . . . . 5 ⊢ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖} |
| 8 | simpl 482 | . . . . . . 7 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝑎 = 𝐴) | |
| 9 | 8 | pweqd 4571 | . . . . . 6 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝒫 𝑎 = 𝒫 𝐴) |
| 10 | simpr 484 | . . . . . . 7 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝑖 = 𝑁) | |
| 11 | 10 | eqeq2d 2747 | . . . . . 6 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → ((♯‘𝑥) = 𝑖 ↔ (♯‘𝑥) = 𝑁)) |
| 12 | 9, 11 | rabeqbidv 3417 | . . . . 5 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| 13 | 7, 12 | eqtrid 2783 | . . . 4 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| 14 | ramval.c | . . . 4 ⊢ 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖}) | |
| 15 | 13, 14 | ovmpoga 7512 | . . 3 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0 ∧ {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| 16 | 5, 15 | mpd3an3 1464 | . 2 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| 17 | 1, 16 | sylan 580 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1541 ∈ wcel 2113 {crab 3399 Vcvv 3440 𝒫 cpw 4554 ‘cfv 6492 (class class class)co 7358 ∈ cmpo 7360 ℕ0cn0 12401 ♯chash 14253 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2184 ax-ext 2708 ax-sep 5241 ax-nul 5251 ax-pow 5310 ax-pr 5377 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2539 df-eu 2569 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-ral 3052 df-rex 3061 df-rab 3400 df-v 3442 df-sbc 3741 df-dif 3904 df-un 3906 df-in 3908 df-ss 3918 df-nul 4286 df-if 4480 df-pw 4556 df-sn 4581 df-pr 4583 df-op 4587 df-uni 4864 df-br 5099 df-opab 5161 df-id 5519 df-xp 5630 df-rel 5631 df-cnv 5632 df-co 5633 df-dm 5634 df-iota 6448 df-fun 6494 df-fv 6500 df-ov 7361 df-oprab 7362 df-mpo 7363 |
| This theorem is referenced by: hashbccl 16931 hashbcss 16932 hashbc0 16933 hashbc2 16934 ramval 16936 ram0 16950 ramub1lem1 16954 ramub1lem2 16955 |
| Copyright terms: Public domain | W3C validator |