Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > ballotlemi | Structured version Visualization version GIF version |
Description: Value of 𝐼 for a given counting 𝐶. (Contributed by Thierry Arnoux, 1-Dec-2016.) (Revised by AV, 6-Oct-2020.) |
Ref | Expression |
---|---|
ballotth.m | ⊢ 𝑀 ∈ ℕ |
ballotth.n | ⊢ 𝑁 ∈ ℕ |
ballotth.o | ⊢ 𝑂 = {𝑐 ∈ 𝒫 (1...(𝑀 + 𝑁)) ∣ (♯‘𝑐) = 𝑀} |
ballotth.p | ⊢ 𝑃 = (𝑥 ∈ 𝒫 𝑂 ↦ ((♯‘𝑥) / (♯‘𝑂))) |
ballotth.f | ⊢ 𝐹 = (𝑐 ∈ 𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐))))) |
ballotth.e | ⊢ 𝐸 = {𝑐 ∈ 𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹‘𝑐)‘𝑖)} |
ballotth.mgtn | ⊢ 𝑁 < 𝑀 |
ballotth.i | ⊢ 𝐼 = (𝑐 ∈ (𝑂 ∖ 𝐸) ↦ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑐)‘𝑘) = 0}, ℝ, < )) |
Ref | Expression |
---|---|
ballotlemi | ⊢ (𝐶 ∈ (𝑂 ∖ 𝐸) → (𝐼‘𝐶) = inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝐶)‘𝑘) = 0}, ℝ, < )) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fveq2 6774 | . . . . . 6 ⊢ (𝑑 = 𝐶 → (𝐹‘𝑑) = (𝐹‘𝐶)) | |
2 | 1 | fveq1d 6776 | . . . . 5 ⊢ (𝑑 = 𝐶 → ((𝐹‘𝑑)‘𝑘) = ((𝐹‘𝐶)‘𝑘)) |
3 | 2 | eqeq1d 2740 | . . . 4 ⊢ (𝑑 = 𝐶 → (((𝐹‘𝑑)‘𝑘) = 0 ↔ ((𝐹‘𝐶)‘𝑘) = 0)) |
4 | 3 | rabbidv 3414 | . . 3 ⊢ (𝑑 = 𝐶 → {𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0} = {𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝐶)‘𝑘) = 0}) |
5 | 4 | infeq1d 9236 | . 2 ⊢ (𝑑 = 𝐶 → inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0}, ℝ, < ) = inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝐶)‘𝑘) = 0}, ℝ, < )) |
6 | ballotth.i | . . 3 ⊢ 𝐼 = (𝑐 ∈ (𝑂 ∖ 𝐸) ↦ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑐)‘𝑘) = 0}, ℝ, < )) | |
7 | fveq2 6774 | . . . . . . . 8 ⊢ (𝑐 = 𝑑 → (𝐹‘𝑐) = (𝐹‘𝑑)) | |
8 | 7 | fveq1d 6776 | . . . . . . 7 ⊢ (𝑐 = 𝑑 → ((𝐹‘𝑐)‘𝑘) = ((𝐹‘𝑑)‘𝑘)) |
9 | 8 | eqeq1d 2740 | . . . . . 6 ⊢ (𝑐 = 𝑑 → (((𝐹‘𝑐)‘𝑘) = 0 ↔ ((𝐹‘𝑑)‘𝑘) = 0)) |
10 | 9 | rabbidv 3414 | . . . . 5 ⊢ (𝑐 = 𝑑 → {𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑐)‘𝑘) = 0} = {𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0}) |
11 | 10 | infeq1d 9236 | . . . 4 ⊢ (𝑐 = 𝑑 → inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑐)‘𝑘) = 0}, ℝ, < ) = inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0}, ℝ, < )) |
12 | 11 | cbvmptv 5187 | . . 3 ⊢ (𝑐 ∈ (𝑂 ∖ 𝐸) ↦ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑐)‘𝑘) = 0}, ℝ, < )) = (𝑑 ∈ (𝑂 ∖ 𝐸) ↦ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0}, ℝ, < )) |
13 | 6, 12 | eqtri 2766 | . 2 ⊢ 𝐼 = (𝑑 ∈ (𝑂 ∖ 𝐸) ↦ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝑑)‘𝑘) = 0}, ℝ, < )) |
14 | ltso 11055 | . . 3 ⊢ < Or ℝ | |
15 | 14 | infex 9252 | . 2 ⊢ inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝐶)‘𝑘) = 0}, ℝ, < ) ∈ V |
16 | 5, 13, 15 | fvmpt 6875 | 1 ⊢ (𝐶 ∈ (𝑂 ∖ 𝐸) → (𝐼‘𝐶) = inf({𝑘 ∈ (1...(𝑀 + 𝑁)) ∣ ((𝐹‘𝐶)‘𝑘) = 0}, ℝ, < )) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1539 ∈ wcel 2106 ∀wral 3064 {crab 3068 ∖ cdif 3884 ∩ cin 3886 𝒫 cpw 4533 class class class wbr 5074 ↦ cmpt 5157 ‘cfv 6433 (class class class)co 7275 infcinf 9200 ℝcr 10870 0cc0 10871 1c1 10872 + caddc 10874 < clt 11009 − cmin 11205 / cdiv 11632 ℕcn 11973 ℤcz 12319 ...cfz 13239 ♯chash 14044 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 ax-sep 5223 ax-nul 5230 ax-pow 5288 ax-pr 5352 ax-un 7588 ax-resscn 10928 ax-pre-lttri 10945 ax-pre-lttrn 10946 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-ne 2944 df-nel 3050 df-ral 3069 df-rex 3070 df-rmo 3071 df-rab 3073 df-v 3434 df-sbc 3717 df-csb 3833 df-dif 3890 df-un 3892 df-in 3894 df-ss 3904 df-nul 4257 df-if 4460 df-pw 4535 df-sn 4562 df-pr 4564 df-op 4568 df-uni 4840 df-br 5075 df-opab 5137 df-mpt 5158 df-id 5489 df-po 5503 df-so 5504 df-xp 5595 df-rel 5596 df-cnv 5597 df-co 5598 df-dm 5599 df-rn 5600 df-res 5601 df-ima 5602 df-iota 6391 df-fun 6435 df-fn 6436 df-f 6437 df-f1 6438 df-fo 6439 df-f1o 6440 df-fv 6441 df-er 8498 df-en 8734 df-dom 8735 df-sdom 8736 df-sup 9201 df-inf 9202 df-pnf 11011 df-mnf 11012 df-ltxr 11014 |
This theorem is referenced by: ballotlemiex 32468 ballotlemimin 32472 ballotlemfrcn0 32496 ballotlemirc 32498 |
Copyright terms: Public domain | W3C validator |