| 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 6851 | . . 3 ⊢ (𝑑 = 𝐶 → ((♯‘𝑑) = 𝑀 ↔ (♯‘𝐶) = 𝑀)) | |
| 2 | ballotth.o | . . . 4 ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} | |
| 3 | fveqeq2 6851 | . . . . 5 ⊢ (𝑐 = 𝑑 → ((♯‘𝑐) = 𝑀 ↔ (♯‘𝑑) = 𝑀)) | |
| 4 | 3 | cbvrabv 3411 | . . . 4 ⊢ {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 5 | 2, 4 | eqtri 2760 | . . 3 ⊢ 𝑂 = {𝑑 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑑) = 𝑀} |
| 6 | 1, 5 | elrab2 3651 | . 2 ⊢ (𝐶 ∈ 𝑂 ↔ (𝐶 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∧ (♯‘𝐶) = 𝑀)) |
| 7 | ovex 7401 | . . . 4 ⊢ (1...(𝑀 + 𝑁)) ∈ V | |
| 8 | 7 | elpw2 5281 | . . 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 3401 ⊆ wss 3903 𝒫 cpw 4556 ‘cfv 6500 (class class class)co 7368 1c1 11039 + caddc 11041 ℕcn 12157 ...cfz 13435 ♯chash 14265 |
| 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 5243 ax-nul 5253 |
| 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 3402 df-v 3444 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4288 df-if 4482 df-pw 4558 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-br 5101 df-iota 6456 df-fv 6508 df-ov 7371 |
| This theorem is referenced by: ballotlemscr 34697 ballotlemro 34701 ballotlemfg 34704 ballotlemfrc 34705 ballotlemfrceq 34707 ballotlemrinv0 34711 |
| Copyright terms: Public domain | W3C validator |