| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > ballotleme | Structured version Visualization version GIF version | ||
| Description: Elements of 𝐸. (Contributed by Thierry Arnoux, 14-Dec-2016.) |
| Ref | Expression |
|---|---|
| ballotth.m | ⊢ 𝑀 ∈ ℕ |
| ballotth.n | ⊢ 𝑁 ∈ ℕ |
| ballotth.o | ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} |
| ballotth.p | ⊢ 𝑃 = (𝑥 ∈ 𝒫 𝑂 ↦ ((♯‘𝑥) / (♯‘𝑂))) |
| ballotth.f | ⊢ 𝐹 = (𝑐 ∈ 𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐))))) |
| ballotth.e | ⊢ 𝐸 = {𝑐 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑐)‘𝑖)} |
| Ref | Expression |
|---|---|
| ballotleme | ⊢ (𝐶 ∈ 𝐸 ↔ (𝐶 ∈ 𝑂 ∧ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝐶)‘𝑖))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fveq2 6840 | . . . . 5 ⊢ (𝑑 = 𝐶 → (𝐹‘𝑑) = (𝐹‘𝐶)) | |
| 2 | 1 | fveq1d 6842 | . . . 4 ⊢ (𝑑 = 𝐶 → ((𝐹‘𝑑)‘𝑖) = ((𝐹‘𝐶)‘𝑖)) |
| 3 | 2 | breq2d 5114 | . . 3 ⊢ (𝑑 = 𝐶 → (0 < ((𝐹‘𝑑)‘𝑖) ↔ 0 < ((𝐹‘𝐶)‘𝑖))) |
| 4 | 3 | ralbidv 3156 | . 2 ⊢ (𝑑 = 𝐶 → (∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑑)‘𝑖) ↔ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝐶)‘𝑖))) |
| 5 | ballotth.e | . . 3 ⊢ 𝐸 = {𝑐 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑐)‘𝑖)} | |
| 6 | fveq2 6840 | . . . . . . 7 ⊢ (𝑐 = 𝑑 → (𝐹‘𝑐) = (𝐹‘𝑑)) | |
| 7 | 6 | fveq1d 6842 | . . . . . 6 ⊢ (𝑐 = 𝑑 → ((𝐹‘𝑐)‘𝑖) = ((𝐹‘𝑑)‘𝑖)) |
| 8 | 7 | breq2d 5114 | . . . . 5 ⊢ (𝑐 = 𝑑 → (0 < ((𝐹‘𝑐)‘𝑖) ↔ 0 < ((𝐹‘𝑑)‘𝑖))) |
| 9 | 8 | ralbidv 3156 | . . . 4 ⊢ (𝑐 = 𝑑 → (∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑐)‘𝑖) ↔ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑑)‘𝑖))) |
| 10 | 9 | cbvrabv 3413 | . . 3 ⊢ {𝑐 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑐)‘𝑖)} = {𝑑 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑑)‘𝑖)} |
| 11 | 5, 10 | eqtri 2752 | . 2 ⊢ 𝐸 = {𝑑 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑑)‘𝑖)} |
| 12 | 4, 11 | elrab2 3659 | 1 ⊢ (𝐶 ∈ 𝐸 ↔ (𝐶 ∈ 𝑂 ∧ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝐶)‘𝑖))) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ∀wral 3044 {crab 3402 ∖ cdif 3908 ∩ cin 3910 𝒫 cpw 4559 class class class wbr 5102 ↦ cmpt 5183 ‘cfv 6499 (class class class)co 7369 0cc0 11044 1c1 11045 + caddc 11047 < clt 11184 − cmin 11381 / cdiv 11811 ℕcn 12162 ℤcz 12505 ...cfz 13444 ♯chash 14271 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-ext 2701 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-sb 2066 df-clab 2708 df-cleq 2721 df-clel 2803 df-ral 3045 df-rab 3403 df-v 3446 df-dif 3914 df-un 3916 df-ss 3928 df-nul 4293 df-if 4485 df-sn 4586 df-pr 4588 df-op 4592 df-uni 4868 df-br 5103 df-iota 6452 df-fv 6507 |
| This theorem is referenced by: ballotlemodife 34462 ballotlem4 34463 |
| Copyright terms: Public domain | W3C validator |