| 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 6849 | . . 3 ⊢ (𝑑 = 𝐶 → ((♯‘𝑑) = 𝑀 ↔ (♯‘𝐶) = 𝑀)) | |
| 2 | ballotth.o | . . . 4 ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} | |
| 3 | fveqeq2 6849 | . . . . 5 ⊢ (𝑐 = 𝑑 → ((♯‘𝑐) = 𝑀 ↔ (♯‘𝑑) = 𝑀)) | |
| 4 | 3 | cbvrabv 3399 | . . . 4 ⊢ {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 5 | 2, 4 | eqtri 2759 | . . 3 ⊢ 𝑂 = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 6 | 1, 5 | elrab2 3637 | . 2 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀)) |
| 7 | ovex 7400 | . . . 4 ⊢ (1...(𝑀 + 𝑁)) ∈ V | |
| 8 | 7 | elpw2 5275 | . . 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 3389 ⊆ wss 3889 𝒫 cpw 4541 ‘cfv 6498 (class class class)co 7367 1c1 11039 + caddc 11041 ℕcn 12174 ...cfz 13461 ♯chash 14292 |
| 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 2708 ax-sep 5231 ax-nul 5241 |
| 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 2715 df-cleq 2728 df-clel 2811 df-ne 2933 df-rab 3390 df-v 3431 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-nul 4274 df-if 4467 df-pw 4543 df-sn 4568 df-pr 4570 df-op 4574 df-uni 4851 df-br 5086 df-iota 6454 df-fv 6506 df-ov 7370 |
| This theorem is referenced by: ballotlemscr 34663 ballotlemro 34667 ballotlemfg 34670 ballotlemfrc 34671 ballotlemfrceq 34673 ballotlemrinv0 34677 |
| Copyright terms: Public domain | W3C validator |