| 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 | fveqeq2 6844 | . . 3 ⊢ (𝑑 = 𝐶 → ((♯‘𝑑) = 𝑀 ↔ (♯‘𝐶) = 𝑀)) | |
| 2 | ballotth.o | . . . 4 ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} | |
| 3 | fveqeq2 6844 | . . . . 5 ⊢ (𝑐 = 𝑑 → ((♯‘𝑐) = 𝑀 ↔ (♯‘𝑑) = 𝑀)) | |
| 4 | 3 | cbvrabv 3400 | . . . 4 ⊢ {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 5 | 2, 4 | eqtri 2760 | . . 3 ⊢ 𝑂 = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 6 | 1, 5 | elrab2 3638 | . 2 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀)) |
| 7 | ovex 7394 | . . . 4 ⊢ (1...(𝑀 + 𝑁)) ∈ V | |
| 8 | 7 | elpw2 5272 | . . 3 ⊢ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ↔ 𝐶 ⊆ (1...(𝑀 + 𝑁))) |
| 9 | 8 | anbi1i 625 | . 2 ⊢ ((𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀) ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀)) |
| 10 | 6, 9 | bitri 275 | 1 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀)) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 ∧ wa 395 = wceq 1542 ∈ wcel 2114 {crab 3390 ⊆ wss 3890 𝒫 cpw 4542 ‘cfv 6493 (class class class)co 7361 1c1 11033 + caddc 11035 ℕcn 12168 ...cfz 13455 ♯chash 14286 |
| 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 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-ext 2709 ax-sep 5232 ax-nul 5242 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-sb 2069 df-clab 2716 df-cleq 2729 df-clel 2812 df-ne 2934 df-rab 3391 df-v 3432 df-dif 3893 df-un 3895 df-in 3897 df-ss 3907 df-nul 4275 df-if 4468 df-pw 4544 df-sn 4569 df-pr 4571 df-op 4575 df-uni 4852 df-br 5087 df-iota 6449 df-fv 6501 df-ov 7364 |
| This theorem is referenced by: ballotlemscr 34682 ballotlemro 34686 ballotlemfg 34689 ballotlemfrc 34690 ballotlemfrceq 34692 ballotlemrinv0 34696 |
| Copyright terms: Public domain | W3C validator |