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 3510 | . 2 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ V) | |
2 | pwexg 5270 | . . . . 5 ⊢ (𝐴 ∈ V → 𝒫 𝐴 ∈ V) | |
3 | 2 | adantr 481 | . . . 4 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → 𝒫 𝐴 ∈ V) |
4 | rabexg 5225 | . . . 4 ⊢ (𝒫 𝐴 ∈ V → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) | |
5 | 3, 4 | syl 17 | . . 3 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) |
6 | fveqeq2 6672 | . . . . . 6 ⊢ (𝑏 = 𝑥 → ((♯‘𝑏) = 𝑖 ↔ (♯‘𝑥) = 𝑖)) | |
7 | 6 | cbvrabv 3489 | . . . . 5 ⊢ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖} |
8 | simpl 483 | . . . . . . 7 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝑎 = 𝐴) | |
9 | 8 | pweqd 4540 | . . . . . 6 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝒫 𝑎 = 𝒫 𝐴) |
10 | simpr 485 | . . . . . . 7 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → 𝑖 = 𝑁) | |
11 | 10 | eqeq2d 2829 | . . . . . 6 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → ((♯‘𝑥) = 𝑖 ↔ (♯‘𝑥) = 𝑁)) |
12 | 9, 11 | rabeqbidv 3483 | . . . . 5 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → {𝑥 ∈ 𝒫 𝑎 ∣ (♯‘𝑥) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
13 | 7, 12 | syl5eq 2865 | . . . 4 ⊢ ((𝑎 = 𝐴 ∧ 𝑖 = 𝑁) → {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖} = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
14 | ramval.c | . . . 4 ⊢ 𝐶 = (𝑎 ∈ V, 𝑖 ∈ ℕ0 ↦ {𝑏 ∈ 𝒫 𝑎 ∣ (♯‘𝑏) = 𝑖}) | |
15 | 13, 14 | ovmpoga 7293 | . . 3 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0 ∧ {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁} ∈ V) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
16 | 5, 15 | mpd3an3 1453 | . 2 ⊢ ((𝐴 ∈ V ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
17 | 1, 16 | sylan 580 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝑁 ∈ ℕ0) → (𝐴𝐶𝑁) = {𝑥 ∈ 𝒫 𝐴 ∣ (♯‘𝑥) = 𝑁}) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1528 ∈ wcel 2105 {crab 3139 Vcvv 3492 𝒫 cpw 4535 ‘cfv 6348 (class class class)co 7145 ∈ cmpo 7147 ℕ0cn0 11885 ♯chash 13678 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1787 ax-4 1801 ax-5 1902 ax-6 1961 ax-7 2006 ax-8 2107 ax-9 2115 ax-10 2136 ax-11 2151 ax-12 2167 ax-ext 2790 ax-sep 5194 ax-nul 5201 ax-pow 5257 ax-pr 5320 |
This theorem depends on definitions: df-bi 208 df-an 397 df-or 842 df-3an 1081 df-tru 1531 df-ex 1772 df-nf 1776 df-sb 2061 df-mo 2615 df-eu 2647 df-clab 2797 df-cleq 2811 df-clel 2890 df-nfc 2960 df-ral 3140 df-rex 3141 df-rab 3144 df-v 3494 df-sbc 3770 df-dif 3936 df-un 3938 df-in 3940 df-ss 3949 df-nul 4289 df-if 4464 df-pw 4537 df-sn 4558 df-pr 4560 df-op 4564 df-uni 4831 df-br 5058 df-opab 5120 df-id 5453 df-xp 5554 df-rel 5555 df-cnv 5556 df-co 5557 df-dm 5558 df-iota 6307 df-fun 6350 df-fv 6356 df-ov 7148 df-oprab 7149 df-mpo 7150 |
This theorem is referenced by: hashbccl 16327 hashbcss 16328 hashbc0 16329 hashbc2 16330 ramval 16332 ram0 16346 ramub1lem1 16350 ramub1lem2 16351 |
Copyright terms: Public domain | W3C validator |