Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > ballotlemelo | Structured version Visualization version GIF version |
Description: Elementhood in 𝑂. (Contributed by Thierry Arnoux, 17-Apr-2017.) |
Ref | Expression |
---|---|
ballotth.m | ⊢ 𝑀 ∈ ℕ |
ballotth.n | ⊢ 𝑁 ∈ ℕ |
ballotth.o | ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (#‘𝑐) = 𝑀} |
Ref | Expression |
---|---|
ballotlemelo | ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (#‘𝐶) = 𝑀)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fveq2 6103 | . . . 4 ⊢ (𝑑 = 𝐶 → (#‘𝑑) = (#‘𝐶)) | |
2 | 1 | eqeq1d 2612 | . . 3 ⊢ (𝑑 = 𝐶 → ((#‘𝑑) = 𝑀 ↔ (#‘𝐶) = 𝑀)) |
3 | ballotth.o | . . . 4 ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (#‘𝑐) = 𝑀} | |
4 | fveq2 6103 | . . . . . 6 ⊢ (𝑐 = 𝑑 → (#‘𝑐) = (#‘𝑑)) | |
5 | 4 | eqeq1d 2612 | . . . . 5 ⊢ (𝑐 = 𝑑 → ((#‘𝑐) = 𝑀 ↔ (#‘𝑑) = 𝑀)) |
6 | 5 | cbvrabv 3172 | . . . 4 ⊢ {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (#‘𝑐) = 𝑀} = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (#‘𝑑) = 𝑀} |
7 | 3, 6 | eqtri 2632 | . . 3 ⊢ 𝑂 = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (#‘𝑑) = 𝑀} |
8 | 2, 7 | elrab2 3333 | . 2 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (#‘𝐶) = 𝑀)) |
9 | ovex 6577 | . . . 4 ⊢ (1...(𝑀 + 𝑁)) ∈ V | |
10 | 9 | elpw2 4755 | . . 3 ⊢ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ↔ 𝐶 ⊆ (1...(𝑀 + 𝑁))) |
11 | 10 | anbi1i 727 | . 2 ⊢ ((𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (#‘𝐶) = 𝑀) ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (#‘𝐶) = 𝑀)) |
12 | 8, 11 | bitri 263 | 1 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (#‘𝐶) = 𝑀)) |
Colors of variables: wff setvar class |
Syntax hints: ↔ wb 195 ∧ wa 383 = wceq 1475 ∈ wcel 1977 {crab 2900 ⊆ wss 3540 𝒫 cpw 4108 ‘cfv 5804 (class class class)co 6549 1c1 9816 + caddc 9818 ℕcn 10897 ...cfz 12197 #chash 12979 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1713 ax-4 1728 ax-5 1827 ax-6 1875 ax-7 1922 ax-10 2006 ax-11 2021 ax-12 2034 ax-13 2234 ax-ext 2590 ax-sep 4709 ax-nul 4717 |
This theorem depends on definitions: df-bi 196 df-or 384 df-an 385 df-3an 1033 df-tru 1478 df-ex 1696 df-nf 1701 df-sb 1868 df-eu 2462 df-clab 2597 df-cleq 2603 df-clel 2606 df-nfc 2740 df-ral 2901 df-rex 2902 df-rab 2905 df-v 3175 df-sbc 3403 df-dif 3543 df-un 3545 df-in 3547 df-ss 3554 df-nul 3875 df-if 4037 df-pw 4110 df-sn 4126 df-pr 4128 df-op 4132 df-uni 4373 df-br 4584 df-iota 5768 df-fv 5812 df-ov 6552 |
This theorem is referenced by: ballotlemscr 29907 ballotlemro 29911 ballotlemfg 29914 ballotlemfrc 29915 ballotlemfrceq 29917 ballotlemrinv0 29921 |
Copyright terms: Public domain | W3C validator |